MCPcopy Create free account
hub / github.com/dop251/goja / closeScope

Method closeScope

parser/scope.go:31–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func (self *_parser) closeScope() {
32 self.scope = self.scope.outer
33}
34
35func (self *_scope) declare(declaration *ast.VariableDeclaration) {
36 self.declarationList = append(self.declarationList, declaration)

Callers 2

parseFunctionBlockMethod · 0.95
parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected