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

Method parseIterationStatement

parser/statement.go:591–599  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

589}
590
591func (self *_parser) parseIterationStatement() ast.Statement {
592 inIteration := self.scope.inIteration
593 self.scope.inIteration = true
594 defer func() {
595 self.scope.inIteration = inIteration
596 }()
597 self.scope.allowLet = false
598 return self.parseStatement()
599}
600
601func (self *_parser) parseForIn(idx file.Idx, into ast.ForInto) *ast.ForInStatement {
602

Callers 4

parseForInMethod · 0.95
parseForOfMethod · 0.95
parseForMethod · 0.95
parseWhileStatementMethod · 0.95

Calls 1

parseStatementMethod · 0.95

Tested by

no test coverage detected