Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
cfml.CFSCRIPTParser Maven / Gradle / Ivy
// Generated from cfml\CFSCRIPTParser.g4 by ANTLR 4.7
package cfml;
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 CFSCRIPTParser extends Parser {
static { RuntimeMetaData.checkVersion("4.7", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
START=1, WS=2, NEWLINE=3, LINE_COMMENT=4, JAVADOC=5, ML_COMMENT=6, TAG_COMMENT=7,
BOOLEAN_LITERAL=8, OPEN_STRING=9, CONTAINS=10, CONTAIN=11, DOESNOTCONTAIN=12,
GT=13, GTE=14, LTE=15, LT=16, EQ=17, NEQ=18, LESS=19, GREATER=20, OR=21,
TO=22, IMP=23, EQV=24, XOR=25, AND=26, NOT=27, MOD=28, VAR=29, NEW=30,
IF=31, ELSE=32, BREAK=33, CONTINUE=34, FUNCTION=35, RETURN=36, WHILE=37,
DO=38, FOR=39, IN=40, TRY=41, CATCH=42, SWITCH=43, CASE=44, DEFAULT=45,
FINALLY=46, SCRIPTOPEN=47, SCRIPTCLOSE=48, DOT=49, STAR=50, SLASH=51,
BSLASH=52, POWER=53, PLUS=54, PLUSPLUS=55, MINUS=56, MINUSMINUS=57, CONCAT=58,
EQUALSOP=59, PLUSEQUALS=60, MINUSEQUALS=61, STAREQUALS=62, SLASHEQUALS=63,
MODEQUALS=64, CONCATEQUALS=65, COLON=66, NOTNOTOP=67, NOTOP=68, SEMICOLON=69,
OROPERATOR=70, ANDOPERATOR=71, LEFTBRACKET=72, RIGHTBRACKET=73, LEFTPAREN=74,
RIGHTPAREN=75, LEFTCURLYBRACKET=76, RIGHTCURLYBRACKET=77, QUESTIONMARK=78,
INCLUDE=79, IMPORT=80, ABORT=81, ADMIN=82, THROW=83, RETHROW=84, EXIT=85,
PARAM=86, PROPERTY=87, LOCK=88, THREAD=89, TRANSACTION=90, SAVECONTENT=91,
HTTP=92, CFHTTP=93, FILE=94, DIRECTORY=95, LOOP=96, SETTING=97, QUERY=98,
STRING=99, NUMERIC=100, BOOLEAN=101, ANY=102, ARRAY=103, STRUCT=104, PRIVATE=105,
PUBLIC=106, REMOTE=107, PACKAGE=108, REQUIRED=109, COMPONENT=110, LOG=111,
APPLET=112, ASSOCIATE=113, AUTHENTICATE=114, CACHE=115, COL=116, COLLECTION=117,
CONTENT=118, COOKIE=119, ERROR=120, EXECUTE=121, FORM=122, FTP=123, GRID=124,
GRIDCOLUMN=125, GRIDROW=126, GRIDUPDATE=127, HEADER=128, HTMLHEAD=129,
HTTPPARAM=130, CFHTTPPARAM=131, IMPERSONATE=132, INDEX=133, INPUT=134,
INSERT=135, LDAP=136, LOCATION=137, MAIL=138, MAILPARAM=139, MODULE=140,
OBJECT=141, OUTPUT=142, POP=143, PROCESSINGDIRECTIVE=144, PROCPARAM=145,
PROCRESULT=146, QUERYPARAM=147, REGISTRY=148, REPORT=149, SCHEDULE=150,
SCRIPT=151, SEARCH=152, SELECT=153, SERVLET=154, SERVLETPARAM=155, SET=156,
SILENT=157, SLIDER=158, STOREDPROC=159, TABLE=160, TEXTINPUT=161, TREE=162,
TREEITEM=163, UPDATE=164, WDDX=165, ZIP=166, CFCUSTOM_IDENTIFIER=167,
IDENTIFIER=168, INTEGER_LITERAL=169, POUND_SIGN=170, COMMA=171, FLOATING_POINT_LITERAL=172,
CLOSE_STRING=173, DOUBLEHASH=174, STRING_LITERAL=175, HashMode_ANY=176,
MODOPERATOR=177, EQUALSEQUALSOP=178, LESSTHAN=179, LESSTHANEQUALS=180,
GREATERTHAN=181, GREATERTHANEQUALS=182, NOTEQUALS=183, CLOSE_STRING_SINGLE=184;
public static final int
RULE_scriptBlock = 0, RULE_cfscriptBlock = 1, RULE_componentDeclaration = 2,
RULE_element = 3, RULE_functionDeclaration = 4, RULE_anonymousFunctionDeclaration = 5,
RULE_accessType = 6, RULE_typeSpec = 7, RULE_array = 8, RULE_stringLiteral = 9,
RULE_stringLiteralPart = 10, RULE_parameterList = 11, RULE_parameter = 12,
RULE_parameterType = 13, RULE_componentAttribute = 14, RULE_functionAttribute = 15,
RULE_identifierWithColon = 16, RULE_parameterAttribute = 17, RULE_compoundStatement = 18,
RULE_componentGuts = 19, RULE_statement = 20, RULE_endOfStatement = 21,
RULE_breakStatement = 22, RULE_continueStatement = 23, RULE_condition = 24,
RULE_returnStatement = 25, RULE_ifStatement = 26, RULE_whileStatement = 27,
RULE_doWhileStatement = 28, RULE_forStatement = 29, RULE_startExpression = 30,
RULE_baseOrTernaryExpression = 31, RULE_forInKey = 32, RULE_tryCatchStatement = 33,
RULE_catchCondition = 34, RULE_finallyStatement = 35, RULE_constantExpression = 36,
RULE_switchStatement = 37, RULE_caseStatement = 38, RULE_tagOperatorStatement = 39,
RULE_rethrowStatment = 40, RULE_includeStatement = 41, RULE_importStatement = 42,
RULE_transactionStatement = 43, RULE_cfmlfunctionStatement = 44, RULE_tagFunctionStatement = 45,
RULE_cfmlFunction = 46, RULE_lockStatement = 47, RULE_threadStatement = 48,
RULE_abortStatement = 49, RULE_adminStatement = 50, RULE_throwStatement = 51,
RULE_exitStatement = 52, RULE_paramStatement = 53, RULE_paramExpression = 54,
RULE_propertyStatement = 55, RULE_paramStatementAttributes = 56, RULE_param = 57,
RULE_expression = 58, RULE_localAssignmentExpression = 59, RULE_otherIdentifiers = 60,
RULE_assignmentExpression = 61, RULE_ternaryExpression = 62, RULE_baseExpression = 63,
RULE_elvisExpression = 64, RULE_compareExpression = 65, RULE_compareExpressionOperator = 66,
RULE_notExpression = 67, RULE_notNotExpression = 68, RULE_equalityOperator1 = 69,
RULE_concatenationExpression = 70, RULE_additiveExpression = 71, RULE_modExpression = 72,
RULE_intDivisionExpression = 73, RULE_multiplicativeExpression = 74, RULE_powerOfExpression = 75,
RULE_unaryExpression = 76, RULE_innerExpression = 77, RULE_memberExpression = 78,
RULE_identifierOrReservedWord = 79, RULE_arrayMemberExpression = 80, RULE_functionCall = 81,
RULE_qualifiedFunctionCall = 82, RULE_parentheticalMemberExpression = 83,
RULE_javaCallMemberExpression = 84, RULE_memberExpressionSuffix = 85,
RULE_propertyReferenceSuffix = 86, RULE_indexSuffix = 87, RULE_primaryExpressionIRW = 88,
RULE_literalExpression = 89, RULE_floatingPointExpression = 90, RULE_reservedWord = 91,
RULE_specialWord = 92, RULE_argumentList = 93, RULE_argument = 94, RULE_argumentName = 95,
RULE_multipartIdentifier = 96, RULE_identifier = 97, RULE_type = 98, RULE_cfscriptKeywords = 99,
RULE_primaryExpression = 100, RULE_parentheticalExpression = 101, RULE_implicitArray = 102,
RULE_implicitArrayElements = 103, RULE_implicitStruct = 104, RULE_implicitStructElements = 105,
RULE_implicitStructExpression = 106, RULE_implicitStructKeyExpression = 107,
RULE_newComponentExpression = 108, RULE_componentPath = 109;
public static final String[] ruleNames = {
"scriptBlock", "cfscriptBlock", "componentDeclaration", "element", "functionDeclaration",
"anonymousFunctionDeclaration", "accessType", "typeSpec", "array", "stringLiteral",
"stringLiteralPart", "parameterList", "parameter", "parameterType", "componentAttribute",
"functionAttribute", "identifierWithColon", "parameterAttribute", "compoundStatement",
"componentGuts", "statement", "endOfStatement", "breakStatement", "continueStatement",
"condition", "returnStatement", "ifStatement", "whileStatement", "doWhileStatement",
"forStatement", "startExpression", "baseOrTernaryExpression", "forInKey",
"tryCatchStatement", "catchCondition", "finallyStatement", "constantExpression",
"switchStatement", "caseStatement", "tagOperatorStatement", "rethrowStatment",
"includeStatement", "importStatement", "transactionStatement", "cfmlfunctionStatement",
"tagFunctionStatement", "cfmlFunction", "lockStatement", "threadStatement",
"abortStatement", "adminStatement", "throwStatement", "exitStatement",
"paramStatement", "paramExpression", "propertyStatement", "paramStatementAttributes",
"param", "expression", "localAssignmentExpression", "otherIdentifiers",
"assignmentExpression", "ternaryExpression", "baseExpression", "elvisExpression",
"compareExpression", "compareExpressionOperator", "notExpression", "notNotExpression",
"equalityOperator1", "concatenationExpression", "additiveExpression",
"modExpression", "intDivisionExpression", "multiplicativeExpression",
"powerOfExpression", "unaryExpression", "innerExpression", "memberExpression",
"identifierOrReservedWord", "arrayMemberExpression", "functionCall", "qualifiedFunctionCall",
"parentheticalMemberExpression", "javaCallMemberExpression", "memberExpressionSuffix",
"propertyReferenceSuffix", "indexSuffix", "primaryExpressionIRW", "literalExpression",
"floatingPointExpression", "reservedWord", "specialWord", "argumentList",
"argument", "argumentName", "multipartIdentifier", "identifier", "type",
"cfscriptKeywords", "primaryExpression", "parentheticalExpression", "implicitArray",
"implicitArrayElements", "implicitStruct", "implicitStructElements", "implicitStructExpression",
"implicitStructKeyExpression", "newComponentExpression", "componentPath"
};
private static final String[] _LITERAL_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,
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,
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, "'%'", "'=='", "'<'", "'<='", "'>'", "'>='", "'!='",
"'''"
};
private static final String[] _SYMBOLIC_NAMES = {
null, "START", "WS", "NEWLINE", "LINE_COMMENT", "JAVADOC", "ML_COMMENT",
"TAG_COMMENT", "BOOLEAN_LITERAL", "OPEN_STRING", "CONTAINS", "CONTAIN",
"DOESNOTCONTAIN", "GT", "GTE", "LTE", "LT", "EQ", "NEQ", "LESS", "GREATER",
"OR", "TO", "IMP", "EQV", "XOR", "AND", "NOT", "MOD", "VAR", "NEW", "IF",
"ELSE", "BREAK", "CONTINUE", "FUNCTION", "RETURN", "WHILE", "DO", "FOR",
"IN", "TRY", "CATCH", "SWITCH", "CASE", "DEFAULT", "FINALLY", "SCRIPTOPEN",
"SCRIPTCLOSE", "DOT", "STAR", "SLASH", "BSLASH", "POWER", "PLUS", "PLUSPLUS",
"MINUS", "MINUSMINUS", "CONCAT", "EQUALSOP", "PLUSEQUALS", "MINUSEQUALS",
"STAREQUALS", "SLASHEQUALS", "MODEQUALS", "CONCATEQUALS", "COLON", "NOTNOTOP",
"NOTOP", "SEMICOLON", "OROPERATOR", "ANDOPERATOR", "LEFTBRACKET", "RIGHTBRACKET",
"LEFTPAREN", "RIGHTPAREN", "LEFTCURLYBRACKET", "RIGHTCURLYBRACKET", "QUESTIONMARK",
"INCLUDE", "IMPORT", "ABORT", "ADMIN", "THROW", "RETHROW", "EXIT", "PARAM",
"PROPERTY", "LOCK", "THREAD", "TRANSACTION", "SAVECONTENT", "HTTP", "CFHTTP",
"FILE", "DIRECTORY", "LOOP", "SETTING", "QUERY", "STRING", "NUMERIC",
"BOOLEAN", "ANY", "ARRAY", "STRUCT", "PRIVATE", "PUBLIC", "REMOTE", "PACKAGE",
"REQUIRED", "COMPONENT", "LOG", "APPLET", "ASSOCIATE", "AUTHENTICATE",
"CACHE", "COL", "COLLECTION", "CONTENT", "COOKIE", "ERROR", "EXECUTE",
"FORM", "FTP", "GRID", "GRIDCOLUMN", "GRIDROW", "GRIDUPDATE", "HEADER",
"HTMLHEAD", "HTTPPARAM", "CFHTTPPARAM", "IMPERSONATE", "INDEX", "INPUT",
"INSERT", "LDAP", "LOCATION", "MAIL", "MAILPARAM", "MODULE", "OBJECT",
"OUTPUT", "POP", "PROCESSINGDIRECTIVE", "PROCPARAM", "PROCRESULT", "QUERYPARAM",
"REGISTRY", "REPORT", "SCHEDULE", "SCRIPT", "SEARCH", "SELECT", "SERVLET",
"SERVLETPARAM", "SET", "SILENT", "SLIDER", "STOREDPROC", "TABLE", "TEXTINPUT",
"TREE", "TREEITEM", "UPDATE", "WDDX", "ZIP", "CFCUSTOM_IDENTIFIER", "IDENTIFIER",
"INTEGER_LITERAL", "POUND_SIGN", "COMMA", "FLOATING_POINT_LITERAL", "CLOSE_STRING",
"DOUBLEHASH", "STRING_LITERAL", "HashMode_ANY", "MODOPERATOR", "EQUALSEQUALSOP",
"LESSTHAN", "LESSTHANEQUALS", "GREATERTHAN", "GREATERTHANEQUALS", "NOTEQUALS",
"CLOSE_STRING_SINGLE"
};
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] = "";
}
}
}
@Override
@Deprecated
public String[] getTokenNames() {
return tokenNames;
}
@Override
public Vocabulary getVocabulary() {
return VOCABULARY;
}
@Override
public String getGrammarFileName() { return "CFSCRIPTParser.g4"; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public ATN getATN() { return _ATN; }
public CFSCRIPTParser(TokenStream input) {
super(input);
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
public static class ScriptBlockContext extends ParserRuleContext {
public ComponentDeclarationContext componentDeclaration() {
return getRuleContext(ComponentDeclarationContext.class,0);
}
public List importStatement() {
return getRuleContexts(ImportStatementContext.class);
}
public ImportStatementContext importStatement(int i) {
return getRuleContext(ImportStatementContext.class,i);
}
public List element() {
return getRuleContexts(ElementContext.class);
}
public ElementContext element(int i) {
return getRuleContext(ElementContext.class,i);
}
public List cfscriptBlock() {
return getRuleContexts(CfscriptBlockContext.class);
}
public CfscriptBlockContext cfscriptBlock(int i) {
return getRuleContext(CfscriptBlockContext.class,i);
}
public TerminalNode EOF() { return getToken(CFSCRIPTParser.EOF, 0); }
public ScriptBlockContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_scriptBlock; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterScriptBlock(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitScriptBlock(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitScriptBlock(this);
else return visitor.visitChildren(this);
}
}
public final ScriptBlockContext scriptBlock() throws RecognitionException {
ScriptBlockContext _localctx = new ScriptBlockContext(_ctx, getState());
enterRule(_localctx, 0, RULE_scriptBlock);
int _la;
try {
setState(240);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,3,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(223);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==IMPORT) {
{
{
setState(220);
importStatement();
}
}
setState(225);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(226);
componentDeclaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(230);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN_LITERAL) | (1L << OPEN_STRING) | (1L << CONTAINS) | (1L << CONTAIN) | (1L << GT) | (1L << GTE) | (1L << LTE) | (1L << LT) | (1L << EQ) | (1L << NEQ) | (1L << OR) | (1L << TO) | (1L << IMP) | (1L << EQV) | (1L << XOR) | (1L << AND) | (1L << NOT) | (1L << MOD) | (1L << VAR) | (1L << NEW) | (1L << IF) | (1L << BREAK) | (1L << CONTINUE) | (1L << FUNCTION) | (1L << RETURN) | (1L << WHILE) | (1L << DO) | (1L << FOR) | (1L << TRY) | (1L << SWITCH) | (1L << DEFAULT) | (1L << DOT) | (1L << PLUS) | (1L << PLUSPLUS) | (1L << MINUS) | (1L << MINUSMINUS))) != 0) || ((((_la - 67)) & ~0x3f) == 0 && ((1L << (_la - 67)) & ((1L << (NOTNOTOP - 67)) | (1L << (NOTOP - 67)) | (1L << (SEMICOLON - 67)) | (1L << (LEFTBRACKET - 67)) | (1L << (LEFTPAREN - 67)) | (1L << (LEFTCURLYBRACKET - 67)) | (1L << (INCLUDE - 67)) | (1L << (IMPORT - 67)) | (1L << (ABORT - 67)) | (1L << (ADMIN - 67)) | (1L << (THROW - 67)) | (1L << (RETHROW - 67)) | (1L << (EXIT - 67)) | (1L << (PARAM - 67)) | (1L << (PROPERTY - 67)) | (1L << (LOCK - 67)) | (1L << (THREAD - 67)) | (1L << (TRANSACTION - 67)) | (1L << (SAVECONTENT - 67)) | (1L << (HTTP - 67)) | (1L << (CFHTTP - 67)) | (1L << (FILE - 67)) | (1L << (DIRECTORY - 67)) | (1L << (LOOP - 67)) | (1L << (SETTING - 67)) | (1L << (QUERY - 67)) | (1L << (STRING - 67)) | (1L << (NUMERIC - 67)) | (1L << (BOOLEAN - 67)) | (1L << (ANY - 67)) | (1L << (ARRAY - 67)) | (1L << (STRUCT - 67)) | (1L << (PRIVATE - 67)) | (1L << (PUBLIC - 67)) | (1L << (REMOTE - 67)) | (1L << (PACKAGE - 67)) | (1L << (REQUIRED - 67)) | (1L << (COMPONENT - 67)) | (1L << (LOG - 67)) | (1L << (APPLET - 67)) | (1L << (ASSOCIATE - 67)) | (1L << (AUTHENTICATE - 67)) | (1L << (CACHE - 67)) | (1L << (COL - 67)) | (1L << (COLLECTION - 67)) | (1L << (CONTENT - 67)) | (1L << (COOKIE - 67)) | (1L << (ERROR - 67)) | (1L << (EXECUTE - 67)) | (1L << (FORM - 67)) | (1L << (FTP - 67)) | (1L << (GRID - 67)) | (1L << (GRIDCOLUMN - 67)) | (1L << (GRIDROW - 67)) | (1L << (GRIDUPDATE - 67)) | (1L << (HEADER - 67)) | (1L << (HTMLHEAD - 67)) | (1L << (HTTPPARAM - 67)))) != 0) || ((((_la - 131)) & ~0x3f) == 0 && ((1L << (_la - 131)) & ((1L << (CFHTTPPARAM - 131)) | (1L << (IMPERSONATE - 131)) | (1L << (INDEX - 131)) | (1L << (INPUT - 131)) | (1L << (INSERT - 131)) | (1L << (LDAP - 131)) | (1L << (LOCATION - 131)) | (1L << (MAIL - 131)) | (1L << (MAILPARAM - 131)) | (1L << (MODULE - 131)) | (1L << (OBJECT - 131)) | (1L << (OUTPUT - 131)) | (1L << (POP - 131)) | (1L << (PROCESSINGDIRECTIVE - 131)) | (1L << (PROCPARAM - 131)) | (1L << (PROCRESULT - 131)) | (1L << (QUERYPARAM - 131)) | (1L << (REGISTRY - 131)) | (1L << (REPORT - 131)) | (1L << (SCHEDULE - 131)) | (1L << (SCRIPT - 131)) | (1L << (SEARCH - 131)) | (1L << (SELECT - 131)) | (1L << (SERVLET - 131)) | (1L << (SERVLETPARAM - 131)) | (1L << (SET - 131)) | (1L << (SILENT - 131)) | (1L << (SLIDER - 131)) | (1L << (STOREDPROC - 131)) | (1L << (TABLE - 131)) | (1L << (TEXTINPUT - 131)) | (1L << (TREE - 131)) | (1L << (TREEITEM - 131)) | (1L << (UPDATE - 131)) | (1L << (WDDX - 131)) | (1L << (ZIP - 131)) | (1L << (CFCUSTOM_IDENTIFIER - 131)) | (1L << (IDENTIFIER - 131)) | (1L << (INTEGER_LITERAL - 131)) | (1L << (POUND_SIGN - 131)) | (1L << (FLOATING_POINT_LITERAL - 131)))) != 0)) {
{
{
setState(227);
element();
}
}
setState(232);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(236);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==SCRIPTOPEN) {
{
{
setState(233);
cfscriptBlock();
}
}
setState(238);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(239);
match(EOF);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CfscriptBlockContext extends ParserRuleContext {
public TerminalNode SCRIPTOPEN() { return getToken(CFSCRIPTParser.SCRIPTOPEN, 0); }
public ScriptBlockContext scriptBlock() {
return getRuleContext(ScriptBlockContext.class,0);
}
public TerminalNode SCRIPTCLOSE() { return getToken(CFSCRIPTParser.SCRIPTCLOSE, 0); }
public CfscriptBlockContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_cfscriptBlock; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterCfscriptBlock(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitCfscriptBlock(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitCfscriptBlock(this);
else return visitor.visitChildren(this);
}
}
public final CfscriptBlockContext cfscriptBlock() throws RecognitionException {
CfscriptBlockContext _localctx = new CfscriptBlockContext(_ctx, getState());
enterRule(_localctx, 2, RULE_cfscriptBlock);
try {
enterOuterAlt(_localctx, 1);
{
setState(242);
match(SCRIPTOPEN);
setState(243);
scriptBlock();
setState(244);
match(SCRIPTCLOSE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ComponentDeclarationContext extends ParserRuleContext {
public TerminalNode COMPONENT() { return getToken(CFSCRIPTParser.COMPONENT, 0); }
public ComponentGutsContext componentGuts() {
return getRuleContext(ComponentGutsContext.class,0);
}
public List componentAttribute() {
return getRuleContexts(ComponentAttributeContext.class);
}
public ComponentAttributeContext componentAttribute(int i) {
return getRuleContext(ComponentAttributeContext.class,i);
}
public ComponentDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_componentDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterComponentDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitComponentDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitComponentDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final ComponentDeclarationContext componentDeclaration() throws RecognitionException {
ComponentDeclarationContext _localctx = new ComponentDeclarationContext(_ctx, getState());
enterRule(_localctx, 4, RULE_componentDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(246);
match(COMPONENT);
setState(250);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CONTAIN) | (1L << TO) | (1L << VAR) | (1L << NEW) | (1L << DEFAULT))) != 0) || ((((_la - 79)) & ~0x3f) == 0 && ((1L << (_la - 79)) & ((1L << (INCLUDE - 79)) | (1L << (ABORT - 79)) | (1L << (ADMIN - 79)) | (1L << (THROW - 79)) | (1L << (RETHROW - 79)) | (1L << (EXIT - 79)) | (1L << (PARAM - 79)) | (1L << (PROPERTY - 79)) | (1L << (LOCK - 79)) | (1L << (THREAD - 79)) | (1L << (TRANSACTION - 79)) | (1L << (SAVECONTENT - 79)) | (1L << (HTTP - 79)) | (1L << (CFHTTP - 79)) | (1L << (FILE - 79)) | (1L << (DIRECTORY - 79)) | (1L << (LOOP - 79)) | (1L << (SETTING - 79)) | (1L << (QUERY - 79)) | (1L << (STRING - 79)) | (1L << (NUMERIC - 79)) | (1L << (BOOLEAN - 79)) | (1L << (ANY - 79)) | (1L << (ARRAY - 79)) | (1L << (STRUCT - 79)) | (1L << (PRIVATE - 79)) | (1L << (PUBLIC - 79)) | (1L << (REMOTE - 79)) | (1L << (PACKAGE - 79)) | (1L << (REQUIRED - 79)) | (1L << (COMPONENT - 79)) | (1L << (LOG - 79)) | (1L << (APPLET - 79)) | (1L << (ASSOCIATE - 79)) | (1L << (AUTHENTICATE - 79)) | (1L << (CACHE - 79)) | (1L << (COL - 79)) | (1L << (COLLECTION - 79)) | (1L << (CONTENT - 79)) | (1L << (COOKIE - 79)) | (1L << (ERROR - 79)) | (1L << (EXECUTE - 79)) | (1L << (FORM - 79)) | (1L << (FTP - 79)) | (1L << (GRID - 79)) | (1L << (GRIDCOLUMN - 79)) | (1L << (GRIDROW - 79)) | (1L << (GRIDUPDATE - 79)) | (1L << (HEADER - 79)) | (1L << (HTMLHEAD - 79)) | (1L << (HTTPPARAM - 79)) | (1L << (CFHTTPPARAM - 79)) | (1L << (IMPERSONATE - 79)) | (1L << (INDEX - 79)) | (1L << (INPUT - 79)) | (1L << (INSERT - 79)) | (1L << (LDAP - 79)) | (1L << (LOCATION - 79)) | (1L << (MAIL - 79)) | (1L << (MAILPARAM - 79)) | (1L << (MODULE - 79)) | (1L << (OBJECT - 79)) | (1L << (OUTPUT - 79)))) != 0) || ((((_la - 143)) & ~0x3f) == 0 && ((1L << (_la - 143)) & ((1L << (POP - 143)) | (1L << (PROCESSINGDIRECTIVE - 143)) | (1L << (PROCPARAM - 143)) | (1L << (PROCRESULT - 143)) | (1L << (QUERYPARAM - 143)) | (1L << (REGISTRY - 143)) | (1L << (REPORT - 143)) | (1L << (SCHEDULE - 143)) | (1L << (SCRIPT - 143)) | (1L << (SEARCH - 143)) | (1L << (SELECT - 143)) | (1L << (SERVLET - 143)) | (1L << (SERVLETPARAM - 143)) | (1L << (SET - 143)) | (1L << (SILENT - 143)) | (1L << (SLIDER - 143)) | (1L << (STOREDPROC - 143)) | (1L << (TABLE - 143)) | (1L << (TEXTINPUT - 143)) | (1L << (TREE - 143)) | (1L << (TREEITEM - 143)) | (1L << (UPDATE - 143)) | (1L << (WDDX - 143)) | (1L << (ZIP - 143)) | (1L << (CFCUSTOM_IDENTIFIER - 143)) | (1L << (IDENTIFIER - 143)))) != 0)) {
{
{
setState(247);
componentAttribute();
}
}
setState(252);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(253);
componentGuts();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ElementContext extends ParserRuleContext {
public FunctionDeclarationContext functionDeclaration() {
return getRuleContext(FunctionDeclarationContext.class,0);
}
public StatementContext statement() {
return getRuleContext(StatementContext.class,0);
}
public ElementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_element; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitElement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitElement(this);
else return visitor.visitChildren(this);
}
}
public final ElementContext element() throws RecognitionException {
ElementContext _localctx = new ElementContext(_ctx, getState());
enterRule(_localctx, 6, RULE_element);
try {
setState(257);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,5,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(255);
functionDeclaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(256);
statement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class FunctionDeclarationContext extends ParserRuleContext {
public CompoundStatementContext body;
public TerminalNode FUNCTION() { return getToken(CFSCRIPTParser.FUNCTION, 0); }
public IdentifierContext identifier() {
return getRuleContext(IdentifierContext.class,0);
}
public TerminalNode LEFTPAREN() { return getToken(CFSCRIPTParser.LEFTPAREN, 0); }
public TerminalNode RIGHTPAREN() { return getToken(CFSCRIPTParser.RIGHTPAREN, 0); }
public CompoundStatementContext compoundStatement() {
return getRuleContext(CompoundStatementContext.class,0);
}
public AccessTypeContext accessType() {
return getRuleContext(AccessTypeContext.class,0);
}
public TypeSpecContext typeSpec() {
return getRuleContext(TypeSpecContext.class,0);
}
public ParameterListContext parameterList() {
return getRuleContext(ParameterListContext.class,0);
}
public List functionAttribute() {
return getRuleContexts(FunctionAttributeContext.class);
}
public FunctionAttributeContext functionAttribute(int i) {
return getRuleContext(FunctionAttributeContext.class,i);
}
public FunctionDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterFunctionDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitFunctionDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitFunctionDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final FunctionDeclarationContext functionDeclaration() throws RecognitionException {
FunctionDeclarationContext _localctx = new FunctionDeclarationContext(_ctx, getState());
enterRule(_localctx, 8, RULE_functionDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(260);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,6,_ctx) ) {
case 1:
{
setState(259);
accessType();
}
break;
}
setState(263);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << OPEN_STRING) | (1L << CONTAIN) | (1L << TO) | (1L << VAR) | (1L << NEW) | (1L << DEFAULT))) != 0) || ((((_la - 79)) & ~0x3f) == 0 && ((1L << (_la - 79)) & ((1L << (INCLUDE - 79)) | (1L << (ABORT - 79)) | (1L << (ADMIN - 79)) | (1L << (THROW - 79)) | (1L << (RETHROW - 79)) | (1L << (EXIT - 79)) | (1L << (PARAM - 79)) | (1L << (PROPERTY - 79)) | (1L << (LOCK - 79)) | (1L << (THREAD - 79)) | (1L << (TRANSACTION - 79)) | (1L << (SAVECONTENT - 79)) | (1L << (HTTP - 79)) | (1L << (CFHTTP - 79)) | (1L << (FILE - 79)) | (1L << (DIRECTORY - 79)) | (1L << (LOOP - 79)) | (1L << (SETTING - 79)) | (1L << (QUERY - 79)) | (1L << (STRING - 79)) | (1L << (NUMERIC - 79)) | (1L << (BOOLEAN - 79)) | (1L << (ANY - 79)) | (1L << (ARRAY - 79)) | (1L << (STRUCT - 79)) | (1L << (PRIVATE - 79)) | (1L << (PUBLIC - 79)) | (1L << (REMOTE - 79)) | (1L << (PACKAGE - 79)) | (1L << (REQUIRED - 79)) | (1L << (COMPONENT - 79)) | (1L << (LOG - 79)) | (1L << (APPLET - 79)) | (1L << (ASSOCIATE - 79)) | (1L << (AUTHENTICATE - 79)) | (1L << (CACHE - 79)) | (1L << (COL - 79)) | (1L << (COLLECTION - 79)) | (1L << (CONTENT - 79)) | (1L << (COOKIE - 79)) | (1L << (ERROR - 79)) | (1L << (EXECUTE - 79)) | (1L << (FORM - 79)) | (1L << (FTP - 79)) | (1L << (GRID - 79)) | (1L << (GRIDCOLUMN - 79)) | (1L << (GRIDROW - 79)) | (1L << (GRIDUPDATE - 79)) | (1L << (HEADER - 79)) | (1L << (HTMLHEAD - 79)) | (1L << (HTTPPARAM - 79)) | (1L << (CFHTTPPARAM - 79)) | (1L << (IMPERSONATE - 79)) | (1L << (INDEX - 79)) | (1L << (INPUT - 79)) | (1L << (INSERT - 79)) | (1L << (LDAP - 79)) | (1L << (LOCATION - 79)) | (1L << (MAIL - 79)) | (1L << (MAILPARAM - 79)) | (1L << (MODULE - 79)) | (1L << (OBJECT - 79)) | (1L << (OUTPUT - 79)))) != 0) || ((((_la - 143)) & ~0x3f) == 0 && ((1L << (_la - 143)) & ((1L << (POP - 143)) | (1L << (PROCESSINGDIRECTIVE - 143)) | (1L << (PROCPARAM - 143)) | (1L << (PROCRESULT - 143)) | (1L << (QUERYPARAM - 143)) | (1L << (REGISTRY - 143)) | (1L << (REPORT - 143)) | (1L << (SCHEDULE - 143)) | (1L << (SCRIPT - 143)) | (1L << (SEARCH - 143)) | (1L << (SELECT - 143)) | (1L << (SERVLET - 143)) | (1L << (SERVLETPARAM - 143)) | (1L << (SET - 143)) | (1L << (SILENT - 143)) | (1L << (SLIDER - 143)) | (1L << (STOREDPROC - 143)) | (1L << (TABLE - 143)) | (1L << (TEXTINPUT - 143)) | (1L << (TREE - 143)) | (1L << (TREEITEM - 143)) | (1L << (UPDATE - 143)) | (1L << (WDDX - 143)) | (1L << (ZIP - 143)) | (1L << (CFCUSTOM_IDENTIFIER - 143)) | (1L << (IDENTIFIER - 143)))) != 0)) {
{
setState(262);
typeSpec();
}
}
setState(265);
match(FUNCTION);
setState(266);
identifier();
setState(267);
match(LEFTPAREN);
setState(269);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,8,_ctx) ) {
case 1:
{
setState(268);
parameterList();
}
break;
}
setState(271);
match(RIGHTPAREN);
setState(275);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CONTAIN) | (1L << TO) | (1L << VAR) | (1L << NEW) | (1L << DEFAULT))) != 0) || ((((_la - 79)) & ~0x3f) == 0 && ((1L << (_la - 79)) & ((1L << (INCLUDE - 79)) | (1L << (ABORT - 79)) | (1L << (ADMIN - 79)) | (1L << (THROW - 79)) | (1L << (RETHROW - 79)) | (1L << (EXIT - 79)) | (1L << (PARAM - 79)) | (1L << (PROPERTY - 79)) | (1L << (LOCK - 79)) | (1L << (THREAD - 79)) | (1L << (TRANSACTION - 79)) | (1L << (SAVECONTENT - 79)) | (1L << (HTTP - 79)) | (1L << (CFHTTP - 79)) | (1L << (FILE - 79)) | (1L << (DIRECTORY - 79)) | (1L << (LOOP - 79)) | (1L << (SETTING - 79)) | (1L << (QUERY - 79)) | (1L << (STRING - 79)) | (1L << (NUMERIC - 79)) | (1L << (BOOLEAN - 79)) | (1L << (ANY - 79)) | (1L << (ARRAY - 79)) | (1L << (STRUCT - 79)) | (1L << (PRIVATE - 79)) | (1L << (PUBLIC - 79)) | (1L << (REMOTE - 79)) | (1L << (PACKAGE - 79)) | (1L << (REQUIRED - 79)) | (1L << (COMPONENT - 79)) | (1L << (LOG - 79)) | (1L << (APPLET - 79)) | (1L << (ASSOCIATE - 79)) | (1L << (AUTHENTICATE - 79)) | (1L << (CACHE - 79)) | (1L << (COL - 79)) | (1L << (COLLECTION - 79)) | (1L << (CONTENT - 79)) | (1L << (COOKIE - 79)) | (1L << (ERROR - 79)) | (1L << (EXECUTE - 79)) | (1L << (FORM - 79)) | (1L << (FTP - 79)) | (1L << (GRID - 79)) | (1L << (GRIDCOLUMN - 79)) | (1L << (GRIDROW - 79)) | (1L << (GRIDUPDATE - 79)) | (1L << (HEADER - 79)) | (1L << (HTMLHEAD - 79)) | (1L << (HTTPPARAM - 79)) | (1L << (CFHTTPPARAM - 79)) | (1L << (IMPERSONATE - 79)) | (1L << (INDEX - 79)) | (1L << (INPUT - 79)) | (1L << (INSERT - 79)) | (1L << (LDAP - 79)) | (1L << (LOCATION - 79)) | (1L << (MAIL - 79)) | (1L << (MAILPARAM - 79)) | (1L << (MODULE - 79)) | (1L << (OBJECT - 79)) | (1L << (OUTPUT - 79)))) != 0) || ((((_la - 143)) & ~0x3f) == 0 && ((1L << (_la - 143)) & ((1L << (POP - 143)) | (1L << (PROCESSINGDIRECTIVE - 143)) | (1L << (PROCPARAM - 143)) | (1L << (PROCRESULT - 143)) | (1L << (QUERYPARAM - 143)) | (1L << (REGISTRY - 143)) | (1L << (REPORT - 143)) | (1L << (SCHEDULE - 143)) | (1L << (SCRIPT - 143)) | (1L << (SEARCH - 143)) | (1L << (SELECT - 143)) | (1L << (SERVLET - 143)) | (1L << (SERVLETPARAM - 143)) | (1L << (SET - 143)) | (1L << (SILENT - 143)) | (1L << (SLIDER - 143)) | (1L << (STOREDPROC - 143)) | (1L << (TABLE - 143)) | (1L << (TEXTINPUT - 143)) | (1L << (TREE - 143)) | (1L << (TREEITEM - 143)) | (1L << (UPDATE - 143)) | (1L << (WDDX - 143)) | (1L << (ZIP - 143)) | (1L << (CFCUSTOM_IDENTIFIER - 143)) | (1L << (IDENTIFIER - 143)))) != 0)) {
{
{
setState(272);
functionAttribute();
}
}
setState(277);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(278);
((FunctionDeclarationContext)_localctx).body = compoundStatement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AnonymousFunctionDeclarationContext extends ParserRuleContext {
public CompoundStatementContext body;
public TerminalNode FUNCTION() { return getToken(CFSCRIPTParser.FUNCTION, 0); }
public TerminalNode LEFTPAREN() { return getToken(CFSCRIPTParser.LEFTPAREN, 0); }
public TerminalNode RIGHTPAREN() { return getToken(CFSCRIPTParser.RIGHTPAREN, 0); }
public CompoundStatementContext compoundStatement() {
return getRuleContext(CompoundStatementContext.class,0);
}
public AccessTypeContext accessType() {
return getRuleContext(AccessTypeContext.class,0);
}
public TypeSpecContext typeSpec() {
return getRuleContext(TypeSpecContext.class,0);
}
public ParameterListContext parameterList() {
return getRuleContext(ParameterListContext.class,0);
}
public List functionAttribute() {
return getRuleContexts(FunctionAttributeContext.class);
}
public FunctionAttributeContext functionAttribute(int i) {
return getRuleContext(FunctionAttributeContext.class,i);
}
public AnonymousFunctionDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_anonymousFunctionDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterAnonymousFunctionDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitAnonymousFunctionDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitAnonymousFunctionDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final AnonymousFunctionDeclarationContext anonymousFunctionDeclaration() throws RecognitionException {
AnonymousFunctionDeclarationContext _localctx = new AnonymousFunctionDeclarationContext(_ctx, getState());
enterRule(_localctx, 10, RULE_anonymousFunctionDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(281);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,10,_ctx) ) {
case 1:
{
setState(280);
accessType();
}
break;
}
setState(284);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << OPEN_STRING) | (1L << CONTAIN) | (1L << TO) | (1L << VAR) | (1L << NEW) | (1L << DEFAULT))) != 0) || ((((_la - 79)) & ~0x3f) == 0 && ((1L << (_la - 79)) & ((1L << (INCLUDE - 79)) | (1L << (ABORT - 79)) | (1L << (ADMIN - 79)) | (1L << (THROW - 79)) | (1L << (RETHROW - 79)) | (1L << (EXIT - 79)) | (1L << (PARAM - 79)) | (1L << (PROPERTY - 79)) | (1L << (LOCK - 79)) | (1L << (THREAD - 79)) | (1L << (TRANSACTION - 79)) | (1L << (SAVECONTENT - 79)) | (1L << (HTTP - 79)) | (1L << (CFHTTP - 79)) | (1L << (FILE - 79)) | (1L << (DIRECTORY - 79)) | (1L << (LOOP - 79)) | (1L << (SETTING - 79)) | (1L << (QUERY - 79)) | (1L << (STRING - 79)) | (1L << (NUMERIC - 79)) | (1L << (BOOLEAN - 79)) | (1L << (ANY - 79)) | (1L << (ARRAY - 79)) | (1L << (STRUCT - 79)) | (1L << (PRIVATE - 79)) | (1L << (PUBLIC - 79)) | (1L << (REMOTE - 79)) | (1L << (PACKAGE - 79)) | (1L << (REQUIRED - 79)) | (1L << (COMPONENT - 79)) | (1L << (LOG - 79)) | (1L << (APPLET - 79)) | (1L << (ASSOCIATE - 79)) | (1L << (AUTHENTICATE - 79)) | (1L << (CACHE - 79)) | (1L << (COL - 79)) | (1L << (COLLECTION - 79)) | (1L << (CONTENT - 79)) | (1L << (COOKIE - 79)) | (1L << (ERROR - 79)) | (1L << (EXECUTE - 79)) | (1L << (FORM - 79)) | (1L << (FTP - 79)) | (1L << (GRID - 79)) | (1L << (GRIDCOLUMN - 79)) | (1L << (GRIDROW - 79)) | (1L << (GRIDUPDATE - 79)) | (1L << (HEADER - 79)) | (1L << (HTMLHEAD - 79)) | (1L << (HTTPPARAM - 79)) | (1L << (CFHTTPPARAM - 79)) | (1L << (IMPERSONATE - 79)) | (1L << (INDEX - 79)) | (1L << (INPUT - 79)) | (1L << (INSERT - 79)) | (1L << (LDAP - 79)) | (1L << (LOCATION - 79)) | (1L << (MAIL - 79)) | (1L << (MAILPARAM - 79)) | (1L << (MODULE - 79)) | (1L << (OBJECT - 79)) | (1L << (OUTPUT - 79)))) != 0) || ((((_la - 143)) & ~0x3f) == 0 && ((1L << (_la - 143)) & ((1L << (POP - 143)) | (1L << (PROCESSINGDIRECTIVE - 143)) | (1L << (PROCPARAM - 143)) | (1L << (PROCRESULT - 143)) | (1L << (QUERYPARAM - 143)) | (1L << (REGISTRY - 143)) | (1L << (REPORT - 143)) | (1L << (SCHEDULE - 143)) | (1L << (SCRIPT - 143)) | (1L << (SEARCH - 143)) | (1L << (SELECT - 143)) | (1L << (SERVLET - 143)) | (1L << (SERVLETPARAM - 143)) | (1L << (SET - 143)) | (1L << (SILENT - 143)) | (1L << (SLIDER - 143)) | (1L << (STOREDPROC - 143)) | (1L << (TABLE - 143)) | (1L << (TEXTINPUT - 143)) | (1L << (TREE - 143)) | (1L << (TREEITEM - 143)) | (1L << (UPDATE - 143)) | (1L << (WDDX - 143)) | (1L << (ZIP - 143)) | (1L << (CFCUSTOM_IDENTIFIER - 143)) | (1L << (IDENTIFIER - 143)))) != 0)) {
{
setState(283);
typeSpec();
}
}
setState(286);
match(FUNCTION);
setState(287);
match(LEFTPAREN);
setState(289);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,12,_ctx) ) {
case 1:
{
setState(288);
parameterList();
}
break;
}
setState(291);
match(RIGHTPAREN);
setState(295);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CONTAIN) | (1L << TO) | (1L << VAR) | (1L << NEW) | (1L << DEFAULT))) != 0) || ((((_la - 79)) & ~0x3f) == 0 && ((1L << (_la - 79)) & ((1L << (INCLUDE - 79)) | (1L << (ABORT - 79)) | (1L << (ADMIN - 79)) | (1L << (THROW - 79)) | (1L << (RETHROW - 79)) | (1L << (EXIT - 79)) | (1L << (PARAM - 79)) | (1L << (PROPERTY - 79)) | (1L << (LOCK - 79)) | (1L << (THREAD - 79)) | (1L << (TRANSACTION - 79)) | (1L << (SAVECONTENT - 79)) | (1L << (HTTP - 79)) | (1L << (CFHTTP - 79)) | (1L << (FILE - 79)) | (1L << (DIRECTORY - 79)) | (1L << (LOOP - 79)) | (1L << (SETTING - 79)) | (1L << (QUERY - 79)) | (1L << (STRING - 79)) | (1L << (NUMERIC - 79)) | (1L << (BOOLEAN - 79)) | (1L << (ANY - 79)) | (1L << (ARRAY - 79)) | (1L << (STRUCT - 79)) | (1L << (PRIVATE - 79)) | (1L << (PUBLIC - 79)) | (1L << (REMOTE - 79)) | (1L << (PACKAGE - 79)) | (1L << (REQUIRED - 79)) | (1L << (COMPONENT - 79)) | (1L << (LOG - 79)) | (1L << (APPLET - 79)) | (1L << (ASSOCIATE - 79)) | (1L << (AUTHENTICATE - 79)) | (1L << (CACHE - 79)) | (1L << (COL - 79)) | (1L << (COLLECTION - 79)) | (1L << (CONTENT - 79)) | (1L << (COOKIE - 79)) | (1L << (ERROR - 79)) | (1L << (EXECUTE - 79)) | (1L << (FORM - 79)) | (1L << (FTP - 79)) | (1L << (GRID - 79)) | (1L << (GRIDCOLUMN - 79)) | (1L << (GRIDROW - 79)) | (1L << (GRIDUPDATE - 79)) | (1L << (HEADER - 79)) | (1L << (HTMLHEAD - 79)) | (1L << (HTTPPARAM - 79)) | (1L << (CFHTTPPARAM - 79)) | (1L << (IMPERSONATE - 79)) | (1L << (INDEX - 79)) | (1L << (INPUT - 79)) | (1L << (INSERT - 79)) | (1L << (LDAP - 79)) | (1L << (LOCATION - 79)) | (1L << (MAIL - 79)) | (1L << (MAILPARAM - 79)) | (1L << (MODULE - 79)) | (1L << (OBJECT - 79)) | (1L << (OUTPUT - 79)))) != 0) || ((((_la - 143)) & ~0x3f) == 0 && ((1L << (_la - 143)) & ((1L << (POP - 143)) | (1L << (PROCESSINGDIRECTIVE - 143)) | (1L << (PROCPARAM - 143)) | (1L << (PROCRESULT - 143)) | (1L << (QUERYPARAM - 143)) | (1L << (REGISTRY - 143)) | (1L << (REPORT - 143)) | (1L << (SCHEDULE - 143)) | (1L << (SCRIPT - 143)) | (1L << (SEARCH - 143)) | (1L << (SELECT - 143)) | (1L << (SERVLET - 143)) | (1L << (SERVLETPARAM - 143)) | (1L << (SET - 143)) | (1L << (SILENT - 143)) | (1L << (SLIDER - 143)) | (1L << (STOREDPROC - 143)) | (1L << (TABLE - 143)) | (1L << (TEXTINPUT - 143)) | (1L << (TREE - 143)) | (1L << (TREEITEM - 143)) | (1L << (UPDATE - 143)) | (1L << (WDDX - 143)) | (1L << (ZIP - 143)) | (1L << (CFCUSTOM_IDENTIFIER - 143)) | (1L << (IDENTIFIER - 143)))) != 0)) {
{
{
setState(292);
functionAttribute();
}
}
setState(297);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(298);
((AnonymousFunctionDeclarationContext)_localctx).body = compoundStatement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AccessTypeContext extends ParserRuleContext {
public TerminalNode PUBLIC() { return getToken(CFSCRIPTParser.PUBLIC, 0); }
public TerminalNode PRIVATE() { return getToken(CFSCRIPTParser.PRIVATE, 0); }
public TerminalNode REMOTE() { return getToken(CFSCRIPTParser.REMOTE, 0); }
public TerminalNode PACKAGE() { return getToken(CFSCRIPTParser.PACKAGE, 0); }
public AccessTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_accessType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterAccessType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitAccessType(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitAccessType(this);
else return visitor.visitChildren(this);
}
}
public final AccessTypeContext accessType() throws RecognitionException {
AccessTypeContext _localctx = new AccessTypeContext(_ctx, getState());
enterRule(_localctx, 12, RULE_accessType);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(300);
_la = _input.LA(1);
if ( !(((((_la - 105)) & ~0x3f) == 0 && ((1L << (_la - 105)) & ((1L << (PRIVATE - 105)) | (1L << (PUBLIC - 105)) | (1L << (REMOTE - 105)) | (1L << (PACKAGE - 105)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TypeSpecContext extends ParserRuleContext {
public TypeContext type() {
return getRuleContext(TypeContext.class,0);
}
public MultipartIdentifierContext multipartIdentifier() {
return getRuleContext(MultipartIdentifierContext.class,0);
}
public ArrayContext array() {
return getRuleContext(ArrayContext.class,0);
}
public StringLiteralContext stringLiteral() {
return getRuleContext(StringLiteralContext.class,0);
}
public TypeSpecContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeSpec; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterTypeSpec(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitTypeSpec(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitTypeSpec(this);
else return visitor.visitChildren(this);
}
}
public final TypeSpecContext typeSpec() throws RecognitionException {
TypeSpecContext _localctx = new TypeSpecContext(_ctx, getState());
enterRule(_localctx, 14, RULE_typeSpec);
int _la;
try {
setState(310);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CONTAIN:
case TO:
case VAR:
case NEW:
case DEFAULT:
case INCLUDE:
case ABORT:
case ADMIN:
case THROW:
case RETHROW:
case EXIT:
case PARAM:
case PROPERTY:
case LOCK:
case THREAD:
case TRANSACTION:
case SAVECONTENT:
case HTTP:
case CFHTTP:
case FILE:
case DIRECTORY:
case LOOP:
case SETTING:
case QUERY:
case STRING:
case NUMERIC:
case BOOLEAN:
case ANY:
case ARRAY:
case STRUCT:
case PRIVATE:
case PUBLIC:
case REMOTE:
case PACKAGE:
case REQUIRED:
case COMPONENT:
case LOG:
case APPLET:
case ASSOCIATE:
case AUTHENTICATE:
case CACHE:
case COL:
case COLLECTION:
case CONTENT:
case COOKIE:
case ERROR:
case EXECUTE:
case FORM:
case FTP:
case GRID:
case GRIDCOLUMN:
case GRIDROW:
case GRIDUPDATE:
case HEADER:
case HTMLHEAD:
case HTTPPARAM:
case CFHTTPPARAM:
case IMPERSONATE:
case INDEX:
case INPUT:
case INSERT:
case LDAP:
case LOCATION:
case MAIL:
case MAILPARAM:
case MODULE:
case OBJECT:
case OUTPUT:
case POP:
case PROCESSINGDIRECTIVE:
case PROCPARAM:
case PROCRESULT:
case QUERYPARAM:
case REGISTRY:
case REPORT:
case SCHEDULE:
case SCRIPT:
case SEARCH:
case SELECT:
case SERVLET:
case SERVLETPARAM:
case SET:
case SILENT:
case SLIDER:
case STOREDPROC:
case TABLE:
case TEXTINPUT:
case TREE:
case TREEITEM:
case UPDATE:
case WDDX:
case ZIP:
case CFCUSTOM_IDENTIFIER:
case IDENTIFIER:
enterOuterAlt(_localctx, 1);
{
setState(304);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) {
case 1:
{
setState(302);
type();
}
break;
case 2:
{
setState(303);
multipartIdentifier();
}
break;
}
setState(307);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LEFTBRACKET) {
{
setState(306);
array();
}
}
}
break;
case OPEN_STRING:
enterOuterAlt(_localctx, 2);
{
setState(309);
stringLiteral();
}
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 ArrayContext extends ParserRuleContext {
public TerminalNode LEFTBRACKET() { return getToken(CFSCRIPTParser.LEFTBRACKET, 0); }
public TerminalNode RIGHTBRACKET() { return getToken(CFSCRIPTParser.RIGHTBRACKET, 0); }
public ArrayContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_array; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterArray(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitArray(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitArray(this);
else return visitor.visitChildren(this);
}
}
public final ArrayContext array() throws RecognitionException {
ArrayContext _localctx = new ArrayContext(_ctx, getState());
enterRule(_localctx, 16, RULE_array);
try {
enterOuterAlt(_localctx, 1);
{
setState(312);
match(LEFTBRACKET);
setState(313);
match(RIGHTBRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class StringLiteralContext extends ParserRuleContext {
public TerminalNode OPEN_STRING() { return getToken(CFSCRIPTParser.OPEN_STRING, 0); }
public TerminalNode CLOSE_STRING() { return getToken(CFSCRIPTParser.CLOSE_STRING, 0); }
public List stringLiteralPart() {
return getRuleContexts(StringLiteralPartContext.class);
}
public StringLiteralPartContext stringLiteralPart(int i) {
return getRuleContext(StringLiteralPartContext.class,i);
}
public List POUND_SIGN() { return getTokens(CFSCRIPTParser.POUND_SIGN); }
public TerminalNode POUND_SIGN(int i) {
return getToken(CFSCRIPTParser.POUND_SIGN, i);
}
public List startExpression() {
return getRuleContexts(StartExpressionContext.class);
}
public StartExpressionContext startExpression(int i) {
return getRuleContext(StartExpressionContext.class,i);
}
public StringLiteralContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_stringLiteral; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterStringLiteral(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitStringLiteral(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitStringLiteral(this);
else return visitor.visitChildren(this);
}
}
public final StringLiteralContext stringLiteral() throws RecognitionException {
StringLiteralContext _localctx = new StringLiteralContext(_ctx, getState());
enterRule(_localctx, 18, RULE_stringLiteral);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(315);
match(OPEN_STRING);
setState(323);
_errHandler.sync(this);
_la = _input.LA(1);
while (((((_la - 170)) & ~0x3f) == 0 && ((1L << (_la - 170)) & ((1L << (POUND_SIGN - 170)) | (1L << (DOUBLEHASH - 170)) | (1L << (STRING_LITERAL - 170)))) != 0)) {
{
setState(321);
_errHandler.sync(this);
switch (_input.LA(1)) {
case DOUBLEHASH:
case STRING_LITERAL:
{
setState(316);
stringLiteralPart();
}
break;
case POUND_SIGN:
{
setState(317);
match(POUND_SIGN);
setState(318);
startExpression();
setState(319);
match(POUND_SIGN);
}
break;
default:
throw new NoViableAltException(this);
}
}
setState(325);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(326);
match(CLOSE_STRING);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class StringLiteralPartContext extends ParserRuleContext {
public TerminalNode STRING_LITERAL() { return getToken(CFSCRIPTParser.STRING_LITERAL, 0); }
public TerminalNode DOUBLEHASH() { return getToken(CFSCRIPTParser.DOUBLEHASH, 0); }
public StringLiteralPartContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_stringLiteralPart; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterStringLiteralPart(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitStringLiteralPart(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitStringLiteralPart(this);
else return visitor.visitChildren(this);
}
}
public final StringLiteralPartContext stringLiteralPart() throws RecognitionException {
StringLiteralPartContext _localctx = new StringLiteralPartContext(_ctx, getState());
enterRule(_localctx, 20, RULE_stringLiteralPart);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(328);
_la = _input.LA(1);
if ( !(_la==DOUBLEHASH || _la==STRING_LITERAL) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ParameterListContext extends ParserRuleContext {
public List parameter() {
return getRuleContexts(ParameterContext.class);
}
public ParameterContext parameter(int i) {
return getRuleContext(ParameterContext.class,i);
}
public List COMMA() { return getTokens(CFSCRIPTParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CFSCRIPTParser.COMMA, i);
}
public ParameterListContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_parameterList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterParameterList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitParameterList(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitParameterList(this);
else return visitor.visitChildren(this);
}
}
public final ParameterListContext parameterList() throws RecognitionException {
ParameterListContext _localctx = new ParameterListContext(_ctx, getState());
enterRule(_localctx, 22, RULE_parameterList);
int _la;
try {
setState(339);
_errHandler.sync(this);
switch (_input.LA(1)) {
case OPEN_STRING:
case CONTAIN:
case TO:
case VAR:
case NEW:
case DEFAULT:
case INCLUDE:
case ABORT:
case ADMIN:
case THROW:
case RETHROW:
case EXIT:
case PARAM:
case PROPERTY:
case LOCK:
case THREAD:
case TRANSACTION:
case SAVECONTENT:
case HTTP:
case CFHTTP:
case FILE:
case DIRECTORY:
case LOOP:
case SETTING:
case QUERY:
case STRING:
case NUMERIC:
case BOOLEAN:
case ANY:
case ARRAY:
case STRUCT:
case PRIVATE:
case PUBLIC:
case REMOTE:
case PACKAGE:
case REQUIRED:
case COMPONENT:
case LOG:
case APPLET:
case ASSOCIATE:
case AUTHENTICATE:
case CACHE:
case COL:
case COLLECTION:
case CONTENT:
case COOKIE:
case ERROR:
case EXECUTE:
case FORM:
case FTP:
case GRID:
case GRIDCOLUMN:
case GRIDROW:
case GRIDUPDATE:
case HEADER:
case HTMLHEAD:
case HTTPPARAM:
case CFHTTPPARAM:
case IMPERSONATE:
case INDEX:
case INPUT:
case INSERT:
case LDAP:
case LOCATION:
case MAIL:
case MAILPARAM:
case MODULE:
case OBJECT:
case OUTPUT:
case POP:
case PROCESSINGDIRECTIVE:
case PROCPARAM:
case PROCRESULT:
case QUERYPARAM:
case REGISTRY:
case REPORT:
case SCHEDULE:
case SCRIPT:
case SEARCH:
case SELECT:
case SERVLET:
case SERVLETPARAM:
case SET:
case SILENT:
case SLIDER:
case STOREDPROC:
case TABLE:
case TEXTINPUT:
case TREE:
case TREEITEM:
case UPDATE:
case WDDX:
case ZIP:
case CFCUSTOM_IDENTIFIER:
case IDENTIFIER:
enterOuterAlt(_localctx, 1);
{
setState(330);
parameter();
setState(335);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(331);
match(COMMA);
setState(332);
parameter();
}
}
setState(337);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case RIGHTPAREN:
enterOuterAlt(_localctx, 2);
{
}
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 ParameterContext extends ParserRuleContext {
public IdentifierContext name;
public IdentifierContext identifier() {
return getRuleContext(IdentifierContext.class,0);
}
public TerminalNode REQUIRED() { return getToken(CFSCRIPTParser.REQUIRED, 0); }
public ParameterTypeContext parameterType() {
return getRuleContext(ParameterTypeContext.class,0);
}
public TerminalNode EQUALSOP() { return getToken(CFSCRIPTParser.EQUALSOP, 0); }
public StartExpressionContext startExpression() {
return getRuleContext(StartExpressionContext.class,0);
}
public List parameterAttribute() {
return getRuleContexts(ParameterAttributeContext.class);
}
public ParameterAttributeContext parameterAttribute(int i) {
return getRuleContext(ParameterAttributeContext.class,i);
}
public ParameterContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_parameter; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterParameter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitParameter(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitParameter(this);
else return visitor.visitChildren(this);
}
}
public final ParameterContext parameter() throws RecognitionException {
ParameterContext _localctx = new ParameterContext(_ctx, getState());
enterRule(_localctx, 24, RULE_parameter);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(342);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,21,_ctx) ) {
case 1:
{
setState(341);
match(REQUIRED);
}
break;
}
setState(345);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,22,_ctx) ) {
case 1:
{
setState(344);
parameterType();
}
break;
}
setState(347);
((ParameterContext)_localctx).name = identifier();
setState(350);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUALSOP) {
{
setState(348);
match(EQUALSOP);
setState(349);
startExpression();
}
}
setState(355);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CONTAIN) | (1L << TO) | (1L << VAR) | (1L << NEW) | (1L << DEFAULT))) != 0) || ((((_la - 79)) & ~0x3f) == 0 && ((1L << (_la - 79)) & ((1L << (INCLUDE - 79)) | (1L << (ABORT - 79)) | (1L << (ADMIN - 79)) | (1L << (THROW - 79)) | (1L << (RETHROW - 79)) | (1L << (EXIT - 79)) | (1L << (PARAM - 79)) | (1L << (PROPERTY - 79)) | (1L << (LOCK - 79)) | (1L << (THREAD - 79)) | (1L << (TRANSACTION - 79)) | (1L << (SAVECONTENT - 79)) | (1L << (HTTP - 79)) | (1L << (CFHTTP - 79)) | (1L << (FILE - 79)) | (1L << (DIRECTORY - 79)) | (1L << (LOOP - 79)) | (1L << (SETTING - 79)) | (1L << (QUERY - 79)) | (1L << (STRING - 79)) | (1L << (NUMERIC - 79)) | (1L << (BOOLEAN - 79)) | (1L << (ANY - 79)) | (1L << (ARRAY - 79)) | (1L << (STRUCT - 79)) | (1L << (PRIVATE - 79)) | (1L << (PUBLIC - 79)) | (1L << (REMOTE - 79)) | (1L << (PACKAGE - 79)) | (1L << (REQUIRED - 79)) | (1L << (COMPONENT - 79)) | (1L << (LOG - 79)) | (1L << (APPLET - 79)) | (1L << (ASSOCIATE - 79)) | (1L << (AUTHENTICATE - 79)) | (1L << (CACHE - 79)) | (1L << (COL - 79)) | (1L << (COLLECTION - 79)) | (1L << (CONTENT - 79)) | (1L << (COOKIE - 79)) | (1L << (ERROR - 79)) | (1L << (EXECUTE - 79)) | (1L << (FORM - 79)) | (1L << (FTP - 79)) | (1L << (GRID - 79)) | (1L << (GRIDCOLUMN - 79)) | (1L << (GRIDROW - 79)) | (1L << (GRIDUPDATE - 79)) | (1L << (HEADER - 79)) | (1L << (HTMLHEAD - 79)) | (1L << (HTTPPARAM - 79)) | (1L << (CFHTTPPARAM - 79)) | (1L << (IMPERSONATE - 79)) | (1L << (INDEX - 79)) | (1L << (INPUT - 79)) | (1L << (INSERT - 79)) | (1L << (LDAP - 79)) | (1L << (LOCATION - 79)) | (1L << (MAIL - 79)) | (1L << (MAILPARAM - 79)) | (1L << (MODULE - 79)) | (1L << (OBJECT - 79)) | (1L << (OUTPUT - 79)))) != 0) || ((((_la - 143)) & ~0x3f) == 0 && ((1L << (_la - 143)) & ((1L << (POP - 143)) | (1L << (PROCESSINGDIRECTIVE - 143)) | (1L << (PROCPARAM - 143)) | (1L << (PROCRESULT - 143)) | (1L << (QUERYPARAM - 143)) | (1L << (REGISTRY - 143)) | (1L << (REPORT - 143)) | (1L << (SCHEDULE - 143)) | (1L << (SCRIPT - 143)) | (1L << (SEARCH - 143)) | (1L << (SELECT - 143)) | (1L << (SERVLET - 143)) | (1L << (SERVLETPARAM - 143)) | (1L << (SET - 143)) | (1L << (SILENT - 143)) | (1L << (SLIDER - 143)) | (1L << (STOREDPROC - 143)) | (1L << (TABLE - 143)) | (1L << (TEXTINPUT - 143)) | (1L << (TREE - 143)) | (1L << (TREEITEM - 143)) | (1L << (UPDATE - 143)) | (1L << (WDDX - 143)) | (1L << (ZIP - 143)) | (1L << (CFCUSTOM_IDENTIFIER - 143)) | (1L << (IDENTIFIER - 143)))) != 0)) {
{
{
setState(352);
parameterAttribute();
}
}
setState(357);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ParameterTypeContext extends ParserRuleContext {
public TypeSpecContext typeSpec() {
return getRuleContext(TypeSpecContext.class,0);
}
public ParameterTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_parameterType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterParameterType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitParameterType(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitParameterType(this);
else return visitor.visitChildren(this);
}
}
public final ParameterTypeContext parameterType() throws RecognitionException {
ParameterTypeContext _localctx = new ParameterTypeContext(_ctx, getState());
enterRule(_localctx, 26, RULE_parameterType);
try {
enterOuterAlt(_localctx, 1);
{
setState(358);
typeSpec();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ComponentAttributeContext extends ParserRuleContext {
public IdentifierContext id;
public IdentifierContext prefix;
public Token op;
public List identifier() {
return getRuleContexts(IdentifierContext.class);
}
public IdentifierContext identifier(int i) {
return getRuleContext(IdentifierContext.class,i);
}
public StartExpressionContext startExpression() {
return getRuleContext(StartExpressionContext.class,0);
}
public TerminalNode EQUALSOP() { return getToken(CFSCRIPTParser.EQUALSOP, 0); }
public TerminalNode COLON() { return getToken(CFSCRIPTParser.COLON, 0); }
public ComponentAttributeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_componentAttribute; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterComponentAttribute(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitComponentAttribute(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitComponentAttribute(this);
else return visitor.visitChildren(this);
}
}
public final ComponentAttributeContext componentAttribute() throws RecognitionException {
ComponentAttributeContext _localctx = new ComponentAttributeContext(_ctx, getState());
enterRule(_localctx, 28, RULE_componentAttribute);
try {
setState(370);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,26,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(360);
((ComponentAttributeContext)_localctx).id = identifier();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(364);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,25,_ctx) ) {
case 1:
{
setState(361);
((ComponentAttributeContext)_localctx).prefix = identifier();
setState(362);
match(COLON);
}
break;
}
setState(366);
((ComponentAttributeContext)_localctx).id = identifier();
setState(367);
((ComponentAttributeContext)_localctx).op = match(EQUALSOP);
setState(368);
startExpression();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class FunctionAttributeContext extends ParserRuleContext {
public Token op;
public IdentifierContext value;
public ConstantExpressionContext valueString;
public IdentifierContext id;
public IdentifierWithColonContext identifierWithColon() {
return getRuleContext(IdentifierWithColonContext.class,0);
}
public TerminalNode EQUALSOP() { return getToken(CFSCRIPTParser.EQUALSOP, 0); }
public List identifier() {
return getRuleContexts(IdentifierContext.class);
}
public IdentifierContext identifier(int i) {
return getRuleContext(IdentifierContext.class,i);
}
public ConstantExpressionContext constantExpression() {
return getRuleContext(ConstantExpressionContext.class,0);
}
public TerminalNode COLON() { return getToken(CFSCRIPTParser.COLON, 0); }
public FunctionAttributeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionAttribute; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterFunctionAttribute(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitFunctionAttribute(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitFunctionAttribute(this);
else return visitor.visitChildren(this);
}
}
public final FunctionAttributeContext functionAttribute() throws RecognitionException {
FunctionAttributeContext _localctx = new FunctionAttributeContext(_ctx, getState());
enterRule(_localctx, 30, RULE_functionAttribute);
int _la;
try {
setState(386);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,30,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(372);
identifierWithColon();
setState(373);
((FunctionAttributeContext)_localctx).op = match(EQUALSOP);
setState(376);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CONTAIN:
case TO:
case VAR:
case NEW:
case DEFAULT:
case INCLUDE:
case ABORT:
case ADMIN:
case THROW:
case RETHROW:
case EXIT:
case PARAM:
case PROPERTY:
case LOCK:
case THREAD:
case TRANSACTION:
case SAVECONTENT:
case HTTP:
case CFHTTP:
case FILE:
case DIRECTORY:
case LOOP:
case SETTING:
case QUERY:
case STRING:
case NUMERIC:
case BOOLEAN:
case ANY:
case ARRAY:
case STRUCT:
case PRIVATE:
case PUBLIC:
case REMOTE:
case PACKAGE:
case REQUIRED:
case COMPONENT:
case LOG:
case APPLET:
case ASSOCIATE:
case AUTHENTICATE:
case CACHE:
case COL:
case COLLECTION:
case CONTENT:
case COOKIE:
case ERROR:
case EXECUTE:
case FORM:
case FTP:
case GRID:
case GRIDCOLUMN:
case GRIDROW:
case GRIDUPDATE:
case HEADER:
case HTMLHEAD:
case HTTPPARAM:
case CFHTTPPARAM:
case IMPERSONATE:
case INDEX:
case INPUT:
case INSERT:
case LDAP:
case LOCATION:
case MAIL:
case MAILPARAM:
case MODULE:
case OBJECT:
case OUTPUT:
case POP:
case PROCESSINGDIRECTIVE:
case PROCPARAM:
case PROCRESULT:
case QUERYPARAM:
case REGISTRY:
case REPORT:
case SCHEDULE:
case SCRIPT:
case SEARCH:
case SELECT:
case SERVLET:
case SERVLETPARAM:
case SET:
case SILENT:
case SLIDER:
case STOREDPROC:
case TABLE:
case TEXTINPUT:
case TREE:
case TREEITEM:
case UPDATE:
case WDDX:
case ZIP:
case CFCUSTOM_IDENTIFIER:
case IDENTIFIER:
{
setState(374);
((FunctionAttributeContext)_localctx).value = identifier();
}
break;
case BOOLEAN_LITERAL:
case OPEN_STRING:
case DOT:
case MINUS:
case LEFTPAREN:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
{
setState(375);
((FunctionAttributeContext)_localctx).valueString = constantExpression();
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(378);
((FunctionAttributeContext)_localctx).id = identifier();
setState(384);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EQUALSOP || _la==COLON) {
{
setState(379);
((FunctionAttributeContext)_localctx).op = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==EQUALSOP || _la==COLON) ) {
((FunctionAttributeContext)_localctx).op = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(382);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CONTAIN:
case TO:
case VAR:
case NEW:
case DEFAULT:
case INCLUDE:
case ABORT:
case ADMIN:
case THROW:
case RETHROW:
case EXIT:
case PARAM:
case PROPERTY:
case LOCK:
case THREAD:
case TRANSACTION:
case SAVECONTENT:
case HTTP:
case CFHTTP:
case FILE:
case DIRECTORY:
case LOOP:
case SETTING:
case QUERY:
case STRING:
case NUMERIC:
case BOOLEAN:
case ANY:
case ARRAY:
case STRUCT:
case PRIVATE:
case PUBLIC:
case REMOTE:
case PACKAGE:
case REQUIRED:
case COMPONENT:
case LOG:
case APPLET:
case ASSOCIATE:
case AUTHENTICATE:
case CACHE:
case COL:
case COLLECTION:
case CONTENT:
case COOKIE:
case ERROR:
case EXECUTE:
case FORM:
case FTP:
case GRID:
case GRIDCOLUMN:
case GRIDROW:
case GRIDUPDATE:
case HEADER:
case HTMLHEAD:
case HTTPPARAM:
case CFHTTPPARAM:
case IMPERSONATE:
case INDEX:
case INPUT:
case INSERT:
case LDAP:
case LOCATION:
case MAIL:
case MAILPARAM:
case MODULE:
case OBJECT:
case OUTPUT:
case POP:
case PROCESSINGDIRECTIVE:
case PROCPARAM:
case PROCRESULT:
case QUERYPARAM:
case REGISTRY:
case REPORT:
case SCHEDULE:
case SCRIPT:
case SEARCH:
case SELECT:
case SERVLET:
case SERVLETPARAM:
case SET:
case SILENT:
case SLIDER:
case STOREDPROC:
case TABLE:
case TEXTINPUT:
case TREE:
case TREEITEM:
case UPDATE:
case WDDX:
case ZIP:
case CFCUSTOM_IDENTIFIER:
case IDENTIFIER:
{
setState(380);
((FunctionAttributeContext)_localctx).value = identifier();
}
break;
case BOOLEAN_LITERAL:
case OPEN_STRING:
case DOT:
case MINUS:
case LEFTPAREN:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
{
setState(381);
((FunctionAttributeContext)_localctx).valueString = constantExpression();
}
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 IdentifierWithColonContext extends ParserRuleContext {
public List identifier() {
return getRuleContexts(IdentifierContext.class);
}
public IdentifierContext identifier(int i) {
return getRuleContext(IdentifierContext.class,i);
}
public TerminalNode COLON() { return getToken(CFSCRIPTParser.COLON, 0); }
public IdentifierWithColonContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_identifierWithColon; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterIdentifierWithColon(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitIdentifierWithColon(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitIdentifierWithColon(this);
else return visitor.visitChildren(this);
}
}
public final IdentifierWithColonContext identifierWithColon() throws RecognitionException {
IdentifierWithColonContext _localctx = new IdentifierWithColonContext(_ctx, getState());
enterRule(_localctx, 32, RULE_identifierWithColon);
try {
enterOuterAlt(_localctx, 1);
{
setState(388);
identifier();
setState(389);
match(COLON);
setState(390);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ParameterAttributeContext extends ParserRuleContext {
public IdentifierContext identifier() {
return getRuleContext(IdentifierContext.class,0);
}
public TerminalNode EQUALSOP() { return getToken(CFSCRIPTParser.EQUALSOP, 0); }
public StartExpressionContext startExpression() {
return getRuleContext(StartExpressionContext.class,0);
}
public ParameterAttributeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_parameterAttribute; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterParameterAttribute(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitParameterAttribute(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitParameterAttribute(this);
else return visitor.visitChildren(this);
}
}
public final ParameterAttributeContext parameterAttribute() throws RecognitionException {
ParameterAttributeContext _localctx = new ParameterAttributeContext(_ctx, getState());
enterRule(_localctx, 34, RULE_parameterAttribute);
try {
setState(397);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,31,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(392);
identifier();
setState(393);
match(EQUALSOP);
setState(394);
startExpression();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(396);
identifier();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CompoundStatementContext extends ParserRuleContext {
public TerminalNode LEFTCURLYBRACKET() { return getToken(CFSCRIPTParser.LEFTCURLYBRACKET, 0); }
public TerminalNode RIGHTCURLYBRACKET() { return getToken(CFSCRIPTParser.RIGHTCURLYBRACKET, 0); }
public List statement() {
return getRuleContexts(StatementContext.class);
}
public StatementContext statement(int i) {
return getRuleContext(StatementContext.class,i);
}
public CompoundStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_compoundStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterCompoundStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitCompoundStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitCompoundStatement(this);
else return visitor.visitChildren(this);
}
}
public final CompoundStatementContext compoundStatement() throws RecognitionException {
CompoundStatementContext _localctx = new CompoundStatementContext(_ctx, getState());
enterRule(_localctx, 36, RULE_compoundStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(399);
match(LEFTCURLYBRACKET);
setState(403);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN_LITERAL) | (1L << OPEN_STRING) | (1L << CONTAINS) | (1L << CONTAIN) | (1L << GT) | (1L << GTE) | (1L << LTE) | (1L << LT) | (1L << EQ) | (1L << NEQ) | (1L << OR) | (1L << TO) | (1L << IMP) | (1L << EQV) | (1L << XOR) | (1L << AND) | (1L << NOT) | (1L << MOD) | (1L << VAR) | (1L << NEW) | (1L << IF) | (1L << BREAK) | (1L << CONTINUE) | (1L << FUNCTION) | (1L << RETURN) | (1L << WHILE) | (1L << DO) | (1L << FOR) | (1L << TRY) | (1L << SWITCH) | (1L << DEFAULT) | (1L << DOT) | (1L << PLUS) | (1L << PLUSPLUS) | (1L << MINUS) | (1L << MINUSMINUS))) != 0) || ((((_la - 67)) & ~0x3f) == 0 && ((1L << (_la - 67)) & ((1L << (NOTNOTOP - 67)) | (1L << (NOTOP - 67)) | (1L << (SEMICOLON - 67)) | (1L << (LEFTBRACKET - 67)) | (1L << (LEFTPAREN - 67)) | (1L << (LEFTCURLYBRACKET - 67)) | (1L << (INCLUDE - 67)) | (1L << (IMPORT - 67)) | (1L << (ABORT - 67)) | (1L << (ADMIN - 67)) | (1L << (THROW - 67)) | (1L << (RETHROW - 67)) | (1L << (EXIT - 67)) | (1L << (PARAM - 67)) | (1L << (PROPERTY - 67)) | (1L << (LOCK - 67)) | (1L << (THREAD - 67)) | (1L << (TRANSACTION - 67)) | (1L << (SAVECONTENT - 67)) | (1L << (HTTP - 67)) | (1L << (CFHTTP - 67)) | (1L << (FILE - 67)) | (1L << (DIRECTORY - 67)) | (1L << (LOOP - 67)) | (1L << (SETTING - 67)) | (1L << (QUERY - 67)) | (1L << (STRING - 67)) | (1L << (NUMERIC - 67)) | (1L << (BOOLEAN - 67)) | (1L << (ANY - 67)) | (1L << (ARRAY - 67)) | (1L << (STRUCT - 67)) | (1L << (PRIVATE - 67)) | (1L << (PUBLIC - 67)) | (1L << (REMOTE - 67)) | (1L << (PACKAGE - 67)) | (1L << (REQUIRED - 67)) | (1L << (COMPONENT - 67)) | (1L << (LOG - 67)) | (1L << (APPLET - 67)) | (1L << (ASSOCIATE - 67)) | (1L << (AUTHENTICATE - 67)) | (1L << (CACHE - 67)) | (1L << (COL - 67)) | (1L << (COLLECTION - 67)) | (1L << (CONTENT - 67)) | (1L << (COOKIE - 67)) | (1L << (ERROR - 67)) | (1L << (EXECUTE - 67)) | (1L << (FORM - 67)) | (1L << (FTP - 67)) | (1L << (GRID - 67)) | (1L << (GRIDCOLUMN - 67)) | (1L << (GRIDROW - 67)) | (1L << (GRIDUPDATE - 67)) | (1L << (HEADER - 67)) | (1L << (HTMLHEAD - 67)) | (1L << (HTTPPARAM - 67)))) != 0) || ((((_la - 131)) & ~0x3f) == 0 && ((1L << (_la - 131)) & ((1L << (CFHTTPPARAM - 131)) | (1L << (IMPERSONATE - 131)) | (1L << (INDEX - 131)) | (1L << (INPUT - 131)) | (1L << (INSERT - 131)) | (1L << (LDAP - 131)) | (1L << (LOCATION - 131)) | (1L << (MAIL - 131)) | (1L << (MAILPARAM - 131)) | (1L << (MODULE - 131)) | (1L << (OBJECT - 131)) | (1L << (OUTPUT - 131)) | (1L << (POP - 131)) | (1L << (PROCESSINGDIRECTIVE - 131)) | (1L << (PROCPARAM - 131)) | (1L << (PROCRESULT - 131)) | (1L << (QUERYPARAM - 131)) | (1L << (REGISTRY - 131)) | (1L << (REPORT - 131)) | (1L << (SCHEDULE - 131)) | (1L << (SCRIPT - 131)) | (1L << (SEARCH - 131)) | (1L << (SELECT - 131)) | (1L << (SERVLET - 131)) | (1L << (SERVLETPARAM - 131)) | (1L << (SET - 131)) | (1L << (SILENT - 131)) | (1L << (SLIDER - 131)) | (1L << (STOREDPROC - 131)) | (1L << (TABLE - 131)) | (1L << (TEXTINPUT - 131)) | (1L << (TREE - 131)) | (1L << (TREEITEM - 131)) | (1L << (UPDATE - 131)) | (1L << (WDDX - 131)) | (1L << (ZIP - 131)) | (1L << (CFCUSTOM_IDENTIFIER - 131)) | (1L << (IDENTIFIER - 131)) | (1L << (INTEGER_LITERAL - 131)) | (1L << (POUND_SIGN - 131)) | (1L << (FLOATING_POINT_LITERAL - 131)))) != 0)) {
{
{
setState(400);
statement();
}
}
setState(405);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(406);
match(RIGHTCURLYBRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ComponentGutsContext extends ParserRuleContext {
public TerminalNode LEFTCURLYBRACKET() { return getToken(CFSCRIPTParser.LEFTCURLYBRACKET, 0); }
public TerminalNode RIGHTCURLYBRACKET() { return getToken(CFSCRIPTParser.RIGHTCURLYBRACKET, 0); }
public List element() {
return getRuleContexts(ElementContext.class);
}
public ElementContext element(int i) {
return getRuleContext(ElementContext.class,i);
}
public ComponentGutsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_componentGuts; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterComponentGuts(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitComponentGuts(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitComponentGuts(this);
else return visitor.visitChildren(this);
}
}
public final ComponentGutsContext componentGuts() throws RecognitionException {
ComponentGutsContext _localctx = new ComponentGutsContext(_ctx, getState());
enterRule(_localctx, 38, RULE_componentGuts);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(408);
match(LEFTCURLYBRACKET);
setState(412);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN_LITERAL) | (1L << OPEN_STRING) | (1L << CONTAINS) | (1L << CONTAIN) | (1L << GT) | (1L << GTE) | (1L << LTE) | (1L << LT) | (1L << EQ) | (1L << NEQ) | (1L << OR) | (1L << TO) | (1L << IMP) | (1L << EQV) | (1L << XOR) | (1L << AND) | (1L << NOT) | (1L << MOD) | (1L << VAR) | (1L << NEW) | (1L << IF) | (1L << BREAK) | (1L << CONTINUE) | (1L << FUNCTION) | (1L << RETURN) | (1L << WHILE) | (1L << DO) | (1L << FOR) | (1L << TRY) | (1L << SWITCH) | (1L << DEFAULT) | (1L << DOT) | (1L << PLUS) | (1L << PLUSPLUS) | (1L << MINUS) | (1L << MINUSMINUS))) != 0) || ((((_la - 67)) & ~0x3f) == 0 && ((1L << (_la - 67)) & ((1L << (NOTNOTOP - 67)) | (1L << (NOTOP - 67)) | (1L << (SEMICOLON - 67)) | (1L << (LEFTBRACKET - 67)) | (1L << (LEFTPAREN - 67)) | (1L << (LEFTCURLYBRACKET - 67)) | (1L << (INCLUDE - 67)) | (1L << (IMPORT - 67)) | (1L << (ABORT - 67)) | (1L << (ADMIN - 67)) | (1L << (THROW - 67)) | (1L << (RETHROW - 67)) | (1L << (EXIT - 67)) | (1L << (PARAM - 67)) | (1L << (PROPERTY - 67)) | (1L << (LOCK - 67)) | (1L << (THREAD - 67)) | (1L << (TRANSACTION - 67)) | (1L << (SAVECONTENT - 67)) | (1L << (HTTP - 67)) | (1L << (CFHTTP - 67)) | (1L << (FILE - 67)) | (1L << (DIRECTORY - 67)) | (1L << (LOOP - 67)) | (1L << (SETTING - 67)) | (1L << (QUERY - 67)) | (1L << (STRING - 67)) | (1L << (NUMERIC - 67)) | (1L << (BOOLEAN - 67)) | (1L << (ANY - 67)) | (1L << (ARRAY - 67)) | (1L << (STRUCT - 67)) | (1L << (PRIVATE - 67)) | (1L << (PUBLIC - 67)) | (1L << (REMOTE - 67)) | (1L << (PACKAGE - 67)) | (1L << (REQUIRED - 67)) | (1L << (COMPONENT - 67)) | (1L << (LOG - 67)) | (1L << (APPLET - 67)) | (1L << (ASSOCIATE - 67)) | (1L << (AUTHENTICATE - 67)) | (1L << (CACHE - 67)) | (1L << (COL - 67)) | (1L << (COLLECTION - 67)) | (1L << (CONTENT - 67)) | (1L << (COOKIE - 67)) | (1L << (ERROR - 67)) | (1L << (EXECUTE - 67)) | (1L << (FORM - 67)) | (1L << (FTP - 67)) | (1L << (GRID - 67)) | (1L << (GRIDCOLUMN - 67)) | (1L << (GRIDROW - 67)) | (1L << (GRIDUPDATE - 67)) | (1L << (HEADER - 67)) | (1L << (HTMLHEAD - 67)) | (1L << (HTTPPARAM - 67)))) != 0) || ((((_la - 131)) & ~0x3f) == 0 && ((1L << (_la - 131)) & ((1L << (CFHTTPPARAM - 131)) | (1L << (IMPERSONATE - 131)) | (1L << (INDEX - 131)) | (1L << (INPUT - 131)) | (1L << (INSERT - 131)) | (1L << (LDAP - 131)) | (1L << (LOCATION - 131)) | (1L << (MAIL - 131)) | (1L << (MAILPARAM - 131)) | (1L << (MODULE - 131)) | (1L << (OBJECT - 131)) | (1L << (OUTPUT - 131)) | (1L << (POP - 131)) | (1L << (PROCESSINGDIRECTIVE - 131)) | (1L << (PROCPARAM - 131)) | (1L << (PROCRESULT - 131)) | (1L << (QUERYPARAM - 131)) | (1L << (REGISTRY - 131)) | (1L << (REPORT - 131)) | (1L << (SCHEDULE - 131)) | (1L << (SCRIPT - 131)) | (1L << (SEARCH - 131)) | (1L << (SELECT - 131)) | (1L << (SERVLET - 131)) | (1L << (SERVLETPARAM - 131)) | (1L << (SET - 131)) | (1L << (SILENT - 131)) | (1L << (SLIDER - 131)) | (1L << (STOREDPROC - 131)) | (1L << (TABLE - 131)) | (1L << (TEXTINPUT - 131)) | (1L << (TREE - 131)) | (1L << (TREEITEM - 131)) | (1L << (UPDATE - 131)) | (1L << (WDDX - 131)) | (1L << (ZIP - 131)) | (1L << (CFCUSTOM_IDENTIFIER - 131)) | (1L << (IDENTIFIER - 131)) | (1L << (INTEGER_LITERAL - 131)) | (1L << (POUND_SIGN - 131)) | (1L << (FLOATING_POINT_LITERAL - 131)))) != 0)) {
{
{
setState(409);
element();
}
}
setState(414);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(415);
match(RIGHTCURLYBRACKET);
}
}
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 TryCatchStatementContext tryCatchStatement() {
return getRuleContext(TryCatchStatementContext.class,0);
}
public IfStatementContext ifStatement() {
return getRuleContext(IfStatementContext.class,0);
}
public WhileStatementContext whileStatement() {
return getRuleContext(WhileStatementContext.class,0);
}
public DoWhileStatementContext doWhileStatement() {
return getRuleContext(DoWhileStatementContext.class,0);
}
public ForStatementContext forStatement() {
return getRuleContext(ForStatementContext.class,0);
}
public SwitchStatementContext switchStatement() {
return getRuleContext(SwitchStatementContext.class,0);
}
public ContinueStatementContext continueStatement() {
return getRuleContext(ContinueStatementContext.class,0);
}
public EndOfStatementContext endOfStatement() {
return getRuleContext(EndOfStatementContext.class,0);
}
public BreakStatementContext breakStatement() {
return getRuleContext(BreakStatementContext.class,0);
}
public ReturnStatementContext returnStatement() {
return getRuleContext(ReturnStatementContext.class,0);
}
public TagOperatorStatementContext tagOperatorStatement() {
return getRuleContext(TagOperatorStatementContext.class,0);
}
public CompoundStatementContext compoundStatement() {
return getRuleContext(CompoundStatementContext.class,0);
}
public LocalAssignmentExpressionContext localAssignmentExpression() {
return getRuleContext(LocalAssignmentExpressionContext.class,0);
}
public AssignmentExpressionContext assignmentExpression() {
return getRuleContext(AssignmentExpressionContext.class,0);
}
public StartExpressionContext startExpression() {
return getRuleContext(StartExpressionContext.class,0);
}
public TerminalNode SEMICOLON() { return getToken(CFSCRIPTParser.SEMICOLON, 0); }
public FunctionCallContext functionCall() {
return getRuleContext(FunctionCallContext.class,0);
}
public StatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitStatement(this);
else return visitor.visitChildren(this);
}
}
public final StatementContext statement() throws RecognitionException {
StatementContext _localctx = new StatementContext(_ctx, getState());
enterRule(_localctx, 40, RULE_statement);
try {
setState(445);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,34,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(417);
tryCatchStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(418);
ifStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(419);
whileStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(420);
doWhileStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(421);
forStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(422);
switchStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(423);
continueStatement();
setState(424);
endOfStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(426);
breakStatement();
setState(427);
endOfStatement();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(429);
returnStatement();
setState(430);
endOfStatement();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(432);
tagOperatorStatement();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(433);
compoundStatement();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(434);
localAssignmentExpression();
setState(435);
endOfStatement();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(437);
assignmentExpression();
setState(438);
endOfStatement();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(440);
startExpression();
setState(441);
match(SEMICOLON);
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(443);
match(SEMICOLON);
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(444);
functionCall();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class EndOfStatementContext extends ParserRuleContext {
public Token semicolon;
public TerminalNode SEMICOLON() { return getToken(CFSCRIPTParser.SEMICOLON, 0); }
public EndOfStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_endOfStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterEndOfStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitEndOfStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitEndOfStatement(this);
else return visitor.visitChildren(this);
}
}
public final EndOfStatementContext endOfStatement() throws RecognitionException {
EndOfStatementContext _localctx = new EndOfStatementContext(_ctx, getState());
enterRule(_localctx, 42, RULE_endOfStatement);
try {
setState(452);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,36,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(447);
if (!(_input.get(_input.LT(-1).getTokenIndex()+1).getType()==NEWLINE)) throw new FailedPredicateException(this, "_input.get(_input.LT(-1).getTokenIndex()+1).getType()==NEWLINE");
setState(449);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,35,_ctx) ) {
case 1:
{
setState(448);
((EndOfStatementContext)_localctx).semicolon = match(SEMICOLON);
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(451);
((EndOfStatementContext)_localctx).semicolon = match(SEMICOLON);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class BreakStatementContext extends ParserRuleContext {
public TerminalNode BREAK() { return getToken(CFSCRIPTParser.BREAK, 0); }
public BreakStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_breakStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterBreakStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitBreakStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitBreakStatement(this);
else return visitor.visitChildren(this);
}
}
public final BreakStatementContext breakStatement() throws RecognitionException {
BreakStatementContext _localctx = new BreakStatementContext(_ctx, getState());
enterRule(_localctx, 44, RULE_breakStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(454);
match(BREAK);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ContinueStatementContext extends ParserRuleContext {
public TerminalNode CONTINUE() { return getToken(CFSCRIPTParser.CONTINUE, 0); }
public ContinueStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_continueStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterContinueStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitContinueStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitContinueStatement(this);
else return visitor.visitChildren(this);
}
}
public final ContinueStatementContext continueStatement() throws RecognitionException {
ContinueStatementContext _localctx = new ContinueStatementContext(_ctx, getState());
enterRule(_localctx, 46, RULE_continueStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(456);
match(CONTINUE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ConditionContext extends ParserRuleContext {
public TerminalNode LEFTPAREN() { return getToken(CFSCRIPTParser.LEFTPAREN, 0); }
public CompareExpressionContext compareExpression() {
return getRuleContext(CompareExpressionContext.class,0);
}
public TerminalNode RIGHTPAREN() { return getToken(CFSCRIPTParser.RIGHTPAREN, 0); }
public ConditionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_condition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterCondition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitCondition(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitCondition(this);
else return visitor.visitChildren(this);
}
}
public final ConditionContext condition() throws RecognitionException {
ConditionContext _localctx = new ConditionContext(_ctx, getState());
enterRule(_localctx, 48, RULE_condition);
try {
enterOuterAlt(_localctx, 1);
{
setState(458);
match(LEFTPAREN);
setState(459);
compareExpression();
setState(460);
match(RIGHTPAREN);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ReturnStatementContext extends ParserRuleContext {
public TerminalNode RETURN() { return getToken(CFSCRIPTParser.RETURN, 0); }
public StartExpressionContext startExpression() {
return getRuleContext(StartExpressionContext.class,0);
}
public AssignmentExpressionContext assignmentExpression() {
return getRuleContext(AssignmentExpressionContext.class,0);
}
public ReturnStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_returnStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterReturnStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitReturnStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitReturnStatement(this);
else return visitor.visitChildren(this);
}
}
public final ReturnStatementContext returnStatement() throws RecognitionException {
ReturnStatementContext _localctx = new ReturnStatementContext(_ctx, getState());
enterRule(_localctx, 50, RULE_returnStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(462);
match(RETURN);
setState(465);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,37,_ctx) ) {
case 1:
{
setState(463);
startExpression();
}
break;
case 2:
{
setState(464);
assignmentExpression();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IfStatementContext extends ParserRuleContext {
public TerminalNode IF() { return getToken(CFSCRIPTParser.IF, 0); }
public ConditionContext condition() {
return getRuleContext(ConditionContext.class,0);
}
public List statement() {
return getRuleContexts(StatementContext.class);
}
public StatementContext statement(int i) {
return getRuleContext(StatementContext.class,i);
}
public TerminalNode ELSE() { return getToken(CFSCRIPTParser.ELSE, 0); }
public IfStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_ifStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterIfStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitIfStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitIfStatement(this);
else return visitor.visitChildren(this);
}
}
public final IfStatementContext ifStatement() throws RecognitionException {
IfStatementContext _localctx = new IfStatementContext(_ctx, getState());
enterRule(_localctx, 52, RULE_ifStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(467);
match(IF);
setState(468);
condition();
setState(469);
statement();
setState(472);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,38,_ctx) ) {
case 1:
{
setState(470);
match(ELSE);
setState(471);
statement();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class WhileStatementContext extends ParserRuleContext {
public TerminalNode WHILE() { return getToken(CFSCRIPTParser.WHILE, 0); }
public ConditionContext condition() {
return getRuleContext(ConditionContext.class,0);
}
public StatementContext statement() {
return getRuleContext(StatementContext.class,0);
}
public WhileStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_whileStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterWhileStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitWhileStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitWhileStatement(this);
else return visitor.visitChildren(this);
}
}
public final WhileStatementContext whileStatement() throws RecognitionException {
WhileStatementContext _localctx = new WhileStatementContext(_ctx, getState());
enterRule(_localctx, 54, RULE_whileStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(474);
match(WHILE);
setState(475);
condition();
setState(476);
statement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DoWhileStatementContext extends ParserRuleContext {
public TerminalNode DO() { return getToken(CFSCRIPTParser.DO, 0); }
public StatementContext statement() {
return getRuleContext(StatementContext.class,0);
}
public TerminalNode WHILE() { return getToken(CFSCRIPTParser.WHILE, 0); }
public ConditionContext condition() {
return getRuleContext(ConditionContext.class,0);
}
public EndOfStatementContext endOfStatement() {
return getRuleContext(EndOfStatementContext.class,0);
}
public DoWhileStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_doWhileStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterDoWhileStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitDoWhileStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitDoWhileStatement(this);
else return visitor.visitChildren(this);
}
}
public final DoWhileStatementContext doWhileStatement() throws RecognitionException {
DoWhileStatementContext _localctx = new DoWhileStatementContext(_ctx, getState());
enterRule(_localctx, 56, RULE_doWhileStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(478);
match(DO);
setState(479);
statement();
setState(480);
match(WHILE);
setState(481);
condition();
setState(482);
endOfStatement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ForStatementContext extends ParserRuleContext {
public AssignmentExpressionContext initExpression;
public StartExpressionContext condExpression;
public StartExpressionContext incrExpression;
public AssignmentExpressionContext incrExpression2;
public StartExpressionContext inExpr;
public TerminalNode FOR() { return getToken(CFSCRIPTParser.FOR, 0); }
public TerminalNode LEFTPAREN() { return getToken(CFSCRIPTParser.LEFTPAREN, 0); }
public List endOfStatement() {
return getRuleContexts(EndOfStatementContext.class);
}
public EndOfStatementContext endOfStatement(int i) {
return getRuleContext(EndOfStatementContext.class,i);
}
public TerminalNode RIGHTPAREN() { return getToken(CFSCRIPTParser.RIGHTPAREN, 0); }
public StatementContext statement() {
return getRuleContext(StatementContext.class,0);
}
public LocalAssignmentExpressionContext localAssignmentExpression() {
return getRuleContext(LocalAssignmentExpressionContext.class,0);
}
public List assignmentExpression() {
return getRuleContexts(AssignmentExpressionContext.class);
}
public AssignmentExpressionContext assignmentExpression(int i) {
return getRuleContext(AssignmentExpressionContext.class,i);
}
public List startExpression() {
return getRuleContexts(StartExpressionContext.class);
}
public StartExpressionContext startExpression(int i) {
return getRuleContext(StartExpressionContext.class,i);
}
public ForInKeyContext forInKey() {
return getRuleContext(ForInKeyContext.class,0);
}
public TerminalNode IN() { return getToken(CFSCRIPTParser.IN, 0); }
public ForStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_forStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterForStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitForStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitForStatement(this);
else return visitor.visitChildren(this);
}
}
public final ForStatementContext forStatement() throws RecognitionException {
ForStatementContext _localctx = new ForStatementContext(_ctx, getState());
enterRule(_localctx, 58, RULE_forStatement);
try {
setState(510);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,42,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(484);
match(FOR);
setState(485);
match(LEFTPAREN);
setState(488);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,39,_ctx) ) {
case 1:
{
setState(486);
localAssignmentExpression();
}
break;
case 2:
{
setState(487);
((ForStatementContext)_localctx).initExpression = assignmentExpression();
}
break;
}
setState(490);
endOfStatement();
setState(492);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) {
case 1:
{
setState(491);
((ForStatementContext)_localctx).condExpression = startExpression();
}
break;
}
setState(494);
endOfStatement();
setState(497);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,41,_ctx) ) {
case 1:
{
setState(495);
((ForStatementContext)_localctx).incrExpression = startExpression();
}
break;
case 2:
{
setState(496);
((ForStatementContext)_localctx).incrExpression2 = assignmentExpression();
}
break;
}
setState(499);
match(RIGHTPAREN);
setState(500);
statement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(502);
match(FOR);
setState(503);
match(LEFTPAREN);
setState(504);
forInKey();
setState(505);
match(IN);
setState(506);
((ForStatementContext)_localctx).inExpr = startExpression();
setState(507);
match(RIGHTPAREN);
setState(508);
statement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class StartExpressionContext extends ParserRuleContext {
public CompareExpressionContext compareExpression() {
return getRuleContext(CompareExpressionContext.class,0);
}
public StartExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_startExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterStartExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitStartExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitStartExpression(this);
else return visitor.visitChildren(this);
}
}
public final StartExpressionContext startExpression() throws RecognitionException {
StartExpressionContext _localctx = new StartExpressionContext(_ctx, getState());
enterRule(_localctx, 60, RULE_startExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(512);
compareExpression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class BaseOrTernaryExpressionContext extends ParserRuleContext {
public CompareExpressionContext compareExpression() {
return getRuleContext(CompareExpressionContext.class,0);
}
public BaseOrTernaryExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_baseOrTernaryExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterBaseOrTernaryExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitBaseOrTernaryExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitBaseOrTernaryExpression(this);
else return visitor.visitChildren(this);
}
}
public final BaseOrTernaryExpressionContext baseOrTernaryExpression() throws RecognitionException {
BaseOrTernaryExpressionContext _localctx = new BaseOrTernaryExpressionContext(_ctx, getState());
enterRule(_localctx, 62, RULE_baseOrTernaryExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(514);
compareExpression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ForInKeyContext extends ParserRuleContext {
public MultipartIdentifierContext multipartIdentifier() {
return getRuleContext(MultipartIdentifierContext.class,0);
}
public TerminalNode VAR() { return getToken(CFSCRIPTParser.VAR, 0); }
public ForInKeyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_forInKey; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterForInKey(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitForInKey(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitForInKey(this);
else return visitor.visitChildren(this);
}
}
public final ForInKeyContext forInKey() throws RecognitionException {
ForInKeyContext _localctx = new ForInKeyContext(_ctx, getState());
enterRule(_localctx, 64, RULE_forInKey);
try {
enterOuterAlt(_localctx, 1);
{
setState(517);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,43,_ctx) ) {
case 1:
{
setState(516);
match(VAR);
}
break;
}
setState(519);
multipartIdentifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TryCatchStatementContext extends ParserRuleContext {
public TerminalNode TRY() { return getToken(CFSCRIPTParser.TRY, 0); }
public StatementContext statement() {
return getRuleContext(StatementContext.class,0);
}
public List catchCondition() {
return getRuleContexts(CatchConditionContext.class);
}
public CatchConditionContext catchCondition(int i) {
return getRuleContext(CatchConditionContext.class,i);
}
public FinallyStatementContext finallyStatement() {
return getRuleContext(FinallyStatementContext.class,0);
}
public TryCatchStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tryCatchStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterTryCatchStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitTryCatchStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitTryCatchStatement(this);
else return visitor.visitChildren(this);
}
}
public final TryCatchStatementContext tryCatchStatement() throws RecognitionException {
TryCatchStatementContext _localctx = new TryCatchStatementContext(_ctx, getState());
enterRule(_localctx, 66, RULE_tryCatchStatement);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(521);
match(TRY);
setState(522);
statement();
setState(526);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,44,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(523);
catchCondition();
}
}
}
setState(528);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,44,_ctx);
}
setState(530);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,45,_ctx) ) {
case 1:
{
setState(529);
finallyStatement();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CatchConditionContext extends ParserRuleContext {
public TerminalNode CATCH() { return getToken(CFSCRIPTParser.CATCH, 0); }
public TerminalNode LEFTPAREN() { return getToken(CFSCRIPTParser.LEFTPAREN, 0); }
public IdentifierContext identifier() {
return getRuleContext(IdentifierContext.class,0);
}
public TerminalNode RIGHTPAREN() { return getToken(CFSCRIPTParser.RIGHTPAREN, 0); }
public CompoundStatementContext compoundStatement() {
return getRuleContext(CompoundStatementContext.class,0);
}
public TypeSpecContext typeSpec() {
return getRuleContext(TypeSpecContext.class,0);
}
public CatchConditionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_catchCondition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterCatchCondition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitCatchCondition(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitCatchCondition(this);
else return visitor.visitChildren(this);
}
}
public final CatchConditionContext catchCondition() throws RecognitionException {
CatchConditionContext _localctx = new CatchConditionContext(_ctx, getState());
enterRule(_localctx, 68, RULE_catchCondition);
try {
enterOuterAlt(_localctx, 1);
{
setState(532);
match(CATCH);
setState(533);
match(LEFTPAREN);
setState(535);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,46,_ctx) ) {
case 1:
{
setState(534);
typeSpec();
}
break;
}
setState(537);
identifier();
setState(538);
match(RIGHTPAREN);
setState(539);
compoundStatement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class FinallyStatementContext extends ParserRuleContext {
public TerminalNode FINALLY() { return getToken(CFSCRIPTParser.FINALLY, 0); }
public CompoundStatementContext compoundStatement() {
return getRuleContext(CompoundStatementContext.class,0);
}
public FinallyStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_finallyStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterFinallyStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitFinallyStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitFinallyStatement(this);
else return visitor.visitChildren(this);
}
}
public final FinallyStatementContext finallyStatement() throws RecognitionException {
FinallyStatementContext _localctx = new FinallyStatementContext(_ctx, getState());
enterRule(_localctx, 70, RULE_finallyStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(541);
match(FINALLY);
setState(542);
compoundStatement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ConstantExpressionContext extends ParserRuleContext {
public TerminalNode LEFTPAREN() { return getToken(CFSCRIPTParser.LEFTPAREN, 0); }
public ConstantExpressionContext constantExpression() {
return getRuleContext(ConstantExpressionContext.class,0);
}
public TerminalNode RIGHTPAREN() { return getToken(CFSCRIPTParser.RIGHTPAREN, 0); }
public TerminalNode INTEGER_LITERAL() { return getToken(CFSCRIPTParser.INTEGER_LITERAL, 0); }
public FloatingPointExpressionContext floatingPointExpression() {
return getRuleContext(FloatingPointExpressionContext.class,0);
}
public TerminalNode MINUS() { return getToken(CFSCRIPTParser.MINUS, 0); }
public StringLiteralContext stringLiteral() {
return getRuleContext(StringLiteralContext.class,0);
}
public TerminalNode BOOLEAN_LITERAL() { return getToken(CFSCRIPTParser.BOOLEAN_LITERAL, 0); }
public ConstantExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_constantExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterConstantExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitConstantExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitConstantExpression(this);
else return visitor.visitChildren(this);
}
}
public final ConstantExpressionContext constantExpression() throws RecognitionException {
ConstantExpressionContext _localctx = new ConstantExpressionContext(_ctx, getState());
enterRule(_localctx, 72, RULE_constantExpression);
int _la;
try {
setState(557);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LEFTPAREN:
enterOuterAlt(_localctx, 1);
{
setState(544);
match(LEFTPAREN);
setState(545);
constantExpression();
setState(546);
match(RIGHTPAREN);
}
break;
case DOT:
case MINUS:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
enterOuterAlt(_localctx, 2);
{
setState(549);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MINUS) {
{
setState(548);
match(MINUS);
}
}
setState(553);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,48,_ctx) ) {
case 1:
{
setState(551);
match(INTEGER_LITERAL);
}
break;
case 2:
{
setState(552);
floatingPointExpression();
}
break;
}
}
break;
case OPEN_STRING:
enterOuterAlt(_localctx, 3);
{
setState(555);
stringLiteral();
}
break;
case BOOLEAN_LITERAL:
enterOuterAlt(_localctx, 4);
{
setState(556);
match(BOOLEAN_LITERAL);
}
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 SwitchStatementContext extends ParserRuleContext {
public TerminalNode SWITCH() { return getToken(CFSCRIPTParser.SWITCH, 0); }
public ConditionContext condition() {
return getRuleContext(ConditionContext.class,0);
}
public TerminalNode LEFTCURLYBRACKET() { return getToken(CFSCRIPTParser.LEFTCURLYBRACKET, 0); }
public TerminalNode RIGHTCURLYBRACKET() { return getToken(CFSCRIPTParser.RIGHTCURLYBRACKET, 0); }
public List caseStatement() {
return getRuleContexts(CaseStatementContext.class);
}
public CaseStatementContext caseStatement(int i) {
return getRuleContext(CaseStatementContext.class,i);
}
public SwitchStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_switchStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterSwitchStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitSwitchStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitSwitchStatement(this);
else return visitor.visitChildren(this);
}
}
public final SwitchStatementContext switchStatement() throws RecognitionException {
SwitchStatementContext _localctx = new SwitchStatementContext(_ctx, getState());
enterRule(_localctx, 74, RULE_switchStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(559);
match(SWITCH);
setState(560);
condition();
setState(561);
match(LEFTCURLYBRACKET);
setState(565);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==CASE || _la==DEFAULT) {
{
{
setState(562);
caseStatement();
}
}
setState(567);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(568);
match(RIGHTCURLYBRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CaseStatementContext extends ParserRuleContext {
public TerminalNode CASE() { return getToken(CFSCRIPTParser.CASE, 0); }
public TerminalNode COLON() { return getToken(CFSCRIPTParser.COLON, 0); }
public ConstantExpressionContext constantExpression() {
return getRuleContext(ConstantExpressionContext.class,0);
}
public MemberExpressionContext memberExpression() {
return getRuleContext(MemberExpressionContext.class,0);
}
public List statement() {
return getRuleContexts(StatementContext.class);
}
public StatementContext statement(int i) {
return getRuleContext(StatementContext.class,i);
}
public TerminalNode DEFAULT() { return getToken(CFSCRIPTParser.DEFAULT, 0); }
public CaseStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_caseStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterCaseStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitCaseStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitCaseStatement(this);
else return visitor.visitChildren(this);
}
}
public final CaseStatementContext caseStatement() throws RecognitionException {
CaseStatementContext _localctx = new CaseStatementContext(_ctx, getState());
enterRule(_localctx, 76, RULE_caseStatement);
try {
int _alt;
setState(590);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CASE:
enterOuterAlt(_localctx, 1);
{
{
setState(570);
match(CASE);
setState(573);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,51,_ctx) ) {
case 1:
{
setState(571);
constantExpression();
}
break;
case 2:
{
setState(572);
memberExpression();
}
break;
}
setState(575);
match(COLON);
setState(579);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,52,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(576);
statement();
}
}
}
setState(581);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,52,_ctx);
}
}
}
break;
case DEFAULT:
enterOuterAlt(_localctx, 2);
{
{
setState(582);
match(DEFAULT);
setState(583);
match(COLON);
setState(587);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,53,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(584);
statement();
}
}
}
setState(589);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,53,_ctx);
}
}
}
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 TagOperatorStatementContext extends ParserRuleContext {
public IncludeStatementContext includeStatement() {
return getRuleContext(IncludeStatementContext.class,0);
}
public ImportStatementContext importStatement() {
return getRuleContext(ImportStatementContext.class,0);
}
public AbortStatementContext abortStatement() {
return getRuleContext(AbortStatementContext.class,0);
}
public AdminStatementContext adminStatement() {
return getRuleContext(AdminStatementContext.class,0);
}
public ThrowStatementContext throwStatement() {
return getRuleContext(ThrowStatementContext.class,0);
}
public RethrowStatmentContext rethrowStatment() {
return getRuleContext(RethrowStatmentContext.class,0);
}
public ExitStatementContext exitStatement() {
return getRuleContext(ExitStatementContext.class,0);
}
public ParamStatementContext paramStatement() {
return getRuleContext(ParamStatementContext.class,0);
}
public PropertyStatementContext propertyStatement() {
return getRuleContext(PropertyStatementContext.class,0);
}
public LockStatementContext lockStatement() {
return getRuleContext(LockStatementContext.class,0);
}
public ThreadStatementContext threadStatement() {
return getRuleContext(ThreadStatementContext.class,0);
}
public TransactionStatementContext transactionStatement() {
return getRuleContext(TransactionStatementContext.class,0);
}
public CfmlfunctionStatementContext cfmlfunctionStatement() {
return getRuleContext(CfmlfunctionStatementContext.class,0);
}
public TagFunctionStatementContext tagFunctionStatement() {
return getRuleContext(TagFunctionStatementContext.class,0);
}
public TagOperatorStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tagOperatorStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterTagOperatorStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitTagOperatorStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitTagOperatorStatement(this);
else return visitor.visitChildren(this);
}
}
public final TagOperatorStatementContext tagOperatorStatement() throws RecognitionException {
TagOperatorStatementContext _localctx = new TagOperatorStatementContext(_ctx, getState());
enterRule(_localctx, 78, RULE_tagOperatorStatement);
try {
setState(606);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,55,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(592);
includeStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(593);
importStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(594);
abortStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(595);
adminStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(596);
throwStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(597);
rethrowStatment();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(598);
exitStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(599);
paramStatement();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(600);
propertyStatement();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(601);
lockStatement();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(602);
threadStatement();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(603);
transactionStatement();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(604);
cfmlfunctionStatement();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(605);
tagFunctionStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class RethrowStatmentContext extends ParserRuleContext {
public Token lc;
public EndOfStatementContext endOfStatement() {
return getRuleContext(EndOfStatementContext.class,0);
}
public TerminalNode RETHROW() { return getToken(CFSCRIPTParser.RETHROW, 0); }
public RethrowStatmentContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_rethrowStatment; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterRethrowStatment(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitRethrowStatment(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitRethrowStatment(this);
else return visitor.visitChildren(this);
}
}
public final RethrowStatmentContext rethrowStatment() throws RecognitionException {
RethrowStatmentContext _localctx = new RethrowStatmentContext(_ctx, getState());
enterRule(_localctx, 80, RULE_rethrowStatment);
try {
enterOuterAlt(_localctx, 1);
{
setState(608);
((RethrowStatmentContext)_localctx).lc = match(RETHROW);
setState(609);
endOfStatement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IncludeStatementContext extends ParserRuleContext {
public Token lc;
public BaseExpressionContext baseExpression() {
return getRuleContext(BaseExpressionContext.class,0);
}
public TerminalNode SEMICOLON() { return getToken(CFSCRIPTParser.SEMICOLON, 0); }
public TerminalNode INCLUDE() { return getToken(CFSCRIPTParser.INCLUDE, 0); }
public ParamStatementAttributesContext paramStatementAttributes() {
return getRuleContext(ParamStatementAttributesContext.class,0);
}
public IncludeStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_includeStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterIncludeStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitIncludeStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitIncludeStatement(this);
else return visitor.visitChildren(this);
}
}
public final IncludeStatementContext includeStatement() throws RecognitionException {
IncludeStatementContext _localctx = new IncludeStatementContext(_ctx, getState());
enterRule(_localctx, 82, RULE_includeStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(611);
((IncludeStatementContext)_localctx).lc = match(INCLUDE);
setState(612);
baseExpression(0);
setState(614);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CONTAIN) | (1L << TO) | (1L << VAR) | (1L << NEW) | (1L << DEFAULT))) != 0) || ((((_la - 79)) & ~0x3f) == 0 && ((1L << (_la - 79)) & ((1L << (INCLUDE - 79)) | (1L << (ABORT - 79)) | (1L << (ADMIN - 79)) | (1L << (THROW - 79)) | (1L << (RETHROW - 79)) | (1L << (EXIT - 79)) | (1L << (PARAM - 79)) | (1L << (PROPERTY - 79)) | (1L << (LOCK - 79)) | (1L << (THREAD - 79)) | (1L << (TRANSACTION - 79)) | (1L << (SAVECONTENT - 79)) | (1L << (HTTP - 79)) | (1L << (CFHTTP - 79)) | (1L << (FILE - 79)) | (1L << (DIRECTORY - 79)) | (1L << (LOOP - 79)) | (1L << (SETTING - 79)) | (1L << (QUERY - 79)) | (1L << (STRING - 79)) | (1L << (NUMERIC - 79)) | (1L << (BOOLEAN - 79)) | (1L << (ANY - 79)) | (1L << (ARRAY - 79)) | (1L << (STRUCT - 79)) | (1L << (PRIVATE - 79)) | (1L << (PUBLIC - 79)) | (1L << (REMOTE - 79)) | (1L << (PACKAGE - 79)) | (1L << (REQUIRED - 79)) | (1L << (COMPONENT - 79)) | (1L << (LOG - 79)) | (1L << (APPLET - 79)) | (1L << (ASSOCIATE - 79)) | (1L << (AUTHENTICATE - 79)) | (1L << (CACHE - 79)) | (1L << (COL - 79)) | (1L << (COLLECTION - 79)) | (1L << (CONTENT - 79)) | (1L << (COOKIE - 79)) | (1L << (ERROR - 79)) | (1L << (EXECUTE - 79)) | (1L << (FORM - 79)) | (1L << (FTP - 79)) | (1L << (GRID - 79)) | (1L << (GRIDCOLUMN - 79)) | (1L << (GRIDROW - 79)) | (1L << (GRIDUPDATE - 79)) | (1L << (HEADER - 79)) | (1L << (HTMLHEAD - 79)) | (1L << (HTTPPARAM - 79)) | (1L << (CFHTTPPARAM - 79)) | (1L << (IMPERSONATE - 79)) | (1L << (INDEX - 79)) | (1L << (INPUT - 79)) | (1L << (INSERT - 79)) | (1L << (LDAP - 79)) | (1L << (LOCATION - 79)) | (1L << (MAIL - 79)) | (1L << (MAILPARAM - 79)) | (1L << (MODULE - 79)) | (1L << (OBJECT - 79)) | (1L << (OUTPUT - 79)))) != 0) || ((((_la - 143)) & ~0x3f) == 0 && ((1L << (_la - 143)) & ((1L << (POP - 143)) | (1L << (PROCESSINGDIRECTIVE - 143)) | (1L << (PROCPARAM - 143)) | (1L << (PROCRESULT - 143)) | (1L << (QUERYPARAM - 143)) | (1L << (REGISTRY - 143)) | (1L << (REPORT - 143)) | (1L << (SCHEDULE - 143)) | (1L << (SCRIPT - 143)) | (1L << (SEARCH - 143)) | (1L << (SELECT - 143)) | (1L << (SERVLET - 143)) | (1L << (SERVLETPARAM - 143)) | (1L << (SET - 143)) | (1L << (SILENT - 143)) | (1L << (SLIDER - 143)) | (1L << (STOREDPROC - 143)) | (1L << (TABLE - 143)) | (1L << (TEXTINPUT - 143)) | (1L << (TREE - 143)) | (1L << (TREEITEM - 143)) | (1L << (UPDATE - 143)) | (1L << (WDDX - 143)) | (1L << (ZIP - 143)) | (1L << (CFCUSTOM_IDENTIFIER - 143)) | (1L << (IDENTIFIER - 143)))) != 0)) {
{
setState(613);
paramStatementAttributes();
}
}
setState(616);
match(SEMICOLON);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ImportStatementContext extends ParserRuleContext {
public Token lc;
public Token all;
public ComponentPathContext componentPath() {
return getRuleContext(ComponentPathContext.class,0);
}
public EndOfStatementContext endOfStatement() {
return getRuleContext(EndOfStatementContext.class,0);
}
public TerminalNode IMPORT() { return getToken(CFSCRIPTParser.IMPORT, 0); }
public TerminalNode DOT() { return getToken(CFSCRIPTParser.DOT, 0); }
public TerminalNode STAR() { return getToken(CFSCRIPTParser.STAR, 0); }
public ImportStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_importStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterImportStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitImportStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitImportStatement(this);
else return visitor.visitChildren(this);
}
}
public final ImportStatementContext importStatement() throws RecognitionException {
ImportStatementContext _localctx = new ImportStatementContext(_ctx, getState());
enterRule(_localctx, 84, RULE_importStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(618);
((ImportStatementContext)_localctx).lc = match(IMPORT);
setState(619);
componentPath();
setState(622);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,57,_ctx) ) {
case 1:
{
setState(620);
match(DOT);
setState(621);
((ImportStatementContext)_localctx).all = match(STAR);
}
break;
}
setState(624);
endOfStatement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TransactionStatementContext extends ParserRuleContext {
public Token lc;
public TerminalNode TRANSACTION() { return getToken(CFSCRIPTParser.TRANSACTION, 0); }
public ParamStatementAttributesContext paramStatementAttributes() {
return getRuleContext(ParamStatementAttributesContext.class,0);
}
public CompoundStatementContext compoundStatement() {
return getRuleContext(CompoundStatementContext.class,0);
}
public TransactionStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_transactionStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterTransactionStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitTransactionStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitTransactionStatement(this);
else return visitor.visitChildren(this);
}
}
public final TransactionStatementContext transactionStatement() throws RecognitionException {
TransactionStatementContext _localctx = new TransactionStatementContext(_ctx, getState());
enterRule(_localctx, 86, RULE_transactionStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(626);
((TransactionStatementContext)_localctx).lc = match(TRANSACTION);
setState(628);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,58,_ctx) ) {
case 1:
{
setState(627);
paramStatementAttributes();
}
break;
}
setState(631);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,59,_ctx) ) {
case 1:
{
setState(630);
compoundStatement();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CfmlfunctionStatementContext extends ParserRuleContext {
public CfmlFunctionContext cfmlFunction() {
return getRuleContext(CfmlFunctionContext.class,0);
}
public CompoundStatementContext compoundStatement() {
return getRuleContext(CompoundStatementContext.class,0);
}
public TerminalNode SEMICOLON() { return getToken(CFSCRIPTParser.SEMICOLON, 0); }
public ParamStatementAttributesContext paramStatementAttributes() {
return getRuleContext(ParamStatementAttributesContext.class,0);
}
public CfmlfunctionStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_cfmlfunctionStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterCfmlfunctionStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitCfmlfunctionStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitCfmlfunctionStatement(this);
else return visitor.visitChildren(this);
}
}
public final CfmlfunctionStatementContext cfmlfunctionStatement() throws RecognitionException {
CfmlfunctionStatementContext _localctx = new CfmlfunctionStatementContext(_ctx, getState());
enterRule(_localctx, 88, RULE_cfmlfunctionStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(633);
cfmlFunction();
setState(635);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CONTAIN) | (1L << TO) | (1L << VAR) | (1L << NEW) | (1L << DEFAULT))) != 0) || ((((_la - 79)) & ~0x3f) == 0 && ((1L << (_la - 79)) & ((1L << (INCLUDE - 79)) | (1L << (ABORT - 79)) | (1L << (ADMIN - 79)) | (1L << (THROW - 79)) | (1L << (RETHROW - 79)) | (1L << (EXIT - 79)) | (1L << (PARAM - 79)) | (1L << (PROPERTY - 79)) | (1L << (LOCK - 79)) | (1L << (THREAD - 79)) | (1L << (TRANSACTION - 79)) | (1L << (SAVECONTENT - 79)) | (1L << (HTTP - 79)) | (1L << (CFHTTP - 79)) | (1L << (FILE - 79)) | (1L << (DIRECTORY - 79)) | (1L << (LOOP - 79)) | (1L << (SETTING - 79)) | (1L << (QUERY - 79)) | (1L << (STRING - 79)) | (1L << (NUMERIC - 79)) | (1L << (BOOLEAN - 79)) | (1L << (ANY - 79)) | (1L << (ARRAY - 79)) | (1L << (STRUCT - 79)) | (1L << (PRIVATE - 79)) | (1L << (PUBLIC - 79)) | (1L << (REMOTE - 79)) | (1L << (PACKAGE - 79)) | (1L << (REQUIRED - 79)) | (1L << (COMPONENT - 79)) | (1L << (LOG - 79)) | (1L << (APPLET - 79)) | (1L << (ASSOCIATE - 79)) | (1L << (AUTHENTICATE - 79)) | (1L << (CACHE - 79)) | (1L << (COL - 79)) | (1L << (COLLECTION - 79)) | (1L << (CONTENT - 79)) | (1L << (COOKIE - 79)) | (1L << (ERROR - 79)) | (1L << (EXECUTE - 79)) | (1L << (FORM - 79)) | (1L << (FTP - 79)) | (1L << (GRID - 79)) | (1L << (GRIDCOLUMN - 79)) | (1L << (GRIDROW - 79)) | (1L << (GRIDUPDATE - 79)) | (1L << (HEADER - 79)) | (1L << (HTMLHEAD - 79)) | (1L << (HTTPPARAM - 79)) | (1L << (CFHTTPPARAM - 79)) | (1L << (IMPERSONATE - 79)) | (1L << (INDEX - 79)) | (1L << (INPUT - 79)) | (1L << (INSERT - 79)) | (1L << (LDAP - 79)) | (1L << (LOCATION - 79)) | (1L << (MAIL - 79)) | (1L << (MAILPARAM - 79)) | (1L << (MODULE - 79)) | (1L << (OBJECT - 79)) | (1L << (OUTPUT - 79)))) != 0) || ((((_la - 143)) & ~0x3f) == 0 && ((1L << (_la - 143)) & ((1L << (POP - 143)) | (1L << (PROCESSINGDIRECTIVE - 143)) | (1L << (PROCPARAM - 143)) | (1L << (PROCRESULT - 143)) | (1L << (QUERYPARAM - 143)) | (1L << (REGISTRY - 143)) | (1L << (REPORT - 143)) | (1L << (SCHEDULE - 143)) | (1L << (SCRIPT - 143)) | (1L << (SEARCH - 143)) | (1L << (SELECT - 143)) | (1L << (SERVLET - 143)) | (1L << (SERVLETPARAM - 143)) | (1L << (SET - 143)) | (1L << (SILENT - 143)) | (1L << (SLIDER - 143)) | (1L << (STOREDPROC - 143)) | (1L << (TABLE - 143)) | (1L << (TEXTINPUT - 143)) | (1L << (TREE - 143)) | (1L << (TREEITEM - 143)) | (1L << (UPDATE - 143)) | (1L << (WDDX - 143)) | (1L << (ZIP - 143)) | (1L << (CFCUSTOM_IDENTIFIER - 143)) | (1L << (IDENTIFIER - 143)))) != 0)) {
{
setState(634);
paramStatementAttributes();
}
}
setState(639);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LEFTCURLYBRACKET:
{
setState(637);
compoundStatement();
}
break;
case SEMICOLON:
{
setState(638);
match(SEMICOLON);
}
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 TagFunctionStatementContext extends ParserRuleContext {
public CfmlFunctionContext cfmlFunction() {
return getRuleContext(CfmlFunctionContext.class,0);
}
public TerminalNode LEFTPAREN() { return getToken(CFSCRIPTParser.LEFTPAREN, 0); }
public ParameterListContext parameterList() {
return getRuleContext(ParameterListContext.class,0);
}
public TerminalNode RIGHTPAREN() { return getToken(CFSCRIPTParser.RIGHTPAREN, 0); }
public CompoundStatementContext compoundStatement() {
return getRuleContext(CompoundStatementContext.class,0);
}
public TerminalNode SEMICOLON() { return getToken(CFSCRIPTParser.SEMICOLON, 0); }
public TagFunctionStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tagFunctionStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterTagFunctionStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitTagFunctionStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitTagFunctionStatement(this);
else return visitor.visitChildren(this);
}
}
public final TagFunctionStatementContext tagFunctionStatement() throws RecognitionException {
TagFunctionStatementContext _localctx = new TagFunctionStatementContext(_ctx, getState());
enterRule(_localctx, 90, RULE_tagFunctionStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(641);
cfmlFunction();
setState(646);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,62,_ctx) ) {
case 1:
{
setState(642);
match(LEFTPAREN);
setState(643);
parameterList();
setState(644);
match(RIGHTPAREN);
}
break;
}
setState(650);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,63,_ctx) ) {
case 1:
{
setState(648);
compoundStatement();
}
break;
case 2:
{
setState(649);
match(SEMICOLON);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CfmlFunctionContext extends ParserRuleContext {
public TerminalNode SAVECONTENT() { return getToken(CFSCRIPTParser.SAVECONTENT, 0); }
public TerminalNode FILE() { return getToken(CFSCRIPTParser.FILE, 0); }
public TerminalNode PROPERTY() { return getToken(CFSCRIPTParser.PROPERTY, 0); }
public TerminalNode DIRECTORY() { return getToken(CFSCRIPTParser.DIRECTORY, 0); }
public TerminalNode LOOP() { return getToken(CFSCRIPTParser.LOOP, 0); }
public TerminalNode SETTING() { return getToken(CFSCRIPTParser.SETTING, 0); }
public TerminalNode QUERY() { return getToken(CFSCRIPTParser.QUERY, 0); }
public TerminalNode LOG() { return getToken(CFSCRIPTParser.LOG, 0); }
public TerminalNode APPLET() { return getToken(CFSCRIPTParser.APPLET, 0); }
public TerminalNode ASSOCIATE() { return getToken(CFSCRIPTParser.ASSOCIATE, 0); }
public TerminalNode AUTHENTICATE() { return getToken(CFSCRIPTParser.AUTHENTICATE, 0); }
public TerminalNode CACHE() { return getToken(CFSCRIPTParser.CACHE, 0); }
public TerminalNode COL() { return getToken(CFSCRIPTParser.COL, 0); }
public TerminalNode COLLECTION() { return getToken(CFSCRIPTParser.COLLECTION, 0); }
public TerminalNode CONTENT() { return getToken(CFSCRIPTParser.CONTENT, 0); }
public TerminalNode COOKIE() { return getToken(CFSCRIPTParser.COOKIE, 0); }
public TerminalNode ERROR() { return getToken(CFSCRIPTParser.ERROR, 0); }
public TerminalNode EXECUTE() { return getToken(CFSCRIPTParser.EXECUTE, 0); }
public TerminalNode FORM() { return getToken(CFSCRIPTParser.FORM, 0); }
public TerminalNode FTP() { return getToken(CFSCRIPTParser.FTP, 0); }
public TerminalNode GRID() { return getToken(CFSCRIPTParser.GRID, 0); }
public TerminalNode GRIDCOLUMN() { return getToken(CFSCRIPTParser.GRIDCOLUMN, 0); }
public TerminalNode GRIDROW() { return getToken(CFSCRIPTParser.GRIDROW, 0); }
public TerminalNode GRIDUPDATE() { return getToken(CFSCRIPTParser.GRIDUPDATE, 0); }
public TerminalNode HEADER() { return getToken(CFSCRIPTParser.HEADER, 0); }
public TerminalNode HTMLHEAD() { return getToken(CFSCRIPTParser.HTMLHEAD, 0); }
public TerminalNode HTTP() { return getToken(CFSCRIPTParser.HTTP, 0); }
public TerminalNode CFHTTP() { return getToken(CFSCRIPTParser.CFHTTP, 0); }
public TerminalNode HTTPPARAM() { return getToken(CFSCRIPTParser.HTTPPARAM, 0); }
public TerminalNode CFHTTPPARAM() { return getToken(CFSCRIPTParser.CFHTTPPARAM, 0); }
public TerminalNode IMPERSONATE() { return getToken(CFSCRIPTParser.IMPERSONATE, 0); }
public TerminalNode INDEX() { return getToken(CFSCRIPTParser.INDEX, 0); }
public TerminalNode INPUT() { return getToken(CFSCRIPTParser.INPUT, 0); }
public TerminalNode INSERT() { return getToken(CFSCRIPTParser.INSERT, 0); }
public TerminalNode LDAP() { return getToken(CFSCRIPTParser.LDAP, 0); }
public TerminalNode LOCATION() { return getToken(CFSCRIPTParser.LOCATION, 0); }
public TerminalNode MAIL() { return getToken(CFSCRIPTParser.MAIL, 0); }
public TerminalNode MAILPARAM() { return getToken(CFSCRIPTParser.MAILPARAM, 0); }
public TerminalNode MODULE() { return getToken(CFSCRIPTParser.MODULE, 0); }
public TerminalNode OBJECT() { return getToken(CFSCRIPTParser.OBJECT, 0); }
public TerminalNode OUTPUT() { return getToken(CFSCRIPTParser.OUTPUT, 0); }
public TerminalNode POP() { return getToken(CFSCRIPTParser.POP, 0); }
public TerminalNode PROCESSINGDIRECTIVE() { return getToken(CFSCRIPTParser.PROCESSINGDIRECTIVE, 0); }
public TerminalNode PROCPARAM() { return getToken(CFSCRIPTParser.PROCPARAM, 0); }
public TerminalNode PROCRESULT() { return getToken(CFSCRIPTParser.PROCRESULT, 0); }
public TerminalNode QUERYPARAM() { return getToken(CFSCRIPTParser.QUERYPARAM, 0); }
public TerminalNode REGISTRY() { return getToken(CFSCRIPTParser.REGISTRY, 0); }
public TerminalNode REPORT() { return getToken(CFSCRIPTParser.REPORT, 0); }
public TerminalNode SCHEDULE() { return getToken(CFSCRIPTParser.SCHEDULE, 0); }
public TerminalNode SCRIPT() { return getToken(CFSCRIPTParser.SCRIPT, 0); }
public TerminalNode SEARCH() { return getToken(CFSCRIPTParser.SEARCH, 0); }
public TerminalNode SELECT() { return getToken(CFSCRIPTParser.SELECT, 0); }
public TerminalNode SERVLET() { return getToken(CFSCRIPTParser.SERVLET, 0); }
public TerminalNode SERVLETPARAM() { return getToken(CFSCRIPTParser.SERVLETPARAM, 0); }
public TerminalNode SET() { return getToken(CFSCRIPTParser.SET, 0); }
public TerminalNode SILENT() { return getToken(CFSCRIPTParser.SILENT, 0); }
public TerminalNode SLIDER() { return getToken(CFSCRIPTParser.SLIDER, 0); }
public TerminalNode STOREDPROC() { return getToken(CFSCRIPTParser.STOREDPROC, 0); }
public TerminalNode TABLE() { return getToken(CFSCRIPTParser.TABLE, 0); }
public TerminalNode TEXTINPUT() { return getToken(CFSCRIPTParser.TEXTINPUT, 0); }
public TerminalNode TREE() { return getToken(CFSCRIPTParser.TREE, 0); }
public TerminalNode TREEITEM() { return getToken(CFSCRIPTParser.TREEITEM, 0); }
public TerminalNode UPDATE() { return getToken(CFSCRIPTParser.UPDATE, 0); }
public TerminalNode WDDX() { return getToken(CFSCRIPTParser.WDDX, 0); }
public TerminalNode ZIP() { return getToken(CFSCRIPTParser.ZIP, 0); }
public TerminalNode CFCUSTOM_IDENTIFIER() { return getToken(CFSCRIPTParser.CFCUSTOM_IDENTIFIER, 0); }
public CfmlFunctionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_cfmlFunction; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterCfmlFunction(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitCfmlFunction(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitCfmlFunction(this);
else return visitor.visitChildren(this);
}
}
public final CfmlFunctionContext cfmlFunction() throws RecognitionException {
CfmlFunctionContext _localctx = new CfmlFunctionContext(_ctx, getState());
enterRule(_localctx, 92, RULE_cfmlFunction);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(652);
_la = _input.LA(1);
if ( !(((((_la - 87)) & ~0x3f) == 0 && ((1L << (_la - 87)) & ((1L << (PROPERTY - 87)) | (1L << (SAVECONTENT - 87)) | (1L << (HTTP - 87)) | (1L << (CFHTTP - 87)) | (1L << (FILE - 87)) | (1L << (DIRECTORY - 87)) | (1L << (LOOP - 87)) | (1L << (SETTING - 87)) | (1L << (QUERY - 87)) | (1L << (LOG - 87)) | (1L << (APPLET - 87)) | (1L << (ASSOCIATE - 87)) | (1L << (AUTHENTICATE - 87)) | (1L << (CACHE - 87)) | (1L << (COL - 87)) | (1L << (COLLECTION - 87)) | (1L << (CONTENT - 87)) | (1L << (COOKIE - 87)) | (1L << (ERROR - 87)) | (1L << (EXECUTE - 87)) | (1L << (FORM - 87)) | (1L << (FTP - 87)) | (1L << (GRID - 87)) | (1L << (GRIDCOLUMN - 87)) | (1L << (GRIDROW - 87)) | (1L << (GRIDUPDATE - 87)) | (1L << (HEADER - 87)) | (1L << (HTMLHEAD - 87)) | (1L << (HTTPPARAM - 87)) | (1L << (CFHTTPPARAM - 87)) | (1L << (IMPERSONATE - 87)) | (1L << (INDEX - 87)) | (1L << (INPUT - 87)) | (1L << (INSERT - 87)) | (1L << (LDAP - 87)) | (1L << (LOCATION - 87)) | (1L << (MAIL - 87)) | (1L << (MAILPARAM - 87)) | (1L << (MODULE - 87)) | (1L << (OBJECT - 87)) | (1L << (OUTPUT - 87)) | (1L << (POP - 87)) | (1L << (PROCESSINGDIRECTIVE - 87)) | (1L << (PROCPARAM - 87)) | (1L << (PROCRESULT - 87)) | (1L << (QUERYPARAM - 87)) | (1L << (REGISTRY - 87)) | (1L << (REPORT - 87)) | (1L << (SCHEDULE - 87)))) != 0) || ((((_la - 151)) & ~0x3f) == 0 && ((1L << (_la - 151)) & ((1L << (SCRIPT - 151)) | (1L << (SEARCH - 151)) | (1L << (SELECT - 151)) | (1L << (SERVLET - 151)) | (1L << (SERVLETPARAM - 151)) | (1L << (SET - 151)) | (1L << (SILENT - 151)) | (1L << (SLIDER - 151)) | (1L << (STOREDPROC - 151)) | (1L << (TABLE - 151)) | (1L << (TEXTINPUT - 151)) | (1L << (TREE - 151)) | (1L << (TREEITEM - 151)) | (1L << (UPDATE - 151)) | (1L << (WDDX - 151)) | (1L << (ZIP - 151)) | (1L << (CFCUSTOM_IDENTIFIER - 151)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LockStatementContext extends ParserRuleContext {
public Token lc;
public ParamStatementAttributesContext p;
public CompoundStatementContext cs;
public TerminalNode LOCK() { return getToken(CFSCRIPTParser.LOCK, 0); }
public ParamStatementAttributesContext paramStatementAttributes() {
return getRuleContext(ParamStatementAttributesContext.class,0);
}
public CompoundStatementContext compoundStatement() {
return getRuleContext(CompoundStatementContext.class,0);
}
public LockStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_lockStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterLockStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitLockStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitLockStatement(this);
else return visitor.visitChildren(this);
}
}
public final LockStatementContext lockStatement() throws RecognitionException {
LockStatementContext _localctx = new LockStatementContext(_ctx, getState());
enterRule(_localctx, 94, RULE_lockStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(654);
((LockStatementContext)_localctx).lc = match(LOCK);
setState(655);
((LockStatementContext)_localctx).p = paramStatementAttributes();
setState(656);
((LockStatementContext)_localctx).cs = compoundStatement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ThreadStatementContext extends ParserRuleContext {
public Token lc;
public ParamStatementAttributesContext p;
public TerminalNode THREAD() { return getToken(CFSCRIPTParser.THREAD, 0); }
public ParamStatementAttributesContext paramStatementAttributes() {
return getRuleContext(ParamStatementAttributesContext.class,0);
}
public CompoundStatementContext compoundStatement() {
return getRuleContext(CompoundStatementContext.class,0);
}
public TerminalNode SEMICOLON() { return getToken(CFSCRIPTParser.SEMICOLON, 0); }
public ThreadStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_threadStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterThreadStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitThreadStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitThreadStatement(this);
else return visitor.visitChildren(this);
}
}
public final ThreadStatementContext threadStatement() throws RecognitionException {
ThreadStatementContext _localctx = new ThreadStatementContext(_ctx, getState());
enterRule(_localctx, 96, RULE_threadStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(658);
((ThreadStatementContext)_localctx).lc = match(THREAD);
setState(659);
((ThreadStatementContext)_localctx).p = paramStatementAttributes();
setState(662);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LEFTCURLYBRACKET:
{
setState(660);
compoundStatement();
}
break;
case SEMICOLON:
{
setState(661);
match(SEMICOLON);
}
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 AbortStatementContext extends ParserRuleContext {
public Token lc;
public EndOfStatementContext endOfStatement() {
return getRuleContext(EndOfStatementContext.class,0);
}
public TerminalNode ABORT() { return getToken(CFSCRIPTParser.ABORT, 0); }
public MemberExpressionContext memberExpression() {
return getRuleContext(MemberExpressionContext.class,0);
}
public AbortStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_abortStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterAbortStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitAbortStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitAbortStatement(this);
else return visitor.visitChildren(this);
}
}
public final AbortStatementContext abortStatement() throws RecognitionException {
AbortStatementContext _localctx = new AbortStatementContext(_ctx, getState());
enterRule(_localctx, 98, RULE_abortStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(664);
((AbortStatementContext)_localctx).lc = match(ABORT);
setState(666);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,65,_ctx) ) {
case 1:
{
setState(665);
memberExpression();
}
break;
}
setState(668);
endOfStatement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AdminStatementContext extends ParserRuleContext {
public Token lc;
public ParamStatementAttributesContext p;
public EndOfStatementContext endOfStatement() {
return getRuleContext(EndOfStatementContext.class,0);
}
public TerminalNode ADMIN() { return getToken(CFSCRIPTParser.ADMIN, 0); }
public ParamStatementAttributesContext paramStatementAttributes() {
return getRuleContext(ParamStatementAttributesContext.class,0);
}
public AdminStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_adminStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterAdminStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitAdminStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitAdminStatement(this);
else return visitor.visitChildren(this);
}
}
public final AdminStatementContext adminStatement() throws RecognitionException {
AdminStatementContext _localctx = new AdminStatementContext(_ctx, getState());
enterRule(_localctx, 100, RULE_adminStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(670);
((AdminStatementContext)_localctx).lc = match(ADMIN);
setState(671);
((AdminStatementContext)_localctx).p = paramStatementAttributes();
setState(672);
endOfStatement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ThrowStatementContext extends ParserRuleContext {
public Token lc;
public EndOfStatementContext endOfStatement() {
return getRuleContext(EndOfStatementContext.class,0);
}
public TerminalNode THROW() { return getToken(CFSCRIPTParser.THROW, 0); }
public StringLiteralContext stringLiteral() {
return getRuleContext(StringLiteralContext.class,0);
}
public MemberExpressionContext memberExpression() {
return getRuleContext(MemberExpressionContext.class,0);
}
public ThrowStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_throwStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterThrowStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitThrowStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitThrowStatement(this);
else return visitor.visitChildren(this);
}
}
public final ThrowStatementContext throwStatement() throws RecognitionException {
ThrowStatementContext _localctx = new ThrowStatementContext(_ctx, getState());
enterRule(_localctx, 102, RULE_throwStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(674);
((ThrowStatementContext)_localctx).lc = match(THROW);
setState(677);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,66,_ctx) ) {
case 1:
{
setState(675);
stringLiteral();
}
break;
case 2:
{
setState(676);
memberExpression();
}
break;
}
setState(679);
endOfStatement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ExitStatementContext extends ParserRuleContext {
public Token lc;
public EndOfStatementContext endOfStatement() {
return getRuleContext(EndOfStatementContext.class,0);
}
public TerminalNode EXIT() { return getToken(CFSCRIPTParser.EXIT, 0); }
public MemberExpressionContext memberExpression() {
return getRuleContext(MemberExpressionContext.class,0);
}
public ExitStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_exitStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterExitStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitExitStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitExitStatement(this);
else return visitor.visitChildren(this);
}
}
public final ExitStatementContext exitStatement() throws RecognitionException {
ExitStatementContext _localctx = new ExitStatementContext(_ctx, getState());
enterRule(_localctx, 104, RULE_exitStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(681);
((ExitStatementContext)_localctx).lc = match(EXIT);
setState(683);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,67,_ctx) ) {
case 1:
{
setState(682);
memberExpression();
}
break;
}
setState(685);
endOfStatement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ParamStatementContext extends ParserRuleContext {
public Token lc;
public TerminalNode SEMICOLON() { return getToken(CFSCRIPTParser.SEMICOLON, 0); }
public TerminalNode PARAM() { return getToken(CFSCRIPTParser.PARAM, 0); }
public ParamStatementAttributesContext paramStatementAttributes() {
return getRuleContext(ParamStatementAttributesContext.class,0);
}
public ParamExpressionContext paramExpression() {
return getRuleContext(ParamExpressionContext.class,0);
}
public ParamStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_paramStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterParamStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitParamStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitParamStatement(this);
else return visitor.visitChildren(this);
}
}
public final ParamStatementContext paramStatement() throws RecognitionException {
ParamStatementContext _localctx = new ParamStatementContext(_ctx, getState());
enterRule(_localctx, 106, RULE_paramStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(687);
((ParamStatementContext)_localctx).lc = match(PARAM);
setState(690);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,68,_ctx) ) {
case 1:
{
setState(688);
paramStatementAttributes();
}
break;
case 2:
{
setState(689);
paramExpression();
}
break;
}
setState(692);
match(SEMICOLON);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ParamExpressionContext extends ParserRuleContext {
public MultipartIdentifierContext multipartIdentifier() {
return getRuleContext(MultipartIdentifierContext.class,0);
}
public TerminalNode EQUALSOP() { return getToken(CFSCRIPTParser.EQUALSOP, 0); }
public StartExpressionContext startExpression() {
return getRuleContext(StartExpressionContext.class,0);
}
public TypeContext type() {
return getRuleContext(TypeContext.class,0);
}
public ParamExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_paramExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterParamExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitParamExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitParamExpression(this);
else return visitor.visitChildren(this);
}
}
public final ParamExpressionContext paramExpression() throws RecognitionException {
ParamExpressionContext _localctx = new ParamExpressionContext(_ctx, getState());
enterRule(_localctx, 108, RULE_paramExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(695);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,69,_ctx) ) {
case 1:
{
setState(694);
type();
}
break;
}
setState(697);
multipartIdentifier();
setState(698);
match(EQUALSOP);
setState(699);
startExpression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PropertyStatementContext extends ParserRuleContext {
public Token lc;
public MultipartIdentifierContext name;
public ParamStatementAttributesContext paramStatementAttributes() {
return getRuleContext(ParamStatementAttributesContext.class,0);
}
public EndOfStatementContext endOfStatement() {
return getRuleContext(EndOfStatementContext.class,0);
}
public TerminalNode PROPERTY() { return getToken(CFSCRIPTParser.PROPERTY, 0); }
public MultipartIdentifierContext multipartIdentifier() {
return getRuleContext(MultipartIdentifierContext.class,0);
}
public TypeSpecContext typeSpec() {
return getRuleContext(TypeSpecContext.class,0);
}
public PropertyStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_propertyStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterPropertyStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitPropertyStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitPropertyStatement(this);
else return visitor.visitChildren(this);
}
}
public final PropertyStatementContext propertyStatement() throws RecognitionException {
PropertyStatementContext _localctx = new PropertyStatementContext(_ctx, getState());
enterRule(_localctx, 110, RULE_propertyStatement);
try {
setState(712);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,71,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(701);
((PropertyStatementContext)_localctx).lc = match(PROPERTY);
setState(702);
paramStatementAttributes();
setState(703);
endOfStatement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(705);
((PropertyStatementContext)_localctx).lc = match(PROPERTY);
setState(707);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,70,_ctx) ) {
case 1:
{
setState(706);
typeSpec();
}
break;
}
setState(709);
((PropertyStatementContext)_localctx).name = multipartIdentifier();
setState(710);
endOfStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ParamStatementAttributesContext extends ParserRuleContext {
public List param() {
return getRuleContexts(ParamContext.class);
}
public ParamContext param(int i) {
return getRuleContext(ParamContext.class,i);
}
public ParamStatementAttributesContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_paramStatementAttributes; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterParamStatementAttributes(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitParamStatementAttributes(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitParamStatementAttributes(this);
else return visitor.visitChildren(this);
}
}
public final ParamStatementAttributesContext paramStatementAttributes() throws RecognitionException {
ParamStatementAttributesContext _localctx = new ParamStatementAttributesContext(_ctx, getState());
enterRule(_localctx, 112, RULE_paramStatementAttributes);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(715);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(714);
param();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(717);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,72,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ParamContext extends ParserRuleContext {
public MultipartIdentifierContext i;
public TerminalNode EQUALSOP() { return getToken(CFSCRIPTParser.EQUALSOP, 0); }
public StartExpressionContext startExpression() {
return getRuleContext(StartExpressionContext.class,0);
}
public MultipartIdentifierContext multipartIdentifier() {
return getRuleContext(MultipartIdentifierContext.class,0);
}
public ParamContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_param; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterParam(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitParam(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitParam(this);
else return visitor.visitChildren(this);
}
}
public final ParamContext param() throws RecognitionException {
ParamContext _localctx = new ParamContext(_ctx, getState());
enterRule(_localctx, 114, RULE_param);
try {
enterOuterAlt(_localctx, 1);
{
setState(719);
((ParamContext)_localctx).i = multipartIdentifier();
setState(720);
match(EQUALSOP);
setState(721);
startExpression();
}
}
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 LocalAssignmentExpressionContext localAssignmentExpression() {
return getRuleContext(LocalAssignmentExpressionContext.class,0);
}
public TerminalNode EOF() { return getToken(CFSCRIPTParser.EOF, 0); }
public AssignmentExpressionContext assignmentExpression() {
return getRuleContext(AssignmentExpressionContext.class,0);
}
public StartExpressionContext startExpression() {
return getRuleContext(StartExpressionContext.class,0);
}
public ExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitExpression(this);
else return visitor.visitChildren(this);
}
}
public final ExpressionContext expression() throws RecognitionException {
ExpressionContext _localctx = new ExpressionContext(_ctx, getState());
enterRule(_localctx, 116, RULE_expression);
try {
setState(732);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,73,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(723);
localAssignmentExpression();
setState(724);
match(EOF);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(726);
assignmentExpression();
setState(727);
match(EOF);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(729);
startExpression();
setState(730);
match(EOF);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LocalAssignmentExpressionContext extends ParserRuleContext {
public StartExpressionContext left;
public StartExpressionContext right;
public TerminalNode VAR() { return getToken(CFSCRIPTParser.VAR, 0); }
public List startExpression() {
return getRuleContexts(StartExpressionContext.class);
}
public StartExpressionContext startExpression(int i) {
return getRuleContext(StartExpressionContext.class,i);
}
public List EQUALSOP() { return getTokens(CFSCRIPTParser.EQUALSOP); }
public TerminalNode EQUALSOP(int i) {
return getToken(CFSCRIPTParser.EQUALSOP, i);
}
public List otherIdentifiers() {
return getRuleContexts(OtherIdentifiersContext.class);
}
public OtherIdentifiersContext otherIdentifiers(int i) {
return getRuleContext(OtherIdentifiersContext.class,i);
}
public LocalAssignmentExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_localAssignmentExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterLocalAssignmentExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitLocalAssignmentExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitLocalAssignmentExpression(this);
else return visitor.visitChildren(this);
}
}
public final LocalAssignmentExpressionContext localAssignmentExpression() throws RecognitionException {
LocalAssignmentExpressionContext _localctx = new LocalAssignmentExpressionContext(_ctx, getState());
enterRule(_localctx, 118, RULE_localAssignmentExpression);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(734);
match(VAR);
setState(735);
((LocalAssignmentExpressionContext)_localctx).left = startExpression();
setState(745);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,75,_ctx) ) {
case 1:
{
setState(740);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,74,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(736);
match(EQUALSOP);
setState(737);
otherIdentifiers();
}
}
}
setState(742);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,74,_ctx);
}
setState(743);
match(EQUALSOP);
setState(744);
((LocalAssignmentExpressionContext)_localctx).right = startExpression();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class OtherIdentifiersContext extends ParserRuleContext {
public IdentifierContext otherid;
public IdentifierContext identifier() {
return getRuleContext(IdentifierContext.class,0);
}
public TerminalNode VAR() { return getToken(CFSCRIPTParser.VAR, 0); }
public OtherIdentifiersContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_otherIdentifiers; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterOtherIdentifiers(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitOtherIdentifiers(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitOtherIdentifiers(this);
else return visitor.visitChildren(this);
}
}
public final OtherIdentifiersContext otherIdentifiers() throws RecognitionException {
OtherIdentifiersContext _localctx = new OtherIdentifiersContext(_ctx, getState());
enterRule(_localctx, 120, RULE_otherIdentifiers);
try {
enterOuterAlt(_localctx, 1);
{
setState(748);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,76,_ctx) ) {
case 1:
{
setState(747);
match(VAR);
}
break;
}
setState(750);
((OtherIdentifiersContext)_localctx).otherid = identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AssignmentExpressionContext extends ParserRuleContext {
public StartExpressionContext left;
public StartExpressionContext right;
public List startExpression() {
return getRuleContexts(StartExpressionContext.class);
}
public StartExpressionContext startExpression(int i) {
return getRuleContext(StartExpressionContext.class,i);
}
public TerminalNode PLUSEQUALS() { return getToken(CFSCRIPTParser.PLUSEQUALS, 0); }
public TerminalNode MINUSEQUALS() { return getToken(CFSCRIPTParser.MINUSEQUALS, 0); }
public TerminalNode STAREQUALS() { return getToken(CFSCRIPTParser.STAREQUALS, 0); }
public TerminalNode SLASHEQUALS() { return getToken(CFSCRIPTParser.SLASHEQUALS, 0); }
public TerminalNode MODEQUALS() { return getToken(CFSCRIPTParser.MODEQUALS, 0); }
public TerminalNode CONCATEQUALS() { return getToken(CFSCRIPTParser.CONCATEQUALS, 0); }
public List EQUALSOP() { return getTokens(CFSCRIPTParser.EQUALSOP); }
public TerminalNode EQUALSOP(int i) {
return getToken(CFSCRIPTParser.EQUALSOP, i);
}
public List identifier() {
return getRuleContexts(IdentifierContext.class);
}
public IdentifierContext identifier(int i) {
return getRuleContext(IdentifierContext.class,i);
}
public AssignmentExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_assignmentExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterAssignmentExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitAssignmentExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitAssignmentExpression(this);
else return visitor.visitChildren(this);
}
}
public final AssignmentExpressionContext assignmentExpression() throws RecognitionException {
AssignmentExpressionContext _localctx = new AssignmentExpressionContext(_ctx, getState());
enterRule(_localctx, 122, RULE_assignmentExpression);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(752);
((AssignmentExpressionContext)_localctx).left = startExpression();
{
setState(768);
_errHandler.sync(this);
switch (_input.LA(1)) {
case EQUALSOP:
{
{
setState(753);
match(EQUALSOP);
setState(759);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,77,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(754);
identifier();
setState(755);
match(EQUALSOP);
}
}
}
setState(761);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,77,_ctx);
}
}
}
break;
case PLUSEQUALS:
{
setState(762);
match(PLUSEQUALS);
}
break;
case MINUSEQUALS:
{
setState(763);
match(MINUSEQUALS);
}
break;
case STAREQUALS:
{
setState(764);
match(STAREQUALS);
}
break;
case SLASHEQUALS:
{
setState(765);
match(SLASHEQUALS);
}
break;
case MODEQUALS:
{
setState(766);
match(MODEQUALS);
}
break;
case CONCATEQUALS:
{
setState(767);
match(CONCATEQUALS);
}
break;
default:
throw new NoViableAltException(this);
}
setState(770);
((AssignmentExpressionContext)_localctx).right = startExpression();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TernaryExpressionContext extends ParserRuleContext {
public StartExpressionContext ternaryExpression1;
public StartExpressionContext ternaryExpression2;
public TerminalNode QUESTIONMARK() { return getToken(CFSCRIPTParser.QUESTIONMARK, 0); }
public TerminalNode COLON() { return getToken(CFSCRIPTParser.COLON, 0); }
public List startExpression() {
return getRuleContexts(StartExpressionContext.class);
}
public StartExpressionContext startExpression(int i) {
return getRuleContext(StartExpressionContext.class,i);
}
public TernaryExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_ternaryExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterTernaryExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitTernaryExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitTernaryExpression(this);
else return visitor.visitChildren(this);
}
}
public final TernaryExpressionContext ternaryExpression() throws RecognitionException {
TernaryExpressionContext _localctx = new TernaryExpressionContext(_ctx, getState());
enterRule(_localctx, 124, RULE_ternaryExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(772);
match(QUESTIONMARK);
setState(773);
((TernaryExpressionContext)_localctx).ternaryExpression1 = startExpression();
setState(774);
match(COLON);
setState(775);
((TernaryExpressionContext)_localctx).ternaryExpression2 = startExpression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class BaseExpressionContext extends ParserRuleContext {
public NotExpressionContext notExpression() {
return getRuleContext(NotExpressionContext.class,0);
}
public NotNotExpressionContext notNotExpression() {
return getRuleContext(NotNotExpressionContext.class,0);
}
public ConcatenationExpressionContext concatenationExpression() {
return getRuleContext(ConcatenationExpressionContext.class,0);
}
public AdditiveExpressionContext additiveExpression() {
return getRuleContext(AdditiveExpressionContext.class,0);
}
public ModExpressionContext modExpression() {
return getRuleContext(ModExpressionContext.class,0);
}
public IntDivisionExpressionContext intDivisionExpression() {
return getRuleContext(IntDivisionExpressionContext.class,0);
}
public MultiplicativeExpressionContext multiplicativeExpression() {
return getRuleContext(MultiplicativeExpressionContext.class,0);
}
public PowerOfExpressionContext powerOfExpression() {
return getRuleContext(PowerOfExpressionContext.class,0);
}
public ElvisExpressionContext elvisExpression() {
return getRuleContext(ElvisExpressionContext.class,0);
}
public AnonymousFunctionDeclarationContext anonymousFunctionDeclaration() {
return getRuleContext(AnonymousFunctionDeclarationContext.class,0);
}
public UnaryExpressionContext unaryExpression() {
return getRuleContext(UnaryExpressionContext.class,0);
}
public BaseExpressionContext baseExpression() {
return getRuleContext(BaseExpressionContext.class,0);
}
public TernaryExpressionContext ternaryExpression() {
return getRuleContext(TernaryExpressionContext.class,0);
}
public BaseExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_baseExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterBaseExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitBaseExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitBaseExpression(this);
else return visitor.visitChildren(this);
}
}
public final BaseExpressionContext baseExpression() throws RecognitionException {
return baseExpression(0);
}
private BaseExpressionContext baseExpression(int _p) throws RecognitionException {
ParserRuleContext _parentctx = _ctx;
int _parentState = getState();
BaseExpressionContext _localctx = new BaseExpressionContext(_ctx, _parentState);
BaseExpressionContext _prevctx = _localctx;
int _startState = 126;
enterRecursionRule(_localctx, 126, RULE_baseExpression, _p);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(789);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,79,_ctx) ) {
case 1:
{
setState(778);
notExpression();
}
break;
case 2:
{
setState(779);
notNotExpression();
}
break;
case 3:
{
setState(780);
concatenationExpression();
}
break;
case 4:
{
setState(781);
additiveExpression();
}
break;
case 5:
{
setState(782);
modExpression();
}
break;
case 6:
{
setState(783);
intDivisionExpression();
}
break;
case 7:
{
setState(784);
multiplicativeExpression();
}
break;
case 8:
{
setState(785);
powerOfExpression();
}
break;
case 9:
{
setState(786);
elvisExpression();
}
break;
case 10:
{
setState(787);
anonymousFunctionDeclaration();
}
break;
case 11:
{
setState(788);
unaryExpression(0);
}
break;
}
_ctx.stop = _input.LT(-1);
setState(795);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,80,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
{
_localctx = new BaseExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_baseExpression);
setState(791);
if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
setState(792);
ternaryExpression();
}
}
}
setState(797);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,80,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
unrollRecursionContexts(_parentctx);
}
return _localctx;
}
public static class ElvisExpressionContext extends ParserRuleContext {
public UnaryExpressionContext unaryExpression() {
return getRuleContext(UnaryExpressionContext.class,0);
}
public TerminalNode QUESTIONMARK() { return getToken(CFSCRIPTParser.QUESTIONMARK, 0); }
public TerminalNode COLON() { return getToken(CFSCRIPTParser.COLON, 0); }
public BaseExpressionContext baseExpression() {
return getRuleContext(BaseExpressionContext.class,0);
}
public ElvisExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_elvisExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterElvisExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitElvisExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitElvisExpression(this);
else return visitor.visitChildren(this);
}
}
public final ElvisExpressionContext elvisExpression() throws RecognitionException {
ElvisExpressionContext _localctx = new ElvisExpressionContext(_ctx, getState());
enterRule(_localctx, 128, RULE_elvisExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(798);
unaryExpression(0);
setState(799);
match(QUESTIONMARK);
setState(800);
match(COLON);
setState(801);
baseExpression(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CompareExpressionContext extends ParserRuleContext {
public BaseExpressionContext left;
public CompareExpressionOperatorContext operator;
public CompareExpressionContext right;
public BaseExpressionContext baseExpression() {
return getRuleContext(BaseExpressionContext.class,0);
}
public CompareExpressionOperatorContext compareExpressionOperator() {
return getRuleContext(CompareExpressionOperatorContext.class,0);
}
public CompareExpressionContext compareExpression() {
return getRuleContext(CompareExpressionContext.class,0);
}
public CompareExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_compareExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterCompareExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitCompareExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitCompareExpression(this);
else return visitor.visitChildren(this);
}
}
public final CompareExpressionContext compareExpression() throws RecognitionException {
CompareExpressionContext _localctx = new CompareExpressionContext(_ctx, getState());
enterRule(_localctx, 130, RULE_compareExpression);
try {
enterOuterAlt(_localctx, 1);
{
{
setState(803);
((CompareExpressionContext)_localctx).left = baseExpression(0);
setState(807);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,81,_ctx) ) {
case 1:
{
setState(804);
((CompareExpressionContext)_localctx).operator = compareExpressionOperator();
setState(805);
((CompareExpressionContext)_localctx).right = compareExpression();
}
break;
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CompareExpressionOperatorContext extends ParserRuleContext {
public TerminalNode OR() { return getToken(CFSCRIPTParser.OR, 0); }
public TerminalNode OROPERATOR() { return getToken(CFSCRIPTParser.OROPERATOR, 0); }
public TerminalNode EQV() { return getToken(CFSCRIPTParser.EQV, 0); }
public TerminalNode XOR() { return getToken(CFSCRIPTParser.XOR, 0); }
public TerminalNode AND() { return getToken(CFSCRIPTParser.AND, 0); }
public TerminalNode ANDOPERATOR() { return getToken(CFSCRIPTParser.ANDOPERATOR, 0); }
public TerminalNode EQ() { return getToken(CFSCRIPTParser.EQ, 0); }
public TerminalNode LT() { return getToken(CFSCRIPTParser.LT, 0); }
public TerminalNode LTE() { return getToken(CFSCRIPTParser.LTE, 0); }
public TerminalNode GT() { return getToken(CFSCRIPTParser.GT, 0); }
public TerminalNode GTE() { return getToken(CFSCRIPTParser.GTE, 0); }
public TerminalNode NEQ() { return getToken(CFSCRIPTParser.NEQ, 0); }
public TerminalNode CONTAINS() { return getToken(CFSCRIPTParser.CONTAINS, 0); }
public TerminalNode DOESNOTCONTAIN() { return getToken(CFSCRIPTParser.DOESNOTCONTAIN, 0); }
public CompareExpressionOperatorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_compareExpressionOperator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterCompareExpressionOperator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitCompareExpressionOperator(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitCompareExpressionOperator(this);
else return visitor.visitChildren(this);
}
}
public final CompareExpressionOperatorContext compareExpressionOperator() throws RecognitionException {
CompareExpressionOperatorContext _localctx = new CompareExpressionOperatorContext(_ctx, getState());
enterRule(_localctx, 132, RULE_compareExpressionOperator);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(809);
_la = _input.LA(1);
if ( !(((((_la - 10)) & ~0x3f) == 0 && ((1L << (_la - 10)) & ((1L << (CONTAINS - 10)) | (1L << (DOESNOTCONTAIN - 10)) | (1L << (GT - 10)) | (1L << (GTE - 10)) | (1L << (LTE - 10)) | (1L << (LT - 10)) | (1L << (EQ - 10)) | (1L << (NEQ - 10)) | (1L << (OR - 10)) | (1L << (EQV - 10)) | (1L << (XOR - 10)) | (1L << (AND - 10)) | (1L << (OROPERATOR - 10)) | (1L << (ANDOPERATOR - 10)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class NotExpressionContext extends ParserRuleContext {
public UnaryExpressionContext unaryExpression() {
return getRuleContext(UnaryExpressionContext.class,0);
}
public TerminalNode NOT() { return getToken(CFSCRIPTParser.NOT, 0); }
public TerminalNode NOTOP() { return getToken(CFSCRIPTParser.NOTOP, 0); }
public NotExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_notExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterNotExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitNotExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitNotExpression(this);
else return visitor.visitChildren(this);
}
}
public final NotExpressionContext notExpression() throws RecognitionException {
NotExpressionContext _localctx = new NotExpressionContext(_ctx, getState());
enterRule(_localctx, 134, RULE_notExpression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(811);
_la = _input.LA(1);
if ( !(_la==NOT || _la==NOTOP) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(812);
unaryExpression(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class NotNotExpressionContext extends ParserRuleContext {
public TerminalNode NOTNOTOP() { return getToken(CFSCRIPTParser.NOTNOTOP, 0); }
public UnaryExpressionContext unaryExpression() {
return getRuleContext(UnaryExpressionContext.class,0);
}
public NotNotExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_notNotExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterNotNotExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitNotNotExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitNotNotExpression(this);
else return visitor.visitChildren(this);
}
}
public final NotNotExpressionContext notNotExpression() throws RecognitionException {
NotNotExpressionContext _localctx = new NotNotExpressionContext(_ctx, getState());
enterRule(_localctx, 136, RULE_notNotExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(814);
match(NOTNOTOP);
setState(815);
unaryExpression(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class EqualityOperator1Context extends ParserRuleContext {
public TerminalNode EQ() { return getToken(CFSCRIPTParser.EQ, 0); }
public TerminalNode LT() { return getToken(CFSCRIPTParser.LT, 0); }
public TerminalNode LTE() { return getToken(CFSCRIPTParser.LTE, 0); }
public TerminalNode GT() { return getToken(CFSCRIPTParser.GT, 0); }
public TerminalNode GTE() { return getToken(CFSCRIPTParser.GTE, 0); }
public TerminalNode NEQ() { return getToken(CFSCRIPTParser.NEQ, 0); }
public TerminalNode CONTAINS() { return getToken(CFSCRIPTParser.CONTAINS, 0); }
public EqualityOperator1Context(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_equalityOperator1; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterEqualityOperator1(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitEqualityOperator1(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitEqualityOperator1(this);
else return visitor.visitChildren(this);
}
}
public final EqualityOperator1Context equalityOperator1() throws RecognitionException {
EqualityOperator1Context _localctx = new EqualityOperator1Context(_ctx, getState());
enterRule(_localctx, 138, RULE_equalityOperator1);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(817);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CONTAINS) | (1L << GT) | (1L << GTE) | (1L << LTE) | (1L << LT) | (1L << EQ) | (1L << NEQ))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ConcatenationExpressionContext extends ParserRuleContext {
public UnaryExpressionContext unaryExpression() {
return getRuleContext(UnaryExpressionContext.class,0);
}
public TerminalNode CONCAT() { return getToken(CFSCRIPTParser.CONCAT, 0); }
public BaseOrTernaryExpressionContext baseOrTernaryExpression() {
return getRuleContext(BaseOrTernaryExpressionContext.class,0);
}
public ConcatenationExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_concatenationExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterConcatenationExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitConcatenationExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitConcatenationExpression(this);
else return visitor.visitChildren(this);
}
}
public final ConcatenationExpressionContext concatenationExpression() throws RecognitionException {
ConcatenationExpressionContext _localctx = new ConcatenationExpressionContext(_ctx, getState());
enterRule(_localctx, 140, RULE_concatenationExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(819);
unaryExpression(0);
setState(820);
match(CONCAT);
setState(821);
baseOrTernaryExpression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AdditiveExpressionContext extends ParserRuleContext {
public UnaryExpressionContext unaryExpression() {
return getRuleContext(UnaryExpressionContext.class,0);
}
public BaseOrTernaryExpressionContext baseOrTernaryExpression() {
return getRuleContext(BaseOrTernaryExpressionContext.class,0);
}
public TerminalNode PLUS() { return getToken(CFSCRIPTParser.PLUS, 0); }
public TerminalNode MINUS() { return getToken(CFSCRIPTParser.MINUS, 0); }
public AdditiveExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_additiveExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterAdditiveExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitAdditiveExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitAdditiveExpression(this);
else return visitor.visitChildren(this);
}
}
public final AdditiveExpressionContext additiveExpression() throws RecognitionException {
AdditiveExpressionContext _localctx = new AdditiveExpressionContext(_ctx, getState());
enterRule(_localctx, 142, RULE_additiveExpression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(823);
unaryExpression(0);
setState(824);
_la = _input.LA(1);
if ( !(_la==PLUS || _la==MINUS) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(825);
baseOrTernaryExpression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ModExpressionContext extends ParserRuleContext {
public UnaryExpressionContext unaryExpression() {
return getRuleContext(UnaryExpressionContext.class,0);
}
public TerminalNode MOD() { return getToken(CFSCRIPTParser.MOD, 0); }
public BaseOrTernaryExpressionContext baseOrTernaryExpression() {
return getRuleContext(BaseOrTernaryExpressionContext.class,0);
}
public ModExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_modExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterModExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitModExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitModExpression(this);
else return visitor.visitChildren(this);
}
}
public final ModExpressionContext modExpression() throws RecognitionException {
ModExpressionContext _localctx = new ModExpressionContext(_ctx, getState());
enterRule(_localctx, 144, RULE_modExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(827);
unaryExpression(0);
{
setState(828);
match(MOD);
setState(829);
baseOrTernaryExpression();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IntDivisionExpressionContext extends ParserRuleContext {
public UnaryExpressionContext unaryExpression() {
return getRuleContext(UnaryExpressionContext.class,0);
}
public TerminalNode BSLASH() { return getToken(CFSCRIPTParser.BSLASH, 0); }
public BaseOrTernaryExpressionContext baseOrTernaryExpression() {
return getRuleContext(BaseOrTernaryExpressionContext.class,0);
}
public IntDivisionExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_intDivisionExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterIntDivisionExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitIntDivisionExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitIntDivisionExpression(this);
else return visitor.visitChildren(this);
}
}
public final IntDivisionExpressionContext intDivisionExpression() throws RecognitionException {
IntDivisionExpressionContext _localctx = new IntDivisionExpressionContext(_ctx, getState());
enterRule(_localctx, 146, RULE_intDivisionExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(831);
unaryExpression(0);
{
setState(832);
match(BSLASH);
setState(833);
baseOrTernaryExpression();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class MultiplicativeExpressionContext extends ParserRuleContext {
public UnaryExpressionContext unaryExpression() {
return getRuleContext(UnaryExpressionContext.class,0);
}
public BaseOrTernaryExpressionContext baseOrTernaryExpression() {
return getRuleContext(BaseOrTernaryExpressionContext.class,0);
}
public TerminalNode STAR() { return getToken(CFSCRIPTParser.STAR, 0); }
public TerminalNode SLASH() { return getToken(CFSCRIPTParser.SLASH, 0); }
public MultiplicativeExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_multiplicativeExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterMultiplicativeExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitMultiplicativeExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitMultiplicativeExpression(this);
else return visitor.visitChildren(this);
}
}
public final MultiplicativeExpressionContext multiplicativeExpression() throws RecognitionException {
MultiplicativeExpressionContext _localctx = new MultiplicativeExpressionContext(_ctx, getState());
enterRule(_localctx, 148, RULE_multiplicativeExpression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(835);
unaryExpression(0);
{
setState(836);
_la = _input.LA(1);
if ( !(_la==STAR || _la==SLASH) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(837);
baseOrTernaryExpression();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PowerOfExpressionContext extends ParserRuleContext {
public UnaryExpressionContext unaryExpression() {
return getRuleContext(UnaryExpressionContext.class,0);
}
public TerminalNode POWER() { return getToken(CFSCRIPTParser.POWER, 0); }
public BaseOrTernaryExpressionContext baseOrTernaryExpression() {
return getRuleContext(BaseOrTernaryExpressionContext.class,0);
}
public PowerOfExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_powerOfExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterPowerOfExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitPowerOfExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitPowerOfExpression(this);
else return visitor.visitChildren(this);
}
}
public final PowerOfExpressionContext powerOfExpression() throws RecognitionException {
PowerOfExpressionContext _localctx = new PowerOfExpressionContext(_ctx, getState());
enterRule(_localctx, 150, RULE_powerOfExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(839);
unaryExpression(0);
{
setState(840);
match(POWER);
setState(841);
baseOrTernaryExpression();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class UnaryExpressionContext extends ParserRuleContext {
public PrimaryExpressionContext primaryExpression() {
return getRuleContext(PrimaryExpressionContext.class,0);
}
public TerminalNode MINUS() { return getToken(CFSCRIPTParser.MINUS, 0); }
public TerminalNode PLUS() { return getToken(CFSCRIPTParser.PLUS, 0); }
public UnaryExpressionContext unaryExpression() {
return getRuleContext(UnaryExpressionContext.class,0);
}
public TerminalNode MINUSMINUS() { return getToken(CFSCRIPTParser.MINUSMINUS, 0); }
public TerminalNode PLUSPLUS() { return getToken(CFSCRIPTParser.PLUSPLUS, 0); }
public MemberExpressionContext memberExpression() {
return getRuleContext(MemberExpressionContext.class,0);
}
public InnerExpressionContext innerExpression() {
return getRuleContext(InnerExpressionContext.class,0);
}
public NotNotExpressionContext notNotExpression() {
return getRuleContext(NotNotExpressionContext.class,0);
}
public NotExpressionContext notExpression() {
return getRuleContext(NotExpressionContext.class,0);
}
public UnaryExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_unaryExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterUnaryExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitUnaryExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitUnaryExpression(this);
else return visitor.visitChildren(this);
}
}
public final UnaryExpressionContext unaryExpression() throws RecognitionException {
return unaryExpression(0);
}
private UnaryExpressionContext unaryExpression(int _p) throws RecognitionException {
ParserRuleContext _parentctx = _ctx;
int _parentState = getState();
UnaryExpressionContext _localctx = new UnaryExpressionContext(_ctx, _parentState);
UnaryExpressionContext _prevctx = _localctx;
int _startState = 152;
enterRecursionRule(_localctx, 152, RULE_unaryExpression, _p);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(853);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,82,_ctx) ) {
case 1:
{
setState(844);
_la = _input.LA(1);
if ( !(_la==PLUS || _la==MINUS) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(845);
primaryExpression();
}
break;
case 2:
{
setState(846);
_la = _input.LA(1);
if ( !(_la==PLUSPLUS || _la==MINUSMINUS) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(847);
unaryExpression(7);
}
break;
case 3:
{
setState(848);
memberExpression();
}
break;
case 4:
{
setState(849);
innerExpression();
}
break;
case 5:
{
setState(850);
primaryExpression();
}
break;
case 6:
{
setState(851);
notNotExpression();
}
break;
case 7:
{
setState(852);
notExpression();
}
break;
}
_ctx.stop = _input.LT(-1);
setState(859);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,83,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
{
_localctx = new UnaryExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_unaryExpression);
setState(855);
if (!(precpred(_ctx, 4))) throw new FailedPredicateException(this, "precpred(_ctx, 4)");
setState(856);
_la = _input.LA(1);
if ( !(_la==PLUSPLUS || _la==MINUSMINUS) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
}
setState(861);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,83,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
unrollRecursionContexts(_parentctx);
}
return _localctx;
}
public static class InnerExpressionContext extends ParserRuleContext {
public List POUND_SIGN() { return getTokens(CFSCRIPTParser.POUND_SIGN); }
public TerminalNode POUND_SIGN(int i) {
return getToken(CFSCRIPTParser.POUND_SIGN, i);
}
public BaseOrTernaryExpressionContext baseOrTernaryExpression() {
return getRuleContext(BaseOrTernaryExpressionContext.class,0);
}
public InnerExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_innerExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterInnerExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitInnerExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitInnerExpression(this);
else return visitor.visitChildren(this);
}
}
public final InnerExpressionContext innerExpression() throws RecognitionException {
InnerExpressionContext _localctx = new InnerExpressionContext(_ctx, getState());
enterRule(_localctx, 154, RULE_innerExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(862);
match(POUND_SIGN);
setState(863);
baseOrTernaryExpression();
setState(864);
match(POUND_SIGN);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class MemberExpressionContext extends ParserRuleContext {
public IdentifierContext firstidentifier;
public FunctionCallContext functionCall() {
return getRuleContext(FunctionCallContext.class,0);
}
public NewComponentExpressionContext newComponentExpression() {
return getRuleContext(NewComponentExpressionContext.class,0);
}
public ParentheticalExpressionContext parentheticalExpression() {
return getRuleContext(ParentheticalExpressionContext.class,0);
}
public TerminalNode MINUS() { return getToken(CFSCRIPTParser.MINUS, 0); }
public List identifier() {
return getRuleContexts(IdentifierContext.class);
}
public IdentifierContext identifier(int i) {
return getRuleContext(IdentifierContext.class,i);
}
public List qualifiedFunctionCall() {
return getRuleContexts(QualifiedFunctionCallContext.class);
}
public QualifiedFunctionCallContext qualifiedFunctionCall(int i) {
return getRuleContext(QualifiedFunctionCallContext.class,i);
}
public List arrayMemberExpression() {
return getRuleContexts(ArrayMemberExpressionContext.class);
}
public ArrayMemberExpressionContext arrayMemberExpression(int i) {
return getRuleContext(ArrayMemberExpressionContext.class,i);
}
public List primaryExpressionIRW() {
return getRuleContexts(PrimaryExpressionIRWContext.class);
}
public PrimaryExpressionIRWContext primaryExpressionIRW(int i) {
return getRuleContext(PrimaryExpressionIRWContext.class,i);
}
public List DOT() { return getTokens(CFSCRIPTParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(CFSCRIPTParser.DOT, i);
}
public List parentheticalMemberExpression() {
return getRuleContexts(ParentheticalMemberExpressionContext.class);
}
public ParentheticalMemberExpressionContext parentheticalMemberExpression(int i) {
return getRuleContext(ParentheticalMemberExpressionContext.class,i);
}
public MemberExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_memberExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterMemberExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitMemberExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitMemberExpression(this);
else return visitor.visitChildren(this);
}
}
public final MemberExpressionContext memberExpression() throws RecognitionException {
MemberExpressionContext _localctx = new MemberExpressionContext(_ctx, getState());
enterRule(_localctx, 156, RULE_memberExpression);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(867);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==MINUS) {
{
setState(866);
match(MINUS);
}
}
setState(873);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,85,_ctx) ) {
case 1:
{
setState(869);
functionCall();
}
break;
case 2:
{
setState(870);
newComponentExpression();
}
break;
case 3:
{
setState(871);
((MemberExpressionContext)_localctx).firstidentifier = identifier();
}
break;
case 4:
{
setState(872);
parentheticalExpression();
}
break;
}
setState(899);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,91,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
setState(897);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,90,_ctx) ) {
case 1:
{
setState(876);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(875);
match(DOT);
}
}
setState(878);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==DOT );
setState(880);
qualifiedFunctionCall();
}
break;
case 2:
{
setState(881);
arrayMemberExpression();
setState(883);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,87,_ctx) ) {
case 1:
{
setState(882);
parentheticalMemberExpression();
}
break;
}
}
break;
case 3:
{
setState(886);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(885);
match(DOT);
}
}
setState(888);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==DOT );
setState(890);
primaryExpressionIRW();
}
break;
case 4:
{
setState(892);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(891);
match(DOT);
}
}
setState(894);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==DOT );
setState(896);
identifier();
}
break;
}
}
}
setState(901);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,91,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IdentifierOrReservedWordContext extends ParserRuleContext {
public IdentifierContext identifier() {
return getRuleContext(IdentifierContext.class,0);
}
public ReservedWordContext reservedWord() {
return getRuleContext(ReservedWordContext.class,0);
}
public IdentifierOrReservedWordContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_identifierOrReservedWord; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterIdentifierOrReservedWord(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitIdentifierOrReservedWord(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitIdentifierOrReservedWord(this);
else return visitor.visitChildren(this);
}
}
public final IdentifierOrReservedWordContext identifierOrReservedWord() throws RecognitionException {
IdentifierOrReservedWordContext _localctx = new IdentifierOrReservedWordContext(_ctx, getState());
enterRule(_localctx, 158, RULE_identifierOrReservedWord);
try {
setState(904);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,92,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(902);
identifier();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(903);
reservedWord();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ArrayMemberExpressionContext extends ParserRuleContext {
public TerminalNode LEFTBRACKET() { return getToken(CFSCRIPTParser.LEFTBRACKET, 0); }
public StartExpressionContext startExpression() {
return getRuleContext(StartExpressionContext.class,0);
}
public TerminalNode RIGHTBRACKET() { return getToken(CFSCRIPTParser.RIGHTBRACKET, 0); }
public ArrayMemberExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_arrayMemberExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterArrayMemberExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitArrayMemberExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitArrayMemberExpression(this);
else return visitor.visitChildren(this);
}
}
public final ArrayMemberExpressionContext arrayMemberExpression() throws RecognitionException {
ArrayMemberExpressionContext _localctx = new ArrayMemberExpressionContext(_ctx, getState());
enterRule(_localctx, 160, RULE_arrayMemberExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(906);
match(LEFTBRACKET);
setState(907);
startExpression();
setState(908);
match(RIGHTBRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class FunctionCallContext extends ParserRuleContext {
public CompoundStatementContext body;
public TerminalNode LEFTPAREN() { return getToken(CFSCRIPTParser.LEFTPAREN, 0); }
public ArgumentListContext argumentList() {
return getRuleContext(ArgumentListContext.class,0);
}
public TerminalNode RIGHTPAREN() { return getToken(CFSCRIPTParser.RIGHTPAREN, 0); }
public IdentifierContext identifier() {
return getRuleContext(IdentifierContext.class,0);
}
public SpecialWordContext specialWord() {
return getRuleContext(SpecialWordContext.class,0);
}
public CompoundStatementContext compoundStatement() {
return getRuleContext(CompoundStatementContext.class,0);
}
public FunctionCallContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionCall; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterFunctionCall(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitFunctionCall(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitFunctionCall(this);
else return visitor.visitChildren(this);
}
}
public final FunctionCallContext functionCall() throws RecognitionException {
FunctionCallContext _localctx = new FunctionCallContext(_ctx, getState());
enterRule(_localctx, 162, RULE_functionCall);
try {
enterOuterAlt(_localctx, 1);
{
setState(912);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CONTAIN:
case TO:
case VAR:
case NEW:
case DEFAULT:
case INCLUDE:
case ABORT:
case ADMIN:
case THROW:
case RETHROW:
case EXIT:
case PARAM:
case PROPERTY:
case LOCK:
case THREAD:
case TRANSACTION:
case SAVECONTENT:
case HTTP:
case CFHTTP:
case FILE:
case DIRECTORY:
case LOOP:
case SETTING:
case QUERY:
case STRING:
case NUMERIC:
case BOOLEAN:
case ANY:
case ARRAY:
case STRUCT:
case PRIVATE:
case PUBLIC:
case REMOTE:
case PACKAGE:
case REQUIRED:
case COMPONENT:
case LOG:
case APPLET:
case ASSOCIATE:
case AUTHENTICATE:
case CACHE:
case COL:
case COLLECTION:
case CONTENT:
case COOKIE:
case ERROR:
case EXECUTE:
case FORM:
case FTP:
case GRID:
case GRIDCOLUMN:
case GRIDROW:
case GRIDUPDATE:
case HEADER:
case HTMLHEAD:
case HTTPPARAM:
case CFHTTPPARAM:
case IMPERSONATE:
case INDEX:
case INPUT:
case INSERT:
case LDAP:
case LOCATION:
case MAIL:
case MAILPARAM:
case MODULE:
case OBJECT:
case OUTPUT:
case POP:
case PROCESSINGDIRECTIVE:
case PROCPARAM:
case PROCRESULT:
case QUERYPARAM:
case REGISTRY:
case REPORT:
case SCHEDULE:
case SCRIPT:
case SEARCH:
case SELECT:
case SERVLET:
case SERVLETPARAM:
case SET:
case SILENT:
case SLIDER:
case STOREDPROC:
case TABLE:
case TEXTINPUT:
case TREE:
case TREEITEM:
case UPDATE:
case WDDX:
case ZIP:
case CFCUSTOM_IDENTIFIER:
case IDENTIFIER:
{
setState(910);
identifier();
}
break;
case CONTAINS:
case GT:
case GTE:
case LTE:
case LT:
case EQ:
case NEQ:
case OR:
case IMP:
case EQV:
case XOR:
case AND:
case NOT:
case MOD:
{
setState(911);
specialWord();
}
break;
default:
throw new NoViableAltException(this);
}
setState(914);
match(LEFTPAREN);
setState(915);
argumentList();
setState(916);
match(RIGHTPAREN);
setState(918);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,94,_ctx) ) {
case 1:
{
setState(917);
((FunctionCallContext)_localctx).body = compoundStatement();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class QualifiedFunctionCallContext extends ParserRuleContext {
public CompoundStatementContext body;
public TerminalNode LEFTPAREN() { return getToken(CFSCRIPTParser.LEFTPAREN, 0); }
public ArgumentListContext argumentList() {
return getRuleContext(ArgumentListContext.class,0);
}
public TerminalNode RIGHTPAREN() { return getToken(CFSCRIPTParser.RIGHTPAREN, 0); }
public IdentifierContext identifier() {
return getRuleContext(IdentifierContext.class,0);
}
public ReservedWordContext reservedWord() {
return getRuleContext(ReservedWordContext.class,0);
}
public CompoundStatementContext compoundStatement() {
return getRuleContext(CompoundStatementContext.class,0);
}
public QualifiedFunctionCallContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_qualifiedFunctionCall; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterQualifiedFunctionCall(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitQualifiedFunctionCall(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitQualifiedFunctionCall(this);
else return visitor.visitChildren(this);
}
}
public final QualifiedFunctionCallContext qualifiedFunctionCall() throws RecognitionException {
QualifiedFunctionCallContext _localctx = new QualifiedFunctionCallContext(_ctx, getState());
enterRule(_localctx, 164, RULE_qualifiedFunctionCall);
try {
enterOuterAlt(_localctx, 1);
{
setState(922);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,95,_ctx) ) {
case 1:
{
setState(920);
identifier();
}
break;
case 2:
{
setState(921);
reservedWord();
}
break;
}
setState(924);
match(LEFTPAREN);
setState(925);
argumentList();
setState(926);
match(RIGHTPAREN);
setState(928);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,96,_ctx) ) {
case 1:
{
setState(927);
((QualifiedFunctionCallContext)_localctx).body = compoundStatement();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ParentheticalMemberExpressionContext extends ParserRuleContext {
public TerminalNode LEFTPAREN() { return getToken(CFSCRIPTParser.LEFTPAREN, 0); }
public ArgumentListContext argumentList() {
return getRuleContext(ArgumentListContext.class,0);
}
public TerminalNode RIGHTPAREN() { return getToken(CFSCRIPTParser.RIGHTPAREN, 0); }
public ParentheticalMemberExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_parentheticalMemberExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterParentheticalMemberExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitParentheticalMemberExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitParentheticalMemberExpression(this);
else return visitor.visitChildren(this);
}
}
public final ParentheticalMemberExpressionContext parentheticalMemberExpression() throws RecognitionException {
ParentheticalMemberExpressionContext _localctx = new ParentheticalMemberExpressionContext(_ctx, getState());
enterRule(_localctx, 166, RULE_parentheticalMemberExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(930);
match(LEFTPAREN);
setState(931);
argumentList();
setState(932);
match(RIGHTPAREN);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class JavaCallMemberExpressionContext extends ParserRuleContext {
public PrimaryExpressionIRWContext primaryExpressionIRW() {
return getRuleContext(PrimaryExpressionIRWContext.class,0);
}
public TerminalNode LEFTPAREN() { return getToken(CFSCRIPTParser.LEFTPAREN, 0); }
public ArgumentListContext argumentList() {
return getRuleContext(ArgumentListContext.class,0);
}
public TerminalNode RIGHTBRACKET() { return getToken(CFSCRIPTParser.RIGHTBRACKET, 0); }
public JavaCallMemberExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_javaCallMemberExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterJavaCallMemberExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitJavaCallMemberExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitJavaCallMemberExpression(this);
else return visitor.visitChildren(this);
}
}
public final JavaCallMemberExpressionContext javaCallMemberExpression() throws RecognitionException {
JavaCallMemberExpressionContext _localctx = new JavaCallMemberExpressionContext(_ctx, getState());
enterRule(_localctx, 168, RULE_javaCallMemberExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(934);
primaryExpressionIRW();
setState(935);
match(LEFTPAREN);
setState(936);
argumentList();
setState(937);
match(RIGHTBRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class MemberExpressionSuffixContext extends ParserRuleContext {
public IndexSuffixContext indexSuffix() {
return getRuleContext(IndexSuffixContext.class,0);
}
public PropertyReferenceSuffixContext propertyReferenceSuffix() {
return getRuleContext(PropertyReferenceSuffixContext.class,0);
}
public MemberExpressionSuffixContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_memberExpressionSuffix; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterMemberExpressionSuffix(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitMemberExpressionSuffix(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitMemberExpressionSuffix(this);
else return visitor.visitChildren(this);
}
}
public final MemberExpressionSuffixContext memberExpressionSuffix() throws RecognitionException {
MemberExpressionSuffixContext _localctx = new MemberExpressionSuffixContext(_ctx, getState());
enterRule(_localctx, 170, RULE_memberExpressionSuffix);
try {
setState(941);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LEFTBRACKET:
enterOuterAlt(_localctx, 1);
{
setState(939);
indexSuffix();
}
break;
case DOT:
enterOuterAlt(_localctx, 2);
{
setState(940);
propertyReferenceSuffix();
}
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 PropertyReferenceSuffixContext extends ParserRuleContext {
public TerminalNode DOT() { return getToken(CFSCRIPTParser.DOT, 0); }
public IdentifierContext identifier() {
return getRuleContext(IdentifierContext.class,0);
}
public List LT() { return getTokens(CFSCRIPTParser.LT); }
public TerminalNode LT(int i) {
return getToken(CFSCRIPTParser.LT, i);
}
public PropertyReferenceSuffixContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_propertyReferenceSuffix; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterPropertyReferenceSuffix(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitPropertyReferenceSuffix(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitPropertyReferenceSuffix(this);
else return visitor.visitChildren(this);
}
}
public final PropertyReferenceSuffixContext propertyReferenceSuffix() throws RecognitionException {
PropertyReferenceSuffixContext _localctx = new PropertyReferenceSuffixContext(_ctx, getState());
enterRule(_localctx, 172, RULE_propertyReferenceSuffix);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(943);
match(DOT);
setState(947);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==LT) {
{
{
setState(944);
match(LT);
}
}
setState(949);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(950);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IndexSuffixContext extends ParserRuleContext {
public TerminalNode LEFTBRACKET() { return getToken(CFSCRIPTParser.LEFTBRACKET, 0); }
public TerminalNode RIGHTBRACKET() { return getToken(CFSCRIPTParser.RIGHTBRACKET, 0); }
public PrimaryExpressionContext primaryExpression() {
return getRuleContext(PrimaryExpressionContext.class,0);
}
public ParentheticalExpressionContext parentheticalExpression() {
return getRuleContext(ParentheticalExpressionContext.class,0);
}
public List LT() { return getTokens(CFSCRIPTParser.LT); }
public TerminalNode LT(int i) {
return getToken(CFSCRIPTParser.LT, i);
}
public IndexSuffixContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_indexSuffix; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterIndexSuffix(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitIndexSuffix(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitIndexSuffix(this);
else return visitor.visitChildren(this);
}
}
public final IndexSuffixContext indexSuffix() throws RecognitionException {
IndexSuffixContext _localctx = new IndexSuffixContext(_ctx, getState());
enterRule(_localctx, 174, RULE_indexSuffix);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(952);
match(LEFTBRACKET);
setState(956);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==LT) {
{
{
setState(953);
match(LT);
}
}
setState(958);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(961);
_errHandler.sync(this);
switch (_input.LA(1)) {
case BOOLEAN_LITERAL:
case OPEN_STRING:
case CONTAIN:
case TO:
case VAR:
case NEW:
case DEFAULT:
case DOT:
case LEFTBRACKET:
case LEFTCURLYBRACKET:
case INCLUDE:
case ABORT:
case ADMIN:
case THROW:
case RETHROW:
case EXIT:
case PARAM:
case PROPERTY:
case LOCK:
case THREAD:
case TRANSACTION:
case SAVECONTENT:
case HTTP:
case CFHTTP:
case FILE:
case DIRECTORY:
case LOOP:
case SETTING:
case QUERY:
case STRING:
case NUMERIC:
case BOOLEAN:
case ANY:
case ARRAY:
case STRUCT:
case PRIVATE:
case PUBLIC:
case REMOTE:
case PACKAGE:
case REQUIRED:
case COMPONENT:
case LOG:
case APPLET:
case ASSOCIATE:
case AUTHENTICATE:
case CACHE:
case COL:
case COLLECTION:
case CONTENT:
case COOKIE:
case ERROR:
case EXECUTE:
case FORM:
case FTP:
case GRID:
case GRIDCOLUMN:
case GRIDROW:
case GRIDUPDATE:
case HEADER:
case HTMLHEAD:
case HTTPPARAM:
case CFHTTPPARAM:
case IMPERSONATE:
case INDEX:
case INPUT:
case INSERT:
case LDAP:
case LOCATION:
case MAIL:
case MAILPARAM:
case MODULE:
case OBJECT:
case OUTPUT:
case POP:
case PROCESSINGDIRECTIVE:
case PROCPARAM:
case PROCRESULT:
case QUERYPARAM:
case REGISTRY:
case REPORT:
case SCHEDULE:
case SCRIPT:
case SEARCH:
case SELECT:
case SERVLET:
case SERVLETPARAM:
case SET:
case SILENT:
case SLIDER:
case STOREDPROC:
case TABLE:
case TEXTINPUT:
case TREE:
case TREEITEM:
case UPDATE:
case WDDX:
case ZIP:
case CFCUSTOM_IDENTIFIER:
case IDENTIFIER:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
{
setState(959);
primaryExpression();
}
break;
case LEFTPAREN:
{
setState(960);
parentheticalExpression();
}
break;
default:
throw new NoViableAltException(this);
}
setState(966);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==LT) {
{
{
setState(963);
match(LT);
}
}
setState(968);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(969);
match(RIGHTBRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PrimaryExpressionIRWContext extends ParserRuleContext {
public StringLiteralContext stringLiteral() {
return getRuleContext(StringLiteralContext.class,0);
}
public TerminalNode BOOLEAN_LITERAL() { return getToken(CFSCRIPTParser.BOOLEAN_LITERAL, 0); }
public TerminalNode INTEGER_LITERAL() { return getToken(CFSCRIPTParser.INTEGER_LITERAL, 0); }
public ImplicitArrayContext implicitArray() {
return getRuleContext(ImplicitArrayContext.class,0);
}
public ImplicitStructContext implicitStruct() {
return getRuleContext(ImplicitStructContext.class,0);
}
public ReservedWordContext reservedWord() {
return getRuleContext(ReservedWordContext.class,0);
}
public PrimaryExpressionIRWContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_primaryExpressionIRW; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterPrimaryExpressionIRW(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitPrimaryExpressionIRW(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitPrimaryExpressionIRW(this);
else return visitor.visitChildren(this);
}
}
public final PrimaryExpressionIRWContext primaryExpressionIRW() throws RecognitionException {
PrimaryExpressionIRWContext _localctx = new PrimaryExpressionIRWContext(_ctx, getState());
enterRule(_localctx, 176, RULE_primaryExpressionIRW);
try {
setState(977);
_errHandler.sync(this);
switch (_input.LA(1)) {
case OPEN_STRING:
enterOuterAlt(_localctx, 1);
{
setState(971);
stringLiteral();
}
break;
case BOOLEAN_LITERAL:
enterOuterAlt(_localctx, 2);
{
setState(972);
match(BOOLEAN_LITERAL);
}
break;
case INTEGER_LITERAL:
enterOuterAlt(_localctx, 3);
{
setState(973);
match(INTEGER_LITERAL);
}
break;
case LEFTBRACKET:
enterOuterAlt(_localctx, 4);
{
setState(974);
implicitArray();
}
break;
case LEFTCURLYBRACKET:
enterOuterAlt(_localctx, 5);
{
setState(975);
implicitStruct();
}
break;
case CONTAINS:
case GT:
case GTE:
case LTE:
case LT:
case EQ:
case NEQ:
case OR:
case IMP:
case EQV:
case XOR:
case AND:
case NOT:
case MOD:
case IF:
case ELSE:
case BREAK:
case CONTINUE:
case FUNCTION:
case RETURN:
case WHILE:
case DO:
case FOR:
case IN:
case TRY:
case CATCH:
case SWITCH:
case CASE:
case DEFAULT:
case FINALLY:
case IMPORT:
enterOuterAlt(_localctx, 6);
{
setState(976);
reservedWord();
}
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 LiteralExpressionContext extends ParserRuleContext {
public StringLiteralContext stringLiteral() {
return getRuleContext(StringLiteralContext.class,0);
}
public TerminalNode BOOLEAN_LITERAL() { return getToken(CFSCRIPTParser.BOOLEAN_LITERAL, 0); }
public FloatingPointExpressionContext floatingPointExpression() {
return getRuleContext(FloatingPointExpressionContext.class,0);
}
public TerminalNode INTEGER_LITERAL() { return getToken(CFSCRIPTParser.INTEGER_LITERAL, 0); }
public LiteralExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_literalExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterLiteralExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitLiteralExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitLiteralExpression(this);
else return visitor.visitChildren(this);
}
}
public final LiteralExpressionContext literalExpression() throws RecognitionException {
LiteralExpressionContext _localctx = new LiteralExpressionContext(_ctx, getState());
enterRule(_localctx, 178, RULE_literalExpression);
try {
setState(983);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,103,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(979);
stringLiteral();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(980);
match(BOOLEAN_LITERAL);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(981);
floatingPointExpression();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(982);
match(INTEGER_LITERAL);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class FloatingPointExpressionContext extends ParserRuleContext {
public Token left;
public Token right;
public Token leftonly;
public TerminalNode FLOATING_POINT_LITERAL() { return getToken(CFSCRIPTParser.FLOATING_POINT_LITERAL, 0); }
public TerminalNode DOT() { return getToken(CFSCRIPTParser.DOT, 0); }
public List INTEGER_LITERAL() { return getTokens(CFSCRIPTParser.INTEGER_LITERAL); }
public TerminalNode INTEGER_LITERAL(int i) {
return getToken(CFSCRIPTParser.INTEGER_LITERAL, i);
}
public FloatingPointExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_floatingPointExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterFloatingPointExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitFloatingPointExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitFloatingPointExpression(this);
else return visitor.visitChildren(this);
}
}
public final FloatingPointExpressionContext floatingPointExpression() throws RecognitionException {
FloatingPointExpressionContext _localctx = new FloatingPointExpressionContext(_ctx, getState());
enterRule(_localctx, 180, RULE_floatingPointExpression);
int _la;
try {
setState(993);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,105,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(985);
match(FLOATING_POINT_LITERAL);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(987);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==INTEGER_LITERAL) {
{
setState(986);
((FloatingPointExpressionContext)_localctx).left = match(INTEGER_LITERAL);
}
}
setState(989);
match(DOT);
setState(990);
((FloatingPointExpressionContext)_localctx).right = match(INTEGER_LITERAL);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(991);
((FloatingPointExpressionContext)_localctx).leftonly = match(INTEGER_LITERAL);
setState(992);
match(DOT);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ReservedWordContext extends ParserRuleContext {
public SpecialWordContext specialWord() {
return getRuleContext(SpecialWordContext.class,0);
}
public CfscriptKeywordsContext cfscriptKeywords() {
return getRuleContext(CfscriptKeywordsContext.class,0);
}
public ReservedWordContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_reservedWord; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterReservedWord(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitReservedWord(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitReservedWord(this);
else return visitor.visitChildren(this);
}
}
public final ReservedWordContext reservedWord() throws RecognitionException {
ReservedWordContext _localctx = new ReservedWordContext(_ctx, getState());
enterRule(_localctx, 182, RULE_reservedWord);
try {
setState(997);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CONTAINS:
case GT:
case GTE:
case LTE:
case LT:
case EQ:
case NEQ:
case OR:
case IMP:
case EQV:
case XOR:
case AND:
case NOT:
case MOD:
enterOuterAlt(_localctx, 1);
{
setState(995);
specialWord();
}
break;
case IF:
case ELSE:
case BREAK:
case CONTINUE:
case FUNCTION:
case RETURN:
case WHILE:
case DO:
case FOR:
case IN:
case TRY:
case CATCH:
case SWITCH:
case CASE:
case DEFAULT:
case FINALLY:
case IMPORT:
enterOuterAlt(_localctx, 2);
{
setState(996);
cfscriptKeywords();
}
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 SpecialWordContext extends ParserRuleContext {
public TerminalNode CONTAINS() { return getToken(CFSCRIPTParser.CONTAINS, 0); }
public TerminalNode EQ() { return getToken(CFSCRIPTParser.EQ, 0); }
public TerminalNode NEQ() { return getToken(CFSCRIPTParser.NEQ, 0); }
public TerminalNode GT() { return getToken(CFSCRIPTParser.GT, 0); }
public TerminalNode LT() { return getToken(CFSCRIPTParser.LT, 0); }
public TerminalNode GTE() { return getToken(CFSCRIPTParser.GTE, 0); }
public TerminalNode LTE() { return getToken(CFSCRIPTParser.LTE, 0); }
public TerminalNode NOT() { return getToken(CFSCRIPTParser.NOT, 0); }
public TerminalNode AND() { return getToken(CFSCRIPTParser.AND, 0); }
public TerminalNode OR() { return getToken(CFSCRIPTParser.OR, 0); }
public TerminalNode XOR() { return getToken(CFSCRIPTParser.XOR, 0); }
public TerminalNode EQV() { return getToken(CFSCRIPTParser.EQV, 0); }
public TerminalNode IMP() { return getToken(CFSCRIPTParser.IMP, 0); }
public TerminalNode MOD() { return getToken(CFSCRIPTParser.MOD, 0); }
public SpecialWordContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_specialWord; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterSpecialWord(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitSpecialWord(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitSpecialWord(this);
else return visitor.visitChildren(this);
}
}
public final SpecialWordContext specialWord() throws RecognitionException {
SpecialWordContext _localctx = new SpecialWordContext(_ctx, getState());
enterRule(_localctx, 184, RULE_specialWord);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(999);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << CONTAINS) | (1L << GT) | (1L << GTE) | (1L << LTE) | (1L << LT) | (1L << EQ) | (1L << NEQ) | (1L << OR) | (1L << IMP) | (1L << EQV) | (1L << XOR) | (1L << AND) | (1L << NOT) | (1L << MOD))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ArgumentListContext extends ParserRuleContext {
public List argument() {
return getRuleContexts(ArgumentContext.class);
}
public ArgumentContext argument(int i) {
return getRuleContext(ArgumentContext.class,i);
}
public List COMMA() { return getTokens(CFSCRIPTParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CFSCRIPTParser.COMMA, i);
}
public ArgumentListContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_argumentList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterArgumentList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitArgumentList(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitArgumentList(this);
else return visitor.visitChildren(this);
}
}
public final ArgumentListContext argumentList() throws RecognitionException {
ArgumentListContext _localctx = new ArgumentListContext(_ctx, getState());
enterRule(_localctx, 186, RULE_argumentList);
int _la;
try {
setState(1010);
_errHandler.sync(this);
switch (_input.LA(1)) {
case BOOLEAN_LITERAL:
case OPEN_STRING:
case CONTAINS:
case CONTAIN:
case GT:
case GTE:
case LTE:
case LT:
case EQ:
case NEQ:
case OR:
case TO:
case IMP:
case EQV:
case XOR:
case AND:
case NOT:
case MOD:
case VAR:
case NEW:
case FUNCTION:
case DEFAULT:
case DOT:
case PLUS:
case PLUSPLUS:
case MINUS:
case MINUSMINUS:
case NOTNOTOP:
case NOTOP:
case LEFTBRACKET:
case LEFTPAREN:
case LEFTCURLYBRACKET:
case INCLUDE:
case ABORT:
case ADMIN:
case THROW:
case RETHROW:
case EXIT:
case PARAM:
case PROPERTY:
case LOCK:
case THREAD:
case TRANSACTION:
case SAVECONTENT:
case HTTP:
case CFHTTP:
case FILE:
case DIRECTORY:
case LOOP:
case SETTING:
case QUERY:
case STRING:
case NUMERIC:
case BOOLEAN:
case ANY:
case ARRAY:
case STRUCT:
case PRIVATE:
case PUBLIC:
case REMOTE:
case PACKAGE:
case REQUIRED:
case COMPONENT:
case LOG:
case APPLET:
case ASSOCIATE:
case AUTHENTICATE:
case CACHE:
case COL:
case COLLECTION:
case CONTENT:
case COOKIE:
case ERROR:
case EXECUTE:
case FORM:
case FTP:
case GRID:
case GRIDCOLUMN:
case GRIDROW:
case GRIDUPDATE:
case HEADER:
case HTMLHEAD:
case HTTPPARAM:
case CFHTTPPARAM:
case IMPERSONATE:
case INDEX:
case INPUT:
case INSERT:
case LDAP:
case LOCATION:
case MAIL:
case MAILPARAM:
case MODULE:
case OBJECT:
case OUTPUT:
case POP:
case PROCESSINGDIRECTIVE:
case PROCPARAM:
case PROCRESULT:
case QUERYPARAM:
case REGISTRY:
case REPORT:
case SCHEDULE:
case SCRIPT:
case SEARCH:
case SELECT:
case SERVLET:
case SERVLETPARAM:
case SET:
case SILENT:
case SLIDER:
case STOREDPROC:
case TABLE:
case TEXTINPUT:
case TREE:
case TREEITEM:
case UPDATE:
case WDDX:
case ZIP:
case CFCUSTOM_IDENTIFIER:
case IDENTIFIER:
case INTEGER_LITERAL:
case POUND_SIGN:
case FLOATING_POINT_LITERAL:
enterOuterAlt(_localctx, 1);
{
setState(1001);
argument();
setState(1006);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1002);
match(COMMA);
setState(1003);
argument();
}
}
setState(1008);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case RIGHTBRACKET:
case RIGHTPAREN:
enterOuterAlt(_localctx, 2);
{
}
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 ArgumentContext extends ParserRuleContext {
public ArgumentNameContext name;
public TerminalNode COLON() { return getToken(CFSCRIPTParser.COLON, 0); }
public StartExpressionContext startExpression() {
return getRuleContext(StartExpressionContext.class,0);
}
public ArgumentNameContext argumentName() {
return getRuleContext(ArgumentNameContext.class,0);
}
public TerminalNode EQUALSOP() { return getToken(CFSCRIPTParser.EQUALSOP, 0); }
public AnonymousFunctionDeclarationContext anonymousFunctionDeclaration() {
return getRuleContext(AnonymousFunctionDeclarationContext.class,0);
}
public ArgumentContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_argument; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterArgument(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitArgument(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitArgument(this);
else return visitor.visitChildren(this);
}
}
public final ArgumentContext argument() throws RecognitionException {
ArgumentContext _localctx = new ArgumentContext(_ctx, getState());
enterRule(_localctx, 188, RULE_argument);
try {
setState(1022);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,109,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
{
{
setState(1012);
((ArgumentContext)_localctx).name = argumentName();
}
setState(1013);
match(COLON);
setState(1014);
startExpression();
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
{
{
setState(1016);
((ArgumentContext)_localctx).name = argumentName();
}
setState(1017);
match(EQUALSOP);
setState(1018);
startExpression();
}
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1020);
startExpression();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1021);
anonymousFunctionDeclaration();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ArgumentNameContext extends ParserRuleContext {
public IdentifierContext identifier() {
return getRuleContext(IdentifierContext.class,0);
}
public StringLiteralContext stringLiteral() {
return getRuleContext(StringLiteralContext.class,0);
}
public ArgumentNameContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_argumentName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterArgumentName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitArgumentName(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitArgumentName(this);
else return visitor.visitChildren(this);
}
}
public final ArgumentNameContext argumentName() throws RecognitionException {
ArgumentNameContext _localctx = new ArgumentNameContext(_ctx, getState());
enterRule(_localctx, 190, RULE_argumentName);
try {
setState(1026);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CONTAIN:
case TO:
case VAR:
case NEW:
case DEFAULT:
case INCLUDE:
case ABORT:
case ADMIN:
case THROW:
case RETHROW:
case EXIT:
case PARAM:
case PROPERTY:
case LOCK:
case THREAD:
case TRANSACTION:
case SAVECONTENT:
case HTTP:
case CFHTTP:
case FILE:
case DIRECTORY:
case LOOP:
case SETTING:
case QUERY:
case STRING:
case NUMERIC:
case BOOLEAN:
case ANY:
case ARRAY:
case STRUCT:
case PRIVATE:
case PUBLIC:
case REMOTE:
case PACKAGE:
case REQUIRED:
case COMPONENT:
case LOG:
case APPLET:
case ASSOCIATE:
case AUTHENTICATE:
case CACHE:
case COL:
case COLLECTION:
case CONTENT:
case COOKIE:
case ERROR:
case EXECUTE:
case FORM:
case FTP:
case GRID:
case GRIDCOLUMN:
case GRIDROW:
case GRIDUPDATE:
case HEADER:
case HTMLHEAD:
case HTTPPARAM:
case CFHTTPPARAM:
case IMPERSONATE:
case INDEX:
case INPUT:
case INSERT:
case LDAP:
case LOCATION:
case MAIL:
case MAILPARAM:
case MODULE:
case OBJECT:
case OUTPUT:
case POP:
case PROCESSINGDIRECTIVE:
case PROCPARAM:
case PROCRESULT:
case QUERYPARAM:
case REGISTRY:
case REPORT:
case SCHEDULE:
case SCRIPT:
case SEARCH:
case SELECT:
case SERVLET:
case SERVLETPARAM:
case SET:
case SILENT:
case SLIDER:
case STOREDPROC:
case TABLE:
case TEXTINPUT:
case TREE:
case TREEITEM:
case UPDATE:
case WDDX:
case ZIP:
case CFCUSTOM_IDENTIFIER:
case IDENTIFIER:
enterOuterAlt(_localctx, 1);
{
setState(1024);
identifier();
}
break;
case OPEN_STRING:
enterOuterAlt(_localctx, 2);
{
setState(1025);
stringLiteral();
}
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 MultipartIdentifierContext extends ParserRuleContext {
public IdentifierContext identifier() {
return getRuleContext(IdentifierContext.class,0);
}
public List DOT() { return getTokens(CFSCRIPTParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(CFSCRIPTParser.DOT, i);
}
public List identifierOrReservedWord() {
return getRuleContexts(IdentifierOrReservedWordContext.class);
}
public IdentifierOrReservedWordContext identifierOrReservedWord(int i) {
return getRuleContext(IdentifierOrReservedWordContext.class,i);
}
public MultipartIdentifierContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_multipartIdentifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterMultipartIdentifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitMultipartIdentifier(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitMultipartIdentifier(this);
else return visitor.visitChildren(this);
}
}
public final MultipartIdentifierContext multipartIdentifier() throws RecognitionException {
MultipartIdentifierContext _localctx = new MultipartIdentifierContext(_ctx, getState());
enterRule(_localctx, 192, RULE_multipartIdentifier);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1028);
identifier();
setState(1033);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,111,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1029);
match(DOT);
setState(1030);
identifierOrReservedWord();
}
}
}
setState(1035);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,111,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IdentifierContext extends ParserRuleContext {
public TerminalNode COMPONENT() { return getToken(CFSCRIPTParser.COMPONENT, 0); }
public TerminalNode IDENTIFIER() { return getToken(CFSCRIPTParser.IDENTIFIER, 0); }
public TerminalNode CONTAIN() { return getToken(CFSCRIPTParser.CONTAIN, 0); }
public TerminalNode VAR() { return getToken(CFSCRIPTParser.VAR, 0); }
public TerminalNode TO() { return getToken(CFSCRIPTParser.TO, 0); }
public TerminalNode DEFAULT() { return getToken(CFSCRIPTParser.DEFAULT, 0); }
public TerminalNode INCLUDE() { return getToken(CFSCRIPTParser.INCLUDE, 0); }
public TerminalNode NEW() { return getToken(CFSCRIPTParser.NEW, 0); }
public TerminalNode ABORT() { return getToken(CFSCRIPTParser.ABORT, 0); }
public TerminalNode ADMIN() { return getToken(CFSCRIPTParser.ADMIN, 0); }
public TerminalNode THROW() { return getToken(CFSCRIPTParser.THROW, 0); }
public TerminalNode RETHROW() { return getToken(CFSCRIPTParser.RETHROW, 0); }
public TerminalNode PARAM() { return getToken(CFSCRIPTParser.PARAM, 0); }
public TerminalNode EXIT() { return getToken(CFSCRIPTParser.EXIT, 0); }
public TerminalNode THREAD() { return getToken(CFSCRIPTParser.THREAD, 0); }
public TerminalNode LOCK() { return getToken(CFSCRIPTParser.LOCK, 0); }
public TerminalNode TRANSACTION() { return getToken(CFSCRIPTParser.TRANSACTION, 0); }
public TerminalNode PUBLIC() { return getToken(CFSCRIPTParser.PUBLIC, 0); }
public TerminalNode PRIVATE() { return getToken(CFSCRIPTParser.PRIVATE, 0); }
public TerminalNode REMOTE() { return getToken(CFSCRIPTParser.REMOTE, 0); }
public TerminalNode PACKAGE() { return getToken(CFSCRIPTParser.PACKAGE, 0); }
public TerminalNode REQUIRED() { return getToken(CFSCRIPTParser.REQUIRED, 0); }
public CfmlFunctionContext cfmlFunction() {
return getRuleContext(CfmlFunctionContext.class,0);
}
public TypeContext type() {
return getRuleContext(TypeContext.class,0);
}
public IdentifierContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_identifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterIdentifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitIdentifier(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitIdentifier(this);
else return visitor.visitChildren(this);
}
}
public final IdentifierContext identifier() throws RecognitionException {
IdentifierContext _localctx = new IdentifierContext(_ctx, getState());
enterRule(_localctx, 194, RULE_identifier);
try {
enterOuterAlt(_localctx, 1);
{
setState(1060);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,112,_ctx) ) {
case 1:
{
setState(1036);
match(COMPONENT);
}
break;
case 2:
{
setState(1037);
match(IDENTIFIER);
}
break;
case 3:
{
setState(1038);
match(CONTAIN);
}
break;
case 4:
{
setState(1039);
match(VAR);
}
break;
case 5:
{
setState(1040);
match(TO);
}
break;
case 6:
{
setState(1041);
match(DEFAULT);
}
break;
case 7:
{
setState(1042);
match(INCLUDE);
}
break;
case 8:
{
setState(1043);
match(NEW);
}
break;
case 9:
{
setState(1044);
match(ABORT);
}
break;
case 10:
{
setState(1045);
match(ADMIN);
}
break;
case 11:
{
setState(1046);
match(THROW);
}
break;
case 12:
{
setState(1047);
match(RETHROW);
}
break;
case 13:
{
setState(1048);
match(PARAM);
}
break;
case 14:
{
setState(1049);
match(EXIT);
}
break;
case 15:
{
setState(1050);
match(THREAD);
}
break;
case 16:
{
setState(1051);
match(LOCK);
}
break;
case 17:
{
setState(1052);
match(TRANSACTION);
}
break;
case 18:
{
setState(1053);
match(PUBLIC);
}
break;
case 19:
{
setState(1054);
match(PRIVATE);
}
break;
case 20:
{
setState(1055);
match(REMOTE);
}
break;
case 21:
{
setState(1056);
match(PACKAGE);
}
break;
case 22:
{
setState(1057);
match(REQUIRED);
}
break;
case 23:
{
setState(1058);
cfmlFunction();
}
break;
case 24:
{
setState(1059);
type();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TypeContext extends ParserRuleContext {
public TerminalNode NUMERIC() { return getToken(CFSCRIPTParser.NUMERIC, 0); }
public TerminalNode STRING() { return getToken(CFSCRIPTParser.STRING, 0); }
public TerminalNode BOOLEAN() { return getToken(CFSCRIPTParser.BOOLEAN, 0); }
public TerminalNode COMPONENT() { return getToken(CFSCRIPTParser.COMPONENT, 0); }
public TerminalNode ANY() { return getToken(CFSCRIPTParser.ANY, 0); }
public TerminalNode ARRAY() { return getToken(CFSCRIPTParser.ARRAY, 0); }
public TerminalNode STRUCT() { return getToken(CFSCRIPTParser.STRUCT, 0); }
public TypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_type; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitType(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitType(this);
else return visitor.visitChildren(this);
}
}
public final TypeContext type() throws RecognitionException {
TypeContext _localctx = new TypeContext(_ctx, getState());
enterRule(_localctx, 196, RULE_type);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1062);
_la = _input.LA(1);
if ( !(((((_la - 99)) & ~0x3f) == 0 && ((1L << (_la - 99)) & ((1L << (STRING - 99)) | (1L << (NUMERIC - 99)) | (1L << (BOOLEAN - 99)) | (1L << (ANY - 99)) | (1L << (ARRAY - 99)) | (1L << (STRUCT - 99)) | (1L << (COMPONENT - 99)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CfscriptKeywordsContext extends ParserRuleContext {
public TerminalNode IF() { return getToken(CFSCRIPTParser.IF, 0); }
public TerminalNode ELSE() { return getToken(CFSCRIPTParser.ELSE, 0); }
public TerminalNode BREAK() { return getToken(CFSCRIPTParser.BREAK, 0); }
public TerminalNode CONTINUE() { return getToken(CFSCRIPTParser.CONTINUE, 0); }
public TerminalNode FUNCTION() { return getToken(CFSCRIPTParser.FUNCTION, 0); }
public TerminalNode RETURN() { return getToken(CFSCRIPTParser.RETURN, 0); }
public TerminalNode WHILE() { return getToken(CFSCRIPTParser.WHILE, 0); }
public TerminalNode DO() { return getToken(CFSCRIPTParser.DO, 0); }
public TerminalNode FOR() { return getToken(CFSCRIPTParser.FOR, 0); }
public TerminalNode IN() { return getToken(CFSCRIPTParser.IN, 0); }
public TerminalNode TRY() { return getToken(CFSCRIPTParser.TRY, 0); }
public TerminalNode CATCH() { return getToken(CFSCRIPTParser.CATCH, 0); }
public TerminalNode FINALLY() { return getToken(CFSCRIPTParser.FINALLY, 0); }
public TerminalNode SWITCH() { return getToken(CFSCRIPTParser.SWITCH, 0); }
public TerminalNode CASE() { return getToken(CFSCRIPTParser.CASE, 0); }
public TerminalNode DEFAULT() { return getToken(CFSCRIPTParser.DEFAULT, 0); }
public TerminalNode IMPORT() { return getToken(CFSCRIPTParser.IMPORT, 0); }
public CfscriptKeywordsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_cfscriptKeywords; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterCfscriptKeywords(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitCfscriptKeywords(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitCfscriptKeywords(this);
else return visitor.visitChildren(this);
}
}
public final CfscriptKeywordsContext cfscriptKeywords() throws RecognitionException {
CfscriptKeywordsContext _localctx = new CfscriptKeywordsContext(_ctx, getState());
enterRule(_localctx, 198, RULE_cfscriptKeywords);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1064);
_la = _input.LA(1);
if ( !(((((_la - 31)) & ~0x3f) == 0 && ((1L << (_la - 31)) & ((1L << (IF - 31)) | (1L << (ELSE - 31)) | (1L << (BREAK - 31)) | (1L << (CONTINUE - 31)) | (1L << (FUNCTION - 31)) | (1L << (RETURN - 31)) | (1L << (WHILE - 31)) | (1L << (DO - 31)) | (1L << (FOR - 31)) | (1L << (IN - 31)) | (1L << (TRY - 31)) | (1L << (CATCH - 31)) | (1L << (SWITCH - 31)) | (1L << (CASE - 31)) | (1L << (DEFAULT - 31)) | (1L << (FINALLY - 31)) | (1L << (IMPORT - 31)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PrimaryExpressionContext extends ParserRuleContext {
public LiteralExpressionContext literalExpression() {
return getRuleContext(LiteralExpressionContext.class,0);
}
public ImplicitArrayContext implicitArray() {
return getRuleContext(ImplicitArrayContext.class,0);
}
public ImplicitStructContext implicitStruct() {
return getRuleContext(ImplicitStructContext.class,0);
}
public IdentifierContext identifier() {
return getRuleContext(IdentifierContext.class,0);
}
public PrimaryExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_primaryExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterPrimaryExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitPrimaryExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitPrimaryExpression(this);
else return visitor.visitChildren(this);
}
}
public final PrimaryExpressionContext primaryExpression() throws RecognitionException {
PrimaryExpressionContext _localctx = new PrimaryExpressionContext(_ctx, getState());
enterRule(_localctx, 200, RULE_primaryExpression);
try {
setState(1070);
_errHandler.sync(this);
switch (_input.LA(1)) {
case BOOLEAN_LITERAL:
case OPEN_STRING:
case DOT:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
enterOuterAlt(_localctx, 1);
{
setState(1066);
literalExpression();
}
break;
case LEFTBRACKET:
enterOuterAlt(_localctx, 2);
{
setState(1067);
implicitArray();
}
break;
case LEFTCURLYBRACKET:
enterOuterAlt(_localctx, 3);
{
setState(1068);
implicitStruct();
}
break;
case CONTAIN:
case TO:
case VAR:
case NEW:
case DEFAULT:
case INCLUDE:
case ABORT:
case ADMIN:
case THROW:
case RETHROW:
case EXIT:
case PARAM:
case PROPERTY:
case LOCK:
case THREAD:
case TRANSACTION:
case SAVECONTENT:
case HTTP:
case CFHTTP:
case FILE:
case DIRECTORY:
case LOOP:
case SETTING:
case QUERY:
case STRING:
case NUMERIC:
case BOOLEAN:
case ANY:
case ARRAY:
case STRUCT:
case PRIVATE:
case PUBLIC:
case REMOTE:
case PACKAGE:
case REQUIRED:
case COMPONENT:
case LOG:
case APPLET:
case ASSOCIATE:
case AUTHENTICATE:
case CACHE:
case COL:
case COLLECTION:
case CONTENT:
case COOKIE:
case ERROR:
case EXECUTE:
case FORM:
case FTP:
case GRID:
case GRIDCOLUMN:
case GRIDROW:
case GRIDUPDATE:
case HEADER:
case HTMLHEAD:
case HTTPPARAM:
case CFHTTPPARAM:
case IMPERSONATE:
case INDEX:
case INPUT:
case INSERT:
case LDAP:
case LOCATION:
case MAIL:
case MAILPARAM:
case MODULE:
case OBJECT:
case OUTPUT:
case POP:
case PROCESSINGDIRECTIVE:
case PROCPARAM:
case PROCRESULT:
case QUERYPARAM:
case REGISTRY:
case REPORT:
case SCHEDULE:
case SCRIPT:
case SEARCH:
case SELECT:
case SERVLET:
case SERVLETPARAM:
case SET:
case SILENT:
case SLIDER:
case STOREDPROC:
case TABLE:
case TEXTINPUT:
case TREE:
case TREEITEM:
case UPDATE:
case WDDX:
case ZIP:
case CFCUSTOM_IDENTIFIER:
case IDENTIFIER:
enterOuterAlt(_localctx, 4);
{
setState(1069);
identifier();
}
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 ParentheticalExpressionContext extends ParserRuleContext {
public TerminalNode LEFTPAREN() { return getToken(CFSCRIPTParser.LEFTPAREN, 0); }
public StartExpressionContext startExpression() {
return getRuleContext(StartExpressionContext.class,0);
}
public TerminalNode RIGHTPAREN() { return getToken(CFSCRIPTParser.RIGHTPAREN, 0); }
public ParentheticalExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_parentheticalExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterParentheticalExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitParentheticalExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitParentheticalExpression(this);
else return visitor.visitChildren(this);
}
}
public final ParentheticalExpressionContext parentheticalExpression() throws RecognitionException {
ParentheticalExpressionContext _localctx = new ParentheticalExpressionContext(_ctx, getState());
enterRule(_localctx, 202, RULE_parentheticalExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(1072);
match(LEFTPAREN);
setState(1073);
startExpression();
setState(1074);
match(RIGHTPAREN);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ImplicitArrayContext extends ParserRuleContext {
public Token lc;
public TerminalNode RIGHTBRACKET() { return getToken(CFSCRIPTParser.RIGHTBRACKET, 0); }
public TerminalNode LEFTBRACKET() { return getToken(CFSCRIPTParser.LEFTBRACKET, 0); }
public ImplicitArrayElementsContext implicitArrayElements() {
return getRuleContext(ImplicitArrayElementsContext.class,0);
}
public ImplicitArrayContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_implicitArray; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterImplicitArray(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitImplicitArray(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitImplicitArray(this);
else return visitor.visitChildren(this);
}
}
public final ImplicitArrayContext implicitArray() throws RecognitionException {
ImplicitArrayContext _localctx = new ImplicitArrayContext(_ctx, getState());
enterRule(_localctx, 204, RULE_implicitArray);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1076);
((ImplicitArrayContext)_localctx).lc = match(LEFTBRACKET);
setState(1078);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN_LITERAL) | (1L << OPEN_STRING) | (1L << CONTAINS) | (1L << CONTAIN) | (1L << GT) | (1L << GTE) | (1L << LTE) | (1L << LT) | (1L << EQ) | (1L << NEQ) | (1L << OR) | (1L << TO) | (1L << IMP) | (1L << EQV) | (1L << XOR) | (1L << AND) | (1L << NOT) | (1L << MOD) | (1L << VAR) | (1L << NEW) | (1L << FUNCTION) | (1L << DEFAULT) | (1L << DOT) | (1L << PLUS) | (1L << PLUSPLUS) | (1L << MINUS) | (1L << MINUSMINUS))) != 0) || ((((_la - 67)) & ~0x3f) == 0 && ((1L << (_la - 67)) & ((1L << (NOTNOTOP - 67)) | (1L << (NOTOP - 67)) | (1L << (LEFTBRACKET - 67)) | (1L << (LEFTPAREN - 67)) | (1L << (LEFTCURLYBRACKET - 67)) | (1L << (INCLUDE - 67)) | (1L << (ABORT - 67)) | (1L << (ADMIN - 67)) | (1L << (THROW - 67)) | (1L << (RETHROW - 67)) | (1L << (EXIT - 67)) | (1L << (PARAM - 67)) | (1L << (PROPERTY - 67)) | (1L << (LOCK - 67)) | (1L << (THREAD - 67)) | (1L << (TRANSACTION - 67)) | (1L << (SAVECONTENT - 67)) | (1L << (HTTP - 67)) | (1L << (CFHTTP - 67)) | (1L << (FILE - 67)) | (1L << (DIRECTORY - 67)) | (1L << (LOOP - 67)) | (1L << (SETTING - 67)) | (1L << (QUERY - 67)) | (1L << (STRING - 67)) | (1L << (NUMERIC - 67)) | (1L << (BOOLEAN - 67)) | (1L << (ANY - 67)) | (1L << (ARRAY - 67)) | (1L << (STRUCT - 67)) | (1L << (PRIVATE - 67)) | (1L << (PUBLIC - 67)) | (1L << (REMOTE - 67)) | (1L << (PACKAGE - 67)) | (1L << (REQUIRED - 67)) | (1L << (COMPONENT - 67)) | (1L << (LOG - 67)) | (1L << (APPLET - 67)) | (1L << (ASSOCIATE - 67)) | (1L << (AUTHENTICATE - 67)) | (1L << (CACHE - 67)) | (1L << (COL - 67)) | (1L << (COLLECTION - 67)) | (1L << (CONTENT - 67)) | (1L << (COOKIE - 67)) | (1L << (ERROR - 67)) | (1L << (EXECUTE - 67)) | (1L << (FORM - 67)) | (1L << (FTP - 67)) | (1L << (GRID - 67)) | (1L << (GRIDCOLUMN - 67)) | (1L << (GRIDROW - 67)) | (1L << (GRIDUPDATE - 67)) | (1L << (HEADER - 67)) | (1L << (HTMLHEAD - 67)) | (1L << (HTTPPARAM - 67)))) != 0) || ((((_la - 131)) & ~0x3f) == 0 && ((1L << (_la - 131)) & ((1L << (CFHTTPPARAM - 131)) | (1L << (IMPERSONATE - 131)) | (1L << (INDEX - 131)) | (1L << (INPUT - 131)) | (1L << (INSERT - 131)) | (1L << (LDAP - 131)) | (1L << (LOCATION - 131)) | (1L << (MAIL - 131)) | (1L << (MAILPARAM - 131)) | (1L << (MODULE - 131)) | (1L << (OBJECT - 131)) | (1L << (OUTPUT - 131)) | (1L << (POP - 131)) | (1L << (PROCESSINGDIRECTIVE - 131)) | (1L << (PROCPARAM - 131)) | (1L << (PROCRESULT - 131)) | (1L << (QUERYPARAM - 131)) | (1L << (REGISTRY - 131)) | (1L << (REPORT - 131)) | (1L << (SCHEDULE - 131)) | (1L << (SCRIPT - 131)) | (1L << (SEARCH - 131)) | (1L << (SELECT - 131)) | (1L << (SERVLET - 131)) | (1L << (SERVLETPARAM - 131)) | (1L << (SET - 131)) | (1L << (SILENT - 131)) | (1L << (SLIDER - 131)) | (1L << (STOREDPROC - 131)) | (1L << (TABLE - 131)) | (1L << (TEXTINPUT - 131)) | (1L << (TREE - 131)) | (1L << (TREEITEM - 131)) | (1L << (UPDATE - 131)) | (1L << (WDDX - 131)) | (1L << (ZIP - 131)) | (1L << (CFCUSTOM_IDENTIFIER - 131)) | (1L << (IDENTIFIER - 131)) | (1L << (INTEGER_LITERAL - 131)) | (1L << (POUND_SIGN - 131)) | (1L << (FLOATING_POINT_LITERAL - 131)))) != 0)) {
{
setState(1077);
implicitArrayElements();
}
}
setState(1080);
match(RIGHTBRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ImplicitArrayElementsContext extends ParserRuleContext {
public List startExpression() {
return getRuleContexts(StartExpressionContext.class);
}
public StartExpressionContext startExpression(int i) {
return getRuleContext(StartExpressionContext.class,i);
}
public List COMMA() { return getTokens(CFSCRIPTParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CFSCRIPTParser.COMMA, i);
}
public ImplicitArrayElementsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_implicitArrayElements; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterImplicitArrayElements(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitImplicitArrayElements(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitImplicitArrayElements(this);
else return visitor.visitChildren(this);
}
}
public final ImplicitArrayElementsContext implicitArrayElements() throws RecognitionException {
ImplicitArrayElementsContext _localctx = new ImplicitArrayElementsContext(_ctx, getState());
enterRule(_localctx, 206, RULE_implicitArrayElements);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1082);
startExpression();
setState(1087);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1083);
match(COMMA);
setState(1084);
startExpression();
}
}
setState(1089);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ImplicitStructContext extends ParserRuleContext {
public Token lc;
public TerminalNode RIGHTCURLYBRACKET() { return getToken(CFSCRIPTParser.RIGHTCURLYBRACKET, 0); }
public TerminalNode LEFTCURLYBRACKET() { return getToken(CFSCRIPTParser.LEFTCURLYBRACKET, 0); }
public ImplicitStructElementsContext implicitStructElements() {
return getRuleContext(ImplicitStructElementsContext.class,0);
}
public ImplicitStructContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_implicitStruct; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterImplicitStruct(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitImplicitStruct(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitImplicitStruct(this);
else return visitor.visitChildren(this);
}
}
public final ImplicitStructContext implicitStruct() throws RecognitionException {
ImplicitStructContext _localctx = new ImplicitStructContext(_ctx, getState());
enterRule(_localctx, 208, RULE_implicitStruct);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1090);
((ImplicitStructContext)_localctx).lc = match(LEFTCURLYBRACKET);
setState(1092);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN_LITERAL) | (1L << OPEN_STRING) | (1L << CONTAINS) | (1L << CONTAIN) | (1L << GT) | (1L << GTE) | (1L << LTE) | (1L << LT) | (1L << EQ) | (1L << NEQ) | (1L << OR) | (1L << TO) | (1L << IMP) | (1L << EQV) | (1L << XOR) | (1L << AND) | (1L << NOT) | (1L << MOD) | (1L << VAR) | (1L << NEW) | (1L << IF) | (1L << ELSE) | (1L << BREAK) | (1L << CONTINUE) | (1L << FUNCTION) | (1L << RETURN) | (1L << WHILE) | (1L << DO) | (1L << FOR) | (1L << IN) | (1L << TRY) | (1L << CATCH) | (1L << SWITCH) | (1L << CASE) | (1L << DEFAULT) | (1L << FINALLY) | (1L << DOT))) != 0) || ((((_la - 79)) & ~0x3f) == 0 && ((1L << (_la - 79)) & ((1L << (INCLUDE - 79)) | (1L << (IMPORT - 79)) | (1L << (ABORT - 79)) | (1L << (ADMIN - 79)) | (1L << (THROW - 79)) | (1L << (RETHROW - 79)) | (1L << (EXIT - 79)) | (1L << (PARAM - 79)) | (1L << (PROPERTY - 79)) | (1L << (LOCK - 79)) | (1L << (THREAD - 79)) | (1L << (TRANSACTION - 79)) | (1L << (SAVECONTENT - 79)) | (1L << (HTTP - 79)) | (1L << (CFHTTP - 79)) | (1L << (FILE - 79)) | (1L << (DIRECTORY - 79)) | (1L << (LOOP - 79)) | (1L << (SETTING - 79)) | (1L << (QUERY - 79)) | (1L << (STRING - 79)) | (1L << (NUMERIC - 79)) | (1L << (BOOLEAN - 79)) | (1L << (ANY - 79)) | (1L << (ARRAY - 79)) | (1L << (STRUCT - 79)) | (1L << (PRIVATE - 79)) | (1L << (PUBLIC - 79)) | (1L << (REMOTE - 79)) | (1L << (PACKAGE - 79)) | (1L << (REQUIRED - 79)) | (1L << (COMPONENT - 79)) | (1L << (LOG - 79)) | (1L << (APPLET - 79)) | (1L << (ASSOCIATE - 79)) | (1L << (AUTHENTICATE - 79)) | (1L << (CACHE - 79)) | (1L << (COL - 79)) | (1L << (COLLECTION - 79)) | (1L << (CONTENT - 79)) | (1L << (COOKIE - 79)) | (1L << (ERROR - 79)) | (1L << (EXECUTE - 79)) | (1L << (FORM - 79)) | (1L << (FTP - 79)) | (1L << (GRID - 79)) | (1L << (GRIDCOLUMN - 79)) | (1L << (GRIDROW - 79)) | (1L << (GRIDUPDATE - 79)) | (1L << (HEADER - 79)) | (1L << (HTMLHEAD - 79)) | (1L << (HTTPPARAM - 79)) | (1L << (CFHTTPPARAM - 79)) | (1L << (IMPERSONATE - 79)) | (1L << (INDEX - 79)) | (1L << (INPUT - 79)) | (1L << (INSERT - 79)) | (1L << (LDAP - 79)) | (1L << (LOCATION - 79)) | (1L << (MAIL - 79)) | (1L << (MAILPARAM - 79)) | (1L << (MODULE - 79)) | (1L << (OBJECT - 79)) | (1L << (OUTPUT - 79)))) != 0) || ((((_la - 143)) & ~0x3f) == 0 && ((1L << (_la - 143)) & ((1L << (POP - 143)) | (1L << (PROCESSINGDIRECTIVE - 143)) | (1L << (PROCPARAM - 143)) | (1L << (PROCRESULT - 143)) | (1L << (QUERYPARAM - 143)) | (1L << (REGISTRY - 143)) | (1L << (REPORT - 143)) | (1L << (SCHEDULE - 143)) | (1L << (SCRIPT - 143)) | (1L << (SEARCH - 143)) | (1L << (SELECT - 143)) | (1L << (SERVLET - 143)) | (1L << (SERVLETPARAM - 143)) | (1L << (SET - 143)) | (1L << (SILENT - 143)) | (1L << (SLIDER - 143)) | (1L << (STOREDPROC - 143)) | (1L << (TABLE - 143)) | (1L << (TEXTINPUT - 143)) | (1L << (TREE - 143)) | (1L << (TREEITEM - 143)) | (1L << (UPDATE - 143)) | (1L << (WDDX - 143)) | (1L << (ZIP - 143)) | (1L << (CFCUSTOM_IDENTIFIER - 143)) | (1L << (IDENTIFIER - 143)) | (1L << (INTEGER_LITERAL - 143)) | (1L << (FLOATING_POINT_LITERAL - 143)))) != 0)) {
{
setState(1091);
implicitStructElements();
}
}
setState(1094);
match(RIGHTCURLYBRACKET);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ImplicitStructElementsContext extends ParserRuleContext {
public Token unnecessaryComma;
public List implicitStructExpression() {
return getRuleContexts(ImplicitStructExpressionContext.class);
}
public ImplicitStructExpressionContext implicitStructExpression(int i) {
return getRuleContext(ImplicitStructExpressionContext.class,i);
}
public List COMMA() { return getTokens(CFSCRIPTParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(CFSCRIPTParser.COMMA, i);
}
public ImplicitStructElementsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_implicitStructElements; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterImplicitStructElements(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitImplicitStructElements(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitImplicitStructElements(this);
else return visitor.visitChildren(this);
}
}
public final ImplicitStructElementsContext implicitStructElements() throws RecognitionException {
ImplicitStructElementsContext _localctx = new ImplicitStructElementsContext(_ctx, getState());
enterRule(_localctx, 210, RULE_implicitStructElements);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1096);
implicitStructExpression();
setState(1101);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,117,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1097);
match(COMMA);
setState(1098);
implicitStructExpression();
}
}
}
setState(1103);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,117,_ctx);
}
setState(1105);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(1104);
((ImplicitStructElementsContext)_localctx).unnecessaryComma = match(COMMA);
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ImplicitStructExpressionContext extends ParserRuleContext {
public ImplicitStructKeyExpressionContext implicitStructKeyExpression() {
return getRuleContext(ImplicitStructKeyExpressionContext.class,0);
}
public CompareExpressionContext compareExpression() {
return getRuleContext(CompareExpressionContext.class,0);
}
public TerminalNode COLON() { return getToken(CFSCRIPTParser.COLON, 0); }
public TerminalNode EQUALSOP() { return getToken(CFSCRIPTParser.EQUALSOP, 0); }
public ImplicitStructExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_implicitStructExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterImplicitStructExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitImplicitStructExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitImplicitStructExpression(this);
else return visitor.visitChildren(this);
}
}
public final ImplicitStructExpressionContext implicitStructExpression() throws RecognitionException {
ImplicitStructExpressionContext _localctx = new ImplicitStructExpressionContext(_ctx, getState());
enterRule(_localctx, 212, RULE_implicitStructExpression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1107);
implicitStructKeyExpression();
setState(1108);
_la = _input.LA(1);
if ( !(_la==EQUALSOP || _la==COLON) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1109);
compareExpression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ImplicitStructKeyExpressionContext extends ParserRuleContext {
public MultipartIdentifierContext multipartIdentifier() {
return getRuleContext(MultipartIdentifierContext.class,0);
}
public LiteralExpressionContext literalExpression() {
return getRuleContext(LiteralExpressionContext.class,0);
}
public ReservedWordContext reservedWord() {
return getRuleContext(ReservedWordContext.class,0);
}
public ImplicitStructKeyExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_implicitStructKeyExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterImplicitStructKeyExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitImplicitStructKeyExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitImplicitStructKeyExpression(this);
else return visitor.visitChildren(this);
}
}
public final ImplicitStructKeyExpressionContext implicitStructKeyExpression() throws RecognitionException {
ImplicitStructKeyExpressionContext _localctx = new ImplicitStructKeyExpressionContext(_ctx, getState());
enterRule(_localctx, 214, RULE_implicitStructKeyExpression);
try {
setState(1114);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,119,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1111);
multipartIdentifier();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1112);
literalExpression();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1113);
reservedWord();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class NewComponentExpressionContext extends ParserRuleContext {
public TerminalNode NEW() { return getToken(CFSCRIPTParser.NEW, 0); }
public ComponentPathContext componentPath() {
return getRuleContext(ComponentPathContext.class,0);
}
public TerminalNode LEFTPAREN() { return getToken(CFSCRIPTParser.LEFTPAREN, 0); }
public ArgumentListContext argumentList() {
return getRuleContext(ArgumentListContext.class,0);
}
public TerminalNode RIGHTPAREN() { return getToken(CFSCRIPTParser.RIGHTPAREN, 0); }
public NewComponentExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_newComponentExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterNewComponentExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitNewComponentExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitNewComponentExpression(this);
else return visitor.visitChildren(this);
}
}
public final NewComponentExpressionContext newComponentExpression() throws RecognitionException {
NewComponentExpressionContext _localctx = new NewComponentExpressionContext(_ctx, getState());
enterRule(_localctx, 216, RULE_newComponentExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(1116);
match(NEW);
setState(1117);
componentPath();
setState(1118);
match(LEFTPAREN);
setState(1119);
argumentList();
setState(1120);
match(RIGHTPAREN);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ComponentPathContext extends ParserRuleContext {
public StringLiteralContext stringLiteral() {
return getRuleContext(StringLiteralContext.class,0);
}
public IdentifierContext identifier() {
return getRuleContext(IdentifierContext.class,0);
}
public MultipartIdentifierContext multipartIdentifier() {
return getRuleContext(MultipartIdentifierContext.class,0);
}
public ComponentPathContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_componentPath; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).enterComponentPath(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof CFSCRIPTParserListener ) ((CFSCRIPTParserListener)listener).exitComponentPath(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof CFSCRIPTParserVisitor ) return ((CFSCRIPTParserVisitor extends T>)visitor).visitComponentPath(this);
else return visitor.visitChildren(this);
}
}
public final ComponentPathContext componentPath() throws RecognitionException {
ComponentPathContext _localctx = new ComponentPathContext(_ctx, getState());
enterRule(_localctx, 218, RULE_componentPath);
try {
setState(1125);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,120,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1122);
stringLiteral();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1123);
identifier();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1124);
multipartIdentifier();
}
break;
}
}
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 21:
return endOfStatement_sempred((EndOfStatementContext)_localctx, predIndex);
case 63:
return baseExpression_sempred((BaseExpressionContext)_localctx, predIndex);
case 76:
return unaryExpression_sempred((UnaryExpressionContext)_localctx, predIndex);
}
return true;
}
private boolean endOfStatement_sempred(EndOfStatementContext _localctx, int predIndex) {
switch (predIndex) {
case 0:
return _input.get(_input.LT(-1).getTokenIndex()+1).getType()==NEWLINE;
}
return true;
}
private boolean baseExpression_sempred(BaseExpressionContext _localctx, int predIndex) {
switch (predIndex) {
case 1:
return precpred(_ctx, 1);
}
return true;
}
private boolean unaryExpression_sempred(UnaryExpressionContext _localctx, int predIndex) {
switch (predIndex) {
case 2:
return precpred(_ctx, 4);
}
return true;
}
public static final String _serializedATN =
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3\u00ba\u046a\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\4\20\t\20\4\21\t\21\4\22\t\22"+
"\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+
"\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36\4\37\t\37\4 \t \4!"+
"\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4"+
",\t,\4-\t-\4.\t.\4/\t/\4\60\t\60\4\61\t\61\4\62\t\62\4\63\t\63\4\64\t"+
"\64\4\65\t\65\4\66\t\66\4\67\t\67\48\t8\49\t9\4:\t:\4;\t;\4<\t<\4=\t="+
"\4>\t>\4?\t?\4@\t@\4A\tA\4B\tB\4C\tC\4D\tD\4E\tE\4F\tF\4G\tG\4H\tH\4I"+
"\tI\4J\tJ\4K\tK\4L\tL\4M\tM\4N\tN\4O\tO\4P\tP\4Q\tQ\4R\tR\4S\tS\4T\tT"+
"\4U\tU\4V\tV\4W\tW\4X\tX\4Y\tY\4Z\tZ\4[\t[\4\\\t\\\4]\t]\4^\t^\4_\t_\4"+
"`\t`\4a\ta\4b\tb\4c\tc\4d\td\4e\te\4f\tf\4g\tg\4h\th\4i\ti\4j\tj\4k\t"+
"k\4l\tl\4m\tm\4n\tn\4o\to\3\2\7\2\u00e0\n\2\f\2\16\2\u00e3\13\2\3\2\3"+
"\2\7\2\u00e7\n\2\f\2\16\2\u00ea\13\2\3\2\7\2\u00ed\n\2\f\2\16\2\u00f0"+
"\13\2\3\2\5\2\u00f3\n\2\3\3\3\3\3\3\3\3\3\4\3\4\7\4\u00fb\n\4\f\4\16\4"+
"\u00fe\13\4\3\4\3\4\3\5\3\5\5\5\u0104\n\5\3\6\5\6\u0107\n\6\3\6\5\6\u010a"+
"\n\6\3\6\3\6\3\6\3\6\5\6\u0110\n\6\3\6\3\6\7\6\u0114\n\6\f\6\16\6\u0117"+
"\13\6\3\6\3\6\3\7\5\7\u011c\n\7\3\7\5\7\u011f\n\7\3\7\3\7\3\7\5\7\u0124"+
"\n\7\3\7\3\7\7\7\u0128\n\7\f\7\16\7\u012b\13\7\3\7\3\7\3\b\3\b\3\t\3\t"+
"\5\t\u0133\n\t\3\t\5\t\u0136\n\t\3\t\5\t\u0139\n\t\3\n\3\n\3\n\3\13\3"+
"\13\3\13\3\13\3\13\3\13\7\13\u0144\n\13\f\13\16\13\u0147\13\13\3\13\3"+
"\13\3\f\3\f\3\r\3\r\3\r\7\r\u0150\n\r\f\r\16\r\u0153\13\r\3\r\5\r\u0156"+
"\n\r\3\16\5\16\u0159\n\16\3\16\5\16\u015c\n\16\3\16\3\16\3\16\5\16\u0161"+
"\n\16\3\16\7\16\u0164\n\16\f\16\16\16\u0167\13\16\3\17\3\17\3\20\3\20"+
"\3\20\3\20\5\20\u016f\n\20\3\20\3\20\3\20\3\20\5\20\u0175\n\20\3\21\3"+
"\21\3\21\3\21\5\21\u017b\n\21\3\21\3\21\3\21\3\21\5\21\u0181\n\21\5\21"+
"\u0183\n\21\5\21\u0185\n\21\3\22\3\22\3\22\3\22\3\23\3\23\3\23\3\23\3"+
"\23\5\23\u0190\n\23\3\24\3\24\7\24\u0194\n\24\f\24\16\24\u0197\13\24\3"+
"\24\3\24\3\25\3\25\7\25\u019d\n\25\f\25\16\25\u01a0\13\25\3\25\3\25\3"+
"\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3"+
"\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\5"+
"\26\u01c0\n\26\3\27\3\27\5\27\u01c4\n\27\3\27\5\27\u01c7\n\27\3\30\3\30"+
"\3\31\3\31\3\32\3\32\3\32\3\32\3\33\3\33\3\33\5\33\u01d4\n\33\3\34\3\34"+
"\3\34\3\34\3\34\5\34\u01db\n\34\3\35\3\35\3\35\3\35\3\36\3\36\3\36\3\36"+
"\3\36\3\36\3\37\3\37\3\37\3\37\5\37\u01eb\n\37\3\37\3\37\5\37\u01ef\n"+
"\37\3\37\3\37\3\37\5\37\u01f4\n\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37"+
"\3\37\3\37\3\37\3\37\5\37\u0201\n\37\3 \3 \3!\3!\3\"\5\"\u0208\n\"\3\""+
"\3\"\3#\3#\3#\7#\u020f\n#\f#\16#\u0212\13#\3#\5#\u0215\n#\3$\3$\3$\5$"+
"\u021a\n$\3$\3$\3$\3$\3%\3%\3%\3&\3&\3&\3&\3&\5&\u0228\n&\3&\3&\5&\u022c"+
"\n&\3&\3&\5&\u0230\n&\3\'\3\'\3\'\3\'\7\'\u0236\n\'\f\'\16\'\u0239\13"+
"\'\3\'\3\'\3(\3(\3(\5(\u0240\n(\3(\3(\7(\u0244\n(\f(\16(\u0247\13(\3("+
"\3(\3(\7(\u024c\n(\f(\16(\u024f\13(\5(\u0251\n(\3)\3)\3)\3)\3)\3)\3)\3"+
")\3)\3)\3)\3)\3)\3)\5)\u0261\n)\3*\3*\3*\3+\3+\3+\5+\u0269\n+\3+\3+\3"+
",\3,\3,\3,\5,\u0271\n,\3,\3,\3-\3-\5-\u0277\n-\3-\5-\u027a\n-\3.\3.\5"+
".\u027e\n.\3.\3.\5.\u0282\n.\3/\3/\3/\3/\3/\5/\u0289\n/\3/\3/\5/\u028d"+
"\n/\3\60\3\60\3\61\3\61\3\61\3\61\3\62\3\62\3\62\3\62\5\62\u0299\n\62"+
"\3\63\3\63\5\63\u029d\n\63\3\63\3\63\3\64\3\64\3\64\3\64\3\65\3\65\3\65"+
"\5\65\u02a8\n\65\3\65\3\65\3\66\3\66\5\66\u02ae\n\66\3\66\3\66\3\67\3"+
"\67\3\67\5\67\u02b5\n\67\3\67\3\67\38\58\u02ba\n8\38\38\38\38\39\39\3"+
"9\39\39\39\59\u02c6\n9\39\39\39\59\u02cb\n9\3:\6:\u02ce\n:\r:\16:\u02cf"+
"\3;\3;\3;\3;\3<\3<\3<\3<\3<\3<\3<\3<\3<\5<\u02df\n<\3=\3=\3=\3=\7=\u02e5"+
"\n=\f=\16=\u02e8\13=\3=\3=\5=\u02ec\n=\3>\5>\u02ef\n>\3>\3>\3?\3?\3?\3"+
"?\3?\7?\u02f8\n?\f?\16?\u02fb\13?\3?\3?\3?\3?\3?\3?\5?\u0303\n?\3?\3?"+
"\3@\3@\3@\3@\3@\3A\3A\3A\3A\3A\3A\3A\3A\3A\3A\3A\3A\5A\u0318\nA\3A\3A"+
"\7A\u031c\nA\fA\16A\u031f\13A\3B\3B\3B\3B\3B\3C\3C\3C\3C\5C\u032a\nC\3"+
"D\3D\3E\3E\3E\3F\3F\3F\3G\3G\3H\3H\3H\3H\3I\3I\3I\3I\3J\3J\3J\3J\3K\3"+
"K\3K\3K\3L\3L\3L\3L\3M\3M\3M\3M\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\5N\u0358"+
"\nN\3N\3N\7N\u035c\nN\fN\16N\u035f\13N\3O\3O\3O\3O\3P\5P\u0366\nP\3P\3"+
"P\3P\3P\5P\u036c\nP\3P\6P\u036f\nP\rP\16P\u0370\3P\3P\3P\5P\u0376\nP\3"+
"P\6P\u0379\nP\rP\16P\u037a\3P\3P\6P\u037f\nP\rP\16P\u0380\3P\7P\u0384"+
"\nP\fP\16P\u0387\13P\3Q\3Q\5Q\u038b\nQ\3R\3R\3R\3R\3S\3S\5S\u0393\nS\3"+
"S\3S\3S\3S\5S\u0399\nS\3T\3T\5T\u039d\nT\3T\3T\3T\3T\5T\u03a3\nT\3U\3"+
"U\3U\3U\3V\3V\3V\3V\3V\3W\3W\5W\u03b0\nW\3X\3X\7X\u03b4\nX\fX\16X\u03b7"+
"\13X\3X\3X\3Y\3Y\7Y\u03bd\nY\fY\16Y\u03c0\13Y\3Y\3Y\5Y\u03c4\nY\3Y\7Y"+
"\u03c7\nY\fY\16Y\u03ca\13Y\3Y\3Y\3Z\3Z\3Z\3Z\3Z\3Z\5Z\u03d4\nZ\3[\3[\3"+
"[\3[\5[\u03da\n[\3\\\3\\\5\\\u03de\n\\\3\\\3\\\3\\\3\\\5\\\u03e4\n\\\3"+
"]\3]\5]\u03e8\n]\3^\3^\3_\3_\3_\7_\u03ef\n_\f_\16_\u03f2\13_\3_\5_\u03f5"+
"\n_\3`\3`\3`\3`\3`\3`\3`\3`\3`\3`\5`\u0401\n`\3a\3a\5a\u0405\na\3b\3b"+
"\3b\7b\u040a\nb\fb\16b\u040d\13b\3c\3c\3c\3c\3c\3c\3c\3c\3c\3c\3c\3c\3"+
"c\3c\3c\3c\3c\3c\3c\3c\3c\3c\3c\3c\5c\u0427\nc\3d\3d\3e\3e\3f\3f\3f\3"+
"f\5f\u0431\nf\3g\3g\3g\3g\3h\3h\5h\u0439\nh\3h\3h\3i\3i\3i\7i\u0440\n"+
"i\fi\16i\u0443\13i\3j\3j\5j\u0447\nj\3j\3j\3k\3k\3k\7k\u044e\nk\fk\16"+
"k\u0451\13k\3k\5k\u0454\nk\3l\3l\3l\3l\3m\3m\3m\5m\u045d\nm\3n\3n\3n\3"+
"n\3n\3n\3o\3o\3o\5o\u0468\no\3o\2\4\u0080\u009ap\2\4\6\b\n\f\16\20\22"+
"\24\26\30\32\34\36 \"$&(*,.\60\62\64\668:<>@BDFHJLNPRTVXZ\\^`bdfhjlnp"+
"rtvxz|~\u0080\u0082\u0084\u0086\u0088\u008a\u008c\u008e\u0090\u0092\u0094"+
"\u0096\u0098\u009a\u009c\u009e\u00a0\u00a2\u00a4\u00a6\u00a8\u00aa\u00ac"+
"\u00ae\u00b0\u00b2\u00b4\u00b6\u00b8\u00ba\u00bc\u00be\u00c0\u00c2\u00c4"+
"\u00c6\u00c8\u00ca\u00cc\u00ce\u00d0\u00d2\u00d4\u00d6\u00d8\u00da\u00dc"+
"\2\17\3\2kn\3\2\u00b0\u00b1\4\2==DD\5\2YY]dq\u00a9\7\2\f\f\16\24\27\27"+
"\32\34HI\4\2\35\35FF\4\2\f\f\17\24\4\288::\3\2\64\65\4\299;;\6\2\f\f\17"+
"\24\27\27\31\36\4\2ejpp\4\2!\60RR\2\u04d2\2\u00f2\3\2\2\2\4\u00f4\3\2"+
"\2\2\6\u00f8\3\2\2\2\b\u0103\3\2\2\2\n\u0106\3\2\2\2\f\u011b\3\2\2\2\16"+
"\u012e\3\2\2\2\20\u0138\3\2\2\2\22\u013a\3\2\2\2\24\u013d\3\2\2\2\26\u014a"+
"\3\2\2\2\30\u0155\3\2\2\2\32\u0158\3\2\2\2\34\u0168\3\2\2\2\36\u0174\3"+
"\2\2\2 \u0184\3\2\2\2\"\u0186\3\2\2\2$\u018f\3\2\2\2&\u0191\3\2\2\2(\u019a"+
"\3\2\2\2*\u01bf\3\2\2\2,\u01c6\3\2\2\2.\u01c8\3\2\2\2\60\u01ca\3\2\2\2"+
"\62\u01cc\3\2\2\2\64\u01d0\3\2\2\2\66\u01d5\3\2\2\28\u01dc\3\2\2\2:\u01e0"+
"\3\2\2\2<\u0200\3\2\2\2>\u0202\3\2\2\2@\u0204\3\2\2\2B\u0207\3\2\2\2D"+
"\u020b\3\2\2\2F\u0216\3\2\2\2H\u021f\3\2\2\2J\u022f\3\2\2\2L\u0231\3\2"+
"\2\2N\u0250\3\2\2\2P\u0260\3\2\2\2R\u0262\3\2\2\2T\u0265\3\2\2\2V\u026c"+
"\3\2\2\2X\u0274\3\2\2\2Z\u027b\3\2\2\2\\\u0283\3\2\2\2^\u028e\3\2\2\2"+
"`\u0290\3\2\2\2b\u0294\3\2\2\2d\u029a\3\2\2\2f\u02a0\3\2\2\2h\u02a4\3"+
"\2\2\2j\u02ab\3\2\2\2l\u02b1\3\2\2\2n\u02b9\3\2\2\2p\u02ca\3\2\2\2r\u02cd"+
"\3\2\2\2t\u02d1\3\2\2\2v\u02de\3\2\2\2x\u02e0\3\2\2\2z\u02ee\3\2\2\2|"+
"\u02f2\3\2\2\2~\u0306\3\2\2\2\u0080\u0317\3\2\2\2\u0082\u0320\3\2\2\2"+
"\u0084\u0325\3\2\2\2\u0086\u032b\3\2\2\2\u0088\u032d\3\2\2\2\u008a\u0330"+
"\3\2\2\2\u008c\u0333\3\2\2\2\u008e\u0335\3\2\2\2\u0090\u0339\3\2\2\2\u0092"+
"\u033d\3\2\2\2\u0094\u0341\3\2\2\2\u0096\u0345\3\2\2\2\u0098\u0349\3\2"+
"\2\2\u009a\u0357\3\2\2\2\u009c\u0360\3\2\2\2\u009e\u0365\3\2\2\2\u00a0"+
"\u038a\3\2\2\2\u00a2\u038c\3\2\2\2\u00a4\u0392\3\2\2\2\u00a6\u039c\3\2"+
"\2\2\u00a8\u03a4\3\2\2\2\u00aa\u03a8\3\2\2\2\u00ac\u03af\3\2\2\2\u00ae"+
"\u03b1\3\2\2\2\u00b0\u03ba\3\2\2\2\u00b2\u03d3\3\2\2\2\u00b4\u03d9\3\2"+
"\2\2\u00b6\u03e3\3\2\2\2\u00b8\u03e7\3\2\2\2\u00ba\u03e9\3\2\2\2\u00bc"+
"\u03f4\3\2\2\2\u00be\u0400\3\2\2\2\u00c0\u0404\3\2\2\2\u00c2\u0406\3\2"+
"\2\2\u00c4\u0426\3\2\2\2\u00c6\u0428\3\2\2\2\u00c8\u042a\3\2\2\2\u00ca"+
"\u0430\3\2\2\2\u00cc\u0432\3\2\2\2\u00ce\u0436\3\2\2\2\u00d0\u043c\3\2"+
"\2\2\u00d2\u0444\3\2\2\2\u00d4\u044a\3\2\2\2\u00d6\u0455\3\2\2\2\u00d8"+
"\u045c\3\2\2\2\u00da\u045e\3\2\2\2\u00dc\u0467\3\2\2\2\u00de\u00e0\5V"+
",\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\u00e4\3\2\2\2\u00e3\u00e1\3\2\2\2\u00e4\u00f3\5\6"+
"\4\2\u00e5\u00e7\5\b\5\2\u00e6\u00e5\3\2\2\2\u00e7\u00ea\3\2\2\2\u00e8"+
"\u00e6\3\2\2\2\u00e8\u00e9\3\2\2\2\u00e9\u00f3\3\2\2\2\u00ea\u00e8\3\2"+
"\2\2\u00eb\u00ed\5\4\3\2\u00ec\u00eb\3\2\2\2\u00ed\u00f0\3\2\2\2\u00ee"+
"\u00ec\3\2\2\2\u00ee\u00ef\3\2\2\2\u00ef\u00f3\3\2\2\2\u00f0\u00ee\3\2"+
"\2\2\u00f1\u00f3\7\2\2\3\u00f2\u00e1\3\2\2\2\u00f2\u00e8\3\2\2\2\u00f2"+
"\u00ee\3\2\2\2\u00f2\u00f1\3\2\2\2\u00f3\3\3\2\2\2\u00f4\u00f5\7\61\2"+
"\2\u00f5\u00f6\5\2\2\2\u00f6\u00f7\7\62\2\2\u00f7\5\3\2\2\2\u00f8\u00fc"+
"\7p\2\2\u00f9\u00fb\5\36\20\2\u00fa\u00f9\3\2\2\2\u00fb\u00fe\3\2\2\2"+
"\u00fc\u00fa\3\2\2\2\u00fc\u00fd\3\2\2\2\u00fd\u00ff\3\2\2\2\u00fe\u00fc"+
"\3\2\2\2\u00ff\u0100\5(\25\2\u0100\7\3\2\2\2\u0101\u0104\5\n\6\2\u0102"+
"\u0104\5*\26\2\u0103\u0101\3\2\2\2\u0103\u0102\3\2\2\2\u0104\t\3\2\2\2"+
"\u0105\u0107\5\16\b\2\u0106\u0105\3\2\2\2\u0106\u0107\3\2\2\2\u0107\u0109"+
"\3\2\2\2\u0108\u010a\5\20\t\2\u0109\u0108\3\2\2\2\u0109\u010a\3\2\2\2"+
"\u010a\u010b\3\2\2\2\u010b\u010c\7%\2\2\u010c\u010d\5\u00c4c\2\u010d\u010f"+
"\7L\2\2\u010e\u0110\5\30\r\2\u010f\u010e\3\2\2\2\u010f\u0110\3\2\2\2\u0110"+
"\u0111\3\2\2\2\u0111\u0115\7M\2\2\u0112\u0114\5 \21\2\u0113\u0112\3\2"+
"\2\2\u0114\u0117\3\2\2\2\u0115\u0113\3\2\2\2\u0115\u0116\3\2\2\2\u0116"+
"\u0118\3\2\2\2\u0117\u0115\3\2\2\2\u0118\u0119\5&\24\2\u0119\13\3\2\2"+
"\2\u011a\u011c\5\16\b\2\u011b\u011a\3\2\2\2\u011b\u011c\3\2\2\2\u011c"+
"\u011e\3\2\2\2\u011d\u011f\5\20\t\2\u011e\u011d\3\2\2\2\u011e\u011f\3"+
"\2\2\2\u011f\u0120\3\2\2\2\u0120\u0121\7%\2\2\u0121\u0123\7L\2\2\u0122"+
"\u0124\5\30\r\2\u0123\u0122\3\2\2\2\u0123\u0124\3\2\2\2\u0124\u0125\3"+
"\2\2\2\u0125\u0129\7M\2\2\u0126\u0128\5 \21\2\u0127\u0126\3\2\2\2\u0128"+
"\u012b\3\2\2\2\u0129\u0127\3\2\2\2\u0129\u012a\3\2\2\2\u012a\u012c\3\2"+
"\2\2\u012b\u0129\3\2\2\2\u012c\u012d\5&\24\2\u012d\r\3\2\2\2\u012e\u012f"+
"\t\2\2\2\u012f\17\3\2\2\2\u0130\u0133\5\u00c6d\2\u0131\u0133\5\u00c2b"+
"\2\u0132\u0130\3\2\2\2\u0132\u0131\3\2\2\2\u0133\u0135\3\2\2\2\u0134\u0136"+
"\5\22\n\2\u0135\u0134\3\2\2\2\u0135\u0136\3\2\2\2\u0136\u0139\3\2\2\2"+
"\u0137\u0139\5\24\13\2\u0138\u0132\3\2\2\2\u0138\u0137\3\2\2\2\u0139\21"+
"\3\2\2\2\u013a\u013b\7J\2\2\u013b\u013c\7K\2\2\u013c\23\3\2\2\2\u013d"+
"\u0145\7\13\2\2\u013e\u0144\5\26\f\2\u013f\u0140\7\u00ac\2\2\u0140\u0141"+
"\5> \2\u0141\u0142\7\u00ac\2\2\u0142\u0144\3\2\2\2\u0143\u013e\3\2\2\2"+
"\u0143\u013f\3\2\2\2\u0144\u0147\3\2\2\2\u0145\u0143\3\2\2\2\u0145\u0146"+
"\3\2\2\2\u0146\u0148\3\2\2\2\u0147\u0145\3\2\2\2\u0148\u0149\7\u00af\2"+
"\2\u0149\25\3\2\2\2\u014a\u014b\t\3\2\2\u014b\27\3\2\2\2\u014c\u0151\5"+
"\32\16\2\u014d\u014e\7\u00ad\2\2\u014e\u0150\5\32\16\2\u014f\u014d\3\2"+
"\2\2\u0150\u0153\3\2\2\2\u0151\u014f\3\2\2\2\u0151\u0152\3\2\2\2\u0152"+
"\u0156\3\2\2\2\u0153\u0151\3\2\2\2\u0154\u0156\3\2\2\2\u0155\u014c\3\2"+
"\2\2\u0155\u0154\3\2\2\2\u0156\31\3\2\2\2\u0157\u0159\7o\2\2\u0158\u0157"+
"\3\2\2\2\u0158\u0159\3\2\2\2\u0159\u015b\3\2\2\2\u015a\u015c\5\34\17\2"+
"\u015b\u015a\3\2\2\2\u015b\u015c\3\2\2\2\u015c\u015d\3\2\2\2\u015d\u0160"+
"\5\u00c4c\2\u015e\u015f\7=\2\2\u015f\u0161\5> \2\u0160\u015e\3\2\2\2\u0160"+
"\u0161\3\2\2\2\u0161\u0165\3\2\2\2\u0162\u0164\5$\23\2\u0163\u0162\3\2"+
"\2\2\u0164\u0167\3\2\2\2\u0165\u0163\3\2\2\2\u0165\u0166\3\2\2\2\u0166"+
"\33\3\2\2\2\u0167\u0165\3\2\2\2\u0168\u0169\5\20\t\2\u0169\35\3\2\2\2"+
"\u016a\u0175\5\u00c4c\2\u016b\u016c\5\u00c4c\2\u016c\u016d\7D\2\2\u016d"+
"\u016f\3\2\2\2\u016e\u016b\3\2\2\2\u016e\u016f\3\2\2\2\u016f\u0170\3\2"+
"\2\2\u0170\u0171\5\u00c4c\2\u0171\u0172\7=\2\2\u0172\u0173\5> \2\u0173"+
"\u0175\3\2\2\2\u0174\u016a\3\2\2\2\u0174\u016e\3\2\2\2\u0175\37\3\2\2"+
"\2\u0176\u0177\5\"\22\2\u0177\u017a\7=\2\2\u0178\u017b\5\u00c4c\2\u0179"+
"\u017b\5J&\2\u017a\u0178\3\2\2\2\u017a\u0179\3\2\2\2\u017b\u0185\3\2\2"+
"\2\u017c\u0182\5\u00c4c\2\u017d\u0180\t\4\2\2\u017e\u0181\5\u00c4c\2\u017f"+
"\u0181\5J&\2\u0180\u017e\3\2\2\2\u0180\u017f\3\2\2\2\u0181\u0183\3\2\2"+
"\2\u0182\u017d\3\2\2\2\u0182\u0183\3\2\2\2\u0183\u0185\3\2\2\2\u0184\u0176"+
"\3\2\2\2\u0184\u017c\3\2\2\2\u0185!\3\2\2\2\u0186\u0187\5\u00c4c\2\u0187"+
"\u0188\7D\2\2\u0188\u0189\5\u00c4c\2\u0189#\3\2\2\2\u018a\u018b\5\u00c4"+
"c\2\u018b\u018c\7=\2\2\u018c\u018d\5> \2\u018d\u0190\3\2\2\2\u018e\u0190"+
"\5\u00c4c\2\u018f\u018a\3\2\2\2\u018f\u018e\3\2\2\2\u0190%\3\2\2\2\u0191"+
"\u0195\7N\2\2\u0192\u0194\5*\26\2\u0193\u0192\3\2\2\2\u0194\u0197\3\2"+
"\2\2\u0195\u0193\3\2\2\2\u0195\u0196\3\2\2\2\u0196\u0198\3\2\2\2\u0197"+
"\u0195\3\2\2\2\u0198\u0199\7O\2\2\u0199\'\3\2\2\2\u019a\u019e\7N\2\2\u019b"+
"\u019d\5\b\5\2\u019c\u019b\3\2\2\2\u019d\u01a0\3\2\2\2\u019e\u019c\3\2"+
"\2\2\u019e\u019f\3\2\2\2\u019f\u01a1\3\2\2\2\u01a0\u019e\3\2\2\2\u01a1"+
"\u01a2\7O\2\2\u01a2)\3\2\2\2\u01a3\u01c0\5D#\2\u01a4\u01c0\5\66\34\2\u01a5"+
"\u01c0\58\35\2\u01a6\u01c0\5:\36\2\u01a7\u01c0\5<\37\2\u01a8\u01c0\5L"+
"\'\2\u01a9\u01aa\5\60\31\2\u01aa\u01ab\5,\27\2\u01ab\u01c0\3\2\2\2\u01ac"+
"\u01ad\5.\30\2\u01ad\u01ae\5,\27\2\u01ae\u01c0\3\2\2\2\u01af\u01b0\5\64"+
"\33\2\u01b0\u01b1\5,\27\2\u01b1\u01c0\3\2\2\2\u01b2\u01c0\5P)\2\u01b3"+
"\u01c0\5&\24\2\u01b4\u01b5\5x=\2\u01b5\u01b6\5,\27\2\u01b6\u01c0\3\2\2"+
"\2\u01b7\u01b8\5|?\2\u01b8\u01b9\5,\27\2\u01b9\u01c0\3\2\2\2\u01ba\u01bb"+
"\5> \2\u01bb\u01bc\7G\2\2\u01bc\u01c0\3\2\2\2\u01bd\u01c0\7G\2\2\u01be"+
"\u01c0\5\u00a4S\2\u01bf\u01a3\3\2\2\2\u01bf\u01a4\3\2\2\2\u01bf\u01a5"+
"\3\2\2\2\u01bf\u01a6\3\2\2\2\u01bf\u01a7\3\2\2\2\u01bf\u01a8\3\2\2\2\u01bf"+
"\u01a9\3\2\2\2\u01bf\u01ac\3\2\2\2\u01bf\u01af\3\2\2\2\u01bf\u01b2\3\2"+
"\2\2\u01bf\u01b3\3\2\2\2\u01bf\u01b4\3\2\2\2\u01bf\u01b7\3\2\2\2\u01bf"+
"\u01ba\3\2\2\2\u01bf\u01bd\3\2\2\2\u01bf\u01be\3\2\2\2\u01c0+\3\2\2\2"+
"\u01c1\u01c3\6\27\2\2\u01c2\u01c4\7G\2\2\u01c3\u01c2\3\2\2\2\u01c3\u01c4"+
"\3\2\2\2\u01c4\u01c7\3\2\2\2\u01c5\u01c7\7G\2\2\u01c6\u01c1\3\2\2\2\u01c6"+
"\u01c5\3\2\2\2\u01c7-\3\2\2\2\u01c8\u01c9\7#\2\2\u01c9/\3\2\2\2\u01ca"+
"\u01cb\7$\2\2\u01cb\61\3\2\2\2\u01cc\u01cd\7L\2\2\u01cd\u01ce\5\u0084"+
"C\2\u01ce\u01cf\7M\2\2\u01cf\63\3\2\2\2\u01d0\u01d3\7&\2\2\u01d1\u01d4"+
"\5> \2\u01d2\u01d4\5|?\2\u01d3\u01d1\3\2\2\2\u01d3\u01d2\3\2\2\2\u01d3"+
"\u01d4\3\2\2\2\u01d4\65\3\2\2\2\u01d5\u01d6\7!\2\2\u01d6\u01d7\5\62\32"+
"\2\u01d7\u01da\5*\26\2\u01d8\u01d9\7\"\2\2\u01d9\u01db\5*\26\2\u01da\u01d8"+
"\3\2\2\2\u01da\u01db\3\2\2\2\u01db\67\3\2\2\2\u01dc\u01dd\7\'\2\2\u01dd"+
"\u01de\5\62\32\2\u01de\u01df\5*\26\2\u01df9\3\2\2\2\u01e0\u01e1\7(\2\2"+
"\u01e1\u01e2\5*\26\2\u01e2\u01e3\7\'\2\2\u01e3\u01e4\5\62\32\2\u01e4\u01e5"+
"\5,\27\2\u01e5;\3\2\2\2\u01e6\u01e7\7)\2\2\u01e7\u01ea\7L\2\2\u01e8\u01eb"+
"\5x=\2\u01e9\u01eb\5|?\2\u01ea\u01e8\3\2\2\2\u01ea\u01e9\3\2\2\2\u01ea"+
"\u01eb\3\2\2\2\u01eb\u01ec\3\2\2\2\u01ec\u01ee\5,\27\2\u01ed\u01ef\5>"+
" \2\u01ee\u01ed\3\2\2\2\u01ee\u01ef\3\2\2\2\u01ef\u01f0\3\2\2\2\u01f0"+
"\u01f3\5,\27\2\u01f1\u01f4\5> \2\u01f2\u01f4\5|?\2\u01f3\u01f1\3\2\2\2"+
"\u01f3\u01f2\3\2\2\2\u01f3\u01f4\3\2\2\2\u01f4\u01f5\3\2\2\2\u01f5\u01f6"+
"\7M\2\2\u01f6\u01f7\5*\26\2\u01f7\u0201\3\2\2\2\u01f8\u01f9\7)\2\2\u01f9"+
"\u01fa\7L\2\2\u01fa\u01fb\5B\"\2\u01fb\u01fc\7*\2\2\u01fc\u01fd\5> \2"+
"\u01fd\u01fe\7M\2\2\u01fe\u01ff\5*\26\2\u01ff\u0201\3\2\2\2\u0200\u01e6"+
"\3\2\2\2\u0200\u01f8\3\2\2\2\u0201=\3\2\2\2\u0202\u0203\5\u0084C\2\u0203"+
"?\3\2\2\2\u0204\u0205\5\u0084C\2\u0205A\3\2\2\2\u0206\u0208\7\37\2\2\u0207"+
"\u0206\3\2\2\2\u0207\u0208\3\2\2\2\u0208\u0209\3\2\2\2\u0209\u020a\5\u00c2"+
"b\2\u020aC\3\2\2\2\u020b\u020c\7+\2\2\u020c\u0210\5*\26\2\u020d\u020f"+
"\5F$\2\u020e\u020d\3\2\2\2\u020f\u0212\3\2\2\2\u0210\u020e\3\2\2\2\u0210"+
"\u0211\3\2\2\2\u0211\u0214\3\2\2\2\u0212\u0210\3\2\2\2\u0213\u0215\5H"+
"%\2\u0214\u0213\3\2\2\2\u0214\u0215\3\2\2\2\u0215E\3\2\2\2\u0216\u0217"+
"\7,\2\2\u0217\u0219\7L\2\2\u0218\u021a\5\20\t\2\u0219\u0218\3\2\2\2\u0219"+
"\u021a\3\2\2\2\u021a\u021b\3\2\2\2\u021b\u021c\5\u00c4c\2\u021c\u021d"+
"\7M\2\2\u021d\u021e\5&\24\2\u021eG\3\2\2\2\u021f\u0220\7\60\2\2\u0220"+
"\u0221\5&\24\2\u0221I\3\2\2\2\u0222\u0223\7L\2\2\u0223\u0224\5J&\2\u0224"+
"\u0225\7M\2\2\u0225\u0230\3\2\2\2\u0226\u0228\7:\2\2\u0227\u0226\3\2\2"+
"\2\u0227\u0228\3\2\2\2\u0228\u022b\3\2\2\2\u0229\u022c\7\u00ab\2\2\u022a"+
"\u022c\5\u00b6\\\2\u022b\u0229\3\2\2\2\u022b\u022a\3\2\2\2\u022c\u0230"+
"\3\2\2\2\u022d\u0230\5\24\13\2\u022e\u0230\7\n\2\2\u022f\u0222\3\2\2\2"+
"\u022f\u0227\3\2\2\2\u022f\u022d\3\2\2\2\u022f\u022e\3\2\2\2\u0230K\3"+
"\2\2\2\u0231\u0232\7-\2\2\u0232\u0233\5\62\32\2\u0233\u0237\7N\2\2\u0234"+
"\u0236\5N(\2\u0235\u0234\3\2\2\2\u0236\u0239\3\2\2\2\u0237\u0235\3\2\2"+
"\2\u0237\u0238\3\2\2\2\u0238\u023a\3\2\2\2\u0239\u0237\3\2\2\2\u023a\u023b"+
"\7O\2\2\u023bM\3\2\2\2\u023c\u023f\7.\2\2\u023d\u0240\5J&\2\u023e\u0240"+
"\5\u009eP\2\u023f\u023d\3\2\2\2\u023f\u023e\3\2\2\2\u0240\u0241\3\2\2"+
"\2\u0241\u0245\7D\2\2\u0242\u0244\5*\26\2\u0243\u0242\3\2\2\2\u0244\u0247"+
"\3\2\2\2\u0245\u0243\3\2\2\2\u0245\u0246\3\2\2\2\u0246\u0251\3\2\2\2\u0247"+
"\u0245\3\2\2\2\u0248\u0249\7/\2\2\u0249\u024d\7D\2\2\u024a\u024c\5*\26"+
"\2\u024b\u024a\3\2\2\2\u024c\u024f\3\2\2\2\u024d\u024b\3\2\2\2\u024d\u024e"+
"\3\2\2\2\u024e\u0251\3\2\2\2\u024f\u024d\3\2\2\2\u0250\u023c\3\2\2\2\u0250"+
"\u0248\3\2\2\2\u0251O\3\2\2\2\u0252\u0261\5T+\2\u0253\u0261\5V,\2\u0254"+
"\u0261\5d\63\2\u0255\u0261\5f\64\2\u0256\u0261\5h\65\2\u0257\u0261\5R"+
"*\2\u0258\u0261\5j\66\2\u0259\u0261\5l\67\2\u025a\u0261\5p9\2\u025b\u0261"+
"\5`\61\2\u025c\u0261\5b\62\2\u025d\u0261\5X-\2\u025e\u0261\5Z.\2\u025f"+
"\u0261\5\\/\2\u0260\u0252\3\2\2\2\u0260\u0253\3\2\2\2\u0260\u0254\3\2"+
"\2\2\u0260\u0255\3\2\2\2\u0260\u0256\3\2\2\2\u0260\u0257\3\2\2\2\u0260"+
"\u0258\3\2\2\2\u0260\u0259\3\2\2\2\u0260\u025a\3\2\2\2\u0260\u025b\3\2"+
"\2\2\u0260\u025c\3\2\2\2\u0260\u025d\3\2\2\2\u0260\u025e\3\2\2\2\u0260"+
"\u025f\3\2\2\2\u0261Q\3\2\2\2\u0262\u0263\7V\2\2\u0263\u0264\5,\27\2\u0264"+
"S\3\2\2\2\u0265\u0266\7Q\2\2\u0266\u0268\5\u0080A\2\u0267\u0269\5r:\2"+
"\u0268\u0267\3\2\2\2\u0268\u0269\3\2\2\2\u0269\u026a\3\2\2\2\u026a\u026b"+
"\7G\2\2\u026bU\3\2\2\2\u026c\u026d\7R\2\2\u026d\u0270\5\u00dco\2\u026e"+
"\u026f\7\63\2\2\u026f\u0271\7\64\2\2\u0270\u026e\3\2\2\2\u0270\u0271\3"+
"\2\2\2\u0271\u0272\3\2\2\2\u0272\u0273\5,\27\2\u0273W\3\2\2\2\u0274\u0276"+
"\7\\\2\2\u0275\u0277\5r:\2\u0276\u0275\3\2\2\2\u0276\u0277\3\2\2\2\u0277"+
"\u0279\3\2\2\2\u0278\u027a\5&\24\2\u0279\u0278\3\2\2\2\u0279\u027a\3\2"+
"\2\2\u027aY\3\2\2\2\u027b\u027d\5^\60\2\u027c\u027e\5r:\2\u027d\u027c"+
"\3\2\2\2\u027d\u027e\3\2\2\2\u027e\u0281\3\2\2\2\u027f\u0282\5&\24\2\u0280"+
"\u0282\7G\2\2\u0281\u027f\3\2\2\2\u0281\u0280\3\2\2\2\u0282[\3\2\2\2\u0283"+
"\u0288\5^\60\2\u0284\u0285\7L\2\2\u0285\u0286\5\30\r\2\u0286\u0287\7M"+
"\2\2\u0287\u0289\3\2\2\2\u0288\u0284\3\2\2\2\u0288\u0289\3\2\2\2\u0289"+
"\u028c\3\2\2\2\u028a\u028d\5&\24\2\u028b\u028d\7G\2\2\u028c\u028a\3\2"+
"\2\2\u028c\u028b\3\2\2\2\u028c\u028d\3\2\2\2\u028d]\3\2\2\2\u028e\u028f"+
"\t\5\2\2\u028f_\3\2\2\2\u0290\u0291\7Z\2\2\u0291\u0292\5r:\2\u0292\u0293"+
"\5&\24\2\u0293a\3\2\2\2\u0294\u0295\7[\2\2\u0295\u0298\5r:\2\u0296\u0299"+
"\5&\24\2\u0297\u0299\7G\2\2\u0298\u0296\3\2\2\2\u0298\u0297\3\2\2\2\u0299"+
"c\3\2\2\2\u029a\u029c\7S\2\2\u029b\u029d\5\u009eP\2\u029c\u029b\3\2\2"+
"\2\u029c\u029d\3\2\2\2\u029d\u029e\3\2\2\2\u029e\u029f\5,\27\2\u029fe"+
"\3\2\2\2\u02a0\u02a1\7T\2\2\u02a1\u02a2\5r:\2\u02a2\u02a3\5,\27\2\u02a3"+
"g\3\2\2\2\u02a4\u02a7\7U\2\2\u02a5\u02a8\5\24\13\2\u02a6\u02a8\5\u009e"+
"P\2\u02a7\u02a5\3\2\2\2\u02a7\u02a6\3\2\2\2\u02a7\u02a8\3\2\2\2\u02a8"+
"\u02a9\3\2\2\2\u02a9\u02aa\5,\27\2\u02aai\3\2\2\2\u02ab\u02ad\7W\2\2\u02ac"+
"\u02ae\5\u009eP\2\u02ad\u02ac\3\2\2\2\u02ad\u02ae\3\2\2\2\u02ae\u02af"+
"\3\2\2\2\u02af\u02b0\5,\27\2\u02b0k\3\2\2\2\u02b1\u02b4\7X\2\2\u02b2\u02b5"+
"\5r:\2\u02b3\u02b5\5n8\2\u02b4\u02b2\3\2\2\2\u02b4\u02b3\3\2\2\2\u02b5"+
"\u02b6\3\2\2\2\u02b6\u02b7\7G\2\2\u02b7m\3\2\2\2\u02b8\u02ba\5\u00c6d"+
"\2\u02b9\u02b8\3\2\2\2\u02b9\u02ba\3\2\2\2\u02ba\u02bb\3\2\2\2\u02bb\u02bc"+
"\5\u00c2b\2\u02bc\u02bd\7=\2\2\u02bd\u02be\5> \2\u02beo\3\2\2\2\u02bf"+
"\u02c0\7Y\2\2\u02c0\u02c1\5r:\2\u02c1\u02c2\5,\27\2\u02c2\u02cb\3\2\2"+
"\2\u02c3\u02c5\7Y\2\2\u02c4\u02c6\5\20\t\2\u02c5\u02c4\3\2\2\2\u02c5\u02c6"+
"\3\2\2\2\u02c6\u02c7\3\2\2\2\u02c7\u02c8\5\u00c2b\2\u02c8\u02c9\5,\27"+
"\2\u02c9\u02cb\3\2\2\2\u02ca\u02bf\3\2\2\2\u02ca\u02c3\3\2\2\2\u02cbq"+
"\3\2\2\2\u02cc\u02ce\5t;\2\u02cd\u02cc\3\2\2\2\u02ce\u02cf\3\2\2\2\u02cf"+
"\u02cd\3\2\2\2\u02cf\u02d0\3\2\2\2\u02d0s\3\2\2\2\u02d1\u02d2\5\u00c2"+
"b\2\u02d2\u02d3\7=\2\2\u02d3\u02d4\5> \2\u02d4u\3\2\2\2\u02d5\u02d6\5"+
"x=\2\u02d6\u02d7\7\2\2\3\u02d7\u02df\3\2\2\2\u02d8\u02d9\5|?\2\u02d9\u02da"+
"\7\2\2\3\u02da\u02df\3\2\2\2\u02db\u02dc\5> \2\u02dc\u02dd\7\2\2\3\u02dd"+
"\u02df\3\2\2\2\u02de\u02d5\3\2\2\2\u02de\u02d8\3\2\2\2\u02de\u02db\3\2"+
"\2\2\u02dfw\3\2\2\2\u02e0\u02e1\7\37\2\2\u02e1\u02eb\5> \2\u02e2\u02e3"+
"\7=\2\2\u02e3\u02e5\5z>\2\u02e4\u02e2\3\2\2\2\u02e5\u02e8\3\2\2\2\u02e6"+
"\u02e4\3\2\2\2\u02e6\u02e7\3\2\2\2\u02e7\u02e9\3\2\2\2\u02e8\u02e6\3\2"+
"\2\2\u02e9\u02ea\7=\2\2\u02ea\u02ec\5> \2\u02eb\u02e6\3\2\2\2\u02eb\u02ec"+
"\3\2\2\2\u02ecy\3\2\2\2\u02ed\u02ef\7\37\2\2\u02ee\u02ed\3\2\2\2\u02ee"+
"\u02ef\3\2\2\2\u02ef\u02f0\3\2\2\2\u02f0\u02f1\5\u00c4c\2\u02f1{\3\2\2"+
"\2\u02f2\u0302\5> \2\u02f3\u02f9\7=\2\2\u02f4\u02f5\5\u00c4c\2\u02f5\u02f6"+
"\7=\2\2\u02f6\u02f8\3\2\2\2\u02f7\u02f4\3\2\2\2\u02f8\u02fb\3\2\2\2\u02f9"+
"\u02f7\3\2\2\2\u02f9\u02fa\3\2\2\2\u02fa\u0303\3\2\2\2\u02fb\u02f9\3\2"+
"\2\2\u02fc\u0303\7>\2\2\u02fd\u0303\7?\2\2\u02fe\u0303\7@\2\2\u02ff\u0303"+
"\7A\2\2\u0300\u0303\7B\2\2\u0301\u0303\7C\2\2\u0302\u02f3\3\2\2\2\u0302"+
"\u02fc\3\2\2\2\u0302\u02fd\3\2\2\2\u0302\u02fe\3\2\2\2\u0302\u02ff\3\2"+
"\2\2\u0302\u0300\3\2\2\2\u0302\u0301\3\2\2\2\u0303\u0304\3\2\2\2\u0304"+
"\u0305\5> \2\u0305}\3\2\2\2\u0306\u0307\7P\2\2\u0307\u0308\5> \2\u0308"+
"\u0309\7D\2\2\u0309\u030a\5> \2\u030a\177\3\2\2\2\u030b\u030c\bA\1\2\u030c"+
"\u0318\5\u0088E\2\u030d\u0318\5\u008aF\2\u030e\u0318\5\u008eH\2\u030f"+
"\u0318\5\u0090I\2\u0310\u0318\5\u0092J\2\u0311\u0318\5\u0094K\2\u0312"+
"\u0318\5\u0096L\2\u0313\u0318\5\u0098M\2\u0314\u0318\5\u0082B\2\u0315"+
"\u0318\5\f\7\2\u0316\u0318\5\u009aN\2\u0317\u030b\3\2\2\2\u0317\u030d"+
"\3\2\2\2\u0317\u030e\3\2\2\2\u0317\u030f\3\2\2\2\u0317\u0310\3\2\2\2\u0317"+
"\u0311\3\2\2\2\u0317\u0312\3\2\2\2\u0317\u0313\3\2\2\2\u0317\u0314\3\2"+
"\2\2\u0317\u0315\3\2\2\2\u0317\u0316\3\2\2\2\u0318\u031d\3\2\2\2\u0319"+
"\u031a\f\3\2\2\u031a\u031c\5~@\2\u031b\u0319\3\2\2\2\u031c\u031f\3\2\2"+
"\2\u031d\u031b\3\2\2\2\u031d\u031e\3\2\2\2\u031e\u0081\3\2\2\2\u031f\u031d"+
"\3\2\2\2\u0320\u0321\5\u009aN\2\u0321\u0322\7P\2\2\u0322\u0323\7D\2\2"+
"\u0323\u0324\5\u0080A\2\u0324\u0083\3\2\2\2\u0325\u0329\5\u0080A\2\u0326"+
"\u0327\5\u0086D\2\u0327\u0328\5\u0084C\2\u0328\u032a\3\2\2\2\u0329\u0326"+
"\3\2\2\2\u0329\u032a\3\2\2\2\u032a\u0085\3\2\2\2\u032b\u032c\t\6\2\2\u032c"+
"\u0087\3\2\2\2\u032d\u032e\t\7\2\2\u032e\u032f\5\u009aN\2\u032f\u0089"+
"\3\2\2\2\u0330\u0331\7E\2\2\u0331\u0332\5\u009aN\2\u0332\u008b\3\2\2\2"+
"\u0333\u0334\t\b\2\2\u0334\u008d\3\2\2\2\u0335\u0336\5\u009aN\2\u0336"+
"\u0337\7<\2\2\u0337\u0338\5@!\2\u0338\u008f\3\2\2\2\u0339\u033a\5\u009a"+
"N\2\u033a\u033b\t\t\2\2\u033b\u033c\5@!\2\u033c\u0091\3\2\2\2\u033d\u033e"+
"\5\u009aN\2\u033e\u033f\7\36\2\2\u033f\u0340\5@!\2\u0340\u0093\3\2\2\2"+
"\u0341\u0342\5\u009aN\2\u0342\u0343\7\66\2\2\u0343\u0344\5@!\2\u0344\u0095"+
"\3\2\2\2\u0345\u0346\5\u009aN\2\u0346\u0347\t\n\2\2\u0347\u0348\5@!\2"+
"\u0348\u0097\3\2\2\2\u0349\u034a\5\u009aN\2\u034a\u034b\7\67\2\2\u034b"+
"\u034c\5@!\2\u034c\u0099\3\2\2\2\u034d\u034e\bN\1\2\u034e\u034f\t\t\2"+
"\2\u034f\u0358\5\u00caf\2\u0350\u0351\t\13\2\2\u0351\u0358\5\u009aN\t"+
"\u0352\u0358\5\u009eP\2\u0353\u0358\5\u009cO\2\u0354\u0358\5\u00caf\2"+
"\u0355\u0358\5\u008aF\2\u0356\u0358\5\u0088E\2\u0357\u034d\3\2\2\2\u0357"+
"\u0350\3\2\2\2\u0357\u0352\3\2\2\2\u0357\u0353\3\2\2\2\u0357\u0354\3\2"+
"\2\2\u0357\u0355\3\2\2\2\u0357\u0356\3\2\2\2\u0358\u035d\3\2\2\2\u0359"+
"\u035a\f\6\2\2\u035a\u035c\t\13\2\2\u035b\u0359\3\2\2\2\u035c\u035f\3"+
"\2\2\2\u035d\u035b\3\2\2\2\u035d\u035e\3\2\2\2\u035e\u009b\3\2\2\2\u035f"+
"\u035d\3\2\2\2\u0360\u0361\7\u00ac\2\2\u0361\u0362\5@!\2\u0362\u0363\7"+
"\u00ac\2\2\u0363\u009d\3\2\2\2\u0364\u0366\7:\2\2\u0365\u0364\3\2\2\2"+
"\u0365\u0366\3\2\2\2\u0366\u036b\3\2\2\2\u0367\u036c\5\u00a4S\2\u0368"+
"\u036c\5\u00dan\2\u0369\u036c\5\u00c4c\2\u036a\u036c\5\u00ccg\2\u036b"+
"\u0367\3\2\2\2\u036b\u0368\3\2\2\2\u036b\u0369\3\2\2\2\u036b\u036a\3\2"+
"\2\2\u036c\u0385\3\2\2\2\u036d\u036f\7\63\2\2\u036e\u036d\3\2\2\2\u036f"+
"\u0370\3\2\2\2\u0370\u036e\3\2\2\2\u0370\u0371\3\2\2\2\u0371\u0372\3\2"+
"\2\2\u0372\u0384\5\u00a6T\2\u0373\u0375\5\u00a2R\2\u0374\u0376\5\u00a8"+
"U\2\u0375\u0374\3\2\2\2\u0375\u0376\3\2\2\2\u0376\u0384\3\2\2\2\u0377"+
"\u0379\7\63\2\2\u0378\u0377\3\2\2\2\u0379\u037a\3\2\2\2\u037a\u0378\3"+
"\2\2\2\u037a\u037b\3\2\2\2\u037b\u037c\3\2\2\2\u037c\u0384\5\u00b2Z\2"+
"\u037d\u037f\7\63\2\2\u037e\u037d\3\2\2\2\u037f\u0380\3\2\2\2\u0380\u037e"+
"\3\2\2\2\u0380\u0381\3\2\2\2\u0381\u0382\3\2\2\2\u0382\u0384\5\u00c4c"+
"\2\u0383\u036e\3\2\2\2\u0383\u0373\3\2\2\2\u0383\u0378\3\2\2\2\u0383\u037e"+
"\3\2\2\2\u0384\u0387\3\2\2\2\u0385\u0383\3\2\2\2\u0385\u0386\3\2\2\2\u0386"+
"\u009f\3\2\2\2\u0387\u0385\3\2\2\2\u0388\u038b\5\u00c4c\2\u0389\u038b"+
"\5\u00b8]\2\u038a\u0388\3\2\2\2\u038a\u0389\3\2\2\2\u038b\u00a1\3\2\2"+
"\2\u038c\u038d\7J\2\2\u038d\u038e\5> \2\u038e\u038f\7K\2\2\u038f\u00a3"+
"\3\2\2\2\u0390\u0393\5\u00c4c\2\u0391\u0393\5\u00ba^\2\u0392\u0390\3\2"+
"\2\2\u0392\u0391\3\2\2\2\u0393\u0394\3\2\2\2\u0394\u0395\7L\2\2\u0395"+
"\u0396\5\u00bc_\2\u0396\u0398\7M\2\2\u0397\u0399\5&\24\2\u0398\u0397\3"+
"\2\2\2\u0398\u0399\3\2\2\2\u0399\u00a5\3\2\2\2\u039a\u039d\5\u00c4c\2"+
"\u039b\u039d\5\u00b8]\2\u039c\u039a\3\2\2\2\u039c\u039b\3\2\2\2\u039d"+
"\u039e\3\2\2\2\u039e\u039f\7L\2\2\u039f\u03a0\5\u00bc_\2\u03a0\u03a2\7"+
"M\2\2\u03a1\u03a3\5&\24\2\u03a2\u03a1\3\2\2\2\u03a2\u03a3\3\2\2\2\u03a3"+
"\u00a7\3\2\2\2\u03a4\u03a5\7L\2\2\u03a5\u03a6\5\u00bc_\2\u03a6\u03a7\7"+
"M\2\2\u03a7\u00a9\3\2\2\2\u03a8\u03a9\5\u00b2Z\2\u03a9\u03aa\7L\2\2\u03aa"+
"\u03ab\5\u00bc_\2\u03ab\u03ac\7K\2\2\u03ac\u00ab\3\2\2\2\u03ad\u03b0\5"+
"\u00b0Y\2\u03ae\u03b0\5\u00aeX\2\u03af\u03ad\3\2\2\2\u03af\u03ae\3\2\2"+
"\2\u03b0\u00ad\3\2\2\2\u03b1\u03b5\7\63\2\2\u03b2\u03b4\7\22\2\2\u03b3"+
"\u03b2\3\2\2\2\u03b4\u03b7\3\2\2\2\u03b5\u03b3\3\2\2\2\u03b5\u03b6\3\2"+
"\2\2\u03b6\u03b8\3\2\2\2\u03b7\u03b5\3\2\2\2\u03b8\u03b9\5\u00c4c\2\u03b9"+
"\u00af\3\2\2\2\u03ba\u03be\7J\2\2\u03bb\u03bd\7\22\2\2\u03bc\u03bb\3\2"+
"\2\2\u03bd\u03c0\3\2\2\2\u03be\u03bc\3\2\2\2\u03be\u03bf\3\2\2\2\u03bf"+
"\u03c3\3\2\2\2\u03c0\u03be\3\2\2\2\u03c1\u03c4\5\u00caf\2\u03c2\u03c4"+
"\5\u00ccg\2\u03c3\u03c1\3\2\2\2\u03c3\u03c2\3\2\2\2\u03c4\u03c8\3\2\2"+
"\2\u03c5\u03c7\7\22\2\2\u03c6\u03c5\3\2\2\2\u03c7\u03ca\3\2\2\2\u03c8"+
"\u03c6\3\2\2\2\u03c8\u03c9\3\2\2\2\u03c9\u03cb\3\2\2\2\u03ca\u03c8\3\2"+
"\2\2\u03cb\u03cc\7K\2\2\u03cc\u00b1\3\2\2\2\u03cd\u03d4\5\24\13\2\u03ce"+
"\u03d4\7\n\2\2\u03cf\u03d4\7\u00ab\2\2\u03d0\u03d4\5\u00ceh\2\u03d1\u03d4"+
"\5\u00d2j\2\u03d2\u03d4\5\u00b8]\2\u03d3\u03cd\3\2\2\2\u03d3\u03ce\3\2"+
"\2\2\u03d3\u03cf\3\2\2\2\u03d3\u03d0\3\2\2\2\u03d3\u03d1\3\2\2\2\u03d3"+
"\u03d2\3\2\2\2\u03d4\u00b3\3\2\2\2\u03d5\u03da\5\24\13\2\u03d6\u03da\7"+
"\n\2\2\u03d7\u03da\5\u00b6\\\2\u03d8\u03da\7\u00ab\2\2\u03d9\u03d5\3\2"+
"\2\2\u03d9\u03d6\3\2\2\2\u03d9\u03d7\3\2\2\2\u03d9\u03d8\3\2\2\2\u03da"+
"\u00b5\3\2\2\2\u03db\u03e4\7\u00ae\2\2\u03dc\u03de\7\u00ab\2\2\u03dd\u03dc"+
"\3\2\2\2\u03dd\u03de\3\2\2\2\u03de\u03df\3\2\2\2\u03df\u03e0\7\63\2\2"+
"\u03e0\u03e4\7\u00ab\2\2\u03e1\u03e2\7\u00ab\2\2\u03e2\u03e4\7\63\2\2"+
"\u03e3\u03db\3\2\2\2\u03e3\u03dd\3\2\2\2\u03e3\u03e1\3\2\2\2\u03e4\u00b7"+
"\3\2\2\2\u03e5\u03e8\5\u00ba^\2\u03e6\u03e8\5\u00c8e\2\u03e7\u03e5\3\2"+
"\2\2\u03e7\u03e6\3\2\2\2\u03e8\u00b9\3\2\2\2\u03e9\u03ea\t\f\2\2\u03ea"+
"\u00bb\3\2\2\2\u03eb\u03f0\5\u00be`\2\u03ec\u03ed\7\u00ad\2\2\u03ed\u03ef"+
"\5\u00be`\2\u03ee\u03ec\3\2\2\2\u03ef\u03f2\3\2\2\2\u03f0\u03ee\3\2\2"+
"\2\u03f0\u03f1\3\2\2\2\u03f1\u03f5\3\2\2\2\u03f2\u03f0\3\2\2\2\u03f3\u03f5"+
"\3\2\2\2\u03f4\u03eb\3\2\2\2\u03f4\u03f3\3\2\2\2\u03f5\u00bd\3\2\2\2\u03f6"+
"\u03f7\5\u00c0a\2\u03f7\u03f8\7D\2\2\u03f8\u03f9\5> \2\u03f9\u0401\3\2"+
"\2\2\u03fa\u03fb\5\u00c0a\2\u03fb\u03fc\7=\2\2\u03fc\u03fd\5> \2\u03fd"+
"\u0401\3\2\2\2\u03fe\u0401\5> \2\u03ff\u0401\5\f\7\2\u0400\u03f6\3\2\2"+
"\2\u0400\u03fa\3\2\2\2\u0400\u03fe\3\2\2\2\u0400\u03ff\3\2\2\2\u0401\u00bf"+
"\3\2\2\2\u0402\u0405\5\u00c4c\2\u0403\u0405\5\24\13\2\u0404\u0402\3\2"+
"\2\2\u0404\u0403\3\2\2\2\u0405\u00c1\3\2\2\2\u0406\u040b\5\u00c4c\2\u0407"+
"\u0408\7\63\2\2\u0408\u040a\5\u00a0Q\2\u0409\u0407\3\2\2\2\u040a\u040d"+
"\3\2\2\2\u040b\u0409\3\2\2\2\u040b\u040c\3\2\2\2\u040c\u00c3\3\2\2\2\u040d"+
"\u040b\3\2\2\2\u040e\u0427\7p\2\2\u040f\u0427\7\u00aa\2\2\u0410\u0427"+
"\7\r\2\2\u0411\u0427\7\37\2\2\u0412\u0427\7\30\2\2\u0413\u0427\7/\2\2"+
"\u0414\u0427\7Q\2\2\u0415\u0427\7 \2\2\u0416\u0427\7S\2\2\u0417\u0427"+
"\7T\2\2\u0418\u0427\7U\2\2\u0419\u0427\7V\2\2\u041a\u0427\7X\2\2\u041b"+
"\u0427\7W\2\2\u041c\u0427\7[\2\2\u041d\u0427\7Z\2\2\u041e\u0427\7\\\2"+
"\2\u041f\u0427\7l\2\2\u0420\u0427\7k\2\2\u0421\u0427\7m\2\2\u0422\u0427"+
"\7n\2\2\u0423\u0427\7o\2\2\u0424\u0427\5^\60\2\u0425\u0427\5\u00c6d\2"+
"\u0426\u040e\3\2\2\2\u0426\u040f\3\2\2\2\u0426\u0410\3\2\2\2\u0426\u0411"+
"\3\2\2\2\u0426\u0412\3\2\2\2\u0426\u0413\3\2\2\2\u0426\u0414\3\2\2\2\u0426"+
"\u0415\3\2\2\2\u0426\u0416\3\2\2\2\u0426\u0417\3\2\2\2\u0426\u0418\3\2"+
"\2\2\u0426\u0419\3\2\2\2\u0426\u041a\3\2\2\2\u0426\u041b\3\2\2\2\u0426"+
"\u041c\3\2\2\2\u0426\u041d\3\2\2\2\u0426\u041e\3\2\2\2\u0426\u041f\3\2"+
"\2\2\u0426\u0420\3\2\2\2\u0426\u0421\3\2\2\2\u0426\u0422\3\2\2\2\u0426"+
"\u0423\3\2\2\2\u0426\u0424\3\2\2\2\u0426\u0425\3\2\2\2\u0427\u00c5\3\2"+
"\2\2\u0428\u0429\t\r\2\2\u0429\u00c7\3\2\2\2\u042a\u042b\t\16\2\2\u042b"+
"\u00c9\3\2\2\2\u042c\u0431\5\u00b4[\2\u042d\u0431\5\u00ceh\2\u042e\u0431"+
"\5\u00d2j\2\u042f\u0431\5\u00c4c\2\u0430\u042c\3\2\2\2\u0430\u042d\3\2"+
"\2\2\u0430\u042e\3\2\2\2\u0430\u042f\3\2\2\2\u0431\u00cb\3\2\2\2\u0432"+
"\u0433\7L\2\2\u0433\u0434\5> \2\u0434\u0435\7M\2\2\u0435\u00cd\3\2\2\2"+
"\u0436\u0438\7J\2\2\u0437\u0439\5\u00d0i\2\u0438\u0437\3\2\2\2\u0438\u0439"+
"\3\2\2\2\u0439\u043a\3\2\2\2\u043a\u043b\7K\2\2\u043b\u00cf\3\2\2\2\u043c"+
"\u0441\5> \2\u043d\u043e\7\u00ad\2\2\u043e\u0440\5> \2\u043f\u043d\3\2"+
"\2\2\u0440\u0443\3\2\2\2\u0441\u043f\3\2\2\2\u0441\u0442\3\2\2\2\u0442"+
"\u00d1\3\2\2\2\u0443\u0441\3\2\2\2\u0444\u0446\7N\2\2\u0445\u0447\5\u00d4"+
"k\2\u0446\u0445\3\2\2\2\u0446\u0447\3\2\2\2\u0447\u0448\3\2\2\2\u0448"+
"\u0449\7O\2\2\u0449\u00d3\3\2\2\2\u044a\u044f\5\u00d6l\2\u044b\u044c\7"+
"\u00ad\2\2\u044c\u044e\5\u00d6l\2\u044d\u044b\3\2\2\2\u044e\u0451\3\2"+
"\2\2\u044f\u044d\3\2\2\2\u044f\u0450\3\2\2\2\u0450\u0453\3\2\2\2\u0451"+
"\u044f\3\2\2\2\u0452\u0454\7\u00ad\2\2\u0453\u0452\3\2\2\2\u0453\u0454"+
"\3\2\2\2\u0454\u00d5\3\2\2\2\u0455\u0456\5\u00d8m\2\u0456\u0457\t\4\2"+
"\2\u0457\u0458\5\u0084C\2\u0458\u00d7\3\2\2\2\u0459\u045d\5\u00c2b\2\u045a"+
"\u045d\5\u00b4[\2\u045b\u045d\5\u00b8]\2\u045c\u0459\3\2\2\2\u045c\u045a"+
"\3\2\2\2\u045c\u045b\3\2\2\2\u045d\u00d9\3\2\2\2\u045e\u045f\7 \2\2\u045f"+
"\u0460\5\u00dco\2\u0460\u0461\7L\2\2\u0461\u0462\5\u00bc_\2\u0462\u0463"+
"\7M\2\2\u0463\u00db\3\2\2\2\u0464\u0468\5\24\13\2\u0465\u0468\5\u00c4"+
"c\2\u0466\u0468\5\u00c2b\2\u0467\u0464\3\2\2\2\u0467\u0465\3\2\2\2\u0467"+
"\u0466\3\2\2\2\u0468\u00dd\3\2\2\2{\u00e1\u00e8\u00ee\u00f2\u00fc\u0103"+
"\u0106\u0109\u010f\u0115\u011b\u011e\u0123\u0129\u0132\u0135\u0138\u0143"+
"\u0145\u0151\u0155\u0158\u015b\u0160\u0165\u016e\u0174\u017a\u0180\u0182"+
"\u0184\u018f\u0195\u019e\u01bf\u01c3\u01c6\u01d3\u01da\u01ea\u01ee\u01f3"+
"\u0200\u0207\u0210\u0214\u0219\u0227\u022b\u022f\u0237\u023f\u0245\u024d"+
"\u0250\u0260\u0268\u0270\u0276\u0279\u027d\u0281\u0288\u028c\u0298\u029c"+
"\u02a7\u02ad\u02b4\u02b9\u02c5\u02ca\u02cf\u02de\u02e6\u02eb\u02ee\u02f9"+
"\u0302\u0317\u031d\u0329\u0357\u035d\u0365\u036b\u0370\u0375\u037a\u0380"+
"\u0383\u0385\u038a\u0392\u0398\u039c\u03a2\u03af\u03b5\u03be\u03c3\u03c8"+
"\u03d3\u03d9\u03dd\u03e3\u03e7\u03f0\u03f4\u0400\u0404\u040b\u0426\u0430"+
"\u0438\u0441\u0446\u044f\u0453\u045c\u0467";
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);
}
}
}