()
| 5918 | } |
| 5919 | |
| 5920 | func (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. |
| 5969 | type IFunctionCallContext interface { |
no test coverage detected