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

Method ExpressionList

parser/gscript_parser.go:5920–5966  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5918}
5919
5920func (p *GScriptParser) ExpressionList() (localctx IExpressionListContext) {
5921 localctx = NewExpressionListContext(p, p.GetParserRuleContext(), p.GetState())
5922 p.EnterRule(localctx, 64, GScriptParserRULE_expressionList)
5923 var _la int
5924
5925 defer func() {
5926 p.ExitRule()
5927 }()
5928
5929 defer func() {
5930 if err := recover(); err != nil {
5931 if v, ok := err.(antlr.RecognitionException); ok {
5932 localctx.SetException(v)
5933 p.GetErrorHandler().ReportError(p, v)
5934 p.GetErrorHandler().Recover(p, v)
5935 } else {
5936 panic(err)
5937 }
5938 }
5939 }()
5940
5941 p.EnterOuterAlt(localctx, 1)
5942 {
5943 p.SetState(354)
5944 p.expr(0)
5945 }
5946 p.SetState(359)
5947 p.GetErrorHandler().Sync(p)
5948 _la = p.GetTokenStream().LA(1)
5949
5950 for _la == GScriptParserT__1 {
5951 {
5952 p.SetState(355)
5953 p.Match(GScriptParserT__1)
5954 }
5955 {
5956 p.SetState(356)
5957 p.expr(0)
5958 }
5959
5960 p.SetState(361)
5961 p.GetErrorHandler().Sync(p)
5962 _la = p.GetTokenStream().LA(1)
5963 }
5964
5965 return localctx
5966}
5967
5968// IFunctionCallContext is an interface to support dynamic dispatch.
5969type IFunctionCallContext interface {

Callers 8

ForControlMethod · 0.95
ForInitMethod · 0.95
FunctionCallMethod · 0.95
buildParamValuesMethod · 0.45
VisitForInitMethod · 0.45
gPrintlnFunction · 0.45
getParamTypesMethod · 0.45

Calls 4

exprMethod · 0.95
NewExpressionListContextFunction · 0.85
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected