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

Function NewCreateStructContext

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

Source from the content-addressed store, hash-verified

6940}
6941
6942func NewCreateStructContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CreateStructContext {
6943 var p = new(CreateStructContext)
6944
6945 InitEmptyPrimaryContext(&p.PrimaryContext)
6946 p.parser = parser
6947 p.CopyAll(ctx.(*PrimaryContext))
6948
6949 return p
6950}
6951
6952func (s *CreateStructContext) GetOp() antlr.Token { return s.op }
6953

Callers 1

PrimaryMethod · 0.70

Calls 2

InitEmptyPrimaryContextFunction · 0.70
CopyAllMethod · 0.45

Tested by

no test coverage detected