MCPcopy Create free account
hub / github.com/cel-expr/cel-go / NewVarDeclContext

Function NewVarDeclContext

repl/parser/commands_parser.go:1421–1430  ·  view source on GitHub ↗
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)

Source from the content-addressed store, hash-verified

1419func (*VarDeclContext) IsVarDeclContext() {}
1420
1421func NewVarDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VarDeclContext {
1422 var p = new(VarDeclContext)
1423
1424 antlr.InitBaseParserRuleContext(&p.BaseParserRuleContext, parent, invokingState)
1425
1426 p.parser = parser
1427 p.RuleIndex = CommandsParserRULE_varDecl
1428
1429 return p
1430}
1431
1432func (s *VarDeclContext) GetParser() antlr.Parser { return s.parser }
1433

Callers 1

VarDeclMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected