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

Function NewSimpleIdentifierContext

parser/gen/cel_parser.go:5208–5216  ·  view source on GitHub ↗
(parser antlr.Parser, ctx antlr.ParserRuleContext)

Source from the content-addressed store, hash-verified

5206}
5207
5208func NewSimpleIdentifierContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SimpleIdentifierContext {
5209 var p = new(SimpleIdentifierContext)
5210
5211 InitEmptyEscapeIdentContext(&p.EscapeIdentContext)
5212 p.parser = parser
5213 p.CopyAll(ctx.(*EscapeIdentContext))
5214
5215 return p
5216}
5217
5218func (s *SimpleIdentifierContext) GetId() antlr.Token { return s.id }
5219

Callers 1

EscapeIdentMethod · 0.70

Calls 2

CopyAllMethod · 0.45

Tested by

no test coverage detected