| // Generated from org\apache\sysds\parser\dml\Dml.g4 by ANTLR 4.5.3 |
| package org.apache.sysds.parser.dml; |
| |
| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| |
| import org.antlr.v4.runtime.atn.*; |
| import org.antlr.v4.runtime.dfa.DFA; |
| import org.antlr.v4.runtime.*; |
| import org.antlr.v4.runtime.misc.*; |
| import org.antlr.v4.runtime.tree.*; |
| import java.util.List; |
| import java.util.Iterator; |
| import java.util.ArrayList; |
| |
| @SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"}) |
| public class DmlParser extends Parser { |
| static { RuntimeMetaData.checkVersion("4.5.3", RuntimeMetaData.VERSION); } |
| |
| protected static final DFA[] _decisionToDFA; |
| protected static final PredictionContextCache _sharedContextCache = |
| new PredictionContextCache(); |
| public static final int |
| T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9, |
| T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, T__16=17, |
| T__17=18, T__18=19, T__19=20, T__20=21, T__21=22, T__22=23, T__23=24, |
| T__24=25, T__25=26, T__26=27, T__27=28, T__28=29, T__29=30, T__30=31, |
| T__31=32, T__32=33, T__33=34, T__34=35, T__35=36, T__36=37, T__37=38, |
| T__38=39, T__39=40, T__40=41, T__41=42, T__42=43, T__43=44, T__44=45, |
| T__45=46, T__46=47, T__47=48, T__48=49, T__49=50, T__50=51, T__51=52, |
| T__52=53, T__53=54, T__54=55, T__55=56, T__56=57, T__57=58, T__58=59, |
| ID=60, INT=61, DOUBLE=62, DIGIT=63, ALPHABET=64, COMMANDLINE_NAMED_ID=65, |
| COMMANDLINE_POSITION_ID=66, STRING=67, LINE_COMMENT=68, MULTILINE_BLOCK_COMMENT=69, |
| WHITESPACE=70; |
| public static final int |
| RULE_programroot = 0, RULE_statement = 1, RULE_iterablePredicate = 2, |
| RULE_functionStatement = 3, RULE_dataIdentifier = 4, RULE_expression = 5, |
| RULE_typedArgNoAssign = 6, RULE_typedArgAssign = 7, RULE_parameterizedExpression = 8, |
| RULE_strictParameterizedExpression = 9, RULE_strictParameterizedKeyValueString = 10, |
| RULE_ml_type = 11, RULE_valueType = 12, RULE_dataType = 13; |
| public static final String[] ruleNames = { |
| "programroot", "statement", "iterablePredicate", "functionStatement", |
| "dataIdentifier", "expression", "typedArgNoAssign", "typedArgAssign", |
| "parameterizedExpression", "strictParameterizedExpression", "strictParameterizedKeyValueString", |
| "ml_type", "valueType", "dataType" |
| }; |
| |
| private static final String[] _LITERAL_NAMES = { |
| null, "'source'", "'('", "')'", "'as'", "';'", "'setwd'", "'='", "'<-'", |
| "','", "'['", "']'", "'ifdef'", "'+='", "'if'", "'{'", "'}'", "'else'", |
| "'for'", "'in'", "'parfor'", "'while'", "':'", "'function'", "'return'", |
| "'externalFunction'", "'implemented'", "'^'", "'-'", "'+'", "'%*%'", "'%/%'", |
| "'%%'", "'*'", "'/'", "'>'", "'>='", "'<'", "'<='", "'=='", "'!='", "'!'", |
| "'&'", "'&&'", "'|'", "'||'", "'TRUE'", "'FALSE'", "'int'", "'integer'", |
| "'string'", "'boolean'", "'double'", "'unknown'", "'Int'", "'Integer'", |
| "'String'", "'Boolean'", "'Double'", "'Unknown'" |
| }; |
| private static final String[] _SYMBOLIC_NAMES = { |
| null, null, null, null, null, null, null, null, null, null, null, null, |
| null, null, null, null, null, null, null, null, null, null, null, null, |
| null, null, null, null, null, null, null, null, null, null, null, null, |
| null, null, null, null, null, null, null, null, null, null, null, null, |
| null, null, null, null, null, null, null, null, null, null, null, null, |
| "ID", "INT", "DOUBLE", "DIGIT", "ALPHABET", "COMMANDLINE_NAMED_ID", "COMMANDLINE_POSITION_ID", |
| "STRING", "LINE_COMMENT", "MULTILINE_BLOCK_COMMENT", "WHITESPACE" |
| }; |
| public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); |
| |
| /** |
| * @deprecated Use {@link #VOCABULARY} instead. |
| */ |
| @Deprecated |
| public static final String[] tokenNames; |
| static { |
| tokenNames = new String[_SYMBOLIC_NAMES.length]; |
| for (int i = 0; i < tokenNames.length; i++) { |
| tokenNames[i] = VOCABULARY.getLiteralName(i); |
| if (tokenNames[i] == null) { |
| tokenNames[i] = VOCABULARY.getSymbolicName(i); |
| } |
| |
| if (tokenNames[i] == null) { |
| tokenNames[i] = "<INVALID>"; |
| } |
| } |
| } |
| |
| @Override |
| @Deprecated |
| public String[] getTokenNames() { |
| return tokenNames; |
| } |
| |
| @Override |
| |
| public Vocabulary getVocabulary() { |
| return VOCABULARY; |
| } |
| |
| @Override |
| public String getGrammarFileName() { return "Dml.g4"; } |
| |
| @Override |
| public String[] getRuleNames() { return ruleNames; } |
| |
| @Override |
| public String getSerializedATN() { return _serializedATN; } |
| |
| @Override |
| public ATN getATN() { return _ATN; } |
| |
| public DmlParser(TokenStream input) { |
| super(input); |
| _interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache); |
| } |
| public static class ProgramrootContext extends ParserRuleContext { |
| public StatementContext statement; |
| public List<StatementContext> blocks = new ArrayList<StatementContext>(); |
| public FunctionStatementContext functionStatement; |
| public List<FunctionStatementContext> functionBlocks = new ArrayList<FunctionStatementContext>(); |
| public TerminalNode EOF() { return getToken(DmlParser.EOF, 0); } |
| public List<StatementContext> statement() { |
| return getRuleContexts(StatementContext.class); |
| } |
| public StatementContext statement(int i) { |
| return getRuleContext(StatementContext.class,i); |
| } |
| public List<FunctionStatementContext> functionStatement() { |
| return getRuleContexts(FunctionStatementContext.class); |
| } |
| public FunctionStatementContext functionStatement(int i) { |
| return getRuleContext(FunctionStatementContext.class,i); |
| } |
| public ProgramrootContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_programroot; } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterProgramroot(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitProgramroot(this); |
| } |
| } |
| |
| public final ProgramrootContext programroot() throws RecognitionException { |
| ProgramrootContext _localctx = new ProgramrootContext(_ctx, getState()); |
| enterRule(_localctx, 0, RULE_programroot); |
| int _la; |
| try { |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(32); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__5) | (1L << T__9) | (1L << T__13) | (1L << T__17) | (1L << T__19) | (1L << T__20) | (1L << ID))) != 0) || _la==COMMANDLINE_NAMED_ID || _la==COMMANDLINE_POSITION_ID) { |
| { |
| setState(30); |
| _errHandler.sync(this); |
| switch ( getInterpreter().adaptivePredict(_input,0,_ctx) ) { |
| case 1: |
| { |
| setState(28); |
| ((ProgramrootContext)_localctx).statement = statement(); |
| ((ProgramrootContext)_localctx).blocks.add(((ProgramrootContext)_localctx).statement); |
| } |
| break; |
| case 2: |
| { |
| setState(29); |
| ((ProgramrootContext)_localctx).functionStatement = functionStatement(); |
| ((ProgramrootContext)_localctx).functionBlocks.add(((ProgramrootContext)_localctx).functionStatement); |
| } |
| break; |
| } |
| } |
| setState(34); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| setState(35); |
| match(EOF); |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| exitRule(); |
| } |
| return _localctx; |
| } |
| |
| public static class StatementContext extends ParserRuleContext { |
| public org.apache.sysds.parser.dml.StatementInfo info; |
| public StatementContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_statement; } |
| |
| public StatementContext() { } |
| public void copyFrom(StatementContext ctx) { |
| super.copyFrom(ctx); |
| this.info = ctx.info; |
| } |
| } |
| public static class IfStatementContext extends StatementContext { |
| public ExpressionContext predicate; |
| public StatementContext statement; |
| public List<StatementContext> ifBody = new ArrayList<StatementContext>(); |
| public List<StatementContext> elseBody = new ArrayList<StatementContext>(); |
| public ExpressionContext expression() { |
| return getRuleContext(ExpressionContext.class,0); |
| } |
| public List<StatementContext> statement() { |
| return getRuleContexts(StatementContext.class); |
| } |
| public StatementContext statement(int i) { |
| return getRuleContext(StatementContext.class,i); |
| } |
| public IfStatementContext(StatementContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterIfStatement(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitIfStatement(this); |
| } |
| } |
| public static class AssignmentStatementContext extends StatementContext { |
| public DataIdentifierContext targetList; |
| public Token op; |
| public ExpressionContext source; |
| public DataIdentifierContext dataIdentifier() { |
| return getRuleContext(DataIdentifierContext.class,0); |
| } |
| public ExpressionContext expression() { |
| return getRuleContext(ExpressionContext.class,0); |
| } |
| public AssignmentStatementContext(StatementContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterAssignmentStatement(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitAssignmentStatement(this); |
| } |
| } |
| public static class FunctionCallMultiAssignmentStatementContext extends StatementContext { |
| public DataIdentifierContext dataIdentifier; |
| public List<DataIdentifierContext> targetList = new ArrayList<DataIdentifierContext>(); |
| public Token name; |
| public ParameterizedExpressionContext parameterizedExpression; |
| public List<ParameterizedExpressionContext> paramExprs = new ArrayList<ParameterizedExpressionContext>(); |
| public List<DataIdentifierContext> dataIdentifier() { |
| return getRuleContexts(DataIdentifierContext.class); |
| } |
| public DataIdentifierContext dataIdentifier(int i) { |
| return getRuleContext(DataIdentifierContext.class,i); |
| } |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public List<ParameterizedExpressionContext> parameterizedExpression() { |
| return getRuleContexts(ParameterizedExpressionContext.class); |
| } |
| public ParameterizedExpressionContext parameterizedExpression(int i) { |
| return getRuleContext(ParameterizedExpressionContext.class,i); |
| } |
| public FunctionCallMultiAssignmentStatementContext(StatementContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterFunctionCallMultiAssignmentStatement(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitFunctionCallMultiAssignmentStatement(this); |
| } |
| } |
| public static class IfdefAssignmentStatementContext extends StatementContext { |
| public DataIdentifierContext targetList; |
| public Token op; |
| public DataIdentifierContext commandLineParam; |
| public ExpressionContext source; |
| public List<DataIdentifierContext> dataIdentifier() { |
| return getRuleContexts(DataIdentifierContext.class); |
| } |
| public DataIdentifierContext dataIdentifier(int i) { |
| return getRuleContext(DataIdentifierContext.class,i); |
| } |
| public ExpressionContext expression() { |
| return getRuleContext(ExpressionContext.class,0); |
| } |
| public IfdefAssignmentStatementContext(StatementContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterIfdefAssignmentStatement(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitIfdefAssignmentStatement(this); |
| } |
| } |
| public static class ParForStatementContext extends StatementContext { |
| public Token iterVar; |
| public IterablePredicateContext iterPred; |
| public StrictParameterizedExpressionContext strictParameterizedExpression; |
| public List<StrictParameterizedExpressionContext> parForParams = new ArrayList<StrictParameterizedExpressionContext>(); |
| public StatementContext statement; |
| public List<StatementContext> body = new ArrayList<StatementContext>(); |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public IterablePredicateContext iterablePredicate() { |
| return getRuleContext(IterablePredicateContext.class,0); |
| } |
| public List<StatementContext> statement() { |
| return getRuleContexts(StatementContext.class); |
| } |
| public StatementContext statement(int i) { |
| return getRuleContext(StatementContext.class,i); |
| } |
| public List<StrictParameterizedExpressionContext> strictParameterizedExpression() { |
| return getRuleContexts(StrictParameterizedExpressionContext.class); |
| } |
| public StrictParameterizedExpressionContext strictParameterizedExpression(int i) { |
| return getRuleContext(StrictParameterizedExpressionContext.class,i); |
| } |
| public ParForStatementContext(StatementContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterParForStatement(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitParForStatement(this); |
| } |
| } |
| public static class ImportStatementContext extends StatementContext { |
| public Token filePath; |
| public Token namespace; |
| public TerminalNode STRING() { return getToken(DmlParser.STRING, 0); } |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public ImportStatementContext(StatementContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterImportStatement(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitImportStatement(this); |
| } |
| } |
| public static class PathStatementContext extends StatementContext { |
| public Token pathValue; |
| public TerminalNode STRING() { return getToken(DmlParser.STRING, 0); } |
| public PathStatementContext(StatementContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterPathStatement(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitPathStatement(this); |
| } |
| } |
| public static class WhileStatementContext extends StatementContext { |
| public ExpressionContext predicate; |
| public StatementContext statement; |
| public List<StatementContext> body = new ArrayList<StatementContext>(); |
| public ExpressionContext expression() { |
| return getRuleContext(ExpressionContext.class,0); |
| } |
| public List<StatementContext> statement() { |
| return getRuleContexts(StatementContext.class); |
| } |
| public StatementContext statement(int i) { |
| return getRuleContext(StatementContext.class,i); |
| } |
| public WhileStatementContext(StatementContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterWhileStatement(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitWhileStatement(this); |
| } |
| } |
| public static class ForStatementContext extends StatementContext { |
| public Token iterVar; |
| public IterablePredicateContext iterPred; |
| public StrictParameterizedExpressionContext strictParameterizedExpression; |
| public List<StrictParameterizedExpressionContext> parForParams = new ArrayList<StrictParameterizedExpressionContext>(); |
| public StatementContext statement; |
| public List<StatementContext> body = new ArrayList<StatementContext>(); |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public IterablePredicateContext iterablePredicate() { |
| return getRuleContext(IterablePredicateContext.class,0); |
| } |
| public List<StatementContext> statement() { |
| return getRuleContexts(StatementContext.class); |
| } |
| public StatementContext statement(int i) { |
| return getRuleContext(StatementContext.class,i); |
| } |
| public List<StrictParameterizedExpressionContext> strictParameterizedExpression() { |
| return getRuleContexts(StrictParameterizedExpressionContext.class); |
| } |
| public StrictParameterizedExpressionContext strictParameterizedExpression(int i) { |
| return getRuleContext(StrictParameterizedExpressionContext.class,i); |
| } |
| public ForStatementContext(StatementContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterForStatement(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitForStatement(this); |
| } |
| } |
| public static class AccumulatorAssignmentStatementContext extends StatementContext { |
| public DataIdentifierContext targetList; |
| public Token op; |
| public ExpressionContext source; |
| public DataIdentifierContext dataIdentifier() { |
| return getRuleContext(DataIdentifierContext.class,0); |
| } |
| public ExpressionContext expression() { |
| return getRuleContext(ExpressionContext.class,0); |
| } |
| public AccumulatorAssignmentStatementContext(StatementContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterAccumulatorAssignmentStatement(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitAccumulatorAssignmentStatement(this); |
| } |
| } |
| public static class FunctionCallAssignmentStatementContext extends StatementContext { |
| public DataIdentifierContext targetList; |
| public Token name; |
| public ParameterizedExpressionContext parameterizedExpression; |
| public List<ParameterizedExpressionContext> paramExprs = new ArrayList<ParameterizedExpressionContext>(); |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public DataIdentifierContext dataIdentifier() { |
| return getRuleContext(DataIdentifierContext.class,0); |
| } |
| public List<ParameterizedExpressionContext> parameterizedExpression() { |
| return getRuleContexts(ParameterizedExpressionContext.class); |
| } |
| public ParameterizedExpressionContext parameterizedExpression(int i) { |
| return getRuleContext(ParameterizedExpressionContext.class,i); |
| } |
| public FunctionCallAssignmentStatementContext(StatementContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterFunctionCallAssignmentStatement(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitFunctionCallAssignmentStatement(this); |
| } |
| } |
| |
| public final StatementContext statement() throws RecognitionException { |
| StatementContext _localctx = new StatementContext(_ctx, getState()); |
| enterRule(_localctx, 2, RULE_statement); |
| |
| // This actions occurs regardless of how many alternatives in this rule |
| ((StatementContext)_localctx).info = new org.apache.sysds.parser.dml.StatementInfo(); |
| |
| int _la; |
| try { |
| int _alt; |
| setState(297); |
| _errHandler.sync(this); |
| switch ( getInterpreter().adaptivePredict(_input,38,_ctx) ) { |
| case 1: |
| _localctx = new ImportStatementContext(_localctx); |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(37); |
| match(T__0); |
| setState(38); |
| match(T__1); |
| setState(39); |
| ((ImportStatementContext)_localctx).filePath = match(STRING); |
| setState(40); |
| match(T__2); |
| setState(41); |
| match(T__3); |
| setState(42); |
| ((ImportStatementContext)_localctx).namespace = match(ID); |
| setState(46); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,2,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| { |
| { |
| setState(43); |
| match(T__4); |
| } |
| } |
| } |
| setState(48); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,2,_ctx); |
| } |
| } |
| break; |
| case 2: |
| _localctx = new PathStatementContext(_localctx); |
| enterOuterAlt(_localctx, 2); |
| { |
| setState(49); |
| match(T__5); |
| setState(50); |
| match(T__1); |
| setState(51); |
| ((PathStatementContext)_localctx).pathValue = match(STRING); |
| setState(52); |
| match(T__2); |
| setState(56); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,3,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| { |
| { |
| setState(53); |
| match(T__4); |
| } |
| } |
| } |
| setState(58); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,3,_ctx); |
| } |
| } |
| break; |
| case 3: |
| _localctx = new FunctionCallAssignmentStatementContext(_localctx); |
| enterOuterAlt(_localctx, 3); |
| { |
| setState(62); |
| _errHandler.sync(this); |
| switch ( getInterpreter().adaptivePredict(_input,4,_ctx) ) { |
| case 1: |
| { |
| setState(59); |
| ((FunctionCallAssignmentStatementContext)_localctx).targetList = dataIdentifier(); |
| setState(60); |
| _la = _input.LA(1); |
| if ( !(_la==T__6 || _la==T__7) ) { |
| _errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| } |
| break; |
| } |
| setState(64); |
| ((FunctionCallAssignmentStatementContext)_localctx).name = match(ID); |
| setState(65); |
| match(T__1); |
| setState(74); |
| _la = _input.LA(1); |
| if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__1) | (1L << T__9) | (1L << T__27) | (1L << T__28) | (1L << T__40) | (1L << T__45) | (1L << T__46) | (1L << ID) | (1L << INT) | (1L << DOUBLE))) != 0) || ((((_la - 65)) & ~0x3f) == 0 && ((1L << (_la - 65)) & ((1L << (COMMANDLINE_NAMED_ID - 65)) | (1L << (COMMANDLINE_POSITION_ID - 65)) | (1L << (STRING - 65)))) != 0)) { |
| { |
| setState(66); |
| ((FunctionCallAssignmentStatementContext)_localctx).parameterizedExpression = parameterizedExpression(); |
| ((FunctionCallAssignmentStatementContext)_localctx).paramExprs.add(((FunctionCallAssignmentStatementContext)_localctx).parameterizedExpression); |
| setState(71); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__8) { |
| { |
| { |
| setState(67); |
| match(T__8); |
| setState(68); |
| ((FunctionCallAssignmentStatementContext)_localctx).parameterizedExpression = parameterizedExpression(); |
| ((FunctionCallAssignmentStatementContext)_localctx).paramExprs.add(((FunctionCallAssignmentStatementContext)_localctx).parameterizedExpression); |
| } |
| } |
| setState(73); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| |
| setState(76); |
| match(T__2); |
| setState(80); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,7,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| { |
| { |
| setState(77); |
| match(T__4); |
| } |
| } |
| } |
| setState(82); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,7,_ctx); |
| } |
| } |
| break; |
| case 4: |
| _localctx = new FunctionCallMultiAssignmentStatementContext(_localctx); |
| enterOuterAlt(_localctx, 4); |
| { |
| setState(83); |
| match(T__9); |
| setState(84); |
| ((FunctionCallMultiAssignmentStatementContext)_localctx).dataIdentifier = dataIdentifier(); |
| ((FunctionCallMultiAssignmentStatementContext)_localctx).targetList.add(((FunctionCallMultiAssignmentStatementContext)_localctx).dataIdentifier); |
| setState(89); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__8) { |
| { |
| { |
| setState(85); |
| match(T__8); |
| setState(86); |
| ((FunctionCallMultiAssignmentStatementContext)_localctx).dataIdentifier = dataIdentifier(); |
| ((FunctionCallMultiAssignmentStatementContext)_localctx).targetList.add(((FunctionCallMultiAssignmentStatementContext)_localctx).dataIdentifier); |
| } |
| } |
| setState(91); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| setState(92); |
| match(T__10); |
| setState(93); |
| _la = _input.LA(1); |
| if ( !(_la==T__6 || _la==T__7) ) { |
| _errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| setState(94); |
| ((FunctionCallMultiAssignmentStatementContext)_localctx).name = match(ID); |
| setState(95); |
| match(T__1); |
| setState(104); |
| _la = _input.LA(1); |
| if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__1) | (1L << T__9) | (1L << T__27) | (1L << T__28) | (1L << T__40) | (1L << T__45) | (1L << T__46) | (1L << ID) | (1L << INT) | (1L << DOUBLE))) != 0) || ((((_la - 65)) & ~0x3f) == 0 && ((1L << (_la - 65)) & ((1L << (COMMANDLINE_NAMED_ID - 65)) | (1L << (COMMANDLINE_POSITION_ID - 65)) | (1L << (STRING - 65)))) != 0)) { |
| { |
| setState(96); |
| ((FunctionCallMultiAssignmentStatementContext)_localctx).parameterizedExpression = parameterizedExpression(); |
| ((FunctionCallMultiAssignmentStatementContext)_localctx).paramExprs.add(((FunctionCallMultiAssignmentStatementContext)_localctx).parameterizedExpression); |
| setState(101); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__8) { |
| { |
| { |
| setState(97); |
| match(T__8); |
| setState(98); |
| ((FunctionCallMultiAssignmentStatementContext)_localctx).parameterizedExpression = parameterizedExpression(); |
| ((FunctionCallMultiAssignmentStatementContext)_localctx).paramExprs.add(((FunctionCallMultiAssignmentStatementContext)_localctx).parameterizedExpression); |
| } |
| } |
| setState(103); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| |
| setState(106); |
| match(T__2); |
| setState(110); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,11,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| { |
| { |
| setState(107); |
| match(T__4); |
| } |
| } |
| } |
| setState(112); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,11,_ctx); |
| } |
| } |
| break; |
| case 5: |
| _localctx = new IfdefAssignmentStatementContext(_localctx); |
| enterOuterAlt(_localctx, 5); |
| { |
| setState(113); |
| ((IfdefAssignmentStatementContext)_localctx).targetList = dataIdentifier(); |
| setState(114); |
| ((IfdefAssignmentStatementContext)_localctx).op = _input.LT(1); |
| _la = _input.LA(1); |
| if ( !(_la==T__6 || _la==T__7) ) { |
| ((IfdefAssignmentStatementContext)_localctx).op = (Token)_errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| setState(115); |
| match(T__11); |
| setState(116); |
| match(T__1); |
| setState(117); |
| ((IfdefAssignmentStatementContext)_localctx).commandLineParam = dataIdentifier(); |
| setState(118); |
| match(T__8); |
| setState(119); |
| ((IfdefAssignmentStatementContext)_localctx).source = expression(0); |
| setState(120); |
| match(T__2); |
| setState(124); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,12,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| { |
| { |
| setState(121); |
| match(T__4); |
| } |
| } |
| } |
| setState(126); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,12,_ctx); |
| } |
| } |
| break; |
| case 6: |
| _localctx = new AssignmentStatementContext(_localctx); |
| enterOuterAlt(_localctx, 6); |
| { |
| setState(127); |
| ((AssignmentStatementContext)_localctx).targetList = dataIdentifier(); |
| setState(128); |
| ((AssignmentStatementContext)_localctx).op = _input.LT(1); |
| _la = _input.LA(1); |
| if ( !(_la==T__6 || _la==T__7) ) { |
| ((AssignmentStatementContext)_localctx).op = (Token)_errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| setState(129); |
| ((AssignmentStatementContext)_localctx).source = expression(0); |
| setState(133); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,13,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| { |
| { |
| setState(130); |
| match(T__4); |
| } |
| } |
| } |
| setState(135); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,13,_ctx); |
| } |
| } |
| break; |
| case 7: |
| _localctx = new AccumulatorAssignmentStatementContext(_localctx); |
| enterOuterAlt(_localctx, 7); |
| { |
| setState(136); |
| ((AccumulatorAssignmentStatementContext)_localctx).targetList = dataIdentifier(); |
| setState(137); |
| ((AccumulatorAssignmentStatementContext)_localctx).op = match(T__12); |
| setState(138); |
| ((AccumulatorAssignmentStatementContext)_localctx).source = expression(0); |
| setState(142); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,14,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| { |
| { |
| setState(139); |
| match(T__4); |
| } |
| } |
| } |
| setState(144); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,14,_ctx); |
| } |
| } |
| break; |
| case 8: |
| _localctx = new IfStatementContext(_localctx); |
| enterOuterAlt(_localctx, 8); |
| { |
| setState(145); |
| match(T__13); |
| setState(146); |
| match(T__1); |
| setState(147); |
| ((IfStatementContext)_localctx).predicate = expression(0); |
| setState(148); |
| match(T__2); |
| setState(170); |
| switch (_input.LA(1)) { |
| case T__0: |
| case T__5: |
| case T__9: |
| case T__13: |
| case T__17: |
| case T__19: |
| case T__20: |
| case ID: |
| case COMMANDLINE_NAMED_ID: |
| case COMMANDLINE_POSITION_ID: |
| { |
| setState(149); |
| ((IfStatementContext)_localctx).statement = statement(); |
| ((IfStatementContext)_localctx).ifBody.add(((IfStatementContext)_localctx).statement); |
| setState(153); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,15,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| { |
| { |
| setState(150); |
| match(T__4); |
| } |
| } |
| } |
| setState(155); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,15,_ctx); |
| } |
| } |
| break; |
| case T__14: |
| { |
| setState(156); |
| match(T__14); |
| setState(166); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__5) | (1L << T__9) | (1L << T__13) | (1L << T__17) | (1L << T__19) | (1L << T__20) | (1L << ID))) != 0) || _la==COMMANDLINE_NAMED_ID || _la==COMMANDLINE_POSITION_ID) { |
| { |
| { |
| setState(157); |
| ((IfStatementContext)_localctx).statement = statement(); |
| ((IfStatementContext)_localctx).ifBody.add(((IfStatementContext)_localctx).statement); |
| setState(161); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__4) { |
| { |
| { |
| setState(158); |
| match(T__4); |
| } |
| } |
| setState(163); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| setState(168); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| setState(169); |
| match(T__15); |
| } |
| break; |
| default: |
| throw new NoViableAltException(this); |
| } |
| setState(196); |
| _errHandler.sync(this); |
| switch ( getInterpreter().adaptivePredict(_input,23,_ctx) ) { |
| case 1: |
| { |
| setState(172); |
| match(T__16); |
| setState(194); |
| switch (_input.LA(1)) { |
| case T__0: |
| case T__5: |
| case T__9: |
| case T__13: |
| case T__17: |
| case T__19: |
| case T__20: |
| case ID: |
| case COMMANDLINE_NAMED_ID: |
| case COMMANDLINE_POSITION_ID: |
| { |
| setState(173); |
| ((IfStatementContext)_localctx).statement = statement(); |
| ((IfStatementContext)_localctx).elseBody.add(((IfStatementContext)_localctx).statement); |
| setState(177); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,19,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| { |
| { |
| setState(174); |
| match(T__4); |
| } |
| } |
| } |
| setState(179); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,19,_ctx); |
| } |
| } |
| break; |
| case T__14: |
| { |
| setState(180); |
| match(T__14); |
| setState(190); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__5) | (1L << T__9) | (1L << T__13) | (1L << T__17) | (1L << T__19) | (1L << T__20) | (1L << ID))) != 0) || _la==COMMANDLINE_NAMED_ID || _la==COMMANDLINE_POSITION_ID) { |
| { |
| { |
| setState(181); |
| ((IfStatementContext)_localctx).statement = statement(); |
| ((IfStatementContext)_localctx).elseBody.add(((IfStatementContext)_localctx).statement); |
| setState(185); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__4) { |
| { |
| { |
| setState(182); |
| match(T__4); |
| } |
| } |
| setState(187); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| setState(192); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| setState(193); |
| match(T__15); |
| } |
| break; |
| default: |
| throw new NoViableAltException(this); |
| } |
| } |
| break; |
| } |
| } |
| break; |
| case 9: |
| _localctx = new ForStatementContext(_localctx); |
| enterOuterAlt(_localctx, 9); |
| { |
| setState(198); |
| match(T__17); |
| setState(199); |
| match(T__1); |
| setState(200); |
| ((ForStatementContext)_localctx).iterVar = match(ID); |
| setState(201); |
| match(T__18); |
| setState(202); |
| ((ForStatementContext)_localctx).iterPred = iterablePredicate(); |
| setState(207); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__8) { |
| { |
| { |
| setState(203); |
| match(T__8); |
| setState(204); |
| ((ForStatementContext)_localctx).strictParameterizedExpression = strictParameterizedExpression(); |
| ((ForStatementContext)_localctx).parForParams.add(((ForStatementContext)_localctx).strictParameterizedExpression); |
| } |
| } |
| setState(209); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| setState(210); |
| match(T__2); |
| setState(232); |
| switch (_input.LA(1)) { |
| case T__0: |
| case T__5: |
| case T__9: |
| case T__13: |
| case T__17: |
| case T__19: |
| case T__20: |
| case ID: |
| case COMMANDLINE_NAMED_ID: |
| case COMMANDLINE_POSITION_ID: |
| { |
| setState(211); |
| ((ForStatementContext)_localctx).statement = statement(); |
| ((ForStatementContext)_localctx).body.add(((ForStatementContext)_localctx).statement); |
| setState(215); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,25,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| { |
| { |
| setState(212); |
| match(T__4); |
| } |
| } |
| } |
| setState(217); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,25,_ctx); |
| } |
| } |
| break; |
| case T__14: |
| { |
| setState(218); |
| match(T__14); |
| setState(228); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__5) | (1L << T__9) | (1L << T__13) | (1L << T__17) | (1L << T__19) | (1L << T__20) | (1L << ID))) != 0) || _la==COMMANDLINE_NAMED_ID || _la==COMMANDLINE_POSITION_ID) { |
| { |
| { |
| setState(219); |
| ((ForStatementContext)_localctx).statement = statement(); |
| ((ForStatementContext)_localctx).body.add(((ForStatementContext)_localctx).statement); |
| setState(223); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__4) { |
| { |
| { |
| setState(220); |
| match(T__4); |
| } |
| } |
| setState(225); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| setState(230); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| setState(231); |
| match(T__15); |
| } |
| break; |
| default: |
| throw new NoViableAltException(this); |
| } |
| } |
| break; |
| case 10: |
| _localctx = new ParForStatementContext(_localctx); |
| enterOuterAlt(_localctx, 10); |
| { |
| setState(234); |
| match(T__19); |
| setState(235); |
| match(T__1); |
| setState(236); |
| ((ParForStatementContext)_localctx).iterVar = match(ID); |
| setState(237); |
| match(T__18); |
| setState(238); |
| ((ParForStatementContext)_localctx).iterPred = iterablePredicate(); |
| setState(243); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__8) { |
| { |
| { |
| setState(239); |
| match(T__8); |
| setState(240); |
| ((ParForStatementContext)_localctx).strictParameterizedExpression = strictParameterizedExpression(); |
| ((ParForStatementContext)_localctx).parForParams.add(((ParForStatementContext)_localctx).strictParameterizedExpression); |
| } |
| } |
| setState(245); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| setState(246); |
| match(T__2); |
| setState(268); |
| switch (_input.LA(1)) { |
| case T__0: |
| case T__5: |
| case T__9: |
| case T__13: |
| case T__17: |
| case T__19: |
| case T__20: |
| case ID: |
| case COMMANDLINE_NAMED_ID: |
| case COMMANDLINE_POSITION_ID: |
| { |
| setState(247); |
| ((ParForStatementContext)_localctx).statement = statement(); |
| ((ParForStatementContext)_localctx).body.add(((ParForStatementContext)_localctx).statement); |
| setState(251); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,30,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| { |
| { |
| setState(248); |
| match(T__4); |
| } |
| } |
| } |
| setState(253); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,30,_ctx); |
| } |
| } |
| break; |
| case T__14: |
| { |
| setState(254); |
| match(T__14); |
| setState(264); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__5) | (1L << T__9) | (1L << T__13) | (1L << T__17) | (1L << T__19) | (1L << T__20) | (1L << ID))) != 0) || _la==COMMANDLINE_NAMED_ID || _la==COMMANDLINE_POSITION_ID) { |
| { |
| { |
| setState(255); |
| ((ParForStatementContext)_localctx).statement = statement(); |
| ((ParForStatementContext)_localctx).body.add(((ParForStatementContext)_localctx).statement); |
| setState(259); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__4) { |
| { |
| { |
| setState(256); |
| match(T__4); |
| } |
| } |
| setState(261); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| setState(266); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| setState(267); |
| match(T__15); |
| } |
| break; |
| default: |
| throw new NoViableAltException(this); |
| } |
| } |
| break; |
| case 11: |
| _localctx = new WhileStatementContext(_localctx); |
| enterOuterAlt(_localctx, 11); |
| { |
| setState(270); |
| match(T__20); |
| setState(271); |
| match(T__1); |
| setState(272); |
| ((WhileStatementContext)_localctx).predicate = expression(0); |
| setState(273); |
| match(T__2); |
| setState(295); |
| switch (_input.LA(1)) { |
| case T__0: |
| case T__5: |
| case T__9: |
| case T__13: |
| case T__17: |
| case T__19: |
| case T__20: |
| case ID: |
| case COMMANDLINE_NAMED_ID: |
| case COMMANDLINE_POSITION_ID: |
| { |
| setState(274); |
| ((WhileStatementContext)_localctx).statement = statement(); |
| ((WhileStatementContext)_localctx).body.add(((WhileStatementContext)_localctx).statement); |
| setState(278); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,34,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| { |
| { |
| setState(275); |
| match(T__4); |
| } |
| } |
| } |
| setState(280); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,34,_ctx); |
| } |
| } |
| break; |
| case T__14: |
| { |
| setState(281); |
| match(T__14); |
| setState(291); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__5) | (1L << T__9) | (1L << T__13) | (1L << T__17) | (1L << T__19) | (1L << T__20) | (1L << ID))) != 0) || _la==COMMANDLINE_NAMED_ID || _la==COMMANDLINE_POSITION_ID) { |
| { |
| { |
| setState(282); |
| ((WhileStatementContext)_localctx).statement = statement(); |
| ((WhileStatementContext)_localctx).body.add(((WhileStatementContext)_localctx).statement); |
| setState(286); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__4) { |
| { |
| { |
| setState(283); |
| match(T__4); |
| } |
| } |
| setState(288); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| setState(293); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| setState(294); |
| match(T__15); |
| } |
| break; |
| default: |
| throw new NoViableAltException(this); |
| } |
| } |
| break; |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| exitRule(); |
| } |
| return _localctx; |
| } |
| |
| public static class IterablePredicateContext extends ParserRuleContext { |
| public org.apache.sysds.parser.dml.ExpressionInfo info; |
| public IterablePredicateContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_iterablePredicate; } |
| |
| public IterablePredicateContext() { } |
| public void copyFrom(IterablePredicateContext ctx) { |
| super.copyFrom(ctx); |
| this.info = ctx.info; |
| } |
| } |
| public static class IterablePredicateColonExpressionContext extends IterablePredicateContext { |
| public ExpressionContext from; |
| public ExpressionContext to; |
| public List<ExpressionContext> expression() { |
| return getRuleContexts(ExpressionContext.class); |
| } |
| public ExpressionContext expression(int i) { |
| return getRuleContext(ExpressionContext.class,i); |
| } |
| public IterablePredicateColonExpressionContext(IterablePredicateContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterIterablePredicateColonExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitIterablePredicateColonExpression(this); |
| } |
| } |
| public static class IterablePredicateSeqExpressionContext extends IterablePredicateContext { |
| public ExpressionContext from; |
| public ExpressionContext to; |
| public ExpressionContext increment; |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public List<ExpressionContext> expression() { |
| return getRuleContexts(ExpressionContext.class); |
| } |
| public ExpressionContext expression(int i) { |
| return getRuleContext(ExpressionContext.class,i); |
| } |
| public IterablePredicateSeqExpressionContext(IterablePredicateContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterIterablePredicateSeqExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitIterablePredicateSeqExpression(this); |
| } |
| } |
| |
| public final IterablePredicateContext iterablePredicate() throws RecognitionException { |
| IterablePredicateContext _localctx = new IterablePredicateContext(_ctx, getState()); |
| enterRule(_localctx, 4, RULE_iterablePredicate); |
| |
| // This actions occurs regardless of how many alternatives in this rule |
| ((IterablePredicateContext)_localctx).info = new org.apache.sysds.parser.dml.ExpressionInfo(); |
| |
| int _la; |
| try { |
| setState(314); |
| _errHandler.sync(this); |
| switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) { |
| case 1: |
| _localctx = new IterablePredicateColonExpressionContext(_localctx); |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(299); |
| ((IterablePredicateColonExpressionContext)_localctx).from = expression(0); |
| setState(300); |
| match(T__21); |
| setState(301); |
| ((IterablePredicateColonExpressionContext)_localctx).to = expression(0); |
| } |
| break; |
| case 2: |
| _localctx = new IterablePredicateSeqExpressionContext(_localctx); |
| enterOuterAlt(_localctx, 2); |
| { |
| setState(303); |
| match(ID); |
| setState(304); |
| match(T__1); |
| setState(305); |
| ((IterablePredicateSeqExpressionContext)_localctx).from = expression(0); |
| setState(306); |
| match(T__8); |
| setState(307); |
| ((IterablePredicateSeqExpressionContext)_localctx).to = expression(0); |
| setState(310); |
| _la = _input.LA(1); |
| if (_la==T__8) { |
| { |
| setState(308); |
| match(T__8); |
| setState(309); |
| ((IterablePredicateSeqExpressionContext)_localctx).increment = expression(0); |
| } |
| } |
| |
| setState(312); |
| match(T__2); |
| } |
| break; |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| exitRule(); |
| } |
| return _localctx; |
| } |
| |
| public static class FunctionStatementContext extends ParserRuleContext { |
| public org.apache.sysds.parser.dml.StatementInfo info; |
| public FunctionStatementContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_functionStatement; } |
| |
| public FunctionStatementContext() { } |
| public void copyFrom(FunctionStatementContext ctx) { |
| super.copyFrom(ctx); |
| this.info = ctx.info; |
| } |
| } |
| public static class ExternalFunctionDefExpressionContext extends FunctionStatementContext { |
| public Token name; |
| public TypedArgNoAssignContext typedArgNoAssign; |
| public List<TypedArgNoAssignContext> inputParams = new ArrayList<TypedArgNoAssignContext>(); |
| public List<TypedArgNoAssignContext> outputParams = new ArrayList<TypedArgNoAssignContext>(); |
| public StrictParameterizedKeyValueStringContext strictParameterizedKeyValueString; |
| public List<StrictParameterizedKeyValueStringContext> otherParams = new ArrayList<StrictParameterizedKeyValueStringContext>(); |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public List<TypedArgNoAssignContext> typedArgNoAssign() { |
| return getRuleContexts(TypedArgNoAssignContext.class); |
| } |
| public TypedArgNoAssignContext typedArgNoAssign(int i) { |
| return getRuleContext(TypedArgNoAssignContext.class,i); |
| } |
| public List<StrictParameterizedKeyValueStringContext> strictParameterizedKeyValueString() { |
| return getRuleContexts(StrictParameterizedKeyValueStringContext.class); |
| } |
| public StrictParameterizedKeyValueStringContext strictParameterizedKeyValueString(int i) { |
| return getRuleContext(StrictParameterizedKeyValueStringContext.class,i); |
| } |
| public ExternalFunctionDefExpressionContext(FunctionStatementContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterExternalFunctionDefExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitExternalFunctionDefExpression(this); |
| } |
| } |
| public static class InternalFunctionDefExpressionContext extends FunctionStatementContext { |
| public Token name; |
| public TypedArgAssignContext typedArgAssign; |
| public List<TypedArgAssignContext> inputParams = new ArrayList<TypedArgAssignContext>(); |
| public TypedArgNoAssignContext typedArgNoAssign; |
| public List<TypedArgNoAssignContext> outputParams = new ArrayList<TypedArgNoAssignContext>(); |
| public StatementContext statement; |
| public List<StatementContext> body = new ArrayList<StatementContext>(); |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public List<TypedArgAssignContext> typedArgAssign() { |
| return getRuleContexts(TypedArgAssignContext.class); |
| } |
| public TypedArgAssignContext typedArgAssign(int i) { |
| return getRuleContext(TypedArgAssignContext.class,i); |
| } |
| public List<StatementContext> statement() { |
| return getRuleContexts(StatementContext.class); |
| } |
| public StatementContext statement(int i) { |
| return getRuleContext(StatementContext.class,i); |
| } |
| public List<TypedArgNoAssignContext> typedArgNoAssign() { |
| return getRuleContexts(TypedArgNoAssignContext.class); |
| } |
| public TypedArgNoAssignContext typedArgNoAssign(int i) { |
| return getRuleContext(TypedArgNoAssignContext.class,i); |
| } |
| public InternalFunctionDefExpressionContext(FunctionStatementContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterInternalFunctionDefExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitInternalFunctionDefExpression(this); |
| } |
| } |
| |
| public final FunctionStatementContext functionStatement() throws RecognitionException { |
| FunctionStatementContext _localctx = new FunctionStatementContext(_ctx, getState()); |
| enterRule(_localctx, 6, RULE_functionStatement); |
| |
| // This actions occurs regardless of how many alternatives in this rule |
| ((FunctionStatementContext)_localctx).info = new org.apache.sysds.parser.dml.StatementInfo(); |
| |
| int _la; |
| try { |
| setState(416); |
| _errHandler.sync(this); |
| switch ( getInterpreter().adaptivePredict(_input,57,_ctx) ) { |
| case 1: |
| _localctx = new InternalFunctionDefExpressionContext(_localctx); |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(316); |
| ((InternalFunctionDefExpressionContext)_localctx).name = match(ID); |
| setState(317); |
| _la = _input.LA(1); |
| if ( !(_la==T__6 || _la==T__7) ) { |
| _errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| setState(318); |
| match(T__22); |
| setState(319); |
| match(T__1); |
| setState(328); |
| _la = _input.LA(1); |
| if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__56) | (1L << T__57) | (1L << T__58) | (1L << ID))) != 0)) { |
| { |
| setState(320); |
| ((InternalFunctionDefExpressionContext)_localctx).typedArgAssign = typedArgAssign(); |
| ((InternalFunctionDefExpressionContext)_localctx).inputParams.add(((InternalFunctionDefExpressionContext)_localctx).typedArgAssign); |
| setState(325); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__8) { |
| { |
| { |
| setState(321); |
| match(T__8); |
| setState(322); |
| ((InternalFunctionDefExpressionContext)_localctx).typedArgAssign = typedArgAssign(); |
| ((InternalFunctionDefExpressionContext)_localctx).inputParams.add(((InternalFunctionDefExpressionContext)_localctx).typedArgAssign); |
| } |
| } |
| setState(327); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| |
| setState(330); |
| match(T__2); |
| setState(344); |
| _la = _input.LA(1); |
| if (_la==T__23) { |
| { |
| setState(331); |
| match(T__23); |
| setState(332); |
| match(T__1); |
| setState(341); |
| _la = _input.LA(1); |
| if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__56) | (1L << T__57) | (1L << T__58) | (1L << ID))) != 0)) { |
| { |
| setState(333); |
| ((InternalFunctionDefExpressionContext)_localctx).typedArgNoAssign = typedArgNoAssign(); |
| ((InternalFunctionDefExpressionContext)_localctx).outputParams.add(((InternalFunctionDefExpressionContext)_localctx).typedArgNoAssign); |
| setState(338); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__8) { |
| { |
| { |
| setState(334); |
| match(T__8); |
| setState(335); |
| ((InternalFunctionDefExpressionContext)_localctx).typedArgNoAssign = typedArgNoAssign(); |
| ((InternalFunctionDefExpressionContext)_localctx).outputParams.add(((InternalFunctionDefExpressionContext)_localctx).typedArgNoAssign); |
| } |
| } |
| setState(340); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| |
| setState(343); |
| match(T__2); |
| } |
| } |
| |
| setState(346); |
| match(T__14); |
| setState(356); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__5) | (1L << T__9) | (1L << T__13) | (1L << T__17) | (1L << T__19) | (1L << T__20) | (1L << ID))) != 0) || _la==COMMANDLINE_NAMED_ID || _la==COMMANDLINE_POSITION_ID) { |
| { |
| { |
| setState(347); |
| ((InternalFunctionDefExpressionContext)_localctx).statement = statement(); |
| ((InternalFunctionDefExpressionContext)_localctx).body.add(((InternalFunctionDefExpressionContext)_localctx).statement); |
| setState(351); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__4) { |
| { |
| { |
| setState(348); |
| match(T__4); |
| } |
| } |
| setState(353); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| setState(358); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| setState(359); |
| match(T__15); |
| setState(363); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__4) { |
| { |
| { |
| setState(360); |
| match(T__4); |
| } |
| } |
| setState(365); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| break; |
| case 2: |
| _localctx = new ExternalFunctionDefExpressionContext(_localctx); |
| enterOuterAlt(_localctx, 2); |
| { |
| setState(366); |
| ((ExternalFunctionDefExpressionContext)_localctx).name = match(ID); |
| setState(367); |
| _la = _input.LA(1); |
| if ( !(_la==T__6 || _la==T__7) ) { |
| _errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| setState(368); |
| match(T__24); |
| setState(369); |
| match(T__1); |
| setState(378); |
| _la = _input.LA(1); |
| if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__56) | (1L << T__57) | (1L << T__58) | (1L << ID))) != 0)) { |
| { |
| setState(370); |
| ((ExternalFunctionDefExpressionContext)_localctx).typedArgNoAssign = typedArgNoAssign(); |
| ((ExternalFunctionDefExpressionContext)_localctx).inputParams.add(((ExternalFunctionDefExpressionContext)_localctx).typedArgNoAssign); |
| setState(375); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__8) { |
| { |
| { |
| setState(371); |
| match(T__8); |
| setState(372); |
| ((ExternalFunctionDefExpressionContext)_localctx).typedArgNoAssign = typedArgNoAssign(); |
| ((ExternalFunctionDefExpressionContext)_localctx).inputParams.add(((ExternalFunctionDefExpressionContext)_localctx).typedArgNoAssign); |
| } |
| } |
| setState(377); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| |
| setState(380); |
| match(T__2); |
| setState(394); |
| _la = _input.LA(1); |
| if (_la==T__23) { |
| { |
| setState(381); |
| match(T__23); |
| setState(382); |
| match(T__1); |
| setState(391); |
| _la = _input.LA(1); |
| if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__56) | (1L << T__57) | (1L << T__58) | (1L << ID))) != 0)) { |
| { |
| setState(383); |
| ((ExternalFunctionDefExpressionContext)_localctx).typedArgNoAssign = typedArgNoAssign(); |
| ((ExternalFunctionDefExpressionContext)_localctx).outputParams.add(((ExternalFunctionDefExpressionContext)_localctx).typedArgNoAssign); |
| setState(388); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__8) { |
| { |
| { |
| setState(384); |
| match(T__8); |
| setState(385); |
| ((ExternalFunctionDefExpressionContext)_localctx).typedArgNoAssign = typedArgNoAssign(); |
| ((ExternalFunctionDefExpressionContext)_localctx).outputParams.add(((ExternalFunctionDefExpressionContext)_localctx).typedArgNoAssign); |
| } |
| } |
| setState(390); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| |
| setState(393); |
| match(T__2); |
| } |
| } |
| |
| setState(396); |
| match(T__25); |
| setState(397); |
| match(T__18); |
| setState(398); |
| match(T__1); |
| setState(407); |
| _la = _input.LA(1); |
| if (_la==ID) { |
| { |
| setState(399); |
| ((ExternalFunctionDefExpressionContext)_localctx).strictParameterizedKeyValueString = strictParameterizedKeyValueString(); |
| ((ExternalFunctionDefExpressionContext)_localctx).otherParams.add(((ExternalFunctionDefExpressionContext)_localctx).strictParameterizedKeyValueString); |
| setState(404); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__8) { |
| { |
| { |
| setState(400); |
| match(T__8); |
| setState(401); |
| ((ExternalFunctionDefExpressionContext)_localctx).strictParameterizedKeyValueString = strictParameterizedKeyValueString(); |
| ((ExternalFunctionDefExpressionContext)_localctx).otherParams.add(((ExternalFunctionDefExpressionContext)_localctx).strictParameterizedKeyValueString); |
| } |
| } |
| setState(406); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| |
| setState(409); |
| match(T__2); |
| setState(413); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__4) { |
| { |
| { |
| setState(410); |
| match(T__4); |
| } |
| } |
| setState(415); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| break; |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| exitRule(); |
| } |
| return _localctx; |
| } |
| |
| public static class DataIdentifierContext extends ParserRuleContext { |
| public org.apache.sysds.parser.dml.ExpressionInfo dataInfo; |
| public DataIdentifierContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_dataIdentifier; } |
| |
| public DataIdentifierContext() { } |
| public void copyFrom(DataIdentifierContext ctx) { |
| super.copyFrom(ctx); |
| this.dataInfo = ctx.dataInfo; |
| } |
| } |
| public static class IndexedExpressionContext extends DataIdentifierContext { |
| public Token name; |
| public ExpressionContext rowLower; |
| public ExpressionContext rowUpper; |
| public ExpressionContext colLower; |
| public ExpressionContext colUpper; |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public List<ExpressionContext> expression() { |
| return getRuleContexts(ExpressionContext.class); |
| } |
| public ExpressionContext expression(int i) { |
| return getRuleContext(ExpressionContext.class,i); |
| } |
| public IndexedExpressionContext(DataIdentifierContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterIndexedExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitIndexedExpression(this); |
| } |
| } |
| public static class CommandlinePositionExpressionContext extends DataIdentifierContext { |
| public TerminalNode COMMANDLINE_POSITION_ID() { return getToken(DmlParser.COMMANDLINE_POSITION_ID, 0); } |
| public CommandlinePositionExpressionContext(DataIdentifierContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterCommandlinePositionExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitCommandlinePositionExpression(this); |
| } |
| } |
| public static class SimpleDataIdentifierExpressionContext extends DataIdentifierContext { |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public SimpleDataIdentifierExpressionContext(DataIdentifierContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterSimpleDataIdentifierExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitSimpleDataIdentifierExpression(this); |
| } |
| } |
| public static class CommandlineParamExpressionContext extends DataIdentifierContext { |
| public TerminalNode COMMANDLINE_NAMED_ID() { return getToken(DmlParser.COMMANDLINE_NAMED_ID, 0); } |
| public CommandlineParamExpressionContext(DataIdentifierContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterCommandlineParamExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitCommandlineParamExpression(this); |
| } |
| } |
| |
| public final DataIdentifierContext dataIdentifier() throws RecognitionException { |
| DataIdentifierContext _localctx = new DataIdentifierContext(_ctx, getState()); |
| enterRule(_localctx, 8, RULE_dataIdentifier); |
| |
| // This actions occurs regardless of how many alternatives in this rule |
| ((DataIdentifierContext)_localctx).dataInfo = new org.apache.sysds.parser.dml.ExpressionInfo(); |
| // _localctx.dataInfo.expr = new org.apache.sysds.parser.DataIdentifier(); |
| |
| int _la; |
| try { |
| setState(441); |
| _errHandler.sync(this); |
| switch ( getInterpreter().adaptivePredict(_input,63,_ctx) ) { |
| case 1: |
| _localctx = new IndexedExpressionContext(_localctx); |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(418); |
| ((IndexedExpressionContext)_localctx).name = match(ID); |
| setState(419); |
| match(T__9); |
| setState(425); |
| _la = _input.LA(1); |
| if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__1) | (1L << T__9) | (1L << T__27) | (1L << T__28) | (1L << T__40) | (1L << T__45) | (1L << T__46) | (1L << ID) | (1L << INT) | (1L << DOUBLE))) != 0) || ((((_la - 65)) & ~0x3f) == 0 && ((1L << (_la - 65)) & ((1L << (COMMANDLINE_NAMED_ID - 65)) | (1L << (COMMANDLINE_POSITION_ID - 65)) | (1L << (STRING - 65)))) != 0)) { |
| { |
| setState(420); |
| ((IndexedExpressionContext)_localctx).rowLower = expression(0); |
| setState(423); |
| _la = _input.LA(1); |
| if (_la==T__21) { |
| { |
| setState(421); |
| match(T__21); |
| setState(422); |
| ((IndexedExpressionContext)_localctx).rowUpper = expression(0); |
| } |
| } |
| |
| } |
| } |
| |
| setState(435); |
| _la = _input.LA(1); |
| if (_la==T__8) { |
| { |
| setState(427); |
| match(T__8); |
| setState(433); |
| _la = _input.LA(1); |
| if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__1) | (1L << T__9) | (1L << T__27) | (1L << T__28) | (1L << T__40) | (1L << T__45) | (1L << T__46) | (1L << ID) | (1L << INT) | (1L << DOUBLE))) != 0) || ((((_la - 65)) & ~0x3f) == 0 && ((1L << (_la - 65)) & ((1L << (COMMANDLINE_NAMED_ID - 65)) | (1L << (COMMANDLINE_POSITION_ID - 65)) | (1L << (STRING - 65)))) != 0)) { |
| { |
| setState(428); |
| ((IndexedExpressionContext)_localctx).colLower = expression(0); |
| setState(431); |
| _la = _input.LA(1); |
| if (_la==T__21) { |
| { |
| setState(429); |
| match(T__21); |
| setState(430); |
| ((IndexedExpressionContext)_localctx).colUpper = expression(0); |
| } |
| } |
| |
| } |
| } |
| |
| } |
| } |
| |
| setState(437); |
| match(T__10); |
| } |
| break; |
| case 2: |
| _localctx = new SimpleDataIdentifierExpressionContext(_localctx); |
| enterOuterAlt(_localctx, 2); |
| { |
| setState(438); |
| match(ID); |
| } |
| break; |
| case 3: |
| _localctx = new CommandlineParamExpressionContext(_localctx); |
| enterOuterAlt(_localctx, 3); |
| { |
| setState(439); |
| match(COMMANDLINE_NAMED_ID); |
| } |
| break; |
| case 4: |
| _localctx = new CommandlinePositionExpressionContext(_localctx); |
| enterOuterAlt(_localctx, 4); |
| { |
| setState(440); |
| match(COMMANDLINE_POSITION_ID); |
| } |
| break; |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| exitRule(); |
| } |
| return _localctx; |
| } |
| |
| public static class ExpressionContext extends ParserRuleContext { |
| public org.apache.sysds.parser.dml.ExpressionInfo info; |
| public ExpressionContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_expression; } |
| |
| public ExpressionContext() { } |
| public void copyFrom(ExpressionContext ctx) { |
| super.copyFrom(ctx); |
| this.info = ctx.info; |
| } |
| } |
| public static class ModIntDivExpressionContext extends ExpressionContext { |
| public ExpressionContext left; |
| public Token op; |
| public ExpressionContext right; |
| public List<ExpressionContext> expression() { |
| return getRuleContexts(ExpressionContext.class); |
| } |
| public ExpressionContext expression(int i) { |
| return getRuleContext(ExpressionContext.class,i); |
| } |
| public ModIntDivExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterModIntDivExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitModIntDivExpression(this); |
| } |
| } |
| public static class RelationalExpressionContext extends ExpressionContext { |
| public ExpressionContext left; |
| public Token op; |
| public ExpressionContext right; |
| public List<ExpressionContext> expression() { |
| return getRuleContexts(ExpressionContext.class); |
| } |
| public ExpressionContext expression(int i) { |
| return getRuleContext(ExpressionContext.class,i); |
| } |
| public RelationalExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterRelationalExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitRelationalExpression(this); |
| } |
| } |
| public static class BooleanNotExpressionContext extends ExpressionContext { |
| public Token op; |
| public ExpressionContext left; |
| public ExpressionContext expression() { |
| return getRuleContext(ExpressionContext.class,0); |
| } |
| public BooleanNotExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterBooleanNotExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitBooleanNotExpression(this); |
| } |
| } |
| public static class PowerExpressionContext extends ExpressionContext { |
| public ExpressionContext left; |
| public Token op; |
| public ExpressionContext right; |
| public List<ExpressionContext> expression() { |
| return getRuleContexts(ExpressionContext.class); |
| } |
| public ExpressionContext expression(int i) { |
| return getRuleContext(ExpressionContext.class,i); |
| } |
| public PowerExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterPowerExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitPowerExpression(this); |
| } |
| } |
| public static class BuiltinFunctionExpressionContext extends ExpressionContext { |
| public Token name; |
| public ParameterizedExpressionContext parameterizedExpression; |
| public List<ParameterizedExpressionContext> paramExprs = new ArrayList<ParameterizedExpressionContext>(); |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public List<ParameterizedExpressionContext> parameterizedExpression() { |
| return getRuleContexts(ParameterizedExpressionContext.class); |
| } |
| public ParameterizedExpressionContext parameterizedExpression(int i) { |
| return getRuleContext(ParameterizedExpressionContext.class,i); |
| } |
| public BuiltinFunctionExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterBuiltinFunctionExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitBuiltinFunctionExpression(this); |
| } |
| } |
| public static class ConstIntIdExpressionContext extends ExpressionContext { |
| public TerminalNode INT() { return getToken(DmlParser.INT, 0); } |
| public ConstIntIdExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterConstIntIdExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitConstIntIdExpression(this); |
| } |
| } |
| public static class AtomicExpressionContext extends ExpressionContext { |
| public ExpressionContext left; |
| public ExpressionContext expression() { |
| return getRuleContext(ExpressionContext.class,0); |
| } |
| public AtomicExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterAtomicExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitAtomicExpression(this); |
| } |
| } |
| public static class ConstStringIdExpressionContext extends ExpressionContext { |
| public TerminalNode STRING() { return getToken(DmlParser.STRING, 0); } |
| public ConstStringIdExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterConstStringIdExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitConstStringIdExpression(this); |
| } |
| } |
| public static class ConstTrueExpressionContext extends ExpressionContext { |
| public ConstTrueExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterConstTrueExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitConstTrueExpression(this); |
| } |
| } |
| public static class UnaryExpressionContext extends ExpressionContext { |
| public Token op; |
| public ExpressionContext left; |
| public ExpressionContext expression() { |
| return getRuleContext(ExpressionContext.class,0); |
| } |
| public UnaryExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterUnaryExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitUnaryExpression(this); |
| } |
| } |
| public static class MultDivExpressionContext extends ExpressionContext { |
| public ExpressionContext left; |
| public Token op; |
| public ExpressionContext right; |
| public List<ExpressionContext> expression() { |
| return getRuleContexts(ExpressionContext.class); |
| } |
| public ExpressionContext expression(int i) { |
| return getRuleContext(ExpressionContext.class,i); |
| } |
| public MultDivExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterMultDivExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitMultDivExpression(this); |
| } |
| } |
| public static class ConstFalseExpressionContext extends ExpressionContext { |
| public ConstFalseExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterConstFalseExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitConstFalseExpression(this); |
| } |
| } |
| public static class DataIdExpressionContext extends ExpressionContext { |
| public DataIdentifierContext dataIdentifier() { |
| return getRuleContext(DataIdentifierContext.class,0); |
| } |
| public DataIdExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterDataIdExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitDataIdExpression(this); |
| } |
| } |
| public static class AddSubExpressionContext extends ExpressionContext { |
| public ExpressionContext left; |
| public Token op; |
| public ExpressionContext right; |
| public List<ExpressionContext> expression() { |
| return getRuleContexts(ExpressionContext.class); |
| } |
| public ExpressionContext expression(int i) { |
| return getRuleContext(ExpressionContext.class,i); |
| } |
| public AddSubExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterAddSubExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitAddSubExpression(this); |
| } |
| } |
| public static class ConstDoubleIdExpressionContext extends ExpressionContext { |
| public TerminalNode DOUBLE() { return getToken(DmlParser.DOUBLE, 0); } |
| public ConstDoubleIdExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterConstDoubleIdExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitConstDoubleIdExpression(this); |
| } |
| } |
| public static class MatrixMulExpressionContext extends ExpressionContext { |
| public ExpressionContext left; |
| public Token op; |
| public ExpressionContext right; |
| public List<ExpressionContext> expression() { |
| return getRuleContexts(ExpressionContext.class); |
| } |
| public ExpressionContext expression(int i) { |
| return getRuleContext(ExpressionContext.class,i); |
| } |
| public MatrixMulExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterMatrixMulExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitMatrixMulExpression(this); |
| } |
| } |
| public static class MultiIdExpressionContext extends ExpressionContext { |
| public ExpressionContext expression; |
| public List<ExpressionContext> targetList = new ArrayList<ExpressionContext>(); |
| public List<ExpressionContext> expression() { |
| return getRuleContexts(ExpressionContext.class); |
| } |
| public ExpressionContext expression(int i) { |
| return getRuleContext(ExpressionContext.class,i); |
| } |
| public MultiIdExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterMultiIdExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitMultiIdExpression(this); |
| } |
| } |
| public static class BooleanAndExpressionContext extends ExpressionContext { |
| public ExpressionContext left; |
| public Token op; |
| public ExpressionContext right; |
| public List<ExpressionContext> expression() { |
| return getRuleContexts(ExpressionContext.class); |
| } |
| public ExpressionContext expression(int i) { |
| return getRuleContext(ExpressionContext.class,i); |
| } |
| public BooleanAndExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterBooleanAndExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitBooleanAndExpression(this); |
| } |
| } |
| public static class BooleanOrExpressionContext extends ExpressionContext { |
| public ExpressionContext left; |
| public Token op; |
| public ExpressionContext right; |
| public List<ExpressionContext> expression() { |
| return getRuleContexts(ExpressionContext.class); |
| } |
| public ExpressionContext expression(int i) { |
| return getRuleContext(ExpressionContext.class,i); |
| } |
| public BooleanOrExpressionContext(ExpressionContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterBooleanOrExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitBooleanOrExpression(this); |
| } |
| } |
| |
| public final ExpressionContext expression() throws RecognitionException { |
| return expression(0); |
| } |
| |
| private ExpressionContext expression(int _p) throws RecognitionException { |
| ParserRuleContext _parentctx = _ctx; |
| int _parentState = getState(); |
| ExpressionContext _localctx = new ExpressionContext(_ctx, _parentState); |
| ExpressionContext _prevctx = _localctx; |
| int _startState = 10; |
| enterRecursionRule(_localctx, 10, RULE_expression, _p); |
| |
| // This actions occurs regardless of how many alternatives in this rule |
| ((ExpressionContext)_localctx).info = new org.apache.sysds.parser.dml.ExpressionInfo(); |
| // _localctx.info.expr = new org.apache.sysds.parser.BinaryExpression(org.apache.sysds.parser.Expression.BinaryOp.INVALID); |
| |
| int _la; |
| try { |
| int _alt; |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(488); |
| _errHandler.sync(this); |
| switch ( getInterpreter().adaptivePredict(_input,68,_ctx) ) { |
| case 1: |
| { |
| _localctx = new UnaryExpressionContext(_localctx); |
| _ctx = _localctx; |
| _prevctx = _localctx; |
| |
| setState(444); |
| ((UnaryExpressionContext)_localctx).op = _input.LT(1); |
| _la = _input.LA(1); |
| if ( !(_la==T__27 || _la==T__28) ) { |
| ((UnaryExpressionContext)_localctx).op = (Token)_errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| setState(445); |
| ((UnaryExpressionContext)_localctx).left = expression(18); |
| } |
| break; |
| case 2: |
| { |
| _localctx = new BooleanNotExpressionContext(_localctx); |
| _ctx = _localctx; |
| _prevctx = _localctx; |
| setState(446); |
| ((BooleanNotExpressionContext)_localctx).op = match(T__40); |
| setState(447); |
| ((BooleanNotExpressionContext)_localctx).left = expression(12); |
| } |
| break; |
| case 3: |
| { |
| _localctx = new BuiltinFunctionExpressionContext(_localctx); |
| _ctx = _localctx; |
| _prevctx = _localctx; |
| setState(448); |
| ((BuiltinFunctionExpressionContext)_localctx).name = match(ID); |
| setState(449); |
| match(T__1); |
| setState(458); |
| _la = _input.LA(1); |
| if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__1) | (1L << T__9) | (1L << T__27) | (1L << T__28) | (1L << T__40) | (1L << T__45) | (1L << T__46) | (1L << ID) | (1L << INT) | (1L << DOUBLE))) != 0) || ((((_la - 65)) & ~0x3f) == 0 && ((1L << (_la - 65)) & ((1L << (COMMANDLINE_NAMED_ID - 65)) | (1L << (COMMANDLINE_POSITION_ID - 65)) | (1L << (STRING - 65)))) != 0)) { |
| { |
| setState(450); |
| ((BuiltinFunctionExpressionContext)_localctx).parameterizedExpression = parameterizedExpression(); |
| ((BuiltinFunctionExpressionContext)_localctx).paramExprs.add(((BuiltinFunctionExpressionContext)_localctx).parameterizedExpression); |
| setState(455); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__8) { |
| { |
| { |
| setState(451); |
| match(T__8); |
| setState(452); |
| ((BuiltinFunctionExpressionContext)_localctx).parameterizedExpression = parameterizedExpression(); |
| ((BuiltinFunctionExpressionContext)_localctx).paramExprs.add(((BuiltinFunctionExpressionContext)_localctx).parameterizedExpression); |
| } |
| } |
| setState(457); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| } |
| } |
| |
| setState(460); |
| match(T__2); |
| setState(464); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,66,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| { |
| { |
| setState(461); |
| match(T__4); |
| } |
| } |
| } |
| setState(466); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,66,_ctx); |
| } |
| } |
| break; |
| case 4: |
| { |
| _localctx = new AtomicExpressionContext(_localctx); |
| _ctx = _localctx; |
| _prevctx = _localctx; |
| setState(467); |
| match(T__1); |
| setState(468); |
| ((AtomicExpressionContext)_localctx).left = expression(0); |
| setState(469); |
| match(T__2); |
| } |
| break; |
| case 5: |
| { |
| _localctx = new MultiIdExpressionContext(_localctx); |
| _ctx = _localctx; |
| _prevctx = _localctx; |
| setState(471); |
| match(T__9); |
| setState(472); |
| ((MultiIdExpressionContext)_localctx).expression = expression(0); |
| ((MultiIdExpressionContext)_localctx).targetList.add(((MultiIdExpressionContext)_localctx).expression); |
| setState(477); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| while (_la==T__8) { |
| { |
| { |
| setState(473); |
| match(T__8); |
| setState(474); |
| ((MultiIdExpressionContext)_localctx).expression = expression(0); |
| ((MultiIdExpressionContext)_localctx).targetList.add(((MultiIdExpressionContext)_localctx).expression); |
| } |
| } |
| setState(479); |
| _errHandler.sync(this); |
| _la = _input.LA(1); |
| } |
| setState(480); |
| match(T__10); |
| } |
| break; |
| case 6: |
| { |
| _localctx = new ConstTrueExpressionContext(_localctx); |
| _ctx = _localctx; |
| _prevctx = _localctx; |
| setState(482); |
| match(T__45); |
| } |
| break; |
| case 7: |
| { |
| _localctx = new ConstFalseExpressionContext(_localctx); |
| _ctx = _localctx; |
| _prevctx = _localctx; |
| setState(483); |
| match(T__46); |
| } |
| break; |
| case 8: |
| { |
| _localctx = new ConstIntIdExpressionContext(_localctx); |
| _ctx = _localctx; |
| _prevctx = _localctx; |
| setState(484); |
| match(INT); |
| } |
| break; |
| case 9: |
| { |
| _localctx = new ConstDoubleIdExpressionContext(_localctx); |
| _ctx = _localctx; |
| _prevctx = _localctx; |
| setState(485); |
| match(DOUBLE); |
| } |
| break; |
| case 10: |
| { |
| _localctx = new ConstStringIdExpressionContext(_localctx); |
| _ctx = _localctx; |
| _prevctx = _localctx; |
| setState(486); |
| match(STRING); |
| } |
| break; |
| case 11: |
| { |
| _localctx = new DataIdExpressionContext(_localctx); |
| _ctx = _localctx; |
| _prevctx = _localctx; |
| setState(487); |
| dataIdentifier(); |
| } |
| break; |
| } |
| _ctx.stop = _input.LT(-1); |
| setState(516); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,70,_ctx); |
| while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { |
| if ( _alt==1 ) { |
| if ( _parseListeners!=null ) triggerExitRuleEvent(); |
| _prevctx = _localctx; |
| { |
| setState(514); |
| _errHandler.sync(this); |
| switch ( getInterpreter().adaptivePredict(_input,69,_ctx) ) { |
| case 1: |
| { |
| _localctx = new PowerExpressionContext(new ExpressionContext(_parentctx, _parentState)); |
| ((PowerExpressionContext)_localctx).left = _prevctx; |
| pushNewRecursionContext(_localctx, _startState, RULE_expression); |
| setState(490); |
| if (!(precpred(_ctx, 19))) throw new FailedPredicateException(this, "precpred(_ctx, 19)"); |
| setState(491); |
| ((PowerExpressionContext)_localctx).op = match(T__26); |
| setState(492); |
| ((PowerExpressionContext)_localctx).right = expression(19); |
| } |
| break; |
| case 2: |
| { |
| _localctx = new MatrixMulExpressionContext(new ExpressionContext(_parentctx, _parentState)); |
| ((MatrixMulExpressionContext)_localctx).left = _prevctx; |
| pushNewRecursionContext(_localctx, _startState, RULE_expression); |
| setState(493); |
| if (!(precpred(_ctx, 17))) throw new FailedPredicateException(this, "precpred(_ctx, 17)"); |
| setState(494); |
| ((MatrixMulExpressionContext)_localctx).op = match(T__29); |
| setState(495); |
| ((MatrixMulExpressionContext)_localctx).right = expression(18); |
| } |
| break; |
| case 3: |
| { |
| _localctx = new ModIntDivExpressionContext(new ExpressionContext(_parentctx, _parentState)); |
| ((ModIntDivExpressionContext)_localctx).left = _prevctx; |
| pushNewRecursionContext(_localctx, _startState, RULE_expression); |
| setState(496); |
| if (!(precpred(_ctx, 16))) throw new FailedPredicateException(this, "precpred(_ctx, 16)"); |
| setState(497); |
| ((ModIntDivExpressionContext)_localctx).op = _input.LT(1); |
| _la = _input.LA(1); |
| if ( !(_la==T__30 || _la==T__31) ) { |
| ((ModIntDivExpressionContext)_localctx).op = (Token)_errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| setState(498); |
| ((ModIntDivExpressionContext)_localctx).right = expression(17); |
| } |
| break; |
| case 4: |
| { |
| _localctx = new MultDivExpressionContext(new ExpressionContext(_parentctx, _parentState)); |
| ((MultDivExpressionContext)_localctx).left = _prevctx; |
| pushNewRecursionContext(_localctx, _startState, RULE_expression); |
| setState(499); |
| if (!(precpred(_ctx, 15))) throw new FailedPredicateException(this, "precpred(_ctx, 15)"); |
| setState(500); |
| ((MultDivExpressionContext)_localctx).op = _input.LT(1); |
| _la = _input.LA(1); |
| if ( !(_la==T__32 || _la==T__33) ) { |
| ((MultDivExpressionContext)_localctx).op = (Token)_errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| setState(501); |
| ((MultDivExpressionContext)_localctx).right = expression(16); |
| } |
| break; |
| case 5: |
| { |
| _localctx = new AddSubExpressionContext(new ExpressionContext(_parentctx, _parentState)); |
| ((AddSubExpressionContext)_localctx).left = _prevctx; |
| pushNewRecursionContext(_localctx, _startState, RULE_expression); |
| setState(502); |
| if (!(precpred(_ctx, 14))) throw new FailedPredicateException(this, "precpred(_ctx, 14)"); |
| setState(503); |
| ((AddSubExpressionContext)_localctx).op = _input.LT(1); |
| _la = _input.LA(1); |
| if ( !(_la==T__27 || _la==T__28) ) { |
| ((AddSubExpressionContext)_localctx).op = (Token)_errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| setState(504); |
| ((AddSubExpressionContext)_localctx).right = expression(15); |
| } |
| break; |
| case 6: |
| { |
| _localctx = new RelationalExpressionContext(new ExpressionContext(_parentctx, _parentState)); |
| ((RelationalExpressionContext)_localctx).left = _prevctx; |
| pushNewRecursionContext(_localctx, _startState, RULE_expression); |
| setState(505); |
| if (!(precpred(_ctx, 13))) throw new FailedPredicateException(this, "precpred(_ctx, 13)"); |
| setState(506); |
| ((RelationalExpressionContext)_localctx).op = _input.LT(1); |
| _la = _input.LA(1); |
| if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__34) | (1L << T__35) | (1L << T__36) | (1L << T__37) | (1L << T__38) | (1L << T__39))) != 0)) ) { |
| ((RelationalExpressionContext)_localctx).op = (Token)_errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| setState(507); |
| ((RelationalExpressionContext)_localctx).right = expression(14); |
| } |
| break; |
| case 7: |
| { |
| _localctx = new BooleanAndExpressionContext(new ExpressionContext(_parentctx, _parentState)); |
| ((BooleanAndExpressionContext)_localctx).left = _prevctx; |
| pushNewRecursionContext(_localctx, _startState, RULE_expression); |
| setState(508); |
| if (!(precpred(_ctx, 11))) throw new FailedPredicateException(this, "precpred(_ctx, 11)"); |
| setState(509); |
| ((BooleanAndExpressionContext)_localctx).op = _input.LT(1); |
| _la = _input.LA(1); |
| if ( !(_la==T__41 || _la==T__42) ) { |
| ((BooleanAndExpressionContext)_localctx).op = (Token)_errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| setState(510); |
| ((BooleanAndExpressionContext)_localctx).right = expression(12); |
| } |
| break; |
| case 8: |
| { |
| _localctx = new BooleanOrExpressionContext(new ExpressionContext(_parentctx, _parentState)); |
| ((BooleanOrExpressionContext)_localctx).left = _prevctx; |
| pushNewRecursionContext(_localctx, _startState, RULE_expression); |
| setState(511); |
| if (!(precpred(_ctx, 10))) throw new FailedPredicateException(this, "precpred(_ctx, 10)"); |
| setState(512); |
| ((BooleanOrExpressionContext)_localctx).op = _input.LT(1); |
| _la = _input.LA(1); |
| if ( !(_la==T__43 || _la==T__44) ) { |
| ((BooleanOrExpressionContext)_localctx).op = (Token)_errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| setState(513); |
| ((BooleanOrExpressionContext)_localctx).right = expression(11); |
| } |
| break; |
| } |
| } |
| } |
| setState(518); |
| _errHandler.sync(this); |
| _alt = getInterpreter().adaptivePredict(_input,70,_ctx); |
| } |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| unrollRecursionContexts(_parentctx); |
| } |
| return _localctx; |
| } |
| |
| public static class TypedArgNoAssignContext extends ParserRuleContext { |
| public Ml_typeContext paramType; |
| public Token paramName; |
| public Ml_typeContext ml_type() { |
| return getRuleContext(Ml_typeContext.class,0); |
| } |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public TypedArgNoAssignContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_typedArgNoAssign; } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterTypedArgNoAssign(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitTypedArgNoAssign(this); |
| } |
| } |
| |
| public final TypedArgNoAssignContext typedArgNoAssign() throws RecognitionException { |
| TypedArgNoAssignContext _localctx = new TypedArgNoAssignContext(_ctx, getState()); |
| enterRule(_localctx, 12, RULE_typedArgNoAssign); |
| try { |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(519); |
| ((TypedArgNoAssignContext)_localctx).paramType = ml_type(); |
| setState(520); |
| ((TypedArgNoAssignContext)_localctx).paramName = match(ID); |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| exitRule(); |
| } |
| return _localctx; |
| } |
| |
| public static class TypedArgAssignContext extends ParserRuleContext { |
| public Ml_typeContext paramType; |
| public Token paramName; |
| public ExpressionContext paramVal; |
| public Ml_typeContext ml_type() { |
| return getRuleContext(Ml_typeContext.class,0); |
| } |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public ExpressionContext expression() { |
| return getRuleContext(ExpressionContext.class,0); |
| } |
| public TypedArgAssignContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_typedArgAssign; } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterTypedArgAssign(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitTypedArgAssign(this); |
| } |
| } |
| |
| public final TypedArgAssignContext typedArgAssign() throws RecognitionException { |
| TypedArgAssignContext _localctx = new TypedArgAssignContext(_ctx, getState()); |
| enterRule(_localctx, 14, RULE_typedArgAssign); |
| try { |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(522); |
| ((TypedArgAssignContext)_localctx).paramType = ml_type(); |
| setState(529); |
| _errHandler.sync(this); |
| switch ( getInterpreter().adaptivePredict(_input,72,_ctx) ) { |
| case 1: |
| { |
| setState(523); |
| ((TypedArgAssignContext)_localctx).paramName = match(ID); |
| } |
| break; |
| case 2: |
| { |
| setState(526); |
| _errHandler.sync(this); |
| switch ( getInterpreter().adaptivePredict(_input,71,_ctx) ) { |
| case 1: |
| { |
| setState(524); |
| ((TypedArgAssignContext)_localctx).paramName = match(ID); |
| setState(525); |
| match(T__6); |
| } |
| break; |
| } |
| setState(528); |
| ((TypedArgAssignContext)_localctx).paramVal = expression(0); |
| } |
| break; |
| } |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| exitRule(); |
| } |
| return _localctx; |
| } |
| |
| public static class ParameterizedExpressionContext extends ParserRuleContext { |
| public Token paramName; |
| public ExpressionContext paramVal; |
| public ExpressionContext expression() { |
| return getRuleContext(ExpressionContext.class,0); |
| } |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public ParameterizedExpressionContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_parameterizedExpression; } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterParameterizedExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitParameterizedExpression(this); |
| } |
| } |
| |
| public final ParameterizedExpressionContext parameterizedExpression() throws RecognitionException { |
| ParameterizedExpressionContext _localctx = new ParameterizedExpressionContext(_ctx, getState()); |
| enterRule(_localctx, 16, RULE_parameterizedExpression); |
| try { |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(533); |
| _errHandler.sync(this); |
| switch ( getInterpreter().adaptivePredict(_input,73,_ctx) ) { |
| case 1: |
| { |
| setState(531); |
| ((ParameterizedExpressionContext)_localctx).paramName = match(ID); |
| setState(532); |
| match(T__6); |
| } |
| break; |
| } |
| setState(535); |
| ((ParameterizedExpressionContext)_localctx).paramVal = expression(0); |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| exitRule(); |
| } |
| return _localctx; |
| } |
| |
| public static class StrictParameterizedExpressionContext extends ParserRuleContext { |
| public Token paramName; |
| public ExpressionContext paramVal; |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public ExpressionContext expression() { |
| return getRuleContext(ExpressionContext.class,0); |
| } |
| public StrictParameterizedExpressionContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_strictParameterizedExpression; } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterStrictParameterizedExpression(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitStrictParameterizedExpression(this); |
| } |
| } |
| |
| public final StrictParameterizedExpressionContext strictParameterizedExpression() throws RecognitionException { |
| StrictParameterizedExpressionContext _localctx = new StrictParameterizedExpressionContext(_ctx, getState()); |
| enterRule(_localctx, 18, RULE_strictParameterizedExpression); |
| try { |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(537); |
| ((StrictParameterizedExpressionContext)_localctx).paramName = match(ID); |
| setState(538); |
| match(T__6); |
| setState(539); |
| ((StrictParameterizedExpressionContext)_localctx).paramVal = expression(0); |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| exitRule(); |
| } |
| return _localctx; |
| } |
| |
| public static class StrictParameterizedKeyValueStringContext extends ParserRuleContext { |
| public Token paramName; |
| public Token paramVal; |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public TerminalNode STRING() { return getToken(DmlParser.STRING, 0); } |
| public StrictParameterizedKeyValueStringContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_strictParameterizedKeyValueString; } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterStrictParameterizedKeyValueString(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitStrictParameterizedKeyValueString(this); |
| } |
| } |
| |
| public final StrictParameterizedKeyValueStringContext strictParameterizedKeyValueString() throws RecognitionException { |
| StrictParameterizedKeyValueStringContext _localctx = new StrictParameterizedKeyValueStringContext(_ctx, getState()); |
| enterRule(_localctx, 20, RULE_strictParameterizedKeyValueString); |
| try { |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(541); |
| ((StrictParameterizedKeyValueStringContext)_localctx).paramName = match(ID); |
| setState(542); |
| match(T__6); |
| setState(543); |
| ((StrictParameterizedKeyValueStringContext)_localctx).paramVal = match(STRING); |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| exitRule(); |
| } |
| return _localctx; |
| } |
| |
| public static class Ml_typeContext extends ParserRuleContext { |
| public ValueTypeContext valueType() { |
| return getRuleContext(ValueTypeContext.class,0); |
| } |
| public DataTypeContext dataType() { |
| return getRuleContext(DataTypeContext.class,0); |
| } |
| public Ml_typeContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_ml_type; } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterMl_type(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitMl_type(this); |
| } |
| } |
| |
| public final Ml_typeContext ml_type() throws RecognitionException { |
| Ml_typeContext _localctx = new Ml_typeContext(_ctx, getState()); |
| enterRule(_localctx, 22, RULE_ml_type); |
| try { |
| setState(551); |
| switch (_input.LA(1)) { |
| case T__47: |
| case T__48: |
| case T__49: |
| case T__50: |
| case T__51: |
| case T__52: |
| case T__53: |
| case T__54: |
| case T__55: |
| case T__56: |
| case T__57: |
| case T__58: |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(545); |
| valueType(); |
| } |
| break; |
| case ID: |
| enterOuterAlt(_localctx, 2); |
| { |
| setState(546); |
| dataType(); |
| setState(547); |
| match(T__9); |
| setState(548); |
| valueType(); |
| setState(549); |
| match(T__10); |
| } |
| break; |
| default: |
| throw new NoViableAltException(this); |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| exitRule(); |
| } |
| return _localctx; |
| } |
| |
| public static class ValueTypeContext extends ParserRuleContext { |
| public ValueTypeContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_valueType; } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterValueType(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitValueType(this); |
| } |
| } |
| |
| public final ValueTypeContext valueType() throws RecognitionException { |
| ValueTypeContext _localctx = new ValueTypeContext(_ctx, getState()); |
| enterRule(_localctx, 24, RULE_valueType); |
| int _la; |
| try { |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(553); |
| _la = _input.LA(1); |
| if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__56) | (1L << T__57) | (1L << T__58))) != 0)) ) { |
| _errHandler.recoverInline(this); |
| } else { |
| consume(); |
| } |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| exitRule(); |
| } |
| return _localctx; |
| } |
| |
| public static class DataTypeContext extends ParserRuleContext { |
| public DataTypeContext(ParserRuleContext parent, int invokingState) { |
| super(parent, invokingState); |
| } |
| @Override public int getRuleIndex() { return RULE_dataType; } |
| |
| public DataTypeContext() { } |
| public void copyFrom(DataTypeContext ctx) { |
| super.copyFrom(ctx); |
| } |
| } |
| public static class MatrixDataTypeCheckContext extends DataTypeContext { |
| public TerminalNode ID() { return getToken(DmlParser.ID, 0); } |
| public MatrixDataTypeCheckContext(DataTypeContext ctx) { copyFrom(ctx); } |
| @Override |
| public void enterRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).enterMatrixDataTypeCheck(this); |
| } |
| @Override |
| public void exitRule(ParseTreeListener listener) { |
| if ( listener instanceof DmlListener ) ((DmlListener)listener).exitMatrixDataTypeCheck(this); |
| } |
| } |
| |
| public final DataTypeContext dataType() throws RecognitionException { |
| DataTypeContext _localctx = new DataTypeContext(_ctx, getState()); |
| enterRule(_localctx, 26, RULE_dataType); |
| try { |
| _localctx = new MatrixDataTypeCheckContext(_localctx); |
| enterOuterAlt(_localctx, 1); |
| { |
| setState(555); |
| match(ID); |
| } |
| } |
| catch (RecognitionException re) { |
| _localctx.exception = re; |
| _errHandler.reportError(this, re); |
| _errHandler.recover(this, re); |
| } |
| finally { |
| exitRule(); |
| } |
| return _localctx; |
| } |
| |
| public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) { |
| switch (ruleIndex) { |
| case 5: |
| return expression_sempred((ExpressionContext)_localctx, predIndex); |
| } |
| return true; |
| } |
| private boolean expression_sempred(ExpressionContext _localctx, int predIndex) { |
| switch (predIndex) { |
| case 0: |
| return precpred(_ctx, 19); |
| case 1: |
| return precpred(_ctx, 17); |
| case 2: |
| return precpred(_ctx, 16); |
| case 3: |
| return precpred(_ctx, 15); |
| case 4: |
| return precpred(_ctx, 14); |
| case 5: |
| return precpred(_ctx, 13); |
| case 6: |
| return precpred(_ctx, 11); |
| case 7: |
| return precpred(_ctx, 10); |
| } |
| return true; |
| } |
| |
| public static final String _serializedATN = |
| "\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\3H\u0230\4\2\t\2\4"+ |
| "\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t"+ |
| "\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\3\2\3\2\7\2!\n\2\f\2\16\2$\13"+ |
| "\2\3\2\3\2\3\3\3\3\3\3\3\3\3\3\3\3\3\3\7\3/\n\3\f\3\16\3\62\13\3\3\3\3"+ |
| "\3\3\3\3\3\3\3\7\39\n\3\f\3\16\3<\13\3\3\3\3\3\3\3\5\3A\n\3\3\3\3\3\3"+ |
| "\3\3\3\3\3\7\3H\n\3\f\3\16\3K\13\3\5\3M\n\3\3\3\3\3\7\3Q\n\3\f\3\16\3"+ |
| "T\13\3\3\3\3\3\3\3\3\3\7\3Z\n\3\f\3\16\3]\13\3\3\3\3\3\3\3\3\3\3\3\3\3"+ |
| "\3\3\7\3f\n\3\f\3\16\3i\13\3\5\3k\n\3\3\3\3\3\7\3o\n\3\f\3\16\3r\13\3"+ |
| "\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\7\3}\n\3\f\3\16\3\u0080\13\3\3\3"+ |
| "\3\3\3\3\3\3\7\3\u0086\n\3\f\3\16\3\u0089\13\3\3\3\3\3\3\3\3\3\7\3\u008f"+ |
| "\n\3\f\3\16\3\u0092\13\3\3\3\3\3\3\3\3\3\3\3\3\3\7\3\u009a\n\3\f\3\16"+ |
| "\3\u009d\13\3\3\3\3\3\3\3\7\3\u00a2\n\3\f\3\16\3\u00a5\13\3\7\3\u00a7"+ |
| "\n\3\f\3\16\3\u00aa\13\3\3\3\5\3\u00ad\n\3\3\3\3\3\3\3\7\3\u00b2\n\3\f"+ |
| "\3\16\3\u00b5\13\3\3\3\3\3\3\3\7\3\u00ba\n\3\f\3\16\3\u00bd\13\3\7\3\u00bf"+ |
| "\n\3\f\3\16\3\u00c2\13\3\3\3\5\3\u00c5\n\3\5\3\u00c7\n\3\3\3\3\3\3\3\3"+ |
| "\3\3\3\3\3\3\3\7\3\u00d0\n\3\f\3\16\3\u00d3\13\3\3\3\3\3\3\3\7\3\u00d8"+ |
| "\n\3\f\3\16\3\u00db\13\3\3\3\3\3\3\3\7\3\u00e0\n\3\f\3\16\3\u00e3\13\3"+ |
| "\7\3\u00e5\n\3\f\3\16\3\u00e8\13\3\3\3\5\3\u00eb\n\3\3\3\3\3\3\3\3\3\3"+ |
| "\3\3\3\3\3\7\3\u00f4\n\3\f\3\16\3\u00f7\13\3\3\3\3\3\3\3\7\3\u00fc\n\3"+ |
| "\f\3\16\3\u00ff\13\3\3\3\3\3\3\3\7\3\u0104\n\3\f\3\16\3\u0107\13\3\7\3"+ |
| "\u0109\n\3\f\3\16\3\u010c\13\3\3\3\5\3\u010f\n\3\3\3\3\3\3\3\3\3\3\3\3"+ |
| "\3\7\3\u0117\n\3\f\3\16\3\u011a\13\3\3\3\3\3\3\3\7\3\u011f\n\3\f\3\16"+ |
| "\3\u0122\13\3\7\3\u0124\n\3\f\3\16\3\u0127\13\3\3\3\5\3\u012a\n\3\5\3"+ |
| "\u012c\n\3\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\5\4\u0139\n\4\3"+ |
| "\4\3\4\5\4\u013d\n\4\3\5\3\5\3\5\3\5\3\5\3\5\3\5\7\5\u0146\n\5\f\5\16"+ |
| "\5\u0149\13\5\5\5\u014b\n\5\3\5\3\5\3\5\3\5\3\5\3\5\7\5\u0153\n\5\f\5"+ |
| "\16\5\u0156\13\5\5\5\u0158\n\5\3\5\5\5\u015b\n\5\3\5\3\5\3\5\7\5\u0160"+ |
| "\n\5\f\5\16\5\u0163\13\5\7\5\u0165\n\5\f\5\16\5\u0168\13\5\3\5\3\5\7\5"+ |
| "\u016c\n\5\f\5\16\5\u016f\13\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\7\5\u0178\n"+ |
| "\5\f\5\16\5\u017b\13\5\5\5\u017d\n\5\3\5\3\5\3\5\3\5\3\5\3\5\7\5\u0185"+ |
| "\n\5\f\5\16\5\u0188\13\5\5\5\u018a\n\5\3\5\5\5\u018d\n\5\3\5\3\5\3\5\3"+ |
| "\5\3\5\3\5\7\5\u0195\n\5\f\5\16\5\u0198\13\5\5\5\u019a\n\5\3\5\3\5\7\5"+ |
| "\u019e\n\5\f\5\16\5\u01a1\13\5\5\5\u01a3\n\5\3\6\3\6\3\6\3\6\3\6\5\6\u01aa"+ |
| "\n\6\5\6\u01ac\n\6\3\6\3\6\3\6\3\6\5\6\u01b2\n\6\5\6\u01b4\n\6\5\6\u01b6"+ |
| "\n\6\3\6\3\6\3\6\3\6\5\6\u01bc\n\6\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7"+ |
| "\3\7\7\7\u01c8\n\7\f\7\16\7\u01cb\13\7\5\7\u01cd\n\7\3\7\3\7\7\7\u01d1"+ |
| "\n\7\f\7\16\7\u01d4\13\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\7\7\u01de\n\7"+ |
| "\f\7\16\7\u01e1\13\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\5\7\u01eb\n\7\3\7"+ |
| "\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3"+ |
| "\7\3\7\3\7\3\7\3\7\3\7\7\7\u0205\n\7\f\7\16\7\u0208\13\7\3\b\3\b\3\b\3"+ |
| "\t\3\t\3\t\3\t\5\t\u0211\n\t\3\t\5\t\u0214\n\t\3\n\3\n\5\n\u0218\n\n\3"+ |
| "\n\3\n\3\13\3\13\3\13\3\13\3\f\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3\r\3\r\5\r"+ |
| "\u022a\n\r\3\16\3\16\3\17\3\17\3\17\2\3\f\20\2\4\6\b\n\f\16\20\22\24\26"+ |
| "\30\32\34\2\n\3\2\t\n\3\2\36\37\3\2!\"\3\2#$\3\2%*\3\2,-\3\2./\3\2\62"+ |
| "=\u0286\2\"\3\2\2\2\4\u012b\3\2\2\2\6\u013c\3\2\2\2\b\u01a2\3\2\2\2\n"+ |
| "\u01bb\3\2\2\2\f\u01ea\3\2\2\2\16\u0209\3\2\2\2\20\u020c\3\2\2\2\22\u0217"+ |
| "\3\2\2\2\24\u021b\3\2\2\2\26\u021f\3\2\2\2\30\u0229\3\2\2\2\32\u022b\3"+ |
| "\2\2\2\34\u022d\3\2\2\2\36!\5\4\3\2\37!\5\b\5\2 \36\3\2\2\2 \37\3\2\2"+ |
| "\2!$\3\2\2\2\" \3\2\2\2\"#\3\2\2\2#%\3\2\2\2$\"\3\2\2\2%&\7\2\2\3&\3\3"+ |
| "\2\2\2\'(\7\3\2\2()\7\4\2\2)*\7E\2\2*+\7\5\2\2+,\7\6\2\2,\60\7>\2\2-/"+ |
| "\7\7\2\2.-\3\2\2\2/\62\3\2\2\2\60.\3\2\2\2\60\61\3\2\2\2\61\u012c\3\2"+ |
| "\2\2\62\60\3\2\2\2\63\64\7\b\2\2\64\65\7\4\2\2\65\66\7E\2\2\66:\7\5\2"+ |
| "\2\679\7\7\2\28\67\3\2\2\29<\3\2\2\2:8\3\2\2\2:;\3\2\2\2;\u012c\3\2\2"+ |
| "\2<:\3\2\2\2=>\5\n\6\2>?\t\2\2\2?A\3\2\2\2@=\3\2\2\2@A\3\2\2\2AB\3\2\2"+ |
| "\2BC\7>\2\2CL\7\4\2\2DI\5\22\n\2EF\7\13\2\2FH\5\22\n\2GE\3\2\2\2HK\3\2"+ |
| "\2\2IG\3\2\2\2IJ\3\2\2\2JM\3\2\2\2KI\3\2\2\2LD\3\2\2\2LM\3\2\2\2MN\3\2"+ |
| "\2\2NR\7\5\2\2OQ\7\7\2\2PO\3\2\2\2QT\3\2\2\2RP\3\2\2\2RS\3\2\2\2S\u012c"+ |
| "\3\2\2\2TR\3\2\2\2UV\7\f\2\2V[\5\n\6\2WX\7\13\2\2XZ\5\n\6\2YW\3\2\2\2"+ |
| "Z]\3\2\2\2[Y\3\2\2\2[\\\3\2\2\2\\^\3\2\2\2][\3\2\2\2^_\7\r\2\2_`\t\2\2"+ |
| "\2`a\7>\2\2aj\7\4\2\2bg\5\22\n\2cd\7\13\2\2df\5\22\n\2ec\3\2\2\2fi\3\2"+ |
| "\2\2ge\3\2\2\2gh\3\2\2\2hk\3\2\2\2ig\3\2\2\2jb\3\2\2\2jk\3\2\2\2kl\3\2"+ |
| "\2\2lp\7\5\2\2mo\7\7\2\2nm\3\2\2\2or\3\2\2\2pn\3\2\2\2pq\3\2\2\2q\u012c"+ |
| "\3\2\2\2rp\3\2\2\2st\5\n\6\2tu\t\2\2\2uv\7\16\2\2vw\7\4\2\2wx\5\n\6\2"+ |
| "xy\7\13\2\2yz\5\f\7\2z~\7\5\2\2{}\7\7\2\2|{\3\2\2\2}\u0080\3\2\2\2~|\3"+ |
| "\2\2\2~\177\3\2\2\2\177\u012c\3\2\2\2\u0080~\3\2\2\2\u0081\u0082\5\n\6"+ |
| "\2\u0082\u0083\t\2\2\2\u0083\u0087\5\f\7\2\u0084\u0086\7\7\2\2\u0085\u0084"+ |
| "\3\2\2\2\u0086\u0089\3\2\2\2\u0087\u0085\3\2\2\2\u0087\u0088\3\2\2\2\u0088"+ |
| "\u012c\3\2\2\2\u0089\u0087\3\2\2\2\u008a\u008b\5\n\6\2\u008b\u008c\7\17"+ |
| "\2\2\u008c\u0090\5\f\7\2\u008d\u008f\7\7\2\2\u008e\u008d\3\2\2\2\u008f"+ |
| "\u0092\3\2\2\2\u0090\u008e\3\2\2\2\u0090\u0091\3\2\2\2\u0091\u012c\3\2"+ |
| "\2\2\u0092\u0090\3\2\2\2\u0093\u0094\7\20\2\2\u0094\u0095\7\4\2\2\u0095"+ |
| "\u0096\5\f\7\2\u0096\u00ac\7\5\2\2\u0097\u009b\5\4\3\2\u0098\u009a\7\7"+ |
| "\2\2\u0099\u0098\3\2\2\2\u009a\u009d\3\2\2\2\u009b\u0099\3\2\2\2\u009b"+ |
| "\u009c\3\2\2\2\u009c\u00ad\3\2\2\2\u009d\u009b\3\2\2\2\u009e\u00a8\7\21"+ |
| "\2\2\u009f\u00a3\5\4\3\2\u00a0\u00a2\7\7\2\2\u00a1\u00a0\3\2\2\2\u00a2"+ |
| "\u00a5\3\2\2\2\u00a3\u00a1\3\2\2\2\u00a3\u00a4\3\2\2\2\u00a4\u00a7\3\2"+ |
| "\2\2\u00a5\u00a3\3\2\2\2\u00a6\u009f\3\2\2\2\u00a7\u00aa\3\2\2\2\u00a8"+ |
| "\u00a6\3\2\2\2\u00a8\u00a9\3\2\2\2\u00a9\u00ab\3\2\2\2\u00aa\u00a8\3\2"+ |
| "\2\2\u00ab\u00ad\7\22\2\2\u00ac\u0097\3\2\2\2\u00ac\u009e\3\2\2\2\u00ad"+ |
| "\u00c6\3\2\2\2\u00ae\u00c4\7\23\2\2\u00af\u00b3\5\4\3\2\u00b0\u00b2\7"+ |
| "\7\2\2\u00b1\u00b0\3\2\2\2\u00b2\u00b5\3\2\2\2\u00b3\u00b1\3\2\2\2\u00b3"+ |
| "\u00b4\3\2\2\2\u00b4\u00c5\3\2\2\2\u00b5\u00b3\3\2\2\2\u00b6\u00c0\7\21"+ |
| "\2\2\u00b7\u00bb\5\4\3\2\u00b8\u00ba\7\7\2\2\u00b9\u00b8\3\2\2\2\u00ba"+ |
| "\u00bd\3\2\2\2\u00bb\u00b9\3\2\2\2\u00bb\u00bc\3\2\2\2\u00bc\u00bf\3\2"+ |
| "\2\2\u00bd\u00bb\3\2\2\2\u00be\u00b7\3\2\2\2\u00bf\u00c2\3\2\2\2\u00c0"+ |
| "\u00be\3\2\2\2\u00c0\u00c1\3\2\2\2\u00c1\u00c3\3\2\2\2\u00c2\u00c0\3\2"+ |
| "\2\2\u00c3\u00c5\7\22\2\2\u00c4\u00af\3\2\2\2\u00c4\u00b6\3\2\2\2\u00c5"+ |
| "\u00c7\3\2\2\2\u00c6\u00ae\3\2\2\2\u00c6\u00c7\3\2\2\2\u00c7\u012c\3\2"+ |
| "\2\2\u00c8\u00c9\7\24\2\2\u00c9\u00ca\7\4\2\2\u00ca\u00cb\7>\2\2\u00cb"+ |
| "\u00cc\7\25\2\2\u00cc\u00d1\5\6\4\2\u00cd\u00ce\7\13\2\2\u00ce\u00d0\5"+ |
| "\24\13\2\u00cf\u00cd\3\2\2\2\u00d0\u00d3\3\2\2\2\u00d1\u00cf\3\2\2\2\u00d1"+ |
| "\u00d2\3\2\2\2\u00d2\u00d4\3\2\2\2\u00d3\u00d1\3\2\2\2\u00d4\u00ea\7\5"+ |
| "\2\2\u00d5\u00d9\5\4\3\2\u00d6\u00d8\7\7\2\2\u00d7\u00d6\3\2\2\2\u00d8"+ |
| "\u00db\3\2\2\2\u00d9\u00d7\3\2\2\2\u00d9\u00da\3\2\2\2\u00da\u00eb\3\2"+ |
| "\2\2\u00db\u00d9\3\2\2\2\u00dc\u00e6\7\21\2\2\u00dd\u00e1\5\4\3\2\u00de"+ |
| "\u00e0\7\7\2\2\u00df\u00de\3\2\2\2\u00e0\u00e3\3\2\2\2\u00e1\u00df\3\2"+ |
| "\2\2\u00e1\u00e2\3\2\2\2\u00e2\u00e5\3\2\2\2\u00e3\u00e1\3\2\2\2\u00e4"+ |
| "\u00dd\3\2\2\2\u00e5\u00e8\3\2\2\2\u00e6\u00e4\3\2\2\2\u00e6\u00e7\3\2"+ |
| "\2\2\u00e7\u00e9\3\2\2\2\u00e8\u00e6\3\2\2\2\u00e9\u00eb\7\22\2\2\u00ea"+ |
| "\u00d5\3\2\2\2\u00ea\u00dc\3\2\2\2\u00eb\u012c\3\2\2\2\u00ec\u00ed\7\26"+ |
| "\2\2\u00ed\u00ee\7\4\2\2\u00ee\u00ef\7>\2\2\u00ef\u00f0\7\25\2\2\u00f0"+ |
| "\u00f5\5\6\4\2\u00f1\u00f2\7\13\2\2\u00f2\u00f4\5\24\13\2\u00f3\u00f1"+ |
| "\3\2\2\2\u00f4\u00f7\3\2\2\2\u00f5\u00f3\3\2\2\2\u00f5\u00f6\3\2\2\2\u00f6"+ |
| "\u00f8\3\2\2\2\u00f7\u00f5\3\2\2\2\u00f8\u010e\7\5\2\2\u00f9\u00fd\5\4"+ |
| "\3\2\u00fa\u00fc\7\7\2\2\u00fb\u00fa\3\2\2\2\u00fc\u00ff\3\2\2\2\u00fd"+ |
| "\u00fb\3\2\2\2\u00fd\u00fe\3\2\2\2\u00fe\u010f\3\2\2\2\u00ff\u00fd\3\2"+ |
| "\2\2\u0100\u010a\7\21\2\2\u0101\u0105\5\4\3\2\u0102\u0104\7\7\2\2\u0103"+ |
| "\u0102\3\2\2\2\u0104\u0107\3\2\2\2\u0105\u0103\3\2\2\2\u0105\u0106\3\2"+ |
| "\2\2\u0106\u0109\3\2\2\2\u0107\u0105\3\2\2\2\u0108\u0101\3\2\2\2\u0109"+ |
| "\u010c\3\2\2\2\u010a\u0108\3\2\2\2\u010a\u010b\3\2\2\2\u010b\u010d\3\2"+ |
| "\2\2\u010c\u010a\3\2\2\2\u010d\u010f\7\22\2\2\u010e\u00f9\3\2\2\2\u010e"+ |
| "\u0100\3\2\2\2\u010f\u012c\3\2\2\2\u0110\u0111\7\27\2\2\u0111\u0112\7"+ |
| "\4\2\2\u0112\u0113\5\f\7\2\u0113\u0129\7\5\2\2\u0114\u0118\5\4\3\2\u0115"+ |
| "\u0117\7\7\2\2\u0116\u0115\3\2\2\2\u0117\u011a\3\2\2\2\u0118\u0116\3\2"+ |
| "\2\2\u0118\u0119\3\2\2\2\u0119\u012a\3\2\2\2\u011a\u0118\3\2\2\2\u011b"+ |
| "\u0125\7\21\2\2\u011c\u0120\5\4\3\2\u011d\u011f\7\7\2\2\u011e\u011d\3"+ |
| "\2\2\2\u011f\u0122\3\2\2\2\u0120\u011e\3\2\2\2\u0120\u0121\3\2\2\2\u0121"+ |
| "\u0124\3\2\2\2\u0122\u0120\3\2\2\2\u0123\u011c\3\2\2\2\u0124\u0127\3\2"+ |
| "\2\2\u0125\u0123\3\2\2\2\u0125\u0126\3\2\2\2\u0126\u0128\3\2\2\2\u0127"+ |
| "\u0125\3\2\2\2\u0128\u012a\7\22\2\2\u0129\u0114\3\2\2\2\u0129\u011b\3"+ |
| "\2\2\2\u012a\u012c\3\2\2\2\u012b\'\3\2\2\2\u012b\63\3\2\2\2\u012b@\3\2"+ |
| "\2\2\u012bU\3\2\2\2\u012bs\3\2\2\2\u012b\u0081\3\2\2\2\u012b\u008a\3\2"+ |
| "\2\2\u012b\u0093\3\2\2\2\u012b\u00c8\3\2\2\2\u012b\u00ec\3\2\2\2\u012b"+ |
| "\u0110\3\2\2\2\u012c\5\3\2\2\2\u012d\u012e\5\f\7\2\u012e\u012f\7\30\2"+ |
| "\2\u012f\u0130\5\f\7\2\u0130\u013d\3\2\2\2\u0131\u0132\7>\2\2\u0132\u0133"+ |
| "\7\4\2\2\u0133\u0134\5\f\7\2\u0134\u0135\7\13\2\2\u0135\u0138\5\f\7\2"+ |
| "\u0136\u0137\7\13\2\2\u0137\u0139\5\f\7\2\u0138\u0136\3\2\2\2\u0138\u0139"+ |
| "\3\2\2\2\u0139\u013a\3\2\2\2\u013a\u013b\7\5\2\2\u013b\u013d\3\2\2\2\u013c"+ |
| "\u012d\3\2\2\2\u013c\u0131\3\2\2\2\u013d\7\3\2\2\2\u013e\u013f\7>\2\2"+ |
| "\u013f\u0140\t\2\2\2\u0140\u0141\7\31\2\2\u0141\u014a\7\4\2\2\u0142\u0147"+ |
| "\5\20\t\2\u0143\u0144\7\13\2\2\u0144\u0146\5\20\t\2\u0145\u0143\3\2\2"+ |
| "\2\u0146\u0149\3\2\2\2\u0147\u0145\3\2\2\2\u0147\u0148\3\2\2\2\u0148\u014b"+ |
| "\3\2\2\2\u0149\u0147\3\2\2\2\u014a\u0142\3\2\2\2\u014a\u014b\3\2\2\2\u014b"+ |
| "\u014c\3\2\2\2\u014c\u015a\7\5\2\2\u014d\u014e\7\32\2\2\u014e\u0157\7"+ |
| "\4\2\2\u014f\u0154\5\16\b\2\u0150\u0151\7\13\2\2\u0151\u0153\5\16\b\2"+ |
| "\u0152\u0150\3\2\2\2\u0153\u0156\3\2\2\2\u0154\u0152\3\2\2\2\u0154\u0155"+ |
| "\3\2\2\2\u0155\u0158\3\2\2\2\u0156\u0154\3\2\2\2\u0157\u014f\3\2\2\2\u0157"+ |
| "\u0158\3\2\2\2\u0158\u0159\3\2\2\2\u0159\u015b\7\5\2\2\u015a\u014d\3\2"+ |
| "\2\2\u015a\u015b\3\2\2\2\u015b\u015c\3\2\2\2\u015c\u0166\7\21\2\2\u015d"+ |
| "\u0161\5\4\3\2\u015e\u0160\7\7\2\2\u015f\u015e\3\2\2\2\u0160\u0163\3\2"+ |
| "\2\2\u0161\u015f\3\2\2\2\u0161\u0162\3\2\2\2\u0162\u0165\3\2\2\2\u0163"+ |
| "\u0161\3\2\2\2\u0164\u015d\3\2\2\2\u0165\u0168\3\2\2\2\u0166\u0164\3\2"+ |
| "\2\2\u0166\u0167\3\2\2\2\u0167\u0169\3\2\2\2\u0168\u0166\3\2\2\2\u0169"+ |
| "\u016d\7\22\2\2\u016a\u016c\7\7\2\2\u016b\u016a\3\2\2\2\u016c\u016f\3"+ |
| "\2\2\2\u016d\u016b\3\2\2\2\u016d\u016e\3\2\2\2\u016e\u01a3\3\2\2\2\u016f"+ |
| "\u016d\3\2\2\2\u0170\u0171\7>\2\2\u0171\u0172\t\2\2\2\u0172\u0173\7\33"+ |
| "\2\2\u0173\u017c\7\4\2\2\u0174\u0179\5\16\b\2\u0175\u0176\7\13\2\2\u0176"+ |
| "\u0178\5\16\b\2\u0177\u0175\3\2\2\2\u0178\u017b\3\2\2\2\u0179\u0177\3"+ |
| "\2\2\2\u0179\u017a\3\2\2\2\u017a\u017d\3\2\2\2\u017b\u0179\3\2\2\2\u017c"+ |
| "\u0174\3\2\2\2\u017c\u017d\3\2\2\2\u017d\u017e\3\2\2\2\u017e\u018c\7\5"+ |
| "\2\2\u017f\u0180\7\32\2\2\u0180\u0189\7\4\2\2\u0181\u0186\5\16\b\2\u0182"+ |
| "\u0183\7\13\2\2\u0183\u0185\5\16\b\2\u0184\u0182\3\2\2\2\u0185\u0188\3"+ |
| "\2\2\2\u0186\u0184\3\2\2\2\u0186\u0187\3\2\2\2\u0187\u018a\3\2\2\2\u0188"+ |
| "\u0186\3\2\2\2\u0189\u0181\3\2\2\2\u0189\u018a\3\2\2\2\u018a\u018b\3\2"+ |
| "\2\2\u018b\u018d\7\5\2\2\u018c\u017f\3\2\2\2\u018c\u018d\3\2\2\2\u018d"+ |
| "\u018e\3\2\2\2\u018e\u018f\7\34\2\2\u018f\u0190\7\25\2\2\u0190\u0199\7"+ |
| "\4\2\2\u0191\u0196\5\26\f\2\u0192\u0193\7\13\2\2\u0193\u0195\5\26\f\2"+ |
| "\u0194\u0192\3\2\2\2\u0195\u0198\3\2\2\2\u0196\u0194\3\2\2\2\u0196\u0197"+ |
| "\3\2\2\2\u0197\u019a\3\2\2\2\u0198\u0196\3\2\2\2\u0199\u0191\3\2\2\2\u0199"+ |
| "\u019a\3\2\2\2\u019a\u019b\3\2\2\2\u019b\u019f\7\5\2\2\u019c\u019e\7\7"+ |
| "\2\2\u019d\u019c\3\2\2\2\u019e\u01a1\3\2\2\2\u019f\u019d\3\2\2\2\u019f"+ |
| "\u01a0\3\2\2\2\u01a0\u01a3\3\2\2\2\u01a1\u019f\3\2\2\2\u01a2\u013e\3\2"+ |
| "\2\2\u01a2\u0170\3\2\2\2\u01a3\t\3\2\2\2\u01a4\u01a5\7>\2\2\u01a5\u01ab"+ |
| "\7\f\2\2\u01a6\u01a9\5\f\7\2\u01a7\u01a8\7\30\2\2\u01a8\u01aa\5\f\7\2"+ |
| "\u01a9\u01a7\3\2\2\2\u01a9\u01aa\3\2\2\2\u01aa\u01ac\3\2\2\2\u01ab\u01a6"+ |
| "\3\2\2\2\u01ab\u01ac\3\2\2\2\u01ac\u01b5\3\2\2\2\u01ad\u01b3\7\13\2\2"+ |
| "\u01ae\u01b1\5\f\7\2\u01af\u01b0\7\30\2\2\u01b0\u01b2\5\f\7\2\u01b1\u01af"+ |
| "\3\2\2\2\u01b1\u01b2\3\2\2\2\u01b2\u01b4\3\2\2\2\u01b3\u01ae\3\2\2\2\u01b3"+ |
| "\u01b4\3\2\2\2\u01b4\u01b6\3\2\2\2\u01b5\u01ad\3\2\2\2\u01b5\u01b6\3\2"+ |
| "\2\2\u01b6\u01b7\3\2\2\2\u01b7\u01bc\7\r\2\2\u01b8\u01bc\7>\2\2\u01b9"+ |
| "\u01bc\7C\2\2\u01ba\u01bc\7D\2\2\u01bb\u01a4\3\2\2\2\u01bb\u01b8\3\2\2"+ |
| "\2\u01bb\u01b9\3\2\2\2\u01bb\u01ba\3\2\2\2\u01bc\13\3\2\2\2\u01bd\u01be"+ |
| "\b\7\1\2\u01be\u01bf\t\3\2\2\u01bf\u01eb\5\f\7\24\u01c0\u01c1\7+\2\2\u01c1"+ |
| "\u01eb\5\f\7\16\u01c2\u01c3\7>\2\2\u01c3\u01cc\7\4\2\2\u01c4\u01c9\5\22"+ |
| "\n\2\u01c5\u01c6\7\13\2\2\u01c6\u01c8\5\22\n\2\u01c7\u01c5\3\2\2\2\u01c8"+ |
| "\u01cb\3\2\2\2\u01c9\u01c7\3\2\2\2\u01c9\u01ca\3\2\2\2\u01ca\u01cd\3\2"+ |
| "\2\2\u01cb\u01c9\3\2\2\2\u01cc\u01c4\3\2\2\2\u01cc\u01cd\3\2\2\2\u01cd"+ |
| "\u01ce\3\2\2\2\u01ce\u01d2\7\5\2\2\u01cf\u01d1\7\7\2\2\u01d0\u01cf\3\2"+ |
| "\2\2\u01d1\u01d4\3\2\2\2\u01d2\u01d0\3\2\2\2\u01d2\u01d3\3\2\2\2\u01d3"+ |
| "\u01eb\3\2\2\2\u01d4\u01d2\3\2\2\2\u01d5\u01d6\7\4\2\2\u01d6\u01d7\5\f"+ |
| "\7\2\u01d7\u01d8\7\5\2\2\u01d8\u01eb\3\2\2\2\u01d9\u01da\7\f\2\2\u01da"+ |
| "\u01df\5\f\7\2\u01db\u01dc\7\13\2\2\u01dc\u01de\5\f\7\2\u01dd\u01db\3"+ |
| "\2\2\2\u01de\u01e1\3\2\2\2\u01df\u01dd\3\2\2\2\u01df\u01e0\3\2\2\2\u01e0"+ |
| "\u01e2\3\2\2\2\u01e1\u01df\3\2\2\2\u01e2\u01e3\7\r\2\2\u01e3\u01eb\3\2"+ |
| "\2\2\u01e4\u01eb\7\60\2\2\u01e5\u01eb\7\61\2\2\u01e6\u01eb\7?\2\2\u01e7"+ |
| "\u01eb\7@\2\2\u01e8\u01eb\7E\2\2\u01e9\u01eb\5\n\6\2\u01ea\u01bd\3\2\2"+ |
| "\2\u01ea\u01c0\3\2\2\2\u01ea\u01c2\3\2\2\2\u01ea\u01d5\3\2\2\2\u01ea\u01d9"+ |
| "\3\2\2\2\u01ea\u01e4\3\2\2\2\u01ea\u01e5\3\2\2\2\u01ea\u01e6\3\2\2\2\u01ea"+ |
| "\u01e7\3\2\2\2\u01ea\u01e8\3\2\2\2\u01ea\u01e9\3\2\2\2\u01eb\u0206\3\2"+ |
| "\2\2\u01ec\u01ed\f\25\2\2\u01ed\u01ee\7\35\2\2\u01ee\u0205\5\f\7\25\u01ef"+ |
| "\u01f0\f\23\2\2\u01f0\u01f1\7 \2\2\u01f1\u0205\5\f\7\24\u01f2\u01f3\f"+ |
| "\22\2\2\u01f3\u01f4\t\4\2\2\u01f4\u0205\5\f\7\23\u01f5\u01f6\f\21\2\2"+ |
| "\u01f6\u01f7\t\5\2\2\u01f7\u0205\5\f\7\22\u01f8\u01f9\f\20\2\2\u01f9\u01fa"+ |
| "\t\3\2\2\u01fa\u0205\5\f\7\21\u01fb\u01fc\f\17\2\2\u01fc\u01fd\t\6\2\2"+ |
| "\u01fd\u0205\5\f\7\20\u01fe\u01ff\f\r\2\2\u01ff\u0200\t\7\2\2\u0200\u0205"+ |
| "\5\f\7\16\u0201\u0202\f\f\2\2\u0202\u0203\t\b\2\2\u0203\u0205\5\f\7\r"+ |
| "\u0204\u01ec\3\2\2\2\u0204\u01ef\3\2\2\2\u0204\u01f2\3\2\2\2\u0204\u01f5"+ |
| "\3\2\2\2\u0204\u01f8\3\2\2\2\u0204\u01fb\3\2\2\2\u0204\u01fe\3\2\2\2\u0204"+ |
| "\u0201\3\2\2\2\u0205\u0208\3\2\2\2\u0206\u0204\3\2\2\2\u0206\u0207\3\2"+ |
| "\2\2\u0207\r\3\2\2\2\u0208\u0206\3\2\2\2\u0209\u020a\5\30\r\2\u020a\u020b"+ |
| "\7>\2\2\u020b\17\3\2\2\2\u020c\u0213\5\30\r\2\u020d\u0214\7>\2\2\u020e"+ |
| "\u020f\7>\2\2\u020f\u0211\7\t\2\2\u0210\u020e\3\2\2\2\u0210\u0211\3\2"+ |
| "\2\2\u0211\u0212\3\2\2\2\u0212\u0214\5\f\7\2\u0213\u020d\3\2\2\2\u0213"+ |
| "\u0210\3\2\2\2\u0214\21\3\2\2\2\u0215\u0216\7>\2\2\u0216\u0218\7\t\2\2"+ |
| "\u0217\u0215\3\2\2\2\u0217\u0218\3\2\2\2\u0218\u0219\3\2\2\2\u0219\u021a"+ |
| "\5\f\7\2\u021a\23\3\2\2\2\u021b\u021c\7>\2\2\u021c\u021d\7\t\2\2\u021d"+ |
| "\u021e\5\f\7\2\u021e\25\3\2\2\2\u021f\u0220\7>\2\2\u0220\u0221\7\t\2\2"+ |
| "\u0221\u0222\7E\2\2\u0222\27\3\2\2\2\u0223\u022a\5\32\16\2\u0224\u0225"+ |
| "\5\34\17\2\u0225\u0226\7\f\2\2\u0226\u0227\5\32\16\2\u0227\u0228\7\r\2"+ |
| "\2\u0228\u022a\3\2\2\2\u0229\u0223\3\2\2\2\u0229\u0224\3\2\2\2\u022a\31"+ |
| "\3\2\2\2\u022b\u022c\t\t\2\2\u022c\33\3\2\2\2\u022d\u022e\7>\2\2\u022e"+ |
| "\35\3\2\2\2M \"\60:@ILR[gjp~\u0087\u0090\u009b\u00a3\u00a8\u00ac\u00b3"+ |
| "\u00bb\u00c0\u00c4\u00c6\u00d1\u00d9\u00e1\u00e6\u00ea\u00f5\u00fd\u0105"+ |
| "\u010a\u010e\u0118\u0120\u0125\u0129\u012b\u0138\u013c\u0147\u014a\u0154"+ |
| "\u0157\u015a\u0161\u0166\u016d\u0179\u017c\u0186\u0189\u018c\u0196\u0199"+ |
| "\u019f\u01a2\u01a9\u01ab\u01b1\u01b3\u01b5\u01bb\u01c9\u01cc\u01d2\u01df"+ |
| "\u01ea\u0204\u0206\u0210\u0213\u0217\u0229"; |
| public static final ATN _ATN = |
| new ATNDeserializer().deserialize(_serializedATN.toCharArray()); |
| static { |
| _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()]; |
| for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) { |
| _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i); |
| } |
| } |
| } |