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

Function NewEmptyContext

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

Source from the content-addressed store, hash-verified

2499func (*EmptyContext) IsEmptyContext() {}
2500
2501func NewEmptyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EmptyContext {
2502 var p = new(EmptyContext)
2503
2504 antlr.InitBaseParserRuleContext(&p.BaseParserRuleContext, parent, invokingState)
2505
2506 p.parser = parser
2507 p.RuleIndex = CommandsParserRULE_empty
2508
2509 return p
2510}
2511
2512func (s *EmptyContext) GetParser() antlr.Parser { return s.parser }
2513func (s *EmptyContext) GetRuleContext() antlr.RuleContext {

Callers 1

EmptyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected