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

Function NewLiteralContext

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

Source from the content-addressed store, hash-verified

3717func (*LiteralContext) IsLiteralContext() {}
3718
3719func NewLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralContext {
3720 var p = new(LiteralContext)
3721
3722 p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
3723
3724 p.parser = parser
3725 p.RuleIndex = GScriptParserRULE_literal
3726
3727 return p
3728}
3729
3730func (s *LiteralContext) GetParser() antlr.Parser { return s.parser }
3731

Callers 1

LiteralMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected