MCPcopy Create free account
hub / github.com/crossoverJie/gscript / NewPrimaryContext

Function NewPrimaryContext

parser/gscript_parser.go:6983–6992  ·  view source on GitHub ↗
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)

Source from the content-addressed store, hash-verified

6981func (*PrimaryContext) IsPrimaryContext() {}
6982
6983func NewPrimaryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PrimaryContext {
6984 var p = new(PrimaryContext)
6985
6986 p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
6987
6988 p.parser = parser
6989 p.RuleIndex = GScriptParserRULE_primary
6990
6991 return p
6992}
6993
6994func (s *PrimaryContext) GetParser() antlr.Parser { return s.parser }
6995

Callers 1

PrimaryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected