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

Function NewDeclareContext

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

Source from the content-addressed store, hash-verified

1233func (*DeclareContext) IsDeclareContext() {}
1234
1235func NewDeclareContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeclareContext {
1236 var p = new(DeclareContext)
1237
1238 antlr.InitBaseParserRuleContext(&p.BaseParserRuleContext, parent, invokingState)
1239
1240 p.parser = parser
1241 p.RuleIndex = CommandsParserRULE_declare
1242
1243 return p
1244}
1245
1246func (s *DeclareContext) GetParser() antlr.Parser { return s.parser }
1247

Callers 1

DeclareMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected