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

Function NewExprContext

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

Source from the content-addressed store, hash-verified

6248func (*ExprContext) IsExprContext() {}
6249
6250func NewExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprContext {
6251 var p = new(ExprContext)
6252
6253 p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
6254
6255 p.parser = parser
6256 p.RuleIndex = GScriptParserRULE_expr
6257
6258 return p
6259}
6260
6261func (s *ExprContext) GetParser() antlr.Parser { return s.parser }
6262

Callers 1

exprMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected