MCPcopy
hub / github.com/expr-lang/expr / beginScope

Method beginScope

compiler/compiler.go:1259–1261  ·  view source on GitHub ↗
(name string, index int)

Source from the content-addressed store, hash-verified

1257}
1258
1259func (c *compiler) beginScope(name string, index int) {
1260 c.scopes = append(c.scopes, scope{name, index})
1261}
1262
1263func (c *compiler) endScope() {
1264 c.scopes = c.scopes[:len(c.scopes)-1]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected