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

Function NewSimpleIdentifierContext

repl/parser/commands_parser.go:9166–9174  ·  view source on GitHub ↗
(parser antlr.Parser, ctx antlr.ParserRuleContext)

Source from the content-addressed store, hash-verified

9164}
9165
9166func NewSimpleIdentifierContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SimpleIdentifierContext {
9167 var p = new(SimpleIdentifierContext)
9168
9169 InitEmptyEscapeIdentContext(&p.EscapeIdentContext)
9170 p.parser = parser
9171 p.CopyAll(ctx.(*EscapeIdentContext))
9172
9173 return p
9174}
9175
9176func (s *SimpleIdentifierContext) GetId() antlr.Token { return s.id }
9177

Callers 1

EscapeIdentMethod · 0.70

Calls 2

CopyAllMethod · 0.45

Tested by

no test coverage detected