net.sourceforge.pmd.lang.swift.ast.SwiftParser Maven / Gradle / Ivy
// Generated from net/sourceforge/pmd/lang/swift/ast/Swift.g4 by ANTLR 4.9.3
package net.sourceforge.pmd.lang.swift.ast;
import net.sourceforge.pmd.lang.ast.impl.antlr4.*;
import net.sourceforge.pmd.lang.ast.AstVisitor;
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 SwiftParser extends AntlrGeneratedParserBase {
static { RuntimeMetaData.checkVersion("4.9.3", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9,
T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, T__16=17,
T__17=18, T__18=19, T__19=20, T__20=21, T__21=22, T__22=23, T__23=24,
T__24=25, T__25=26, T__26=27, T__27=28, T__28=29, T__29=30, T__30=31,
T__31=32, T__32=33, T__33=34, T__34=35, T__35=36, T__36=37, T__37=38,
T__38=39, T__39=40, T__40=41, T__41=42, T__42=43, T__43=44, T__44=45,
T__45=46, T__46=47, T__47=48, T__48=49, T__49=50, T__50=51, T__51=52,
T__52=53, T__53=54, T__54=55, T__55=56, T__56=57, T__57=58, T__58=59,
T__59=60, T__60=61, T__61=62, T__62=63, T__63=64, T__64=65, T__65=66,
T__66=67, T__67=68, T__68=69, T__69=70, T__70=71, T__71=72, T__72=73,
T__73=74, T__74=75, T__75=76, T__76=77, T__77=78, T__78=79, T__79=80,
T__80=81, T__81=82, T__82=83, T__83=84, T__84=85, T__85=86, T__86=87,
T__87=88, T__88=89, T__89=90, T__90=91, T__91=92, T__92=93, T__93=94,
T__94=95, T__95=96, T__96=97, T__97=98, T__98=99, T__99=100, T__100=101,
T__101=102, T__102=103, T__103=104, T__104=105, T__105=106, T__106=107,
T__107=108, T__108=109, T__109=110, T__110=111, T__111=112, T__112=113,
T__113=114, T__114=115, T__115=116, T__116=117, T__117=118, T__118=119,
T__119=120, T__120=121, T__121=122, T__122=123, T__123=124, T__124=125,
T__125=126, T__126=127, T__127=128, T__128=129, T__129=130, T__130=131,
T__131=132, T__132=133, T__133=134, T__134=135, T__135=136, T__136=137,
T__137=138, T__138=139, T__139=140, T__140=141, T__141=142, T__142=143,
T__143=144, T__144=145, T__145=146, T__146=147, T__147=148, T__148=149,
T__149=150, T__150=151, T__151=152, T__152=153, T__153=154, T__154=155,
T__155=156, T__156=157, T__157=158, T__158=159, T__159=160, T__160=161,
T__161=162, T__162=163, T__163=164, T__164=165, T__165=166, T__166=167,
BooleanLiteral=168, NilLiteral=169, OperatorHead=170, OperatorCharacter=171,
DotOperatorHead=172, Identifier=173, ImplicitParameterName=174, BinaryLiteral=175,
OctalLiteral=176, DecimalLiteral=177, HexadecimalLiteral=178, FloatingPointLiteral=179,
VersionLiteral=180, TRIPLEDQUOTES=181, MultiStringLiteral=182, RawSingleStringLiteral=183,
RawMultiStringLiteral=184, SingleStringLiteral=185, EscapedCharacter=186,
WS=187, BlockComment=188, LineComment=189, IdentifierCharacters=190;
public static final int
RULE_topLevel = 0, RULE_statement = 1, RULE_statements = 2, RULE_loopStatement = 3,
RULE_forInStatement = 4, RULE_whileStatement = 5, RULE_repeatWhileStatement = 6,
RULE_branchStatement = 7, RULE_ifStatement = 8, RULE_elseClause = 9, RULE_guardStatement = 10,
RULE_switchStatement = 11, RULE_switchCases = 12, RULE_switchCase = 13,
RULE_caseLabel = 14, RULE_caseItemList = 15, RULE_caseItem = 16, RULE_defaultLabel = 17,
RULE_labeledStatement = 18, RULE_statementLabel = 19, RULE_labelName = 20,
RULE_controlTransferStatement = 21, RULE_breakStatement = 22, RULE_continueStatement = 23,
RULE_fallthroughStatement = 24, RULE_returnStatement = 25, RULE_throwStatement = 26,
RULE_deferStatement = 27, RULE_doStatement = 28, RULE_catchClauses = 29,
RULE_catchClause = 30, RULE_conditionList = 31, RULE_condition = 32, RULE_caseCondition = 33,
RULE_optionalBindingCondition = 34, RULE_whereClause = 35, RULE_whereExpression = 36,
RULE_availabilityCondition = 37, RULE_availabilityArguments = 38, RULE_availabilityArgument = 39,
RULE_platformName = 40, RULE_platformVersion = 41, RULE_genericParameterClause = 42,
RULE_genericParameterList = 43, RULE_genericParameter = 44, RULE_genericWhereClause = 45,
RULE_requirementList = 46, RULE_requirement = 47, RULE_conformanceRequirement = 48,
RULE_sameTypeRequirement = 49, RULE_genericArgumentClause = 50, RULE_genericArgumentList = 51,
RULE_genericArgument = 52, RULE_declaration = 53, RULE_declarations = 54,
RULE_declarationModifiers = 55, RULE_declarationModifier = 56, RULE_accessLevelModifier = 57,
RULE_accessLevelModifiers = 58, RULE_mutationModifier = 59, RULE_codeBlock = 60,
RULE_importDeclaration = 61, RULE_importKind = 62, RULE_importPath = 63,
RULE_importPathIdentifier = 64, RULE_constantDeclaration = 65, RULE_patternInitializerList = 66,
RULE_patternInitializer = 67, RULE_initializer = 68, RULE_variableDeclaration = 69,
RULE_variableDeclarationHead = 70, RULE_variableName = 71, RULE_getterSetterBlock = 72,
RULE_getterClause = 73, RULE_setterClause = 74, RULE_setterName = 75,
RULE_getterSetterKeywordBlock = 76, RULE_getterKeywordClause = 77, RULE_setterKeywordClause = 78,
RULE_willSetDidSetBlock = 79, RULE_willSetClause = 80, RULE_didSetClause = 81,
RULE_typealiasDeclaration = 82, RULE_typealiasHead = 83, RULE_typealiasName = 84,
RULE_typealiasAssignment = 85, RULE_functionDeclaration = 86, RULE_functionHead = 87,
RULE_functionName = 88, RULE_functionSignature = 89, RULE_functionResult = 90,
RULE_functionBody = 91, RULE_parameterClause = 92, RULE_parameterList = 93,
RULE_parameter = 94, RULE_externalParameterName = 95, RULE_localParameterName = 96,
RULE_defaultArgumentClause = 97, RULE_enumDeclaration = 98, RULE_enumDef = 99,
RULE_unionStyleEnum = 100, RULE_unionStyleEnumMembers = 101, RULE_unionStyleEnumMember = 102,
RULE_unionStyleEnumCaseClause = 103, RULE_unionStyleEnumCaseList = 104,
RULE_unionStyleEnumCase = 105, RULE_enumName = 106, RULE_enumCaseName = 107,
RULE_rawValueStyleEnum = 108, RULE_rawValueStyleEnumMembers = 109, RULE_rawValueStyleEnumMember = 110,
RULE_rawValueStyleEnumCaseClause = 111, RULE_rawValueStyleEnumCaseList = 112,
RULE_rawValueStyleEnumCase = 113, RULE_rawValueAssignment = 114, RULE_structDeclaration = 115,
RULE_structName = 116, RULE_structBody = 117, RULE_structMembers = 118,
RULE_structMember = 119, RULE_classDeclaration = 120, RULE_classDeclarationModifiers = 121,
RULE_className = 122, RULE_classBody = 123, RULE_classMembers = 124, RULE_classMember = 125,
RULE_protocolDeclaration = 126, RULE_protocolName = 127, RULE_protocolBody = 128,
RULE_protocolMembers = 129, RULE_protocolMember = 130, RULE_protocolMemberDeclaration = 131,
RULE_protocolPropertyDeclaration = 132, RULE_protocolMethodDeclaration = 133,
RULE_protocolInitializerDeclaration = 134, RULE_protocolSubscriptDeclaration = 135,
RULE_protocolAssociatedTypeDeclaration = 136, RULE_initializerDeclaration = 137,
RULE_initializerHead = 138, RULE_initializerBody = 139, RULE_deinitializerDeclaration = 140,
RULE_extensionDeclaration = 141, RULE_extensionBody = 142, RULE_extensionMembers = 143,
RULE_extensionMember = 144, RULE_subscriptDeclaration = 145, RULE_subscriptHead = 146,
RULE_subscriptResult = 147, RULE_operatorDeclaration = 148, RULE_prefixOperatorDeclaration = 149,
RULE_postfixOperatorDeclaration = 150, RULE_infixOperatorDeclaration = 151,
RULE_infixOperatorGroup = 152, RULE_precedenceGroupDeclaration = 153,
RULE_precedenceGroupAttributes = 154, RULE_precedenceGroupAttribute = 155,
RULE_precedenceGroupRelation = 156, RULE_precedenceGroupAssignment = 157,
RULE_precedenceGroupAssociativity = 158, RULE_precedenceGroupNames = 159,
RULE_precedenceGroupName = 160, RULE_pattern = 161, RULE_wildcardPattern = 162,
RULE_identifierPattern = 163, RULE_valueBindingPattern = 164, RULE_tuplePattern = 165,
RULE_tuplePatternElementList = 166, RULE_tuplePatternElement = 167, RULE_enumCasePattern = 168,
RULE_typeCastingPattern = 169, RULE_isPattern = 170, RULE_asPattern = 171,
RULE_expressionPattern = 172, RULE_attribute = 173, RULE_attributeName = 174,
RULE_attributeArgumentClause = 175, RULE_attributes = 176, RULE_balancedTokens = 177,
RULE_balancedToken = 178, RULE_expression = 179, RULE_prefixExpression = 180,
RULE_inOutExpression = 181, RULE_tryOperator = 182, RULE_binaryExpression = 183,
RULE_assignmentOperator = 184, RULE_conditionalOperator = 185, RULE_typeCastingOperator = 186,
RULE_primaryExpression = 187, RULE_literalExpression = 188, RULE_arrayLiteral = 189,
RULE_arrayLiteralItems = 190, RULE_arrayLiteralItem = 191, RULE_dictionaryLiteral = 192,
RULE_dictionaryLiteralItems = 193, RULE_dictionaryLiteralItem = 194, RULE_playgroundLiteral = 195,
RULE_selfExpression = 196, RULE_superclassExpression = 197, RULE_superclassMethodExpression = 198,
RULE_superclassSubscriptExpression = 199, RULE_superclassInitializerExpression = 200,
RULE_closureExpression = 201, RULE_closureSignature = 202, RULE_closureParameterClause = 203,
RULE_closureParameterList = 204, RULE_closureParameter = 205, RULE_closureParameterName = 206,
RULE_captureList = 207, RULE_captureListItems = 208, RULE_captureListItem = 209,
RULE_captureSpecifier = 210, RULE_implicitMemberExpression = 211, RULE_parenthesizedExpression = 212,
RULE_tupleExpression = 213, RULE_tupleElementList = 214, RULE_tupleElement = 215,
RULE_wildcardExpression = 216, RULE_macroExpansionExpression = 217, RULE_selectorExpression = 218,
RULE_keyPathExpression = 219, RULE_postfixExpression = 220, RULE_functionCallArgumentClause = 221,
RULE_functionCallArgumentList = 222, RULE_functionCallArgument = 223,
RULE_functionCallIdentifier = 224, RULE_argumentNames = 225, RULE_argumentName = 226,
RULE_operatorHead = 227, RULE_operatorCharacter = 228, RULE_operator = 229,
RULE_binaryOperator = 230, RULE_prefixOperator = 231, RULE_postfixOperator = 232,
RULE_sType = 233, RULE_functionType = 234, RULE_functionTypeArgumentClause = 235,
RULE_functionTypeArgumentList = 236, RULE_functionTypeArgument = 237,
RULE_argumentLabel = 238, RULE_arrayType = 239, RULE_dictionaryType = 240,
RULE_optionalType = 241, RULE_implicitlyUnwrappedOptionalType = 242, RULE_typeAnnotation = 243,
RULE_typeIdentifier = 244, RULE_typeName = 245, RULE_tupleType = 246,
RULE_tupleTypeElementList = 247, RULE_tupleTypeElement = 248, RULE_elementName = 249,
RULE_protocolCompositionType = 250, RULE_protocolCompositionContinuation = 251,
RULE_protocolIdentifier = 252, RULE_metatypeType = 253, RULE_typeInheritanceClause = 254,
RULE_typeInheritanceList = 255, RULE_classRequirement = 256, RULE_compilerControlStatement = 257,
RULE_conditionalCompilationBlock = 258, RULE_ifDirectiveClause = 259,
RULE_elseifDirectiveClauses = 260, RULE_elseifDirectiveClause = 261, RULE_elseDirectiveClause = 262,
RULE_compilationCondition = 263, RULE_platformCondition = 264, RULE_operatingSystem = 265,
RULE_architecture = 266, RULE_swiftVersion = 267, RULE_moduleName = 268,
RULE_lineControlStatement = 269, RULE_lineNumber = 270, RULE_fileName = 271,
RULE_warningCompilationStatement = 272, RULE_identifier = 273, RULE_keyword = 274,
RULE_contextSensitiveKeyword = 275, RULE_grammarString = 276, RULE_identifierList = 277,
RULE_booleanLiteral = 278, RULE_literal = 279, RULE_numericLiteral = 280,
RULE_integerLiteral = 281;
private static String[] makeRuleNames() {
return new String[] {
"topLevel", "statement", "statements", "loopStatement", "forInStatement",
"whileStatement", "repeatWhileStatement", "branchStatement", "ifStatement",
"elseClause", "guardStatement", "switchStatement", "switchCases", "switchCase",
"caseLabel", "caseItemList", "caseItem", "defaultLabel", "labeledStatement",
"statementLabel", "labelName", "controlTransferStatement", "breakStatement",
"continueStatement", "fallthroughStatement", "returnStatement", "throwStatement",
"deferStatement", "doStatement", "catchClauses", "catchClause", "conditionList",
"condition", "caseCondition", "optionalBindingCondition", "whereClause",
"whereExpression", "availabilityCondition", "availabilityArguments",
"availabilityArgument", "platformName", "platformVersion", "genericParameterClause",
"genericParameterList", "genericParameter", "genericWhereClause", "requirementList",
"requirement", "conformanceRequirement", "sameTypeRequirement", "genericArgumentClause",
"genericArgumentList", "genericArgument", "declaration", "declarations",
"declarationModifiers", "declarationModifier", "accessLevelModifier",
"accessLevelModifiers", "mutationModifier", "codeBlock", "importDeclaration",
"importKind", "importPath", "importPathIdentifier", "constantDeclaration",
"patternInitializerList", "patternInitializer", "initializer", "variableDeclaration",
"variableDeclarationHead", "variableName", "getterSetterBlock", "getterClause",
"setterClause", "setterName", "getterSetterKeywordBlock", "getterKeywordClause",
"setterKeywordClause", "willSetDidSetBlock", "willSetClause", "didSetClause",
"typealiasDeclaration", "typealiasHead", "typealiasName", "typealiasAssignment",
"functionDeclaration", "functionHead", "functionName", "functionSignature",
"functionResult", "functionBody", "parameterClause", "parameterList",
"parameter", "externalParameterName", "localParameterName", "defaultArgumentClause",
"enumDeclaration", "enumDef", "unionStyleEnum", "unionStyleEnumMembers",
"unionStyleEnumMember", "unionStyleEnumCaseClause", "unionStyleEnumCaseList",
"unionStyleEnumCase", "enumName", "enumCaseName", "rawValueStyleEnum",
"rawValueStyleEnumMembers", "rawValueStyleEnumMember", "rawValueStyleEnumCaseClause",
"rawValueStyleEnumCaseList", "rawValueStyleEnumCase", "rawValueAssignment",
"structDeclaration", "structName", "structBody", "structMembers", "structMember",
"classDeclaration", "classDeclarationModifiers", "className", "classBody",
"classMembers", "classMember", "protocolDeclaration", "protocolName",
"protocolBody", "protocolMembers", "protocolMember", "protocolMemberDeclaration",
"protocolPropertyDeclaration", "protocolMethodDeclaration", "protocolInitializerDeclaration",
"protocolSubscriptDeclaration", "protocolAssociatedTypeDeclaration",
"initializerDeclaration", "initializerHead", "initializerBody", "deinitializerDeclaration",
"extensionDeclaration", "extensionBody", "extensionMembers", "extensionMember",
"subscriptDeclaration", "subscriptHead", "subscriptResult", "operatorDeclaration",
"prefixOperatorDeclaration", "postfixOperatorDeclaration", "infixOperatorDeclaration",
"infixOperatorGroup", "precedenceGroupDeclaration", "precedenceGroupAttributes",
"precedenceGroupAttribute", "precedenceGroupRelation", "precedenceGroupAssignment",
"precedenceGroupAssociativity", "precedenceGroupNames", "precedenceGroupName",
"pattern", "wildcardPattern", "identifierPattern", "valueBindingPattern",
"tuplePattern", "tuplePatternElementList", "tuplePatternElement", "enumCasePattern",
"typeCastingPattern", "isPattern", "asPattern", "expressionPattern",
"attribute", "attributeName", "attributeArgumentClause", "attributes",
"balancedTokens", "balancedToken", "expression", "prefixExpression",
"inOutExpression", "tryOperator", "binaryExpression", "assignmentOperator",
"conditionalOperator", "typeCastingOperator", "primaryExpression", "literalExpression",
"arrayLiteral", "arrayLiteralItems", "arrayLiteralItem", "dictionaryLiteral",
"dictionaryLiteralItems", "dictionaryLiteralItem", "playgroundLiteral",
"selfExpression", "superclassExpression", "superclassMethodExpression",
"superclassSubscriptExpression", "superclassInitializerExpression", "closureExpression",
"closureSignature", "closureParameterClause", "closureParameterList",
"closureParameter", "closureParameterName", "captureList", "captureListItems",
"captureListItem", "captureSpecifier", "implicitMemberExpression", "parenthesizedExpression",
"tupleExpression", "tupleElementList", "tupleElement", "wildcardExpression",
"macroExpansionExpression", "selectorExpression", "keyPathExpression",
"postfixExpression", "functionCallArgumentClause", "functionCallArgumentList",
"functionCallArgument", "functionCallIdentifier", "argumentNames", "argumentName",
"operatorHead", "operatorCharacter", "operator", "binaryOperator", "prefixOperator",
"postfixOperator", "sType", "functionType", "functionTypeArgumentClause",
"functionTypeArgumentList", "functionTypeArgument", "argumentLabel",
"arrayType", "dictionaryType", "optionalType", "implicitlyUnwrappedOptionalType",
"typeAnnotation", "typeIdentifier", "typeName", "tupleType", "tupleTypeElementList",
"tupleTypeElement", "elementName", "protocolCompositionType", "protocolCompositionContinuation",
"protocolIdentifier", "metatypeType", "typeInheritanceClause", "typeInheritanceList",
"classRequirement", "compilerControlStatement", "conditionalCompilationBlock",
"ifDirectiveClause", "elseifDirectiveClauses", "elseifDirectiveClause",
"elseDirectiveClause", "compilationCondition", "platformCondition", "operatingSystem",
"architecture", "swiftVersion", "moduleName", "lineControlStatement",
"lineNumber", "fileName", "warningCompilationStatement", "identifier",
"keyword", "contextSensitiveKeyword", "grammarString", "identifierList",
"booleanLiteral", "literal", "numericLiteral", "integerLiteral"
};
}
public static final String[] ruleNames = makeRuleNames();
private static String[] makeLiteralNames() {
return new String[] {
null, "';'", "':'", "'for'", "'case'", "'in'", "'while'", "'repeat'",
"'if'", "'else'", "'guard'", "'switch'", "'{'", "'}'", "','", "'default'",
"'break'", "'continue'", "'fallthrough'", "'return'", "'throw'", "'defer'",
"'do'", "'catch'", "'let'", "'var'", "'where'", "'#available'", "'#unavailable'",
"'('", "')'", "'*'", "'iOS'", "'iOSApplicationExtension'", "'OSX'", "'OSXApplicationExtension'",
"'watchOS'", "'watchOSApplicationExtension'", "'tvOS'", "'tvOSApplicationExtension'",
"'<'", "'>'", "'=='", "'class'", "'convenience'", "'dynamic'", "'final'",
"'infix'", "'lazy'", "'optional'", "'override'", "'postfix'", "'prefix'",
"'required'", "'static'", "'unowned'", "'safe'", "'unsafe'", "'weak'",
"'private'", "'set'", "'fileprivate'", "'internal'", "'public'", "'open'",
"'mutating'", "'nonmutating'", "'import'", "'typealias'", "'struct'",
"'enum'", "'protocol'", "'func'", "'.'", "'='", "'get'", "'willSet'",
"'didSet'", "'throws'", "'rethrows'", "'->'", "'...'", "'_'", "'indirect'",
"'associatedtype'", "'init'", "'?'", "'!'", "'deinit'", "'extension'",
"'subscript'", "'operator'", "'precedencegroup'", "'higherThan'", "'lowerThan'",
"'assignment'", "'associativity'", "'left'", "'right'", "'none'", "'is'",
"'as'", "'@'", "'['", "']'", "'-'", "'''", "'/'", "'\"'", "'&'", "'try'",
"'#file'", "'#line'", "'#column'", "'#function'", "'#colorLiteral'",
"'red'", "'green'", "'blue'", "'alpha'", "'#fileLiteral'", "'resourceName'",
"'#imageLiteral'", "'self'", "'super'", "'unowned(safe)'", "'unowned(unsafe)'",
"'#'", "'#selector'", "'getter:'", "'setter:'", "'#keyPath'", "'\\'",
"'type'", "'of'", "'&&'", "'||'", "'>='", "'some'", "'Type'", "'Protocol'",
"'Any'", "'Self'", "'inout'", "'#endif'", "'#if'", "'#elseif'", "'#else'",
"'os'", "'arch'", "'swift'", "'canImport'", "'targetEnvironment'", "'simulator'",
"'i386'", "'x86_64'", "'arm'", "'arm64'", "'#sourceLocation'", "'file'",
"'line'", "'#warning'", "'#error'", "'dynamicType'", "'fileLiteral'",
"'imageLiteral'", "'precedence'", "'OSXApplicationExtension\u00AD'",
null, "'nil'", null, null, "'..'", null, null, null, null, null, null,
null, null, "'\"\"\"'"
};
}
private static final String[] _LITERAL_NAMES = makeLiteralNames();
private static String[] makeSymbolicNames() {
return new String[] {
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, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null,
"BooleanLiteral", "NilLiteral", "OperatorHead", "OperatorCharacter",
"DotOperatorHead", "Identifier", "ImplicitParameterName", "BinaryLiteral",
"OctalLiteral", "DecimalLiteral", "HexadecimalLiteral", "FloatingPointLiteral",
"VersionLiteral", "TRIPLEDQUOTES", "MultiStringLiteral", "RawSingleStringLiteral",
"RawMultiStringLiteral", "SingleStringLiteral", "EscapedCharacter", "WS",
"BlockComment", "LineComment", "IdentifierCharacters"
};
}
private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
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 "Swift.g4"; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public ATN getATN() { return _ATN; }
static final AntlrNameDictionary DICO = new SwiftNameDictionary(VOCABULARY, ruleNames);
@Override
protected SwiftTerminalNode createPmdTerminal(ParserRuleContext parent, Token t) {
return new SwiftTerminalNode(t);
}
@Override
protected SwiftErrorNode createPmdError(ParserRuleContext parent, Token t) {
return new SwiftErrorNode(t);
}
public SwiftParser(TokenStream input) {
super(input);
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
public static class SwTopLevel extends SwiftRootNode {
public TerminalNode EOF() { return getToken(SwiftParser.EOF, 0); }
public SwStatements statements() {
return getRuleContext(SwStatements.class,0);
}
public SwTopLevel(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_topLevel; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTopLevel(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTopLevel(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTopLevel(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTopLevel topLevel() throws RecognitionException {
SwTopLevel _localctx = new SwTopLevel(_ctx, getState());
enterRule(_localctx, 0, RULE_topLevel);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(565);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__24) | (1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__28) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__35) | (1L << T__37) | (1L << T__39) | (1L << T__40) | (1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__76 - 64)) | (1L << (T__77 - 64)) | (1L << (T__78 - 64)) | (1L << (T__79 - 64)) | (1L << (T__80 - 64)) | (1L << (T__81 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (T__91 - 64)) | (1L << (T__95 - 64)) | (1L << (T__96 - 64)) | (1L << (T__97 - 64)) | (1L << (T__98 - 64)) | (1L << (T__99 - 64)) | (1L << (T__100 - 64)) | (1L << (T__101 - 64)) | (1L << (T__102 - 64)) | (1L << (T__104 - 64)) | (1L << (T__106 - 64)) | (1L << (T__108 - 64)) | (1L << (T__109 - 64)) | (1L << (T__110 - 64)) | (1L << (T__111 - 64)) | (1L << (T__112 - 64)) | (1L << (T__113 - 64)) | (1L << (T__114 - 64)) | (1L << (T__115 - 64)) | (1L << (T__116 - 64)) | (1L << (T__117 - 64)) | (1L << (T__118 - 64)) | (1L << (T__119 - 64)) | (1L << (T__120 - 64)) | (1L << (T__121 - 64)) | (1L << (T__122 - 64)) | (1L << (T__123 - 64)) | (1L << (T__126 - 64)))) != 0) || ((((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & ((1L << (T__127 - 128)) | (1L << (T__130 - 128)) | (1L << (T__131 - 128)) | (1L << (T__132 - 128)) | (1L << (T__133 - 128)) | (1L << (T__134 - 128)) | (1L << (T__135 - 128)) | (1L << (T__136 - 128)) | (1L << (T__137 - 128)) | (1L << (T__138 - 128)) | (1L << (T__139 - 128)) | (1L << (T__140 - 128)) | (1L << (T__141 - 128)) | (1L << (T__142 - 128)) | (1L << (T__143 - 128)) | (1L << (T__144 - 128)) | (1L << (T__145 - 128)) | (1L << (T__146 - 128)) | (1L << (T__147 - 128)) | (1L << (T__148 - 128)) | (1L << (T__153 - 128)) | (1L << (T__154 - 128)) | (1L << (T__155 - 128)) | (1L << (T__156 - 128)) | (1L << (T__157 - 128)) | (1L << (T__158 - 128)) | (1L << (T__159 - 128)) | (1L << (T__160 - 128)) | (1L << (T__161 - 128)) | (1L << (T__162 - 128)) | (1L << (T__163 - 128)) | (1L << (T__164 - 128)) | (1L << (T__165 - 128)) | (1L << (T__166 - 128)) | (1L << (BooleanLiteral - 128)) | (1L << (NilLiteral - 128)) | (1L << (OperatorHead - 128)) | (1L << (DotOperatorHead - 128)) | (1L << (Identifier - 128)) | (1L << (BinaryLiteral - 128)) | (1L << (OctalLiteral - 128)) | (1L << (DecimalLiteral - 128)) | (1L << (HexadecimalLiteral - 128)) | (1L << (FloatingPointLiteral - 128)) | (1L << (MultiStringLiteral - 128)) | (1L << (RawSingleStringLiteral - 128)) | (1L << (RawMultiStringLiteral - 128)) | (1L << (SingleStringLiteral - 128)))) != 0)) {
{
setState(564);
statements();
}
}
setState(567);
match(EOF);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwStatement extends SwiftInnerNode {
public SwDeclaration declaration() {
return getRuleContext(SwDeclaration.class,0);
}
public SwLoopStatement loopStatement() {
return getRuleContext(SwLoopStatement.class,0);
}
public SwBranchStatement branchStatement() {
return getRuleContext(SwBranchStatement.class,0);
}
public SwLabeledStatement labeledStatement() {
return getRuleContext(SwLabeledStatement.class,0);
}
public SwControlTransferStatement controlTransferStatement() {
return getRuleContext(SwControlTransferStatement.class,0);
}
public SwDeferStatement deferStatement() {
return getRuleContext(SwDeferStatement.class,0);
}
public SwDoStatement doStatement() {
return getRuleContext(SwDoStatement.class,0);
}
public SwCompilerControlStatement compilerControlStatement() {
return getRuleContext(SwCompilerControlStatement.class,0);
}
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwStatement statement() throws RecognitionException {
SwStatement _localctx = new SwStatement(_ctx, getState());
enterRule(_localctx, 2, RULE_statement);
int _la;
try {
setState(602);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,9,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(569);
declaration();
setState(571);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__0) {
{
setState(570);
match(T__0);
}
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(573);
loopStatement();
setState(575);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__0) {
{
setState(574);
match(T__0);
}
}
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(577);
branchStatement();
setState(579);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__0) {
{
setState(578);
match(T__0);
}
}
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(581);
labeledStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(582);
controlTransferStatement();
setState(584);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__0) {
{
setState(583);
match(T__0);
}
}
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(586);
deferStatement();
setState(588);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__0) {
{
setState(587);
match(T__0);
}
}
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(590);
doStatement();
setState(592);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__1) {
{
setState(591);
match(T__1);
}
}
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(594);
compilerControlStatement();
setState(596);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__0) {
{
setState(595);
match(T__0);
}
}
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(598);
expression();
setState(600);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__0) {
{
setState(599);
match(T__0);
}
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwStatements extends SwiftInnerNode {
public List statement() {
return getRuleContexts(SwStatement.class);
}
public SwStatement statement(int i) {
return getRuleContext(SwStatement.class,i);
}
public SwStatements(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_statements; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterStatements(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitStatements(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitStatements(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwStatements statements() throws RecognitionException {
SwStatements _localctx = new SwStatements(_ctx, getState());
enterRule(_localctx, 4, RULE_statements);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(605);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(604);
statement();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(607);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,10,_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 SwLoopStatement extends SwiftInnerNode {
public SwForInStatement forInStatement() {
return getRuleContext(SwForInStatement.class,0);
}
public SwWhileStatement whileStatement() {
return getRuleContext(SwWhileStatement.class,0);
}
public SwRepeatWhileStatement repeatWhileStatement() {
return getRuleContext(SwRepeatWhileStatement.class,0);
}
public SwLoopStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_loopStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterLoopStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitLoopStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitLoopStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwLoopStatement loopStatement() throws RecognitionException {
SwLoopStatement _localctx = new SwLoopStatement(_ctx, getState());
enterRule(_localctx, 6, RULE_loopStatement);
try {
setState(612);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__2:
enterOuterAlt(_localctx, 1);
{
setState(609);
forInStatement();
}
break;
case T__5:
enterOuterAlt(_localctx, 2);
{
setState(610);
whileStatement();
}
break;
case T__6:
enterOuterAlt(_localctx, 3);
{
setState(611);
repeatWhileStatement();
}
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 SwForInStatement extends SwiftInnerNode {
public SwPattern pattern() {
return getRuleContext(SwPattern.class,0);
}
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwWhereClause whereClause() {
return getRuleContext(SwWhereClause.class,0);
}
public SwForInStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_forInStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterForInStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitForInStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitForInStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwForInStatement forInStatement() throws RecognitionException {
SwForInStatement _localctx = new SwForInStatement(_ctx, getState());
enterRule(_localctx, 8, RULE_forInStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(614);
match(T__2);
setState(616);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,12,_ctx) ) {
case 1:
{
setState(615);
match(T__3);
}
break;
}
setState(618);
pattern(0);
setState(619);
match(T__4);
setState(620);
expression();
setState(622);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__25) {
{
setState(621);
whereClause();
}
}
setState(624);
codeBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwWhileStatement extends SwiftInnerNode {
public SwConditionList conditionList() {
return getRuleContext(SwConditionList.class,0);
}
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwWhileStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_whileStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterWhileStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitWhileStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitWhileStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwWhileStatement whileStatement() throws RecognitionException {
SwWhileStatement _localctx = new SwWhileStatement(_ctx, getState());
enterRule(_localctx, 10, RULE_whileStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(626);
match(T__5);
setState(627);
conditionList();
setState(628);
codeBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwRepeatWhileStatement extends SwiftInnerNode {
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwRepeatWhileStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_repeatWhileStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterRepeatWhileStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitRepeatWhileStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitRepeatWhileStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwRepeatWhileStatement repeatWhileStatement() throws RecognitionException {
SwRepeatWhileStatement _localctx = new SwRepeatWhileStatement(_ctx, getState());
enterRule(_localctx, 12, RULE_repeatWhileStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(630);
match(T__6);
setState(631);
codeBlock();
setState(632);
match(T__5);
setState(633);
expression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwBranchStatement extends SwiftInnerNode {
public SwIfStatement ifStatement() {
return getRuleContext(SwIfStatement.class,0);
}
public SwGuardStatement guardStatement() {
return getRuleContext(SwGuardStatement.class,0);
}
public SwSwitchStatement switchStatement() {
return getRuleContext(SwSwitchStatement.class,0);
}
public SwBranchStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_branchStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterBranchStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitBranchStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitBranchStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwBranchStatement branchStatement() throws RecognitionException {
SwBranchStatement _localctx = new SwBranchStatement(_ctx, getState());
enterRule(_localctx, 14, RULE_branchStatement);
try {
setState(638);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__7:
enterOuterAlt(_localctx, 1);
{
setState(635);
ifStatement();
}
break;
case T__9:
enterOuterAlt(_localctx, 2);
{
setState(636);
guardStatement();
}
break;
case T__10:
enterOuterAlt(_localctx, 3);
{
setState(637);
switchStatement();
}
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 SwIfStatement extends SwiftInnerNode {
public SwConditionList conditionList() {
return getRuleContext(SwConditionList.class,0);
}
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwElseClause elseClause() {
return getRuleContext(SwElseClause.class,0);
}
public SwIfStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_ifStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterIfStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitIfStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitIfStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwIfStatement ifStatement() throws RecognitionException {
SwIfStatement _localctx = new SwIfStatement(_ctx, getState());
enterRule(_localctx, 16, RULE_ifStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(640);
match(T__7);
setState(641);
conditionList();
setState(642);
codeBlock();
setState(644);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,15,_ctx) ) {
case 1:
{
setState(643);
elseClause();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwElseClause extends SwiftInnerNode {
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwIfStatement ifStatement() {
return getRuleContext(SwIfStatement.class,0);
}
public SwElseClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_elseClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterElseClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitElseClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitElseClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwElseClause elseClause() throws RecognitionException {
SwElseClause _localctx = new SwElseClause(_ctx, getState());
enterRule(_localctx, 18, RULE_elseClause);
try {
setState(650);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,16,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(646);
match(T__8);
setState(647);
codeBlock();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(648);
match(T__8);
setState(649);
ifStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwGuardStatement extends SwiftInnerNode {
public SwConditionList conditionList() {
return getRuleContext(SwConditionList.class,0);
}
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwGuardStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_guardStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterGuardStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitGuardStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitGuardStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwGuardStatement guardStatement() throws RecognitionException {
SwGuardStatement _localctx = new SwGuardStatement(_ctx, getState());
enterRule(_localctx, 20, RULE_guardStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(652);
match(T__9);
setState(653);
conditionList();
setState(654);
match(T__8);
setState(655);
codeBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSwitchStatement extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwSwitchCases switchCases() {
return getRuleContext(SwSwitchCases.class,0);
}
public SwSwitchStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_switchStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSwitchStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSwitchStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSwitchStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSwitchStatement switchStatement() throws RecognitionException {
SwSwitchStatement _localctx = new SwSwitchStatement(_ctx, getState());
enterRule(_localctx, 22, RULE_switchStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(657);
match(T__10);
setState(658);
expression();
setState(659);
match(T__11);
setState(661);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__3 || _la==T__14) {
{
setState(660);
switchCases();
}
}
setState(663);
match(T__12);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSwitchCases extends SwiftInnerNode {
public List switchCase() {
return getRuleContexts(SwSwitchCase.class);
}
public SwSwitchCase switchCase(int i) {
return getRuleContext(SwSwitchCase.class,i);
}
public SwSwitchCases(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_switchCases; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSwitchCases(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSwitchCases(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSwitchCases(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSwitchCases switchCases() throws RecognitionException {
SwSwitchCases _localctx = new SwSwitchCases(_ctx, getState());
enterRule(_localctx, 24, RULE_switchCases);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(666);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(665);
switchCase();
}
}
setState(668);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==T__3 || _la==T__14 );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSwitchCase extends SwiftInnerNode {
public SwCaseLabel caseLabel() {
return getRuleContext(SwCaseLabel.class,0);
}
public SwStatements statements() {
return getRuleContext(SwStatements.class,0);
}
public SwDefaultLabel defaultLabel() {
return getRuleContext(SwDefaultLabel.class,0);
}
public SwSwitchCase(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_switchCase; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSwitchCase(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSwitchCase(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSwitchCase(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSwitchCase switchCase() throws RecognitionException {
SwSwitchCase _localctx = new SwSwitchCase(_ctx, getState());
enterRule(_localctx, 26, RULE_switchCase);
try {
setState(682);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,19,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(670);
caseLabel();
setState(671);
statements();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(673);
defaultLabel();
setState(674);
statements();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(676);
caseLabel();
setState(677);
match(T__0);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(679);
defaultLabel();
setState(680);
match(T__0);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwCaseLabel extends SwiftInnerNode {
public SwCaseItemList caseItemList() {
return getRuleContext(SwCaseItemList.class,0);
}
public SwCaseLabel(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_caseLabel; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCaseLabel(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCaseLabel(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCaseLabel(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCaseLabel caseLabel() throws RecognitionException {
SwCaseLabel _localctx = new SwCaseLabel(_ctx, getState());
enterRule(_localctx, 28, RULE_caseLabel);
try {
enterOuterAlt(_localctx, 1);
{
setState(684);
match(T__3);
setState(685);
caseItemList();
setState(686);
match(T__1);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwCaseItemList extends SwiftInnerNode {
public List caseItem() {
return getRuleContexts(SwCaseItem.class);
}
public SwCaseItem caseItem(int i) {
return getRuleContext(SwCaseItem.class,i);
}
public SwCaseItemList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_caseItemList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCaseItemList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCaseItemList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCaseItemList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCaseItemList caseItemList() throws RecognitionException {
SwCaseItemList _localctx = new SwCaseItemList(_ctx, getState());
enterRule(_localctx, 30, RULE_caseItemList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(688);
caseItem();
setState(693);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(689);
match(T__13);
setState(690);
caseItem();
}
}
setState(695);
_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 SwCaseItem extends SwiftInnerNode {
public SwPattern pattern() {
return getRuleContext(SwPattern.class,0);
}
public SwWhereClause whereClause() {
return getRuleContext(SwWhereClause.class,0);
}
public SwCaseItem(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_caseItem; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCaseItem(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCaseItem(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCaseItem(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCaseItem caseItem() throws RecognitionException {
SwCaseItem _localctx = new SwCaseItem(_ctx, getState());
enterRule(_localctx, 32, RULE_caseItem);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(696);
pattern(0);
setState(698);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__25) {
{
setState(697);
whereClause();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwDefaultLabel extends SwiftInnerNode {
public SwDefaultLabel(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_defaultLabel; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDefaultLabel(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDefaultLabel(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDefaultLabel(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDefaultLabel defaultLabel() throws RecognitionException {
SwDefaultLabel _localctx = new SwDefaultLabel(_ctx, getState());
enterRule(_localctx, 34, RULE_defaultLabel);
try {
enterOuterAlt(_localctx, 1);
{
setState(700);
match(T__14);
setState(701);
match(T__1);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwLabeledStatement extends SwiftInnerNode {
public SwStatementLabel statementLabel() {
return getRuleContext(SwStatementLabel.class,0);
}
public SwLoopStatement loopStatement() {
return getRuleContext(SwLoopStatement.class,0);
}
public SwIfStatement ifStatement() {
return getRuleContext(SwIfStatement.class,0);
}
public SwSwitchStatement switchStatement() {
return getRuleContext(SwSwitchStatement.class,0);
}
public SwDoStatement doStatement() {
return getRuleContext(SwDoStatement.class,0);
}
public SwLabeledStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_labeledStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterLabeledStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitLabeledStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitLabeledStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwLabeledStatement labeledStatement() throws RecognitionException {
SwLabeledStatement _localctx = new SwLabeledStatement(_ctx, getState());
enterRule(_localctx, 36, RULE_labeledStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(703);
statementLabel();
setState(708);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__2:
case T__5:
case T__6:
{
setState(704);
loopStatement();
}
break;
case T__7:
{
setState(705);
ifStatement();
}
break;
case T__10:
{
setState(706);
switchStatement();
}
break;
case T__21:
{
setState(707);
doStatement();
}
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 SwStatementLabel extends SwiftInnerNode {
public SwLabelName labelName() {
return getRuleContext(SwLabelName.class,0);
}
public SwStatementLabel(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_statementLabel; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterStatementLabel(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitStatementLabel(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitStatementLabel(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwStatementLabel statementLabel() throws RecognitionException {
SwStatementLabel _localctx = new SwStatementLabel(_ctx, getState());
enterRule(_localctx, 38, RULE_statementLabel);
try {
enterOuterAlt(_localctx, 1);
{
setState(710);
labelName();
setState(711);
match(T__1);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwLabelName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwLabelName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_labelName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterLabelName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitLabelName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitLabelName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwLabelName labelName() throws RecognitionException {
SwLabelName _localctx = new SwLabelName(_ctx, getState());
enterRule(_localctx, 40, RULE_labelName);
try {
enterOuterAlt(_localctx, 1);
{
setState(713);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwControlTransferStatement extends SwiftInnerNode {
public SwBreakStatement breakStatement() {
return getRuleContext(SwBreakStatement.class,0);
}
public SwContinueStatement continueStatement() {
return getRuleContext(SwContinueStatement.class,0);
}
public SwFallthroughStatement fallthroughStatement() {
return getRuleContext(SwFallthroughStatement.class,0);
}
public SwReturnStatement returnStatement() {
return getRuleContext(SwReturnStatement.class,0);
}
public SwThrowStatement throwStatement() {
return getRuleContext(SwThrowStatement.class,0);
}
public SwControlTransferStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_controlTransferStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterControlTransferStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitControlTransferStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitControlTransferStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwControlTransferStatement controlTransferStatement() throws RecognitionException {
SwControlTransferStatement _localctx = new SwControlTransferStatement(_ctx, getState());
enterRule(_localctx, 42, RULE_controlTransferStatement);
try {
setState(720);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__15:
enterOuterAlt(_localctx, 1);
{
setState(715);
breakStatement();
}
break;
case T__16:
enterOuterAlt(_localctx, 2);
{
setState(716);
continueStatement();
}
break;
case T__17:
enterOuterAlt(_localctx, 3);
{
setState(717);
fallthroughStatement();
}
break;
case T__18:
enterOuterAlt(_localctx, 4);
{
setState(718);
returnStatement();
}
break;
case T__19:
enterOuterAlt(_localctx, 5);
{
setState(719);
throwStatement();
}
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 SwBreakStatement extends SwiftInnerNode {
public SwLabelName labelName() {
return getRuleContext(SwLabelName.class,0);
}
public SwBreakStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_breakStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterBreakStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitBreakStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitBreakStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwBreakStatement breakStatement() throws RecognitionException {
SwBreakStatement _localctx = new SwBreakStatement(_ctx, getState());
enterRule(_localctx, 44, RULE_breakStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(722);
match(T__15);
setState(724);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,24,_ctx) ) {
case 1:
{
setState(723);
labelName();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwContinueStatement extends SwiftInnerNode {
public SwLabelName labelName() {
return getRuleContext(SwLabelName.class,0);
}
public SwContinueStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_continueStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterContinueStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitContinueStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitContinueStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwContinueStatement continueStatement() throws RecognitionException {
SwContinueStatement _localctx = new SwContinueStatement(_ctx, getState());
enterRule(_localctx, 46, RULE_continueStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(726);
match(T__16);
setState(728);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,25,_ctx) ) {
case 1:
{
setState(727);
labelName();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwFallthroughStatement extends SwiftInnerNode {
public SwFallthroughStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_fallthroughStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFallthroughStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFallthroughStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFallthroughStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFallthroughStatement fallthroughStatement() throws RecognitionException {
SwFallthroughStatement _localctx = new SwFallthroughStatement(_ctx, getState());
enterRule(_localctx, 48, RULE_fallthroughStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(730);
match(T__17);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwReturnStatement extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwReturnStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_returnStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterReturnStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitReturnStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitReturnStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwReturnStatement returnStatement() throws RecognitionException {
SwReturnStatement _localctx = new SwReturnStatement(_ctx, getState());
enterRule(_localctx, 50, RULE_returnStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(732);
match(T__18);
setState(734);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,26,_ctx) ) {
case 1:
{
setState(733);
expression();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwThrowStatement extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwThrowStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_throwStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterThrowStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitThrowStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitThrowStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwThrowStatement throwStatement() throws RecognitionException {
SwThrowStatement _localctx = new SwThrowStatement(_ctx, getState());
enterRule(_localctx, 52, RULE_throwStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(736);
match(T__19);
setState(737);
expression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwDeferStatement extends SwiftInnerNode {
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwDeferStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_deferStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDeferStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDeferStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDeferStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDeferStatement deferStatement() throws RecognitionException {
SwDeferStatement _localctx = new SwDeferStatement(_ctx, getState());
enterRule(_localctx, 54, RULE_deferStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(739);
match(T__20);
setState(740);
codeBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwDoStatement extends SwiftInnerNode {
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwCatchClauses catchClauses() {
return getRuleContext(SwCatchClauses.class,0);
}
public SwDoStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_doStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDoStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDoStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDoStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDoStatement doStatement() throws RecognitionException {
SwDoStatement _localctx = new SwDoStatement(_ctx, getState());
enterRule(_localctx, 56, RULE_doStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(742);
match(T__21);
setState(743);
codeBlock();
setState(745);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,27,_ctx) ) {
case 1:
{
setState(744);
catchClauses();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwCatchClauses extends SwiftInnerNode {
public SwCatchClause catchClause() {
return getRuleContext(SwCatchClause.class,0);
}
public SwCatchClauses catchClauses() {
return getRuleContext(SwCatchClauses.class,0);
}
public SwCatchClauses(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_catchClauses; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCatchClauses(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCatchClauses(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCatchClauses(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCatchClauses catchClauses() throws RecognitionException {
SwCatchClauses _localctx = new SwCatchClauses(_ctx, getState());
enterRule(_localctx, 58, RULE_catchClauses);
try {
enterOuterAlt(_localctx, 1);
{
setState(747);
catchClause();
setState(749);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,28,_ctx) ) {
case 1:
{
setState(748);
catchClauses();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwCatchClause extends SwiftInnerNode {
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwPattern pattern() {
return getRuleContext(SwPattern.class,0);
}
public SwWhereClause whereClause() {
return getRuleContext(SwWhereClause.class,0);
}
public SwCatchClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_catchClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCatchClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCatchClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCatchClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCatchClause catchClause() throws RecognitionException {
SwCatchClause _localctx = new SwCatchClause(_ctx, getState());
enterRule(_localctx, 60, RULE_catchClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(751);
match(T__22);
setState(753);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,29,_ctx) ) {
case 1:
{
setState(752);
pattern(0);
}
break;
}
setState(756);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__25) {
{
setState(755);
whereClause();
}
}
setState(758);
codeBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwConditionList extends SwiftInnerNode {
public List condition() {
return getRuleContexts(SwCondition.class);
}
public SwCondition condition(int i) {
return getRuleContext(SwCondition.class,i);
}
public SwConditionList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_conditionList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterConditionList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitConditionList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitConditionList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwConditionList conditionList() throws RecognitionException {
SwConditionList _localctx = new SwConditionList(_ctx, getState());
enterRule(_localctx, 62, RULE_conditionList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(760);
condition();
setState(765);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(761);
match(T__13);
setState(762);
condition();
}
}
setState(767);
_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 SwCondition extends SwiftInnerNode {
public SwAvailabilityCondition availabilityCondition() {
return getRuleContext(SwAvailabilityCondition.class,0);
}
public SwCaseCondition caseCondition() {
return getRuleContext(SwCaseCondition.class,0);
}
public SwOptionalBindingCondition optionalBindingCondition() {
return getRuleContext(SwOptionalBindingCondition.class,0);
}
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwCondition(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_condition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCondition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCondition(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCondition(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCondition condition() throws RecognitionException {
SwCondition _localctx = new SwCondition(_ctx, getState());
enterRule(_localctx, 64, RULE_condition);
try {
setState(772);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,32,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(768);
availabilityCondition();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(769);
caseCondition();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(770);
optionalBindingCondition();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(771);
expression();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwCaseCondition extends SwiftInnerNode {
public SwPattern pattern() {
return getRuleContext(SwPattern.class,0);
}
public SwInitializer initializer() {
return getRuleContext(SwInitializer.class,0);
}
public SwCaseCondition(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_caseCondition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCaseCondition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCaseCondition(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCaseCondition(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCaseCondition caseCondition() throws RecognitionException {
SwCaseCondition _localctx = new SwCaseCondition(_ctx, getState());
enterRule(_localctx, 66, RULE_caseCondition);
try {
enterOuterAlt(_localctx, 1);
{
setState(774);
match(T__3);
setState(775);
pattern(0);
setState(776);
initializer();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwOptionalBindingCondition extends SwiftInnerNode {
public SwPattern pattern() {
return getRuleContext(SwPattern.class,0);
}
public SwInitializer initializer() {
return getRuleContext(SwInitializer.class,0);
}
public SwOptionalBindingCondition(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_optionalBindingCondition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterOptionalBindingCondition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitOptionalBindingCondition(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitOptionalBindingCondition(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwOptionalBindingCondition optionalBindingCondition() throws RecognitionException {
SwOptionalBindingCondition _localctx = new SwOptionalBindingCondition(_ctx, getState());
enterRule(_localctx, 68, RULE_optionalBindingCondition);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(778);
_la = _input.LA(1);
if ( !(_la==T__23 || _la==T__24) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(779);
pattern(0);
setState(780);
initializer();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwWhereClause extends SwiftInnerNode {
public SwWhereExpression whereExpression() {
return getRuleContext(SwWhereExpression.class,0);
}
public SwWhereClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_whereClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterWhereClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitWhereClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitWhereClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwWhereClause whereClause() throws RecognitionException {
SwWhereClause _localctx = new SwWhereClause(_ctx, getState());
enterRule(_localctx, 70, RULE_whereClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(782);
match(T__25);
setState(783);
whereExpression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwWhereExpression extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwWhereExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_whereExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterWhereExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitWhereExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitWhereExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwWhereExpression whereExpression() throws RecognitionException {
SwWhereExpression _localctx = new SwWhereExpression(_ctx, getState());
enterRule(_localctx, 72, RULE_whereExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(785);
expression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwAvailabilityCondition extends SwiftInnerNode {
public SwAvailabilityArguments availabilityArguments() {
return getRuleContext(SwAvailabilityArguments.class,0);
}
public SwAvailabilityCondition(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_availabilityCondition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterAvailabilityCondition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitAvailabilityCondition(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitAvailabilityCondition(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwAvailabilityCondition availabilityCondition() throws RecognitionException {
SwAvailabilityCondition _localctx = new SwAvailabilityCondition(_ctx, getState());
enterRule(_localctx, 74, RULE_availabilityCondition);
try {
setState(793);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__26:
enterOuterAlt(_localctx, 1);
{
setState(787);
match(T__26);
}
break;
case T__27:
enterOuterAlt(_localctx, 2);
{
setState(788);
match(T__27);
setState(789);
match(T__28);
setState(790);
availabilityArguments();
setState(791);
match(T__29);
}
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 SwAvailabilityArguments extends SwiftInnerNode {
public SwAvailabilityArgument availabilityArgument() {
return getRuleContext(SwAvailabilityArgument.class,0);
}
public List availabilityArguments() {
return getRuleContexts(SwAvailabilityArguments.class);
}
public SwAvailabilityArguments availabilityArguments(int i) {
return getRuleContext(SwAvailabilityArguments.class,i);
}
public SwAvailabilityArguments(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_availabilityArguments; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterAvailabilityArguments(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitAvailabilityArguments(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitAvailabilityArguments(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwAvailabilityArguments availabilityArguments() throws RecognitionException {
SwAvailabilityArguments _localctx = new SwAvailabilityArguments(_ctx, getState());
enterRule(_localctx, 76, RULE_availabilityArguments);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(795);
availabilityArgument();
setState(800);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,34,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(796);
match(T__13);
setState(797);
availabilityArguments();
}
}
}
setState(802);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,34,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwAvailabilityArgument extends SwiftInnerNode {
public SwPlatformName platformName() {
return getRuleContext(SwPlatformName.class,0);
}
public SwPlatformVersion platformVersion() {
return getRuleContext(SwPlatformVersion.class,0);
}
public SwAvailabilityArgument(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_availabilityArgument; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterAvailabilityArgument(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitAvailabilityArgument(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitAvailabilityArgument(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwAvailabilityArgument availabilityArgument() throws RecognitionException {
SwAvailabilityArgument _localctx = new SwAvailabilityArgument(_ctx, getState());
enterRule(_localctx, 78, RULE_availabilityArgument);
try {
setState(807);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__31:
case T__32:
case T__33:
case T__34:
case T__35:
case T__36:
case T__37:
case T__38:
enterOuterAlt(_localctx, 1);
{
setState(803);
platformName();
setState(804);
platformVersion();
}
break;
case T__30:
enterOuterAlt(_localctx, 2);
{
setState(806);
match(T__30);
}
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 SwPlatformName extends SwiftInnerNode {
public SwPlatformName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_platformName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPlatformName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPlatformName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPlatformName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPlatformName platformName() throws RecognitionException {
SwPlatformName _localctx = new SwPlatformName(_ctx, getState());
enterRule(_localctx, 80, RULE_platformName);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(809);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__35) | (1L << T__36) | (1L << T__37) | (1L << T__38))) != 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 SwPlatformVersion extends SwiftInnerNode {
public TerminalNode VersionLiteral() { return getToken(SwiftParser.VersionLiteral, 0); }
public TerminalNode DecimalLiteral() { return getToken(SwiftParser.DecimalLiteral, 0); }
public TerminalNode FloatingPointLiteral() { return getToken(SwiftParser.FloatingPointLiteral, 0); }
public SwPlatformVersion(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_platformVersion; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPlatformVersion(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPlatformVersion(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPlatformVersion(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPlatformVersion platformVersion() throws RecognitionException {
SwPlatformVersion _localctx = new SwPlatformVersion(_ctx, getState());
enterRule(_localctx, 82, RULE_platformVersion);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(811);
_la = _input.LA(1);
if ( !(((((_la - 177)) & ~0x3f) == 0 && ((1L << (_la - 177)) & ((1L << (DecimalLiteral - 177)) | (1L << (FloatingPointLiteral - 177)) | (1L << (VersionLiteral - 177)))) != 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 SwGenericParameterClause extends SwiftInnerNode {
public SwGenericParameterList genericParameterList() {
return getRuleContext(SwGenericParameterList.class,0);
}
public SwGenericParameterClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_genericParameterClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterGenericParameterClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitGenericParameterClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitGenericParameterClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwGenericParameterClause genericParameterClause() throws RecognitionException {
SwGenericParameterClause _localctx = new SwGenericParameterClause(_ctx, getState());
enterRule(_localctx, 84, RULE_genericParameterClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(813);
match(T__39);
setState(814);
genericParameterList();
setState(815);
match(T__40);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwGenericParameterList extends SwiftInnerNode {
public List genericParameter() {
return getRuleContexts(SwGenericParameter.class);
}
public SwGenericParameter genericParameter(int i) {
return getRuleContext(SwGenericParameter.class,i);
}
public SwGenericParameterList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_genericParameterList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterGenericParameterList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitGenericParameterList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitGenericParameterList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwGenericParameterList genericParameterList() throws RecognitionException {
SwGenericParameterList _localctx = new SwGenericParameterList(_ctx, getState());
enterRule(_localctx, 86, RULE_genericParameterList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(817);
genericParameter();
setState(822);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(818);
match(T__13);
setState(819);
genericParameter();
}
}
setState(824);
_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 SwGenericParameter extends SwiftInnerNode {
public SwTypeName typeName() {
return getRuleContext(SwTypeName.class,0);
}
public SwTypeIdentifier typeIdentifier() {
return getRuleContext(SwTypeIdentifier.class,0);
}
public SwProtocolCompositionType protocolCompositionType() {
return getRuleContext(SwProtocolCompositionType.class,0);
}
public SwGenericParameter(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_genericParameter; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterGenericParameter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitGenericParameter(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitGenericParameter(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwGenericParameter genericParameter() throws RecognitionException {
SwGenericParameter _localctx = new SwGenericParameter(_ctx, getState());
enterRule(_localctx, 88, RULE_genericParameter);
try {
setState(834);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,37,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(825);
typeName();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(826);
typeName();
setState(827);
match(T__1);
setState(828);
typeIdentifier();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(830);
typeName();
setState(831);
match(T__1);
setState(832);
protocolCompositionType();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwGenericWhereClause extends SwiftInnerNode {
public SwRequirementList requirementList() {
return getRuleContext(SwRequirementList.class,0);
}
public SwGenericWhereClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_genericWhereClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterGenericWhereClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitGenericWhereClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitGenericWhereClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwGenericWhereClause genericWhereClause() throws RecognitionException {
SwGenericWhereClause _localctx = new SwGenericWhereClause(_ctx, getState());
enterRule(_localctx, 90, RULE_genericWhereClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(836);
match(T__25);
setState(837);
requirementList();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwRequirementList extends SwiftInnerNode {
public List requirement() {
return getRuleContexts(SwRequirement.class);
}
public SwRequirement requirement(int i) {
return getRuleContext(SwRequirement.class,i);
}
public SwRequirementList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_requirementList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterRequirementList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitRequirementList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitRequirementList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwRequirementList requirementList() throws RecognitionException {
SwRequirementList _localctx = new SwRequirementList(_ctx, getState());
enterRule(_localctx, 92, RULE_requirementList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(839);
requirement();
setState(844);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(840);
match(T__13);
setState(841);
requirement();
}
}
setState(846);
_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 SwRequirement extends SwiftInnerNode {
public SwConformanceRequirement conformanceRequirement() {
return getRuleContext(SwConformanceRequirement.class,0);
}
public SwSameTypeRequirement sameTypeRequirement() {
return getRuleContext(SwSameTypeRequirement.class,0);
}
public SwRequirement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_requirement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterRequirement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitRequirement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitRequirement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwRequirement requirement() throws RecognitionException {
SwRequirement _localctx = new SwRequirement(_ctx, getState());
enterRule(_localctx, 94, RULE_requirement);
try {
setState(849);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,39,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(847);
conformanceRequirement();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(848);
sameTypeRequirement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwConformanceRequirement extends SwiftInnerNode {
public List typeIdentifier() {
return getRuleContexts(SwTypeIdentifier.class);
}
public SwTypeIdentifier typeIdentifier(int i) {
return getRuleContext(SwTypeIdentifier.class,i);
}
public SwProtocolCompositionType protocolCompositionType() {
return getRuleContext(SwProtocolCompositionType.class,0);
}
public SwConformanceRequirement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_conformanceRequirement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterConformanceRequirement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitConformanceRequirement(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitConformanceRequirement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwConformanceRequirement conformanceRequirement() throws RecognitionException {
SwConformanceRequirement _localctx = new SwConformanceRequirement(_ctx, getState());
enterRule(_localctx, 96, RULE_conformanceRequirement);
try {
setState(859);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(851);
typeIdentifier();
setState(852);
match(T__1);
setState(853);
typeIdentifier();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(855);
typeIdentifier();
setState(856);
match(T__1);
setState(857);
protocolCompositionType();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSameTypeRequirement extends SwiftInnerNode {
public SwTypeIdentifier typeIdentifier() {
return getRuleContext(SwTypeIdentifier.class,0);
}
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwSameTypeRequirement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_sameTypeRequirement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSameTypeRequirement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSameTypeRequirement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSameTypeRequirement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSameTypeRequirement sameTypeRequirement() throws RecognitionException {
SwSameTypeRequirement _localctx = new SwSameTypeRequirement(_ctx, getState());
enterRule(_localctx, 98, RULE_sameTypeRequirement);
try {
enterOuterAlt(_localctx, 1);
{
setState(861);
typeIdentifier();
setState(862);
match(T__41);
setState(863);
sType(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwGenericArgumentClause extends SwiftInnerNode {
public SwGenericArgumentList genericArgumentList() {
return getRuleContext(SwGenericArgumentList.class,0);
}
public SwGenericArgumentClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_genericArgumentClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterGenericArgumentClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitGenericArgumentClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitGenericArgumentClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwGenericArgumentClause genericArgumentClause() throws RecognitionException {
SwGenericArgumentClause _localctx = new SwGenericArgumentClause(_ctx, getState());
enterRule(_localctx, 100, RULE_genericArgumentClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(865);
match(T__39);
setState(866);
genericArgumentList();
setState(867);
match(T__40);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwGenericArgumentList extends SwiftInnerNode {
public List genericArgument() {
return getRuleContexts(SwGenericArgument.class);
}
public SwGenericArgument genericArgument(int i) {
return getRuleContext(SwGenericArgument.class,i);
}
public SwGenericArgumentList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_genericArgumentList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterGenericArgumentList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitGenericArgumentList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitGenericArgumentList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwGenericArgumentList genericArgumentList() throws RecognitionException {
SwGenericArgumentList _localctx = new SwGenericArgumentList(_ctx, getState());
enterRule(_localctx, 102, RULE_genericArgumentList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(869);
genericArgument();
setState(874);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(870);
match(T__13);
setState(871);
genericArgument();
}
}
setState(876);
_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 SwGenericArgument extends SwiftInnerNode {
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwGenericArgument(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_genericArgument; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterGenericArgument(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitGenericArgument(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitGenericArgument(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwGenericArgument genericArgument() throws RecognitionException {
SwGenericArgument _localctx = new SwGenericArgument(_ctx, getState());
enterRule(_localctx, 104, RULE_genericArgument);
try {
enterOuterAlt(_localctx, 1);
{
setState(877);
sType(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwDeclaration extends SwiftInnerNode {
public SwImportDeclaration importDeclaration() {
return getRuleContext(SwImportDeclaration.class,0);
}
public SwConstantDeclaration constantDeclaration() {
return getRuleContext(SwConstantDeclaration.class,0);
}
public SwVariableDeclaration variableDeclaration() {
return getRuleContext(SwVariableDeclaration.class,0);
}
public SwTypealiasDeclaration typealiasDeclaration() {
return getRuleContext(SwTypealiasDeclaration.class,0);
}
public SwFunctionDeclaration functionDeclaration() {
return getRuleContext(SwFunctionDeclaration.class,0);
}
public SwEnumDeclaration enumDeclaration() {
return getRuleContext(SwEnumDeclaration.class,0);
}
public SwStructDeclaration structDeclaration() {
return getRuleContext(SwStructDeclaration.class,0);
}
public SwClassDeclaration classDeclaration() {
return getRuleContext(SwClassDeclaration.class,0);
}
public SwProtocolDeclaration protocolDeclaration() {
return getRuleContext(SwProtocolDeclaration.class,0);
}
public SwInitializerDeclaration initializerDeclaration() {
return getRuleContext(SwInitializerDeclaration.class,0);
}
public SwDeinitializerDeclaration deinitializerDeclaration() {
return getRuleContext(SwDeinitializerDeclaration.class,0);
}
public SwExtensionDeclaration extensionDeclaration() {
return getRuleContext(SwExtensionDeclaration.class,0);
}
public SwSubscriptDeclaration subscriptDeclaration() {
return getRuleContext(SwSubscriptDeclaration.class,0);
}
public SwOperatorDeclaration operatorDeclaration() {
return getRuleContext(SwOperatorDeclaration.class,0);
}
public SwCompilerControlStatement compilerControlStatement() {
return getRuleContext(SwCompilerControlStatement.class,0);
}
public SwPrecedenceGroupDeclaration precedenceGroupDeclaration() {
return getRuleContext(SwPrecedenceGroupDeclaration.class,0);
}
public SwDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_declaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDeclaration declaration() throws RecognitionException {
SwDeclaration _localctx = new SwDeclaration(_ctx, getState());
enterRule(_localctx, 106, RULE_declaration);
try {
setState(943);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,58,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(879);
importDeclaration();
setState(881);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,42,_ctx) ) {
case 1:
{
setState(880);
match(T__0);
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(883);
constantDeclaration();
setState(885);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,43,_ctx) ) {
case 1:
{
setState(884);
match(T__0);
}
break;
}
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(887);
variableDeclaration();
setState(889);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,44,_ctx) ) {
case 1:
{
setState(888);
match(T__0);
}
break;
}
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(891);
typealiasDeclaration();
setState(893);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,45,_ctx) ) {
case 1:
{
setState(892);
match(T__0);
}
break;
}
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(895);
functionDeclaration();
setState(897);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,46,_ctx) ) {
case 1:
{
setState(896);
match(T__0);
}
break;
}
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(899);
enumDeclaration();
setState(901);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,47,_ctx) ) {
case 1:
{
setState(900);
match(T__0);
}
break;
}
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(903);
structDeclaration();
setState(905);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,48,_ctx) ) {
case 1:
{
setState(904);
match(T__0);
}
break;
}
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(907);
classDeclaration();
setState(909);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,49,_ctx) ) {
case 1:
{
setState(908);
match(T__0);
}
break;
}
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(911);
protocolDeclaration();
setState(913);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,50,_ctx) ) {
case 1:
{
setState(912);
match(T__0);
}
break;
}
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(915);
initializerDeclaration();
setState(917);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,51,_ctx) ) {
case 1:
{
setState(916);
match(T__0);
}
break;
}
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(919);
deinitializerDeclaration();
setState(921);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,52,_ctx) ) {
case 1:
{
setState(920);
match(T__0);
}
break;
}
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(923);
extensionDeclaration();
setState(925);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,53,_ctx) ) {
case 1:
{
setState(924);
match(T__0);
}
break;
}
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(927);
subscriptDeclaration();
setState(929);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,54,_ctx) ) {
case 1:
{
setState(928);
match(T__0);
}
break;
}
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(931);
operatorDeclaration();
setState(933);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,55,_ctx) ) {
case 1:
{
setState(932);
match(T__0);
}
break;
}
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(935);
compilerControlStatement();
setState(937);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,56,_ctx) ) {
case 1:
{
setState(936);
match(T__0);
}
break;
}
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(939);
precedenceGroupDeclaration();
setState(941);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,57,_ctx) ) {
case 1:
{
setState(940);
match(T__0);
}
break;
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwDeclarations extends SwiftInnerNode {
public List declaration() {
return getRuleContexts(SwDeclaration.class);
}
public SwDeclaration declaration(int i) {
return getRuleContext(SwDeclaration.class,i);
}
public SwDeclarations(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_declarations; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDeclarations(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDeclarations(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDeclarations(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDeclarations declarations() throws RecognitionException {
SwDeclarations _localctx = new SwDeclarations(_ctx, getState());
enterRule(_localctx, 108, RULE_declarations);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(946);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(945);
declaration();
}
}
setState(948);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__23) | (1L << T__24) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__57) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__82 - 64)) | (1L << (T__84 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__91 - 64)) | (1L << (T__101 - 64)))) != 0) || ((((_la - 145)) & ~0x3f) == 0 && ((1L << (_la - 145)) & ((1L << (T__144 - 145)) | (1L << (T__157 - 145)) | (1L << (T__160 - 145)) | (1L << (T__161 - 145)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwDeclarationModifiers extends SwiftInnerNode {
public List declarationModifier() {
return getRuleContexts(SwDeclarationModifier.class);
}
public SwDeclarationModifier declarationModifier(int i) {
return getRuleContext(SwDeclarationModifier.class,i);
}
public SwDeclarationModifiers(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_declarationModifiers; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDeclarationModifiers(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDeclarationModifiers(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDeclarationModifiers(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDeclarationModifiers declarationModifiers() throws RecognitionException {
SwDeclarationModifiers _localctx = new SwDeclarationModifiers(_ctx, getState());
enterRule(_localctx, 110, RULE_declarationModifiers);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(951);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(950);
declarationModifier();
}
}
setState(953);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( ((((_la - 43)) & ~0x3f) == 0 && ((1L << (_la - 43)) & ((1L << (T__42 - 43)) | (1L << (T__43 - 43)) | (1L << (T__44 - 43)) | (1L << (T__45 - 43)) | (1L << (T__46 - 43)) | (1L << (T__47 - 43)) | (1L << (T__48 - 43)) | (1L << (T__49 - 43)) | (1L << (T__50 - 43)) | (1L << (T__51 - 43)) | (1L << (T__52 - 43)) | (1L << (T__53 - 43)) | (1L << (T__54 - 43)) | (1L << (T__57 - 43)) | (1L << (T__58 - 43)) | (1L << (T__60 - 43)) | (1L << (T__61 - 43)) | (1L << (T__62 - 43)) | (1L << (T__63 - 43)) | (1L << (T__64 - 43)) | (1L << (T__65 - 43)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwDeclarationModifier extends SwiftInnerNode {
public SwAccessLevelModifier accessLevelModifier() {
return getRuleContext(SwAccessLevelModifier.class,0);
}
public SwMutationModifier mutationModifier() {
return getRuleContext(SwMutationModifier.class,0);
}
public SwDeclarationModifier(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_declarationModifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDeclarationModifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDeclarationModifier(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDeclarationModifier(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDeclarationModifier declarationModifier() throws RecognitionException {
SwDeclarationModifier _localctx = new SwDeclarationModifier(_ctx, getState());
enterRule(_localctx, 112, RULE_declarationModifier);
try {
setState(979);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,61,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(955);
match(T__42);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(956);
match(T__43);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(957);
match(T__44);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(958);
match(T__45);
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(959);
match(T__46);
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(960);
match(T__47);
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(961);
match(T__48);
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(962);
match(T__49);
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(963);
match(T__50);
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(964);
match(T__51);
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(965);
match(T__52);
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(966);
match(T__53);
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(967);
match(T__54);
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(968);
match(T__54);
setState(969);
match(T__28);
setState(970);
match(T__55);
setState(971);
match(T__29);
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(972);
match(T__54);
setState(973);
match(T__28);
setState(974);
match(T__56);
setState(975);
match(T__29);
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(976);
match(T__57);
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(977);
accessLevelModifier();
}
break;
case 18:
enterOuterAlt(_localctx, 18);
{
setState(978);
mutationModifier();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwAccessLevelModifier extends SwiftInnerNode {
public SwAccessLevelModifier(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_accessLevelModifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterAccessLevelModifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitAccessLevelModifier(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitAccessLevelModifier(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwAccessLevelModifier accessLevelModifier() throws RecognitionException {
SwAccessLevelModifier _localctx = new SwAccessLevelModifier(_ctx, getState());
enterRule(_localctx, 114, RULE_accessLevelModifier);
try {
setState(1006);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,62,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(981);
match(T__58);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(982);
match(T__58);
setState(983);
match(T__28);
setState(984);
match(T__59);
setState(985);
match(T__29);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(986);
match(T__60);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(987);
match(T__60);
setState(988);
match(T__28);
setState(989);
match(T__59);
setState(990);
match(T__29);
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(991);
match(T__61);
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(992);
match(T__61);
setState(993);
match(T__28);
setState(994);
match(T__59);
setState(995);
match(T__29);
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(996);
match(T__62);
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(997);
match(T__62);
setState(998);
match(T__28);
setState(999);
match(T__59);
setState(1000);
match(T__29);
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(1001);
match(T__63);
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(1002);
match(T__63);
setState(1003);
match(T__28);
setState(1004);
match(T__59);
setState(1005);
match(T__29);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwAccessLevelModifiers extends SwiftInnerNode {
public List accessLevelModifier() {
return getRuleContexts(SwAccessLevelModifier.class);
}
public SwAccessLevelModifier accessLevelModifier(int i) {
return getRuleContext(SwAccessLevelModifier.class,i);
}
public SwAccessLevelModifiers(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_accessLevelModifiers; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterAccessLevelModifiers(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitAccessLevelModifiers(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitAccessLevelModifiers(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwAccessLevelModifiers accessLevelModifiers() throws RecognitionException {
SwAccessLevelModifiers _localctx = new SwAccessLevelModifiers(_ctx, getState());
enterRule(_localctx, 116, RULE_accessLevelModifiers);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1009);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(1008);
accessLevelModifier();
}
}
setState(1011);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( ((((_la - 59)) & ~0x3f) == 0 && ((1L << (_la - 59)) & ((1L << (T__58 - 59)) | (1L << (T__60 - 59)) | (1L << (T__61 - 59)) | (1L << (T__62 - 59)) | (1L << (T__63 - 59)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwMutationModifier extends SwiftInnerNode {
public SwMutationModifier(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_mutationModifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterMutationModifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitMutationModifier(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitMutationModifier(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwMutationModifier mutationModifier() throws RecognitionException {
SwMutationModifier _localctx = new SwMutationModifier(_ctx, getState());
enterRule(_localctx, 118, RULE_mutationModifier);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1013);
_la = _input.LA(1);
if ( !(_la==T__64 || _la==T__65) ) {
_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 SwCodeBlock extends SwiftInnerNode {
public SwStatements statements() {
return getRuleContext(SwStatements.class,0);
}
public SwCodeBlock(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_codeBlock; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCodeBlock(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCodeBlock(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCodeBlock(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCodeBlock codeBlock() throws RecognitionException {
SwCodeBlock _localctx = new SwCodeBlock(_ctx, getState());
enterRule(_localctx, 120, RULE_codeBlock);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1015);
match(T__11);
setState(1017);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__24) | (1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__28) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__35) | (1L << T__37) | (1L << T__39) | (1L << T__40) | (1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__76 - 64)) | (1L << (T__77 - 64)) | (1L << (T__78 - 64)) | (1L << (T__79 - 64)) | (1L << (T__80 - 64)) | (1L << (T__81 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (T__91 - 64)) | (1L << (T__95 - 64)) | (1L << (T__96 - 64)) | (1L << (T__97 - 64)) | (1L << (T__98 - 64)) | (1L << (T__99 - 64)) | (1L << (T__100 - 64)) | (1L << (T__101 - 64)) | (1L << (T__102 - 64)) | (1L << (T__104 - 64)) | (1L << (T__106 - 64)) | (1L << (T__108 - 64)) | (1L << (T__109 - 64)) | (1L << (T__110 - 64)) | (1L << (T__111 - 64)) | (1L << (T__112 - 64)) | (1L << (T__113 - 64)) | (1L << (T__114 - 64)) | (1L << (T__115 - 64)) | (1L << (T__116 - 64)) | (1L << (T__117 - 64)) | (1L << (T__118 - 64)) | (1L << (T__119 - 64)) | (1L << (T__120 - 64)) | (1L << (T__121 - 64)) | (1L << (T__122 - 64)) | (1L << (T__123 - 64)) | (1L << (T__126 - 64)))) != 0) || ((((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & ((1L << (T__127 - 128)) | (1L << (T__130 - 128)) | (1L << (T__131 - 128)) | (1L << (T__132 - 128)) | (1L << (T__133 - 128)) | (1L << (T__134 - 128)) | (1L << (T__135 - 128)) | (1L << (T__136 - 128)) | (1L << (T__137 - 128)) | (1L << (T__138 - 128)) | (1L << (T__139 - 128)) | (1L << (T__140 - 128)) | (1L << (T__141 - 128)) | (1L << (T__142 - 128)) | (1L << (T__143 - 128)) | (1L << (T__144 - 128)) | (1L << (T__145 - 128)) | (1L << (T__146 - 128)) | (1L << (T__147 - 128)) | (1L << (T__148 - 128)) | (1L << (T__153 - 128)) | (1L << (T__154 - 128)) | (1L << (T__155 - 128)) | (1L << (T__156 - 128)) | (1L << (T__157 - 128)) | (1L << (T__158 - 128)) | (1L << (T__159 - 128)) | (1L << (T__160 - 128)) | (1L << (T__161 - 128)) | (1L << (T__162 - 128)) | (1L << (T__163 - 128)) | (1L << (T__164 - 128)) | (1L << (T__165 - 128)) | (1L << (T__166 - 128)) | (1L << (BooleanLiteral - 128)) | (1L << (NilLiteral - 128)) | (1L << (OperatorHead - 128)) | (1L << (DotOperatorHead - 128)) | (1L << (Identifier - 128)) | (1L << (BinaryLiteral - 128)) | (1L << (OctalLiteral - 128)) | (1L << (DecimalLiteral - 128)) | (1L << (HexadecimalLiteral - 128)) | (1L << (FloatingPointLiteral - 128)) | (1L << (MultiStringLiteral - 128)) | (1L << (RawSingleStringLiteral - 128)) | (1L << (RawMultiStringLiteral - 128)) | (1L << (SingleStringLiteral - 128)))) != 0)) {
{
setState(1016);
statements();
}
}
setState(1019);
match(T__12);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwImportDeclaration extends SwiftInnerNode {
public SwImportPath importPath() {
return getRuleContext(SwImportPath.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwImportKind importKind() {
return getRuleContext(SwImportKind.class,0);
}
public SwImportDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_importDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterImportDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitImportDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitImportDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwImportDeclaration importDeclaration() throws RecognitionException {
SwImportDeclaration _localctx = new SwImportDeclaration(_ctx, getState());
enterRule(_localctx, 122, RULE_importDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1022);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1021);
attributes();
}
}
setState(1024);
match(T__66);
setState(1026);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,66,_ctx) ) {
case 1:
{
setState(1025);
importKind();
}
break;
}
setState(1028);
importPath();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwImportKind extends SwiftInnerNode {
public SwImportKind(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_importKind; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterImportKind(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitImportKind(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitImportKind(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwImportKind importKind() throws RecognitionException {
SwImportKind _localctx = new SwImportKind(_ctx, getState());
enterRule(_localctx, 124, RULE_importKind);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1030);
_la = _input.LA(1);
if ( !(((((_la - 24)) & ~0x3f) == 0 && ((1L << (_la - 24)) & ((1L << (T__23 - 24)) | (1L << (T__24 - 24)) | (1L << (T__42 - 24)) | (1L << (T__67 - 24)) | (1L << (T__68 - 24)) | (1L << (T__69 - 24)) | (1L << (T__70 - 24)) | (1L << (T__71 - 24)))) != 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 SwImportPath extends SwiftInnerNode {
public SwImportPathIdentifier importPathIdentifier() {
return getRuleContext(SwImportPathIdentifier.class,0);
}
public SwImportPath importPath() {
return getRuleContext(SwImportPath.class,0);
}
public SwImportPath(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_importPath; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterImportPath(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitImportPath(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitImportPath(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwImportPath importPath() throws RecognitionException {
SwImportPath _localctx = new SwImportPath(_ctx, getState());
enterRule(_localctx, 126, RULE_importPath);
try {
setState(1037);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,67,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1032);
importPathIdentifier();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1033);
importPathIdentifier();
setState(1034);
match(T__72);
setState(1035);
importPath();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwImportPathIdentifier extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwOperator operator() {
return getRuleContext(SwOperator.class,0);
}
public SwImportPathIdentifier(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_importPathIdentifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterImportPathIdentifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitImportPathIdentifier(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitImportPathIdentifier(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwImportPathIdentifier importPathIdentifier() throws RecognitionException {
SwImportPathIdentifier _localctx = new SwImportPathIdentifier(_ctx, getState());
enterRule(_localctx, 128, RULE_importPathIdentifier);
try {
setState(1041);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__14:
case T__24:
case T__31:
case T__32:
case T__33:
case T__35:
case T__37:
case T__43:
case T__44:
case T__45:
case T__46:
case T__47:
case T__48:
case T__49:
case T__50:
case T__51:
case T__52:
case T__54:
case T__55:
case T__57:
case T__59:
case T__64:
case T__65:
case T__74:
case T__75:
case T__76:
case T__82:
case T__90:
case T__95:
case T__96:
case T__97:
case T__98:
case T__115:
case T__116:
case T__117:
case T__118:
case T__120:
case T__132:
case T__133:
case T__137:
case T__138:
case T__139:
case T__141:
case T__147:
case T__148:
case T__153:
case T__154:
case T__155:
case T__156:
case T__158:
case T__159:
case T__165:
case T__166:
case Identifier:
enterOuterAlt(_localctx, 1);
{
setState(1039);
identifier();
}
break;
case T__30:
case T__39:
case T__40:
case T__41:
case T__73:
case T__79:
case T__80:
case T__85:
case T__86:
case T__104:
case T__106:
case T__108:
case T__134:
case T__135:
case T__136:
case OperatorHead:
case DotOperatorHead:
enterOuterAlt(_localctx, 2);
{
setState(1040);
operator();
}
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 SwConstantDeclaration extends SwiftInnerNode {
public SwPatternInitializerList patternInitializerList() {
return getRuleContext(SwPatternInitializerList.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwDeclarationModifiers declarationModifiers() {
return getRuleContext(SwDeclarationModifiers.class,0);
}
public SwConstantDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_constantDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterConstantDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitConstantDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitConstantDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwConstantDeclaration constantDeclaration() throws RecognitionException {
SwConstantDeclaration _localctx = new SwConstantDeclaration(_ctx, getState());
enterRule(_localctx, 130, RULE_constantDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1044);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1043);
attributes();
}
}
setState(1047);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 43)) & ~0x3f) == 0 && ((1L << (_la - 43)) & ((1L << (T__42 - 43)) | (1L << (T__43 - 43)) | (1L << (T__44 - 43)) | (1L << (T__45 - 43)) | (1L << (T__46 - 43)) | (1L << (T__47 - 43)) | (1L << (T__48 - 43)) | (1L << (T__49 - 43)) | (1L << (T__50 - 43)) | (1L << (T__51 - 43)) | (1L << (T__52 - 43)) | (1L << (T__53 - 43)) | (1L << (T__54 - 43)) | (1L << (T__57 - 43)) | (1L << (T__58 - 43)) | (1L << (T__60 - 43)) | (1L << (T__61 - 43)) | (1L << (T__62 - 43)) | (1L << (T__63 - 43)) | (1L << (T__64 - 43)) | (1L << (T__65 - 43)))) != 0)) {
{
setState(1046);
declarationModifiers();
}
}
setState(1049);
match(T__23);
setState(1050);
patternInitializerList();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwPatternInitializerList extends SwiftInnerNode {
public List patternInitializer() {
return getRuleContexts(SwPatternInitializer.class);
}
public SwPatternInitializer patternInitializer(int i) {
return getRuleContext(SwPatternInitializer.class,i);
}
public SwPatternInitializerList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_patternInitializerList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPatternInitializerList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPatternInitializerList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPatternInitializerList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPatternInitializerList patternInitializerList() throws RecognitionException {
SwPatternInitializerList _localctx = new SwPatternInitializerList(_ctx, getState());
enterRule(_localctx, 132, RULE_patternInitializerList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1052);
patternInitializer();
setState(1057);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(1053);
match(T__13);
setState(1054);
patternInitializer();
}
}
setState(1059);
_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 SwPatternInitializer extends SwiftInnerNode {
public SwPattern pattern() {
return getRuleContext(SwPattern.class,0);
}
public SwInitializer initializer() {
return getRuleContext(SwInitializer.class,0);
}
public SwPatternInitializer(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_patternInitializer; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPatternInitializer(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPatternInitializer(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPatternInitializer(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPatternInitializer patternInitializer() throws RecognitionException {
SwPatternInitializer _localctx = new SwPatternInitializer(_ctx, getState());
enterRule(_localctx, 134, RULE_patternInitializer);
try {
enterOuterAlt(_localctx, 1);
{
setState(1060);
pattern(0);
setState(1062);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,72,_ctx) ) {
case 1:
{
setState(1061);
initializer();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwInitializer extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwInitializer(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_initializer; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterInitializer(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitInitializer(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitInitializer(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwInitializer initializer() throws RecognitionException {
SwInitializer _localctx = new SwInitializer(_ctx, getState());
enterRule(_localctx, 136, RULE_initializer);
try {
enterOuterAlt(_localctx, 1);
{
setState(1064);
match(T__73);
setState(1065);
expression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwVariableDeclaration extends SwiftInnerNode {
public SwVariableDeclarationHead variableDeclarationHead() {
return getRuleContext(SwVariableDeclarationHead.class,0);
}
public SwVariableName variableName() {
return getRuleContext(SwVariableName.class,0);
}
public SwTypeAnnotation typeAnnotation() {
return getRuleContext(SwTypeAnnotation.class,0);
}
public SwGetterSetterBlock getterSetterBlock() {
return getRuleContext(SwGetterSetterBlock.class,0);
}
public SwGetterSetterKeywordBlock getterSetterKeywordBlock() {
return getRuleContext(SwGetterSetterKeywordBlock.class,0);
}
public SwInitializer initializer() {
return getRuleContext(SwInitializer.class,0);
}
public SwWillSetDidSetBlock willSetDidSetBlock() {
return getRuleContext(SwWillSetDidSetBlock.class,0);
}
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwPatternInitializerList patternInitializerList() {
return getRuleContext(SwPatternInitializerList.class,0);
}
public SwVariableDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_variableDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterVariableDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitVariableDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitVariableDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwVariableDeclaration variableDeclaration() throws RecognitionException {
SwVariableDeclaration _localctx = new SwVariableDeclaration(_ctx, getState());
enterRule(_localctx, 138, RULE_variableDeclaration);
int _la;
try {
setState(1098);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,74,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1067);
variableDeclarationHead();
setState(1068);
variableName();
setState(1069);
typeAnnotation();
setState(1070);
getterSetterBlock();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1072);
variableDeclarationHead();
setState(1073);
variableName();
setState(1074);
typeAnnotation();
setState(1075);
getterSetterKeywordBlock();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1077);
variableDeclarationHead();
setState(1078);
variableName();
setState(1079);
initializer();
setState(1080);
willSetDidSetBlock();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1082);
variableDeclarationHead();
setState(1083);
variableName();
setState(1084);
typeAnnotation();
setState(1086);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__73) {
{
setState(1085);
initializer();
}
}
setState(1088);
willSetDidSetBlock();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1090);
variableDeclarationHead();
setState(1091);
variableName();
setState(1092);
typeAnnotation();
setState(1093);
codeBlock();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(1095);
variableDeclarationHead();
setState(1096);
patternInitializerList();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwVariableDeclarationHead extends SwiftInnerNode {
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwDeclarationModifiers declarationModifiers() {
return getRuleContext(SwDeclarationModifiers.class,0);
}
public SwVariableDeclarationHead(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_variableDeclarationHead; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterVariableDeclarationHead(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitVariableDeclarationHead(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitVariableDeclarationHead(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwVariableDeclarationHead variableDeclarationHead() throws RecognitionException {
SwVariableDeclarationHead _localctx = new SwVariableDeclarationHead(_ctx, getState());
enterRule(_localctx, 140, RULE_variableDeclarationHead);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1101);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1100);
attributes();
}
}
setState(1104);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 43)) & ~0x3f) == 0 && ((1L << (_la - 43)) & ((1L << (T__42 - 43)) | (1L << (T__43 - 43)) | (1L << (T__44 - 43)) | (1L << (T__45 - 43)) | (1L << (T__46 - 43)) | (1L << (T__47 - 43)) | (1L << (T__48 - 43)) | (1L << (T__49 - 43)) | (1L << (T__50 - 43)) | (1L << (T__51 - 43)) | (1L << (T__52 - 43)) | (1L << (T__53 - 43)) | (1L << (T__54 - 43)) | (1L << (T__57 - 43)) | (1L << (T__58 - 43)) | (1L << (T__60 - 43)) | (1L << (T__61 - 43)) | (1L << (T__62 - 43)) | (1L << (T__63 - 43)) | (1L << (T__64 - 43)) | (1L << (T__65 - 43)))) != 0)) {
{
setState(1103);
declarationModifiers();
}
}
setState(1106);
match(T__24);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwVariableName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwVariableName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_variableName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterVariableName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitVariableName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitVariableName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwVariableName variableName() throws RecognitionException {
SwVariableName _localctx = new SwVariableName(_ctx, getState());
enterRule(_localctx, 142, RULE_variableName);
try {
enterOuterAlt(_localctx, 1);
{
setState(1108);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwGetterSetterBlock extends SwiftInnerNode {
public SwGetterClause getterClause() {
return getRuleContext(SwGetterClause.class,0);
}
public SwSetterClause setterClause() {
return getRuleContext(SwSetterClause.class,0);
}
public SwGetterSetterBlock(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_getterSetterBlock; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterGetterSetterBlock(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitGetterSetterBlock(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitGetterSetterBlock(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwGetterSetterBlock getterSetterBlock() throws RecognitionException {
SwGetterSetterBlock _localctx = new SwGetterSetterBlock(_ctx, getState());
enterRule(_localctx, 144, RULE_getterSetterBlock);
int _la;
try {
setState(1122);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,78,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1110);
match(T__11);
setState(1111);
getterClause();
setState(1113);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 43)) & ~0x3f) == 0 && ((1L << (_la - 43)) & ((1L << (T__42 - 43)) | (1L << (T__43 - 43)) | (1L << (T__44 - 43)) | (1L << (T__45 - 43)) | (1L << (T__46 - 43)) | (1L << (T__47 - 43)) | (1L << (T__48 - 43)) | (1L << (T__49 - 43)) | (1L << (T__50 - 43)) | (1L << (T__51 - 43)) | (1L << (T__52 - 43)) | (1L << (T__53 - 43)) | (1L << (T__54 - 43)) | (1L << (T__57 - 43)) | (1L << (T__58 - 43)) | (1L << (T__59 - 43)) | (1L << (T__60 - 43)) | (1L << (T__61 - 43)) | (1L << (T__62 - 43)) | (1L << (T__63 - 43)) | (1L << (T__64 - 43)) | (1L << (T__65 - 43)) | (1L << (T__101 - 43)))) != 0)) {
{
setState(1112);
setterClause();
}
}
setState(1115);
match(T__12);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1117);
match(T__11);
setState(1118);
setterClause();
setState(1119);
getterClause();
setState(1120);
match(T__12);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwGetterClause extends SwiftInnerNode {
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwDeclarationModifiers declarationModifiers() {
return getRuleContext(SwDeclarationModifiers.class,0);
}
public SwGetterClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_getterClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterGetterClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitGetterClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitGetterClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwGetterClause getterClause() throws RecognitionException {
SwGetterClause _localctx = new SwGetterClause(_ctx, getState());
enterRule(_localctx, 146, RULE_getterClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1125);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1124);
attributes();
}
}
setState(1128);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 43)) & ~0x3f) == 0 && ((1L << (_la - 43)) & ((1L << (T__42 - 43)) | (1L << (T__43 - 43)) | (1L << (T__44 - 43)) | (1L << (T__45 - 43)) | (1L << (T__46 - 43)) | (1L << (T__47 - 43)) | (1L << (T__48 - 43)) | (1L << (T__49 - 43)) | (1L << (T__50 - 43)) | (1L << (T__51 - 43)) | (1L << (T__52 - 43)) | (1L << (T__53 - 43)) | (1L << (T__54 - 43)) | (1L << (T__57 - 43)) | (1L << (T__58 - 43)) | (1L << (T__60 - 43)) | (1L << (T__61 - 43)) | (1L << (T__62 - 43)) | (1L << (T__63 - 43)) | (1L << (T__64 - 43)) | (1L << (T__65 - 43)))) != 0)) {
{
setState(1127);
declarationModifiers();
}
}
setState(1130);
match(T__74);
setState(1131);
codeBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSetterClause extends SwiftInnerNode {
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwDeclarationModifiers declarationModifiers() {
return getRuleContext(SwDeclarationModifiers.class,0);
}
public SwSetterName setterName() {
return getRuleContext(SwSetterName.class,0);
}
public SwSetterClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_setterClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSetterClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSetterClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSetterClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSetterClause setterClause() throws RecognitionException {
SwSetterClause _localctx = new SwSetterClause(_ctx, getState());
enterRule(_localctx, 148, RULE_setterClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1134);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1133);
attributes();
}
}
setState(1137);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 43)) & ~0x3f) == 0 && ((1L << (_la - 43)) & ((1L << (T__42 - 43)) | (1L << (T__43 - 43)) | (1L << (T__44 - 43)) | (1L << (T__45 - 43)) | (1L << (T__46 - 43)) | (1L << (T__47 - 43)) | (1L << (T__48 - 43)) | (1L << (T__49 - 43)) | (1L << (T__50 - 43)) | (1L << (T__51 - 43)) | (1L << (T__52 - 43)) | (1L << (T__53 - 43)) | (1L << (T__54 - 43)) | (1L << (T__57 - 43)) | (1L << (T__58 - 43)) | (1L << (T__60 - 43)) | (1L << (T__61 - 43)) | (1L << (T__62 - 43)) | (1L << (T__63 - 43)) | (1L << (T__64 - 43)) | (1L << (T__65 - 43)))) != 0)) {
{
setState(1136);
declarationModifiers();
}
}
setState(1139);
match(T__59);
setState(1141);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__28) {
{
setState(1140);
setterName();
}
}
setState(1143);
codeBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSetterName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwSetterName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_setterName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSetterName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSetterName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSetterName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSetterName setterName() throws RecognitionException {
SwSetterName _localctx = new SwSetterName(_ctx, getState());
enterRule(_localctx, 150, RULE_setterName);
try {
enterOuterAlt(_localctx, 1);
{
setState(1145);
match(T__28);
setState(1146);
identifier();
setState(1147);
match(T__29);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwGetterSetterKeywordBlock extends SwiftInnerNode {
public SwGetterKeywordClause getterKeywordClause() {
return getRuleContext(SwGetterKeywordClause.class,0);
}
public SwSetterKeywordClause setterKeywordClause() {
return getRuleContext(SwSetterKeywordClause.class,0);
}
public SwGetterSetterKeywordBlock(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_getterSetterKeywordBlock; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterGetterSetterKeywordBlock(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitGetterSetterKeywordBlock(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitGetterSetterKeywordBlock(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwGetterSetterKeywordBlock getterSetterKeywordBlock() throws RecognitionException {
SwGetterSetterKeywordBlock _localctx = new SwGetterSetterKeywordBlock(_ctx, getState());
enterRule(_localctx, 152, RULE_getterSetterKeywordBlock);
int _la;
try {
setState(1161);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,85,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1149);
match(T__11);
setState(1150);
getterKeywordClause();
setState(1152);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__59 || _la==T__101) {
{
setState(1151);
setterKeywordClause();
}
}
setState(1154);
match(T__12);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1156);
match(T__11);
setState(1157);
setterKeywordClause();
setState(1158);
getterKeywordClause();
setState(1159);
match(T__12);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwGetterKeywordClause extends SwiftInnerNode {
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwGetterKeywordClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_getterKeywordClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterGetterKeywordClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitGetterKeywordClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitGetterKeywordClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwGetterKeywordClause getterKeywordClause() throws RecognitionException {
SwGetterKeywordClause _localctx = new SwGetterKeywordClause(_ctx, getState());
enterRule(_localctx, 154, RULE_getterKeywordClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1164);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1163);
attributes();
}
}
setState(1166);
match(T__74);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSetterKeywordClause extends SwiftInnerNode {
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwSetterKeywordClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_setterKeywordClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSetterKeywordClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSetterKeywordClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSetterKeywordClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSetterKeywordClause setterKeywordClause() throws RecognitionException {
SwSetterKeywordClause _localctx = new SwSetterKeywordClause(_ctx, getState());
enterRule(_localctx, 156, RULE_setterKeywordClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1169);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1168);
attributes();
}
}
setState(1171);
match(T__59);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwWillSetDidSetBlock extends SwiftInnerNode {
public SwWillSetClause willSetClause() {
return getRuleContext(SwWillSetClause.class,0);
}
public SwDidSetClause didSetClause() {
return getRuleContext(SwDidSetClause.class,0);
}
public SwWillSetDidSetBlock(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_willSetDidSetBlock; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterWillSetDidSetBlock(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitWillSetDidSetBlock(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitWillSetDidSetBlock(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwWillSetDidSetBlock willSetDidSetBlock() throws RecognitionException {
SwWillSetDidSetBlock _localctx = new SwWillSetDidSetBlock(_ctx, getState());
enterRule(_localctx, 158, RULE_willSetDidSetBlock);
int _la;
try {
setState(1187);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,90,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1173);
match(T__11);
setState(1174);
willSetClause();
setState(1176);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__76 || _la==T__101) {
{
setState(1175);
didSetClause();
}
}
setState(1178);
match(T__12);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1180);
match(T__11);
setState(1181);
didSetClause();
setState(1183);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__75 || _la==T__101) {
{
setState(1182);
willSetClause();
}
}
setState(1185);
match(T__12);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwWillSetClause extends SwiftInnerNode {
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwSetterName setterName() {
return getRuleContext(SwSetterName.class,0);
}
public SwWillSetClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_willSetClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterWillSetClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitWillSetClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitWillSetClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwWillSetClause willSetClause() throws RecognitionException {
SwWillSetClause _localctx = new SwWillSetClause(_ctx, getState());
enterRule(_localctx, 160, RULE_willSetClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1190);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1189);
attributes();
}
}
setState(1192);
match(T__75);
setState(1194);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__28) {
{
setState(1193);
setterName();
}
}
setState(1196);
codeBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwDidSetClause extends SwiftInnerNode {
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwSetterName setterName() {
return getRuleContext(SwSetterName.class,0);
}
public SwDidSetClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_didSetClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDidSetClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDidSetClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDidSetClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDidSetClause didSetClause() throws RecognitionException {
SwDidSetClause _localctx = new SwDidSetClause(_ctx, getState());
enterRule(_localctx, 162, RULE_didSetClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1199);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1198);
attributes();
}
}
setState(1201);
match(T__76);
setState(1203);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__28) {
{
setState(1202);
setterName();
}
}
setState(1205);
codeBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTypealiasDeclaration extends SwiftInnerNode {
public SwTypealiasHead typealiasHead() {
return getRuleContext(SwTypealiasHead.class,0);
}
public SwTypealiasAssignment typealiasAssignment() {
return getRuleContext(SwTypealiasAssignment.class,0);
}
public SwTypealiasDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typealiasDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTypealiasDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTypealiasDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTypealiasDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTypealiasDeclaration typealiasDeclaration() throws RecognitionException {
SwTypealiasDeclaration _localctx = new SwTypealiasDeclaration(_ctx, getState());
enterRule(_localctx, 164, RULE_typealiasDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(1207);
typealiasHead();
setState(1208);
typealiasAssignment();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTypealiasHead extends SwiftInnerNode {
public SwTypealiasName typealiasName() {
return getRuleContext(SwTypealiasName.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwAccessLevelModifier accessLevelModifier() {
return getRuleContext(SwAccessLevelModifier.class,0);
}
public SwGenericParameterClause genericParameterClause() {
return getRuleContext(SwGenericParameterClause.class,0);
}
public SwTypealiasHead(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typealiasHead; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTypealiasHead(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTypealiasHead(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTypealiasHead(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTypealiasHead typealiasHead() throws RecognitionException {
SwTypealiasHead _localctx = new SwTypealiasHead(_ctx, getState());
enterRule(_localctx, 166, RULE_typealiasHead);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1211);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1210);
attributes();
}
}
setState(1214);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 59)) & ~0x3f) == 0 && ((1L << (_la - 59)) & ((1L << (T__58 - 59)) | (1L << (T__60 - 59)) | (1L << (T__61 - 59)) | (1L << (T__62 - 59)) | (1L << (T__63 - 59)))) != 0)) {
{
setState(1213);
accessLevelModifier();
}
}
setState(1216);
match(T__67);
setState(1217);
typealiasName();
setState(1219);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__39) {
{
setState(1218);
genericParameterClause();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTypealiasName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwTypealiasName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typealiasName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTypealiasName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTypealiasName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTypealiasName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTypealiasName typealiasName() throws RecognitionException {
SwTypealiasName _localctx = new SwTypealiasName(_ctx, getState());
enterRule(_localctx, 168, RULE_typealiasName);
try {
enterOuterAlt(_localctx, 1);
{
setState(1221);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTypealiasAssignment extends SwiftInnerNode {
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwTypealiasAssignment(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typealiasAssignment; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTypealiasAssignment(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTypealiasAssignment(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTypealiasAssignment(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTypealiasAssignment typealiasAssignment() throws RecognitionException {
SwTypealiasAssignment _localctx = new SwTypealiasAssignment(_ctx, getState());
enterRule(_localctx, 170, RULE_typealiasAssignment);
try {
enterOuterAlt(_localctx, 1);
{
setState(1223);
match(T__73);
setState(1224);
sType(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwFunctionDeclaration extends SwiftInnerNode {
public SwFunctionHead functionHead() {
return getRuleContext(SwFunctionHead.class,0);
}
public SwFunctionName functionName() {
return getRuleContext(SwFunctionName.class,0);
}
public SwFunctionSignature functionSignature() {
return getRuleContext(SwFunctionSignature.class,0);
}
public SwFunctionBody functionBody() {
return getRuleContext(SwFunctionBody.class,0);
}
public SwGenericParameterClause genericParameterClause() {
return getRuleContext(SwGenericParameterClause.class,0);
}
public SwGenericWhereClause genericWhereClause() {
return getRuleContext(SwGenericWhereClause.class,0);
}
public SwFunctionDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionDeclaration functionDeclaration() throws RecognitionException {
SwFunctionDeclaration _localctx = new SwFunctionDeclaration(_ctx, getState());
enterRule(_localctx, 172, RULE_functionDeclaration);
int _la;
try {
setState(1246);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,102,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1226);
functionHead();
setState(1227);
functionName();
setState(1229);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__39) {
{
setState(1228);
genericParameterClause();
}
}
setState(1231);
functionSignature();
setState(1233);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__25) {
{
setState(1232);
genericWhereClause();
}
}
setState(1235);
functionBody();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1237);
functionHead();
setState(1238);
functionName();
setState(1240);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__39) {
{
setState(1239);
genericParameterClause();
}
}
setState(1242);
functionSignature();
setState(1244);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,101,_ctx) ) {
case 1:
{
setState(1243);
genericWhereClause();
}
break;
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwFunctionHead extends SwiftInnerNode {
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwDeclarationModifiers declarationModifiers() {
return getRuleContext(SwDeclarationModifiers.class,0);
}
public SwFunctionHead(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionHead; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionHead(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionHead(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionHead(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionHead functionHead() throws RecognitionException {
SwFunctionHead _localctx = new SwFunctionHead(_ctx, getState());
enterRule(_localctx, 174, RULE_functionHead);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1249);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1248);
attributes();
}
}
setState(1252);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 43)) & ~0x3f) == 0 && ((1L << (_la - 43)) & ((1L << (T__42 - 43)) | (1L << (T__43 - 43)) | (1L << (T__44 - 43)) | (1L << (T__45 - 43)) | (1L << (T__46 - 43)) | (1L << (T__47 - 43)) | (1L << (T__48 - 43)) | (1L << (T__49 - 43)) | (1L << (T__50 - 43)) | (1L << (T__51 - 43)) | (1L << (T__52 - 43)) | (1L << (T__53 - 43)) | (1L << (T__54 - 43)) | (1L << (T__57 - 43)) | (1L << (T__58 - 43)) | (1L << (T__60 - 43)) | (1L << (T__61 - 43)) | (1L << (T__62 - 43)) | (1L << (T__63 - 43)) | (1L << (T__64 - 43)) | (1L << (T__65 - 43)))) != 0)) {
{
setState(1251);
declarationModifiers();
}
}
setState(1254);
match(T__71);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwFunctionName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwOperator operator() {
return getRuleContext(SwOperator.class,0);
}
public SwFunctionName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionName functionName() throws RecognitionException {
SwFunctionName _localctx = new SwFunctionName(_ctx, getState());
enterRule(_localctx, 176, RULE_functionName);
try {
setState(1258);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__14:
case T__24:
case T__31:
case T__32:
case T__33:
case T__35:
case T__37:
case T__43:
case T__44:
case T__45:
case T__46:
case T__47:
case T__48:
case T__49:
case T__50:
case T__51:
case T__52:
case T__54:
case T__55:
case T__57:
case T__59:
case T__64:
case T__65:
case T__74:
case T__75:
case T__76:
case T__82:
case T__90:
case T__95:
case T__96:
case T__97:
case T__98:
case T__115:
case T__116:
case T__117:
case T__118:
case T__120:
case T__132:
case T__133:
case T__137:
case T__138:
case T__139:
case T__141:
case T__147:
case T__148:
case T__153:
case T__154:
case T__155:
case T__156:
case T__158:
case T__159:
case T__165:
case T__166:
case Identifier:
enterOuterAlt(_localctx, 1);
{
setState(1256);
identifier();
}
break;
case T__30:
case T__39:
case T__40:
case T__41:
case T__73:
case T__79:
case T__80:
case T__85:
case T__86:
case T__104:
case T__106:
case T__108:
case T__134:
case T__135:
case T__136:
case OperatorHead:
case DotOperatorHead:
enterOuterAlt(_localctx, 2);
{
setState(1257);
operator();
}
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 SwFunctionSignature extends SwiftInnerNode {
public SwParameterClause parameterClause() {
return getRuleContext(SwParameterClause.class,0);
}
public SwFunctionResult functionResult() {
return getRuleContext(SwFunctionResult.class,0);
}
public SwFunctionSignature(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionSignature; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionSignature(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionSignature(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionSignature(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionSignature functionSignature() throws RecognitionException {
SwFunctionSignature _localctx = new SwFunctionSignature(_ctx, getState());
enterRule(_localctx, 178, RULE_functionSignature);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1260);
parameterClause();
setState(1262);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,106,_ctx) ) {
case 1:
{
setState(1261);
_la = _input.LA(1);
if ( !(_la==T__77 || _la==T__78) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
setState(1265);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,107,_ctx) ) {
case 1:
{
setState(1264);
functionResult();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwFunctionResult extends SwiftInnerNode {
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwFunctionResult(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionResult; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionResult(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionResult(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionResult(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionResult functionResult() throws RecognitionException {
SwFunctionResult _localctx = new SwFunctionResult(_ctx, getState());
enterRule(_localctx, 180, RULE_functionResult);
try {
enterOuterAlt(_localctx, 1);
{
setState(1267);
match(T__79);
setState(1269);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,108,_ctx) ) {
case 1:
{
setState(1268);
attributes();
}
break;
}
setState(1271);
sType(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwFunctionBody extends SwiftInnerNode {
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwFunctionBody(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionBody; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionBody(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionBody(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionBody(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionBody functionBody() throws RecognitionException {
SwFunctionBody _localctx = new SwFunctionBody(_ctx, getState());
enterRule(_localctx, 182, RULE_functionBody);
try {
enterOuterAlt(_localctx, 1);
{
setState(1273);
codeBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwParameterClause extends SwiftInnerNode {
public SwParameterList parameterList() {
return getRuleContext(SwParameterList.class,0);
}
public SwParameterClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_parameterClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterParameterClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitParameterClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitParameterClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwParameterClause parameterClause() throws RecognitionException {
SwParameterClause _localctx = new SwParameterClause(_ctx, getState());
enterRule(_localctx, 184, RULE_parameterClause);
int _la;
try {
setState(1284);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,110,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1275);
match(T__28);
setState(1276);
match(T__29);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1277);
match(T__28);
setState(1278);
parameterList();
setState(1280);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__80) {
{
setState(1279);
match(T__80);
}
}
setState(1282);
match(T__29);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwParameterList extends SwiftInnerNode {
public List parameter() {
return getRuleContexts(SwParameter.class);
}
public SwParameter parameter(int i) {
return getRuleContext(SwParameter.class,i);
}
public SwParameterList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_parameterList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterParameterList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitParameterList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitParameterList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwParameterList parameterList() throws RecognitionException {
SwParameterList _localctx = new SwParameterList(_ctx, getState());
enterRule(_localctx, 186, RULE_parameterList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1286);
parameter();
setState(1291);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(1287);
match(T__13);
setState(1288);
parameter();
}
}
setState(1293);
_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 SwParameter extends SwiftInnerNode {
public SwLocalParameterName localParameterName() {
return getRuleContext(SwLocalParameterName.class,0);
}
public SwTypeAnnotation typeAnnotation() {
return getRuleContext(SwTypeAnnotation.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwExternalParameterName externalParameterName() {
return getRuleContext(SwExternalParameterName.class,0);
}
public SwDefaultArgumentClause defaultArgumentClause() {
return getRuleContext(SwDefaultArgumentClause.class,0);
}
public SwParameter(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_parameter; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterParameter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitParameter(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitParameter(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwParameter parameter() throws RecognitionException {
SwParameter _localctx = new SwParameter(_ctx, getState());
enterRule(_localctx, 188, RULE_parameter);
int _la;
try {
setState(1315);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,117,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1295);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1294);
attributes();
}
}
setState(1298);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,113,_ctx) ) {
case 1:
{
setState(1297);
externalParameterName();
}
break;
}
setState(1300);
localParameterName();
setState(1301);
typeAnnotation();
setState(1303);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__73) {
{
setState(1302);
defaultArgumentClause();
}
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1306);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1305);
attributes();
}
}
setState(1309);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,116,_ctx) ) {
case 1:
{
setState(1308);
externalParameterName();
}
break;
}
setState(1311);
localParameterName();
setState(1312);
typeAnnotation();
setState(1313);
match(T__80);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwExternalParameterName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwKeyword keyword() {
return getRuleContext(SwKeyword.class,0);
}
public SwExternalParameterName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_externalParameterName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterExternalParameterName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitExternalParameterName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitExternalParameterName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwExternalParameterName externalParameterName() throws RecognitionException {
SwExternalParameterName _localctx = new SwExternalParameterName(_ctx, getState());
enterRule(_localctx, 190, RULE_externalParameterName);
try {
setState(1320);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,118,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1317);
identifier();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1318);
keyword();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1319);
match(T__81);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwLocalParameterName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwLocalParameterName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_localParameterName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterLocalParameterName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitLocalParameterName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitLocalParameterName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwLocalParameterName localParameterName() throws RecognitionException {
SwLocalParameterName _localctx = new SwLocalParameterName(_ctx, getState());
enterRule(_localctx, 192, RULE_localParameterName);
try {
setState(1324);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__14:
case T__24:
case T__31:
case T__32:
case T__33:
case T__35:
case T__37:
case T__43:
case T__44:
case T__45:
case T__46:
case T__47:
case T__48:
case T__49:
case T__50:
case T__51:
case T__52:
case T__54:
case T__55:
case T__57:
case T__59:
case T__64:
case T__65:
case T__74:
case T__75:
case T__76:
case T__82:
case T__90:
case T__95:
case T__96:
case T__97:
case T__98:
case T__115:
case T__116:
case T__117:
case T__118:
case T__120:
case T__132:
case T__133:
case T__137:
case T__138:
case T__139:
case T__141:
case T__147:
case T__148:
case T__153:
case T__154:
case T__155:
case T__156:
case T__158:
case T__159:
case T__165:
case T__166:
case Identifier:
enterOuterAlt(_localctx, 1);
{
setState(1322);
identifier();
}
break;
case T__81:
enterOuterAlt(_localctx, 2);
{
setState(1323);
match(T__81);
}
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 SwDefaultArgumentClause extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwDefaultArgumentClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_defaultArgumentClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDefaultArgumentClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDefaultArgumentClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDefaultArgumentClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDefaultArgumentClause defaultArgumentClause() throws RecognitionException {
SwDefaultArgumentClause _localctx = new SwDefaultArgumentClause(_ctx, getState());
enterRule(_localctx, 194, RULE_defaultArgumentClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(1326);
match(T__73);
setState(1327);
expression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwEnumDeclaration extends SwiftInnerNode {
public SwEnumDef enumDef() {
return getRuleContext(SwEnumDef.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwAccessLevelModifier accessLevelModifier() {
return getRuleContext(SwAccessLevelModifier.class,0);
}
public SwEnumDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enumDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterEnumDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitEnumDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitEnumDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwEnumDeclaration enumDeclaration() throws RecognitionException {
SwEnumDeclaration _localctx = new SwEnumDeclaration(_ctx, getState());
enterRule(_localctx, 196, RULE_enumDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1330);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1329);
attributes();
}
}
setState(1333);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 59)) & ~0x3f) == 0 && ((1L << (_la - 59)) & ((1L << (T__58 - 59)) | (1L << (T__60 - 59)) | (1L << (T__61 - 59)) | (1L << (T__62 - 59)) | (1L << (T__63 - 59)))) != 0)) {
{
setState(1332);
accessLevelModifier();
}
}
setState(1335);
enumDef();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwEnumDef extends SwiftInnerNode {
public SwUnionStyleEnum unionStyleEnum() {
return getRuleContext(SwUnionStyleEnum.class,0);
}
public SwRawValueStyleEnum rawValueStyleEnum() {
return getRuleContext(SwRawValueStyleEnum.class,0);
}
public SwEnumDef(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enumDef; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterEnumDef(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitEnumDef(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitEnumDef(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwEnumDef enumDef() throws RecognitionException {
SwEnumDef _localctx = new SwEnumDef(_ctx, getState());
enterRule(_localctx, 198, RULE_enumDef);
try {
setState(1339);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,122,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1337);
unionStyleEnum();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1338);
rawValueStyleEnum();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwUnionStyleEnum extends SwiftInnerNode {
public SwEnumName enumName() {
return getRuleContext(SwEnumName.class,0);
}
public SwGenericParameterClause genericParameterClause() {
return getRuleContext(SwGenericParameterClause.class,0);
}
public SwTypeInheritanceClause typeInheritanceClause() {
return getRuleContext(SwTypeInheritanceClause.class,0);
}
public SwGenericWhereClause genericWhereClause() {
return getRuleContext(SwGenericWhereClause.class,0);
}
public SwUnionStyleEnumMembers unionStyleEnumMembers() {
return getRuleContext(SwUnionStyleEnumMembers.class,0);
}
public SwUnionStyleEnum(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_unionStyleEnum; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterUnionStyleEnum(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitUnionStyleEnum(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitUnionStyleEnum(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwUnionStyleEnum unionStyleEnum() throws RecognitionException {
SwUnionStyleEnum _localctx = new SwUnionStyleEnum(_ctx, getState());
enterRule(_localctx, 200, RULE_unionStyleEnum);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1342);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__82) {
{
setState(1341);
match(T__82);
}
}
setState(1344);
match(T__69);
setState(1345);
enumName();
setState(1347);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__39) {
{
setState(1346);
genericParameterClause();
}
}
setState(1350);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__1) {
{
setState(1349);
typeInheritanceClause();
}
}
setState(1353);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__25) {
{
setState(1352);
genericWhereClause();
}
}
setState(1355);
match(T__11);
setState(1357);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__23) | (1L << T__24) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__57) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__82 - 64)) | (1L << (T__84 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__91 - 64)) | (1L << (T__101 - 64)))) != 0) || ((((_la - 145)) & ~0x3f) == 0 && ((1L << (_la - 145)) & ((1L << (T__144 - 145)) | (1L << (T__157 - 145)) | (1L << (T__160 - 145)) | (1L << (T__161 - 145)))) != 0)) {
{
setState(1356);
unionStyleEnumMembers();
}
}
setState(1359);
match(T__12);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwUnionStyleEnumMembers extends SwiftInnerNode {
public List unionStyleEnumMember() {
return getRuleContexts(SwUnionStyleEnumMember.class);
}
public SwUnionStyleEnumMember unionStyleEnumMember(int i) {
return getRuleContext(SwUnionStyleEnumMember.class,i);
}
public SwUnionStyleEnumMembers(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_unionStyleEnumMembers; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterUnionStyleEnumMembers(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitUnionStyleEnumMembers(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitUnionStyleEnumMembers(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwUnionStyleEnumMembers unionStyleEnumMembers() throws RecognitionException {
SwUnionStyleEnumMembers _localctx = new SwUnionStyleEnumMembers(_ctx, getState());
enterRule(_localctx, 202, RULE_unionStyleEnumMembers);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1362);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(1361);
unionStyleEnumMember();
}
}
setState(1364);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__23) | (1L << T__24) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__57) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__82 - 64)) | (1L << (T__84 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__91 - 64)) | (1L << (T__101 - 64)))) != 0) || ((((_la - 145)) & ~0x3f) == 0 && ((1L << (_la - 145)) & ((1L << (T__144 - 145)) | (1L << (T__157 - 145)) | (1L << (T__160 - 145)) | (1L << (T__161 - 145)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwUnionStyleEnumMember extends SwiftInnerNode {
public SwDeclaration declaration() {
return getRuleContext(SwDeclaration.class,0);
}
public SwUnionStyleEnumCaseClause unionStyleEnumCaseClause() {
return getRuleContext(SwUnionStyleEnumCaseClause.class,0);
}
public SwCompilerControlStatement compilerControlStatement() {
return getRuleContext(SwCompilerControlStatement.class,0);
}
public SwUnionStyleEnumMember(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_unionStyleEnumMember; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterUnionStyleEnumMember(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitUnionStyleEnumMember(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitUnionStyleEnumMember(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwUnionStyleEnumMember unionStyleEnumMember() throws RecognitionException {
SwUnionStyleEnumMember _localctx = new SwUnionStyleEnumMember(_ctx, getState());
enterRule(_localctx, 204, RULE_unionStyleEnumMember);
int _la;
try {
setState(1372);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,130,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1366);
declaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1367);
unionStyleEnumCaseClause();
setState(1369);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__0) {
{
setState(1368);
match(T__0);
}
}
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1371);
compilerControlStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwUnionStyleEnumCaseClause extends SwiftInnerNode {
public SwUnionStyleEnumCaseList unionStyleEnumCaseList() {
return getRuleContext(SwUnionStyleEnumCaseList.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwUnionStyleEnumCaseClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_unionStyleEnumCaseClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterUnionStyleEnumCaseClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitUnionStyleEnumCaseClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitUnionStyleEnumCaseClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwUnionStyleEnumCaseClause unionStyleEnumCaseClause() throws RecognitionException {
SwUnionStyleEnumCaseClause _localctx = new SwUnionStyleEnumCaseClause(_ctx, getState());
enterRule(_localctx, 206, RULE_unionStyleEnumCaseClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1375);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1374);
attributes();
}
}
setState(1378);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__82) {
{
setState(1377);
match(T__82);
}
}
setState(1380);
match(T__3);
setState(1381);
unionStyleEnumCaseList();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwUnionStyleEnumCaseList extends SwiftInnerNode {
public List unionStyleEnumCase() {
return getRuleContexts(SwUnionStyleEnumCase.class);
}
public SwUnionStyleEnumCase unionStyleEnumCase(int i) {
return getRuleContext(SwUnionStyleEnumCase.class,i);
}
public SwUnionStyleEnumCaseList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_unionStyleEnumCaseList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterUnionStyleEnumCaseList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitUnionStyleEnumCaseList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitUnionStyleEnumCaseList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwUnionStyleEnumCaseList unionStyleEnumCaseList() throws RecognitionException {
SwUnionStyleEnumCaseList _localctx = new SwUnionStyleEnumCaseList(_ctx, getState());
enterRule(_localctx, 208, RULE_unionStyleEnumCaseList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1383);
unionStyleEnumCase();
setState(1388);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(1384);
match(T__13);
setState(1385);
unionStyleEnumCase();
}
}
setState(1390);
_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 SwUnionStyleEnumCase extends SwiftInnerNode {
public SwEnumCaseName enumCaseName() {
return getRuleContext(SwEnumCaseName.class,0);
}
public SwTupleType tupleType() {
return getRuleContext(SwTupleType.class,0);
}
public SwUnionStyleEnumCase(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_unionStyleEnumCase; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterUnionStyleEnumCase(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitUnionStyleEnumCase(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitUnionStyleEnumCase(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwUnionStyleEnumCase unionStyleEnumCase() throws RecognitionException {
SwUnionStyleEnumCase _localctx = new SwUnionStyleEnumCase(_ctx, getState());
enterRule(_localctx, 210, RULE_unionStyleEnumCase);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1391);
enumCaseName();
setState(1393);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__28) {
{
setState(1392);
tupleType();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwEnumName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwEnumName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enumName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterEnumName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitEnumName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitEnumName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwEnumName enumName() throws RecognitionException {
SwEnumName _localctx = new SwEnumName(_ctx, getState());
enterRule(_localctx, 212, RULE_enumName);
try {
enterOuterAlt(_localctx, 1);
{
setState(1395);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwEnumCaseName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwEnumCaseName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enumCaseName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterEnumCaseName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitEnumCaseName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitEnumCaseName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwEnumCaseName enumCaseName() throws RecognitionException {
SwEnumCaseName _localctx = new SwEnumCaseName(_ctx, getState());
enterRule(_localctx, 214, RULE_enumCaseName);
try {
enterOuterAlt(_localctx, 1);
{
setState(1397);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwRawValueStyleEnum extends SwiftInnerNode {
public SwEnumName enumName() {
return getRuleContext(SwEnumName.class,0);
}
public SwGenericParameterClause genericParameterClause() {
return getRuleContext(SwGenericParameterClause.class,0);
}
public SwTypeInheritanceClause typeInheritanceClause() {
return getRuleContext(SwTypeInheritanceClause.class,0);
}
public SwGenericWhereClause genericWhereClause() {
return getRuleContext(SwGenericWhereClause.class,0);
}
public SwRawValueStyleEnumMembers rawValueStyleEnumMembers() {
return getRuleContext(SwRawValueStyleEnumMembers.class,0);
}
public SwRawValueStyleEnum(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_rawValueStyleEnum; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterRawValueStyleEnum(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitRawValueStyleEnum(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitRawValueStyleEnum(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwRawValueStyleEnum rawValueStyleEnum() throws RecognitionException {
SwRawValueStyleEnum _localctx = new SwRawValueStyleEnum(_ctx, getState());
enterRule(_localctx, 216, RULE_rawValueStyleEnum);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1399);
match(T__69);
setState(1400);
enumName();
setState(1402);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__39) {
{
setState(1401);
genericParameterClause();
}
}
setState(1405);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__1) {
{
setState(1404);
typeInheritanceClause();
}
}
setState(1408);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__25) {
{
setState(1407);
genericWhereClause();
}
}
setState(1410);
match(T__11);
setState(1412);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__23) | (1L << T__24) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__57) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__82 - 64)) | (1L << (T__84 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__91 - 64)) | (1L << (T__101 - 64)))) != 0) || ((((_la - 145)) & ~0x3f) == 0 && ((1L << (_la - 145)) & ((1L << (T__144 - 145)) | (1L << (T__157 - 145)) | (1L << (T__160 - 145)) | (1L << (T__161 - 145)))) != 0)) {
{
setState(1411);
rawValueStyleEnumMembers();
}
}
setState(1414);
match(T__12);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwRawValueStyleEnumMembers extends SwiftInnerNode {
public List rawValueStyleEnumMember() {
return getRuleContexts(SwRawValueStyleEnumMember.class);
}
public SwRawValueStyleEnumMember rawValueStyleEnumMember(int i) {
return getRuleContext(SwRawValueStyleEnumMember.class,i);
}
public SwRawValueStyleEnumMembers(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_rawValueStyleEnumMembers; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterRawValueStyleEnumMembers(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitRawValueStyleEnumMembers(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitRawValueStyleEnumMembers(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwRawValueStyleEnumMembers rawValueStyleEnumMembers() throws RecognitionException {
SwRawValueStyleEnumMembers _localctx = new SwRawValueStyleEnumMembers(_ctx, getState());
enterRule(_localctx, 218, RULE_rawValueStyleEnumMembers);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1417);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(1416);
rawValueStyleEnumMember();
}
}
setState(1419);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__23) | (1L << T__24) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__57) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__82 - 64)) | (1L << (T__84 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__91 - 64)) | (1L << (T__101 - 64)))) != 0) || ((((_la - 145)) & ~0x3f) == 0 && ((1L << (_la - 145)) & ((1L << (T__144 - 145)) | (1L << (T__157 - 145)) | (1L << (T__160 - 145)) | (1L << (T__161 - 145)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwRawValueStyleEnumMember extends SwiftInnerNode {
public SwDeclaration declaration() {
return getRuleContext(SwDeclaration.class,0);
}
public SwRawValueStyleEnumCaseClause rawValueStyleEnumCaseClause() {
return getRuleContext(SwRawValueStyleEnumCaseClause.class,0);
}
public SwCompilerControlStatement compilerControlStatement() {
return getRuleContext(SwCompilerControlStatement.class,0);
}
public SwRawValueStyleEnumMember(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_rawValueStyleEnumMember; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterRawValueStyleEnumMember(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitRawValueStyleEnumMember(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitRawValueStyleEnumMember(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwRawValueStyleEnumMember rawValueStyleEnumMember() throws RecognitionException {
SwRawValueStyleEnumMember _localctx = new SwRawValueStyleEnumMember(_ctx, getState());
enterRule(_localctx, 220, RULE_rawValueStyleEnumMember);
try {
setState(1424);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,140,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1421);
declaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1422);
rawValueStyleEnumCaseClause();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1423);
compilerControlStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwRawValueStyleEnumCaseClause extends SwiftInnerNode {
public SwRawValueStyleEnumCaseList rawValueStyleEnumCaseList() {
return getRuleContext(SwRawValueStyleEnumCaseList.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwRawValueStyleEnumCaseClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_rawValueStyleEnumCaseClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterRawValueStyleEnumCaseClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitRawValueStyleEnumCaseClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitRawValueStyleEnumCaseClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwRawValueStyleEnumCaseClause rawValueStyleEnumCaseClause() throws RecognitionException {
SwRawValueStyleEnumCaseClause _localctx = new SwRawValueStyleEnumCaseClause(_ctx, getState());
enterRule(_localctx, 222, RULE_rawValueStyleEnumCaseClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1427);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1426);
attributes();
}
}
setState(1429);
match(T__3);
setState(1430);
rawValueStyleEnumCaseList();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwRawValueStyleEnumCaseList extends SwiftInnerNode {
public List rawValueStyleEnumCase() {
return getRuleContexts(SwRawValueStyleEnumCase.class);
}
public SwRawValueStyleEnumCase rawValueStyleEnumCase(int i) {
return getRuleContext(SwRawValueStyleEnumCase.class,i);
}
public SwRawValueStyleEnumCaseList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_rawValueStyleEnumCaseList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterRawValueStyleEnumCaseList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitRawValueStyleEnumCaseList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitRawValueStyleEnumCaseList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwRawValueStyleEnumCaseList rawValueStyleEnumCaseList() throws RecognitionException {
SwRawValueStyleEnumCaseList _localctx = new SwRawValueStyleEnumCaseList(_ctx, getState());
enterRule(_localctx, 224, RULE_rawValueStyleEnumCaseList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1432);
rawValueStyleEnumCase();
setState(1437);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(1433);
match(T__13);
setState(1434);
rawValueStyleEnumCase();
}
}
setState(1439);
_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 SwRawValueStyleEnumCase extends SwiftInnerNode {
public SwEnumCaseName enumCaseName() {
return getRuleContext(SwEnumCaseName.class,0);
}
public SwRawValueAssignment rawValueAssignment() {
return getRuleContext(SwRawValueAssignment.class,0);
}
public SwRawValueStyleEnumCase(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_rawValueStyleEnumCase; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterRawValueStyleEnumCase(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitRawValueStyleEnumCase(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitRawValueStyleEnumCase(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwRawValueStyleEnumCase rawValueStyleEnumCase() throws RecognitionException {
SwRawValueStyleEnumCase _localctx = new SwRawValueStyleEnumCase(_ctx, getState());
enterRule(_localctx, 226, RULE_rawValueStyleEnumCase);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1440);
enumCaseName();
setState(1442);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__73) {
{
setState(1441);
rawValueAssignment();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwRawValueAssignment extends SwiftInnerNode {
public SwLiteral literal() {
return getRuleContext(SwLiteral.class,0);
}
public SwRawValueAssignment(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_rawValueAssignment; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterRawValueAssignment(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitRawValueAssignment(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitRawValueAssignment(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwRawValueAssignment rawValueAssignment() throws RecognitionException {
SwRawValueAssignment _localctx = new SwRawValueAssignment(_ctx, getState());
enterRule(_localctx, 228, RULE_rawValueAssignment);
try {
enterOuterAlt(_localctx, 1);
{
setState(1444);
match(T__73);
setState(1445);
literal();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwStructDeclaration extends SwiftInnerNode {
public SwStructName structName() {
return getRuleContext(SwStructName.class,0);
}
public SwStructBody structBody() {
return getRuleContext(SwStructBody.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwAccessLevelModifier accessLevelModifier() {
return getRuleContext(SwAccessLevelModifier.class,0);
}
public SwGenericParameterClause genericParameterClause() {
return getRuleContext(SwGenericParameterClause.class,0);
}
public SwTypeInheritanceClause typeInheritanceClause() {
return getRuleContext(SwTypeInheritanceClause.class,0);
}
public SwGenericWhereClause genericWhereClause() {
return getRuleContext(SwGenericWhereClause.class,0);
}
public SwStructDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_structDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterStructDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitStructDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitStructDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwStructDeclaration structDeclaration() throws RecognitionException {
SwStructDeclaration _localctx = new SwStructDeclaration(_ctx, getState());
enterRule(_localctx, 230, RULE_structDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1448);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1447);
attributes();
}
}
setState(1451);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 59)) & ~0x3f) == 0 && ((1L << (_la - 59)) & ((1L << (T__58 - 59)) | (1L << (T__60 - 59)) | (1L << (T__61 - 59)) | (1L << (T__62 - 59)) | (1L << (T__63 - 59)))) != 0)) {
{
setState(1450);
accessLevelModifier();
}
}
setState(1453);
match(T__68);
setState(1454);
structName();
setState(1456);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__39) {
{
setState(1455);
genericParameterClause();
}
}
setState(1459);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__1) {
{
setState(1458);
typeInheritanceClause();
}
}
setState(1462);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__25) {
{
setState(1461);
genericWhereClause();
}
}
setState(1464);
structBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwStructName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwStructName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_structName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterStructName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitStructName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitStructName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwStructName structName() throws RecognitionException {
SwStructName _localctx = new SwStructName(_ctx, getState());
enterRule(_localctx, 232, RULE_structName);
try {
enterOuterAlt(_localctx, 1);
{
setState(1466);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwStructBody extends SwiftInnerNode {
public SwStructMembers structMembers() {
return getRuleContext(SwStructMembers.class,0);
}
public SwStructBody(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_structBody; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterStructBody(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitStructBody(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitStructBody(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwStructBody structBody() throws RecognitionException {
SwStructBody _localctx = new SwStructBody(_ctx, getState());
enterRule(_localctx, 234, RULE_structBody);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1468);
match(T__11);
setState(1470);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__23) | (1L << T__24) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__57) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__82 - 64)) | (1L << (T__84 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__91 - 64)) | (1L << (T__101 - 64)))) != 0) || ((((_la - 145)) & ~0x3f) == 0 && ((1L << (_la - 145)) & ((1L << (T__144 - 145)) | (1L << (T__157 - 145)) | (1L << (T__160 - 145)) | (1L << (T__161 - 145)))) != 0)) {
{
setState(1469);
structMembers();
}
}
setState(1472);
match(T__12);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwStructMembers extends SwiftInnerNode {
public List structMember() {
return getRuleContexts(SwStructMember.class);
}
public SwStructMember structMember(int i) {
return getRuleContext(SwStructMember.class,i);
}
public SwStructMembers(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_structMembers; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterStructMembers(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitStructMembers(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitStructMembers(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwStructMembers structMembers() throws RecognitionException {
SwStructMembers _localctx = new SwStructMembers(_ctx, getState());
enterRule(_localctx, 236, RULE_structMembers);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1475);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(1474);
structMember();
}
}
setState(1477);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__23) | (1L << T__24) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__57) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__82 - 64)) | (1L << (T__84 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__91 - 64)) | (1L << (T__101 - 64)))) != 0) || ((((_la - 145)) & ~0x3f) == 0 && ((1L << (_la - 145)) & ((1L << (T__144 - 145)) | (1L << (T__157 - 145)) | (1L << (T__160 - 145)) | (1L << (T__161 - 145)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwStructMember extends SwiftInnerNode {
public SwDeclaration declaration() {
return getRuleContext(SwDeclaration.class,0);
}
public SwCompilerControlStatement compilerControlStatement() {
return getRuleContext(SwCompilerControlStatement.class,0);
}
public SwStructMember(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_structMember; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterStructMember(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitStructMember(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitStructMember(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwStructMember structMember() throws RecognitionException {
SwStructMember _localctx = new SwStructMember(_ctx, getState());
enterRule(_localctx, 238, RULE_structMember);
try {
setState(1481);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,151,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1479);
declaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1480);
compilerControlStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwClassDeclaration extends SwiftInnerNode {
public SwClassName className() {
return getRuleContext(SwClassName.class,0);
}
public SwClassBody classBody() {
return getRuleContext(SwClassBody.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwClassDeclarationModifiers classDeclarationModifiers() {
return getRuleContext(SwClassDeclarationModifiers.class,0);
}
public SwGenericParameterClause genericParameterClause() {
return getRuleContext(SwGenericParameterClause.class,0);
}
public SwTypeInheritanceClause typeInheritanceClause() {
return getRuleContext(SwTypeInheritanceClause.class,0);
}
public SwGenericWhereClause genericWhereClause() {
return getRuleContext(SwGenericWhereClause.class,0);
}
public SwClassDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterClassDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitClassDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitClassDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwClassDeclaration classDeclaration() throws RecognitionException {
SwClassDeclaration _localctx = new SwClassDeclaration(_ctx, getState());
enterRule(_localctx, 240, RULE_classDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1484);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1483);
attributes();
}
}
setState(1487);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 46)) & ~0x3f) == 0 && ((1L << (_la - 46)) & ((1L << (T__45 - 46)) | (1L << (T__58 - 46)) | (1L << (T__60 - 46)) | (1L << (T__61 - 46)) | (1L << (T__62 - 46)) | (1L << (T__63 - 46)))) != 0)) {
{
setState(1486);
classDeclarationModifiers();
}
}
setState(1489);
match(T__42);
setState(1490);
className();
setState(1492);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__39) {
{
setState(1491);
genericParameterClause();
}
}
setState(1495);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__1) {
{
setState(1494);
typeInheritanceClause();
}
}
setState(1498);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__25) {
{
setState(1497);
genericWhereClause();
}
}
setState(1500);
classBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwClassDeclarationModifiers extends SwiftInnerNode {
public SwAccessLevelModifier accessLevelModifier() {
return getRuleContext(SwAccessLevelModifier.class,0);
}
public SwClassDeclarationModifiers(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classDeclarationModifiers; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterClassDeclarationModifiers(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitClassDeclarationModifiers(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitClassDeclarationModifiers(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwClassDeclarationModifiers classDeclarationModifiers() throws RecognitionException {
SwClassDeclarationModifiers _localctx = new SwClassDeclarationModifiers(_ctx, getState());
enterRule(_localctx, 242, RULE_classDeclarationModifiers);
int _la;
try {
setState(1510);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__58:
case T__60:
case T__61:
case T__62:
case T__63:
enterOuterAlt(_localctx, 1);
{
setState(1502);
accessLevelModifier();
setState(1504);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__45) {
{
setState(1503);
match(T__45);
}
}
}
break;
case T__45:
enterOuterAlt(_localctx, 2);
{
setState(1506);
match(T__45);
setState(1508);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 59)) & ~0x3f) == 0 && ((1L << (_la - 59)) & ((1L << (T__58 - 59)) | (1L << (T__60 - 59)) | (1L << (T__61 - 59)) | (1L << (T__62 - 59)) | (1L << (T__63 - 59)))) != 0)) {
{
setState(1507);
accessLevelModifier();
}
}
}
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 SwClassName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwClassName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_className; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterClassName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitClassName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitClassName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwClassName className() throws RecognitionException {
SwClassName _localctx = new SwClassName(_ctx, getState());
enterRule(_localctx, 244, RULE_className);
try {
enterOuterAlt(_localctx, 1);
{
setState(1512);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwClassBody extends SwiftInnerNode {
public SwClassMembers classMembers() {
return getRuleContext(SwClassMembers.class,0);
}
public SwClassBody(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classBody; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterClassBody(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitClassBody(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitClassBody(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwClassBody classBody() throws RecognitionException {
SwClassBody _localctx = new SwClassBody(_ctx, getState());
enterRule(_localctx, 246, RULE_classBody);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1514);
match(T__11);
setState(1516);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__23) | (1L << T__24) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__57) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__82 - 64)) | (1L << (T__84 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__91 - 64)) | (1L << (T__101 - 64)))) != 0) || ((((_la - 145)) & ~0x3f) == 0 && ((1L << (_la - 145)) & ((1L << (T__144 - 145)) | (1L << (T__157 - 145)) | (1L << (T__160 - 145)) | (1L << (T__161 - 145)))) != 0)) {
{
setState(1515);
classMembers();
}
}
setState(1518);
match(T__12);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwClassMembers extends SwiftInnerNode {
public List classMember() {
return getRuleContexts(SwClassMember.class);
}
public SwClassMember classMember(int i) {
return getRuleContext(SwClassMember.class,i);
}
public SwClassMembers(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classMembers; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterClassMembers(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitClassMembers(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitClassMembers(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwClassMembers classMembers() throws RecognitionException {
SwClassMembers _localctx = new SwClassMembers(_ctx, getState());
enterRule(_localctx, 248, RULE_classMembers);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1521);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(1520);
classMember();
}
}
setState(1523);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__23) | (1L << T__24) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__57) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__82 - 64)) | (1L << (T__84 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__91 - 64)) | (1L << (T__101 - 64)))) != 0) || ((((_la - 145)) & ~0x3f) == 0 && ((1L << (_la - 145)) & ((1L << (T__144 - 145)) | (1L << (T__157 - 145)) | (1L << (T__160 - 145)) | (1L << (T__161 - 145)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwClassMember extends SwiftInnerNode {
public SwDeclaration declaration() {
return getRuleContext(SwDeclaration.class,0);
}
public SwCompilerControlStatement compilerControlStatement() {
return getRuleContext(SwCompilerControlStatement.class,0);
}
public SwClassMember(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classMember; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterClassMember(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitClassMember(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitClassMember(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwClassMember classMember() throws RecognitionException {
SwClassMember _localctx = new SwClassMember(_ctx, getState());
enterRule(_localctx, 250, RULE_classMember);
try {
setState(1527);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,162,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1525);
declaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1526);
compilerControlStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwProtocolDeclaration extends SwiftInnerNode {
public SwProtocolName protocolName() {
return getRuleContext(SwProtocolName.class,0);
}
public SwProtocolBody protocolBody() {
return getRuleContext(SwProtocolBody.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwAccessLevelModifier accessLevelModifier() {
return getRuleContext(SwAccessLevelModifier.class,0);
}
public SwTypeInheritanceClause typeInheritanceClause() {
return getRuleContext(SwTypeInheritanceClause.class,0);
}
public SwProtocolDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolDeclaration protocolDeclaration() throws RecognitionException {
SwProtocolDeclaration _localctx = new SwProtocolDeclaration(_ctx, getState());
enterRule(_localctx, 252, RULE_protocolDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1530);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1529);
attributes();
}
}
setState(1533);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 59)) & ~0x3f) == 0 && ((1L << (_la - 59)) & ((1L << (T__58 - 59)) | (1L << (T__60 - 59)) | (1L << (T__61 - 59)) | (1L << (T__62 - 59)) | (1L << (T__63 - 59)))) != 0)) {
{
setState(1532);
accessLevelModifier();
}
}
setState(1535);
match(T__70);
setState(1536);
protocolName();
setState(1538);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__1) {
{
setState(1537);
typeInheritanceClause();
}
}
setState(1540);
protocolBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwProtocolName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwProtocolName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolName protocolName() throws RecognitionException {
SwProtocolName _localctx = new SwProtocolName(_ctx, getState());
enterRule(_localctx, 254, RULE_protocolName);
try {
enterOuterAlt(_localctx, 1);
{
setState(1542);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwProtocolBody extends SwiftInnerNode {
public SwProtocolMembers protocolMembers() {
return getRuleContext(SwProtocolMembers.class,0);
}
public SwProtocolBody(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolBody; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolBody(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolBody(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolBody(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolBody protocolBody() throws RecognitionException {
SwProtocolBody _localctx = new SwProtocolBody(_ctx, getState());
enterRule(_localctx, 256, RULE_protocolBody);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1544);
match(T__11);
setState(1546);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__24) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__57) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__71 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__89 - 64)) | (1L << (T__101 - 64)))) != 0) || ((((_la - 145)) & ~0x3f) == 0 && ((1L << (_la - 145)) & ((1L << (T__144 - 145)) | (1L << (T__157 - 145)) | (1L << (T__160 - 145)) | (1L << (T__161 - 145)))) != 0)) {
{
setState(1545);
protocolMembers();
}
}
setState(1548);
match(T__12);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwProtocolMembers extends SwiftInnerNode {
public List protocolMember() {
return getRuleContexts(SwProtocolMember.class);
}
public SwProtocolMember protocolMember(int i) {
return getRuleContext(SwProtocolMember.class,i);
}
public SwProtocolMembers(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolMembers; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolMembers(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolMembers(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolMembers(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolMembers protocolMembers() throws RecognitionException {
SwProtocolMembers _localctx = new SwProtocolMembers(_ctx, getState());
enterRule(_localctx, 258, RULE_protocolMembers);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1551);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(1550);
protocolMember();
}
}
setState(1553);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__24) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__57) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__71 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__89 - 64)) | (1L << (T__101 - 64)))) != 0) || ((((_la - 145)) & ~0x3f) == 0 && ((1L << (_la - 145)) & ((1L << (T__144 - 145)) | (1L << (T__157 - 145)) | (1L << (T__160 - 145)) | (1L << (T__161 - 145)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwProtocolMember extends SwiftInnerNode {
public SwProtocolMemberDeclaration protocolMemberDeclaration() {
return getRuleContext(SwProtocolMemberDeclaration.class,0);
}
public SwCompilerControlStatement compilerControlStatement() {
return getRuleContext(SwCompilerControlStatement.class,0);
}
public SwProtocolMember(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolMember; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolMember(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolMember(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolMember(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolMember protocolMember() throws RecognitionException {
SwProtocolMember _localctx = new SwProtocolMember(_ctx, getState());
enterRule(_localctx, 260, RULE_protocolMember);
try {
setState(1557);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__24:
case T__42:
case T__43:
case T__44:
case T__45:
case T__46:
case T__47:
case T__48:
case T__49:
case T__50:
case T__51:
case T__52:
case T__53:
case T__54:
case T__57:
case T__58:
case T__60:
case T__61:
case T__62:
case T__63:
case T__64:
case T__65:
case T__71:
case T__83:
case T__84:
case T__89:
case T__101:
enterOuterAlt(_localctx, 1);
{
setState(1555);
protocolMemberDeclaration();
}
break;
case T__144:
case T__157:
case T__160:
case T__161:
enterOuterAlt(_localctx, 2);
{
setState(1556);
compilerControlStatement();
}
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 SwProtocolMemberDeclaration extends SwiftInnerNode {
public SwProtocolPropertyDeclaration protocolPropertyDeclaration() {
return getRuleContext(SwProtocolPropertyDeclaration.class,0);
}
public SwProtocolMethodDeclaration protocolMethodDeclaration() {
return getRuleContext(SwProtocolMethodDeclaration.class,0);
}
public SwProtocolInitializerDeclaration protocolInitializerDeclaration() {
return getRuleContext(SwProtocolInitializerDeclaration.class,0);
}
public SwProtocolSubscriptDeclaration protocolSubscriptDeclaration() {
return getRuleContext(SwProtocolSubscriptDeclaration.class,0);
}
public SwProtocolAssociatedTypeDeclaration protocolAssociatedTypeDeclaration() {
return getRuleContext(SwProtocolAssociatedTypeDeclaration.class,0);
}
public SwProtocolMemberDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolMemberDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolMemberDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolMemberDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolMemberDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolMemberDeclaration protocolMemberDeclaration() throws RecognitionException {
SwProtocolMemberDeclaration _localctx = new SwProtocolMemberDeclaration(_ctx, getState());
enterRule(_localctx, 262, RULE_protocolMemberDeclaration);
int _la;
try {
setState(1579);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,174,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1559);
protocolPropertyDeclaration();
setState(1561);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__0) {
{
setState(1560);
match(T__0);
}
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1563);
protocolMethodDeclaration();
setState(1565);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__0) {
{
setState(1564);
match(T__0);
}
}
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1567);
protocolInitializerDeclaration();
setState(1569);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__0) {
{
setState(1568);
match(T__0);
}
}
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1571);
protocolSubscriptDeclaration();
setState(1573);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__0) {
{
setState(1572);
match(T__0);
}
}
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1575);
protocolAssociatedTypeDeclaration();
setState(1577);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__0) {
{
setState(1576);
match(T__0);
}
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwProtocolPropertyDeclaration extends SwiftInnerNode {
public SwVariableDeclarationHead variableDeclarationHead() {
return getRuleContext(SwVariableDeclarationHead.class,0);
}
public SwVariableName variableName() {
return getRuleContext(SwVariableName.class,0);
}
public SwTypeAnnotation typeAnnotation() {
return getRuleContext(SwTypeAnnotation.class,0);
}
public SwGetterSetterKeywordBlock getterSetterKeywordBlock() {
return getRuleContext(SwGetterSetterKeywordBlock.class,0);
}
public SwProtocolPropertyDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolPropertyDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolPropertyDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolPropertyDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolPropertyDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolPropertyDeclaration protocolPropertyDeclaration() throws RecognitionException {
SwProtocolPropertyDeclaration _localctx = new SwProtocolPropertyDeclaration(_ctx, getState());
enterRule(_localctx, 264, RULE_protocolPropertyDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(1581);
variableDeclarationHead();
setState(1582);
variableName();
setState(1583);
typeAnnotation();
setState(1584);
getterSetterKeywordBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwProtocolMethodDeclaration extends SwiftInnerNode {
public SwFunctionHead functionHead() {
return getRuleContext(SwFunctionHead.class,0);
}
public SwFunctionName functionName() {
return getRuleContext(SwFunctionName.class,0);
}
public SwFunctionSignature functionSignature() {
return getRuleContext(SwFunctionSignature.class,0);
}
public SwGenericParameterClause genericParameterClause() {
return getRuleContext(SwGenericParameterClause.class,0);
}
public SwGenericWhereClause genericWhereClause() {
return getRuleContext(SwGenericWhereClause.class,0);
}
public SwProtocolMethodDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolMethodDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolMethodDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolMethodDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolMethodDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolMethodDeclaration protocolMethodDeclaration() throws RecognitionException {
SwProtocolMethodDeclaration _localctx = new SwProtocolMethodDeclaration(_ctx, getState());
enterRule(_localctx, 266, RULE_protocolMethodDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1586);
functionHead();
setState(1587);
functionName();
setState(1589);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__39) {
{
setState(1588);
genericParameterClause();
}
}
setState(1591);
functionSignature();
setState(1593);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__25) {
{
setState(1592);
genericWhereClause();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwProtocolInitializerDeclaration extends SwiftInnerNode {
public SwInitializerHead initializerHead() {
return getRuleContext(SwInitializerHead.class,0);
}
public SwParameterClause parameterClause() {
return getRuleContext(SwParameterClause.class,0);
}
public SwGenericParameterClause genericParameterClause() {
return getRuleContext(SwGenericParameterClause.class,0);
}
public SwGenericWhereClause genericWhereClause() {
return getRuleContext(SwGenericWhereClause.class,0);
}
public SwProtocolInitializerDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolInitializerDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolInitializerDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolInitializerDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolInitializerDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolInitializerDeclaration protocolInitializerDeclaration() throws RecognitionException {
SwProtocolInitializerDeclaration _localctx = new SwProtocolInitializerDeclaration(_ctx, getState());
enterRule(_localctx, 268, RULE_protocolInitializerDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1595);
initializerHead();
setState(1597);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__39) {
{
setState(1596);
genericParameterClause();
}
}
setState(1599);
parameterClause();
setState(1601);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__77 || _la==T__78) {
{
setState(1600);
_la = _input.LA(1);
if ( !(_la==T__77 || _la==T__78) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1604);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__25) {
{
setState(1603);
genericWhereClause();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwProtocolSubscriptDeclaration extends SwiftInnerNode {
public SwSubscriptHead subscriptHead() {
return getRuleContext(SwSubscriptHead.class,0);
}
public SwSubscriptResult subscriptResult() {
return getRuleContext(SwSubscriptResult.class,0);
}
public SwGetterSetterKeywordBlock getterSetterKeywordBlock() {
return getRuleContext(SwGetterSetterKeywordBlock.class,0);
}
public SwProtocolSubscriptDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolSubscriptDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolSubscriptDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolSubscriptDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolSubscriptDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolSubscriptDeclaration protocolSubscriptDeclaration() throws RecognitionException {
SwProtocolSubscriptDeclaration _localctx = new SwProtocolSubscriptDeclaration(_ctx, getState());
enterRule(_localctx, 270, RULE_protocolSubscriptDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(1606);
subscriptHead();
setState(1607);
subscriptResult();
setState(1608);
getterSetterKeywordBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwProtocolAssociatedTypeDeclaration extends SwiftInnerNode {
public SwTypealiasName typealiasName() {
return getRuleContext(SwTypealiasName.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwAccessLevelModifier accessLevelModifier() {
return getRuleContext(SwAccessLevelModifier.class,0);
}
public SwTypeInheritanceClause typeInheritanceClause() {
return getRuleContext(SwTypeInheritanceClause.class,0);
}
public SwTypealiasAssignment typealiasAssignment() {
return getRuleContext(SwTypealiasAssignment.class,0);
}
public SwProtocolAssociatedTypeDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolAssociatedTypeDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolAssociatedTypeDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolAssociatedTypeDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolAssociatedTypeDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolAssociatedTypeDeclaration protocolAssociatedTypeDeclaration() throws RecognitionException {
SwProtocolAssociatedTypeDeclaration _localctx = new SwProtocolAssociatedTypeDeclaration(_ctx, getState());
enterRule(_localctx, 272, RULE_protocolAssociatedTypeDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1611);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1610);
attributes();
}
}
setState(1614);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 59)) & ~0x3f) == 0 && ((1L << (_la - 59)) & ((1L << (T__58 - 59)) | (1L << (T__60 - 59)) | (1L << (T__61 - 59)) | (1L << (T__62 - 59)) | (1L << (T__63 - 59)))) != 0)) {
{
setState(1613);
accessLevelModifier();
}
}
setState(1616);
match(T__83);
setState(1617);
typealiasName();
setState(1619);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__1) {
{
setState(1618);
typeInheritanceClause();
}
}
setState(1622);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__73) {
{
setState(1621);
typealiasAssignment();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwInitializerDeclaration extends SwiftInnerNode {
public SwInitializerHead initializerHead() {
return getRuleContext(SwInitializerHead.class,0);
}
public SwParameterClause parameterClause() {
return getRuleContext(SwParameterClause.class,0);
}
public SwInitializerBody initializerBody() {
return getRuleContext(SwInitializerBody.class,0);
}
public SwGenericParameterClause genericParameterClause() {
return getRuleContext(SwGenericParameterClause.class,0);
}
public SwGenericWhereClause genericWhereClause() {
return getRuleContext(SwGenericWhereClause.class,0);
}
public SwInitializerDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_initializerDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterInitializerDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitInitializerDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitInitializerDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwInitializerDeclaration initializerDeclaration() throws RecognitionException {
SwInitializerDeclaration _localctx = new SwInitializerDeclaration(_ctx, getState());
enterRule(_localctx, 274, RULE_initializerDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1624);
initializerHead();
setState(1626);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__39) {
{
setState(1625);
genericParameterClause();
}
}
setState(1628);
parameterClause();
setState(1630);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__77 || _la==T__78) {
{
setState(1629);
_la = _input.LA(1);
if ( !(_la==T__77 || _la==T__78) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(1633);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__25) {
{
setState(1632);
genericWhereClause();
}
}
setState(1635);
initializerBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwInitializerHead extends SwiftInnerNode {
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwDeclarationModifiers declarationModifiers() {
return getRuleContext(SwDeclarationModifiers.class,0);
}
public SwInitializerHead(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_initializerHead; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterInitializerHead(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitInitializerHead(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitInitializerHead(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwInitializerHead initializerHead() throws RecognitionException {
SwInitializerHead _localctx = new SwInitializerHead(_ctx, getState());
enterRule(_localctx, 276, RULE_initializerHead);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1638);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1637);
attributes();
}
}
setState(1641);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 43)) & ~0x3f) == 0 && ((1L << (_la - 43)) & ((1L << (T__42 - 43)) | (1L << (T__43 - 43)) | (1L << (T__44 - 43)) | (1L << (T__45 - 43)) | (1L << (T__46 - 43)) | (1L << (T__47 - 43)) | (1L << (T__48 - 43)) | (1L << (T__49 - 43)) | (1L << (T__50 - 43)) | (1L << (T__51 - 43)) | (1L << (T__52 - 43)) | (1L << (T__53 - 43)) | (1L << (T__54 - 43)) | (1L << (T__57 - 43)) | (1L << (T__58 - 43)) | (1L << (T__60 - 43)) | (1L << (T__61 - 43)) | (1L << (T__62 - 43)) | (1L << (T__63 - 43)) | (1L << (T__64 - 43)) | (1L << (T__65 - 43)))) != 0)) {
{
setState(1640);
declarationModifiers();
}
}
setState(1643);
match(T__84);
setState(1645);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__85 || _la==T__86) {
{
setState(1644);
_la = _input.LA(1);
if ( !(_la==T__85 || _la==T__86) ) {
_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 SwInitializerBody extends SwiftInnerNode {
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwInitializerBody(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_initializerBody; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterInitializerBody(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitInitializerBody(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitInitializerBody(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwInitializerBody initializerBody() throws RecognitionException {
SwInitializerBody _localctx = new SwInitializerBody(_ctx, getState());
enterRule(_localctx, 278, RULE_initializerBody);
try {
enterOuterAlt(_localctx, 1);
{
setState(1647);
codeBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwDeinitializerDeclaration extends SwiftInnerNode {
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwDeinitializerDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_deinitializerDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDeinitializerDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDeinitializerDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDeinitializerDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDeinitializerDeclaration deinitializerDeclaration() throws RecognitionException {
SwDeinitializerDeclaration _localctx = new SwDeinitializerDeclaration(_ctx, getState());
enterRule(_localctx, 280, RULE_deinitializerDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1650);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1649);
attributes();
}
}
setState(1652);
match(T__87);
setState(1653);
codeBlock();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwExtensionDeclaration extends SwiftInnerNode {
public SwTypeIdentifier typeIdentifier() {
return getRuleContext(SwTypeIdentifier.class,0);
}
public SwExtensionBody extensionBody() {
return getRuleContext(SwExtensionBody.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwAccessLevelModifier accessLevelModifier() {
return getRuleContext(SwAccessLevelModifier.class,0);
}
public SwGenericWhereClause genericWhereClause() {
return getRuleContext(SwGenericWhereClause.class,0);
}
public SwTypeInheritanceClause typeInheritanceClause() {
return getRuleContext(SwTypeInheritanceClause.class,0);
}
public SwExtensionDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_extensionDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterExtensionDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitExtensionDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitExtensionDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwExtensionDeclaration extensionDeclaration() throws RecognitionException {
SwExtensionDeclaration _localctx = new SwExtensionDeclaration(_ctx, getState());
enterRule(_localctx, 282, RULE_extensionDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1656);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1655);
attributes();
}
}
setState(1659);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 59)) & ~0x3f) == 0 && ((1L << (_la - 59)) & ((1L << (T__58 - 59)) | (1L << (T__60 - 59)) | (1L << (T__61 - 59)) | (1L << (T__62 - 59)) | (1L << (T__63 - 59)))) != 0)) {
{
setState(1658);
accessLevelModifier();
}
}
setState(1661);
match(T__88);
setState(1662);
typeIdentifier();
setState(1665);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__25:
{
setState(1663);
genericWhereClause();
}
break;
case T__1:
{
setState(1664);
typeInheritanceClause();
}
break;
case T__11:
break;
default:
break;
}
setState(1667);
extensionBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwExtensionBody extends SwiftInnerNode {
public SwExtensionMembers extensionMembers() {
return getRuleContext(SwExtensionMembers.class,0);
}
public SwExtensionBody(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_extensionBody; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterExtensionBody(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitExtensionBody(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitExtensionBody(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwExtensionBody extensionBody() throws RecognitionException {
SwExtensionBody _localctx = new SwExtensionBody(_ctx, getState());
enterRule(_localctx, 284, RULE_extensionBody);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1669);
match(T__11);
setState(1671);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__23) | (1L << T__24) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__57) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__82 - 64)) | (1L << (T__84 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__91 - 64)) | (1L << (T__101 - 64)))) != 0) || ((((_la - 145)) & ~0x3f) == 0 && ((1L << (_la - 145)) & ((1L << (T__144 - 145)) | (1L << (T__157 - 145)) | (1L << (T__160 - 145)) | (1L << (T__161 - 145)))) != 0)) {
{
setState(1670);
extensionMembers();
}
}
setState(1673);
match(T__12);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwExtensionMembers extends SwiftInnerNode {
public List extensionMember() {
return getRuleContexts(SwExtensionMember.class);
}
public SwExtensionMember extensionMember(int i) {
return getRuleContext(SwExtensionMember.class,i);
}
public SwExtensionMembers(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_extensionMembers; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterExtensionMembers(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitExtensionMembers(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitExtensionMembers(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwExtensionMembers extensionMembers() throws RecognitionException {
SwExtensionMembers _localctx = new SwExtensionMembers(_ctx, getState());
enterRule(_localctx, 286, RULE_extensionMembers);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1676);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(1675);
extensionMember();
}
}
setState(1678);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__23) | (1L << T__24) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__57) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__82 - 64)) | (1L << (T__84 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__91 - 64)) | (1L << (T__101 - 64)))) != 0) || ((((_la - 145)) & ~0x3f) == 0 && ((1L << (_la - 145)) & ((1L << (T__144 - 145)) | (1L << (T__157 - 145)) | (1L << (T__160 - 145)) | (1L << (T__161 - 145)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwExtensionMember extends SwiftInnerNode {
public SwDeclaration declaration() {
return getRuleContext(SwDeclaration.class,0);
}
public SwCompilerControlStatement compilerControlStatement() {
return getRuleContext(SwCompilerControlStatement.class,0);
}
public SwExtensionMember(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_extensionMember; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterExtensionMember(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitExtensionMember(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitExtensionMember(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwExtensionMember extensionMember() throws RecognitionException {
SwExtensionMember _localctx = new SwExtensionMember(_ctx, getState());
enterRule(_localctx, 288, RULE_extensionMember);
try {
setState(1682);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,196,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1680);
declaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1681);
compilerControlStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSubscriptDeclaration extends SwiftInnerNode {
public SwSubscriptHead subscriptHead() {
return getRuleContext(SwSubscriptHead.class,0);
}
public SwSubscriptResult subscriptResult() {
return getRuleContext(SwSubscriptResult.class,0);
}
public SwGetterSetterBlock getterSetterBlock() {
return getRuleContext(SwGetterSetterBlock.class,0);
}
public SwGetterSetterKeywordBlock getterSetterKeywordBlock() {
return getRuleContext(SwGetterSetterKeywordBlock.class,0);
}
public SwCodeBlock codeBlock() {
return getRuleContext(SwCodeBlock.class,0);
}
public SwSubscriptDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_subscriptDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSubscriptDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSubscriptDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSubscriptDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSubscriptDeclaration subscriptDeclaration() throws RecognitionException {
SwSubscriptDeclaration _localctx = new SwSubscriptDeclaration(_ctx, getState());
enterRule(_localctx, 290, RULE_subscriptDeclaration);
try {
setState(1696);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,197,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1684);
subscriptHead();
setState(1685);
subscriptResult();
setState(1686);
getterSetterBlock();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1688);
subscriptHead();
setState(1689);
subscriptResult();
setState(1690);
getterSetterKeywordBlock();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1692);
subscriptHead();
setState(1693);
subscriptResult();
setState(1694);
codeBlock();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSubscriptHead extends SwiftInnerNode {
public SwParameterClause parameterClause() {
return getRuleContext(SwParameterClause.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwDeclarationModifiers declarationModifiers() {
return getRuleContext(SwDeclarationModifiers.class,0);
}
public SwSubscriptHead(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_subscriptHead; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSubscriptHead(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSubscriptHead(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSubscriptHead(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSubscriptHead subscriptHead() throws RecognitionException {
SwSubscriptHead _localctx = new SwSubscriptHead(_ctx, getState());
enterRule(_localctx, 292, RULE_subscriptHead);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1699);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(1698);
attributes();
}
}
setState(1702);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 43)) & ~0x3f) == 0 && ((1L << (_la - 43)) & ((1L << (T__42 - 43)) | (1L << (T__43 - 43)) | (1L << (T__44 - 43)) | (1L << (T__45 - 43)) | (1L << (T__46 - 43)) | (1L << (T__47 - 43)) | (1L << (T__48 - 43)) | (1L << (T__49 - 43)) | (1L << (T__50 - 43)) | (1L << (T__51 - 43)) | (1L << (T__52 - 43)) | (1L << (T__53 - 43)) | (1L << (T__54 - 43)) | (1L << (T__57 - 43)) | (1L << (T__58 - 43)) | (1L << (T__60 - 43)) | (1L << (T__61 - 43)) | (1L << (T__62 - 43)) | (1L << (T__63 - 43)) | (1L << (T__64 - 43)) | (1L << (T__65 - 43)))) != 0)) {
{
setState(1701);
declarationModifiers();
}
}
setState(1704);
match(T__89);
setState(1705);
parameterClause();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSubscriptResult extends SwiftInnerNode {
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwSubscriptResult(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_subscriptResult; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSubscriptResult(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSubscriptResult(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSubscriptResult(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSubscriptResult subscriptResult() throws RecognitionException {
SwSubscriptResult _localctx = new SwSubscriptResult(_ctx, getState());
enterRule(_localctx, 294, RULE_subscriptResult);
try {
enterOuterAlt(_localctx, 1);
{
setState(1707);
match(T__79);
setState(1709);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,200,_ctx) ) {
case 1:
{
setState(1708);
attributes();
}
break;
}
setState(1711);
sType(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwOperatorDeclaration extends SwiftInnerNode {
public SwPrefixOperatorDeclaration prefixOperatorDeclaration() {
return getRuleContext(SwPrefixOperatorDeclaration.class,0);
}
public SwPostfixOperatorDeclaration postfixOperatorDeclaration() {
return getRuleContext(SwPostfixOperatorDeclaration.class,0);
}
public SwInfixOperatorDeclaration infixOperatorDeclaration() {
return getRuleContext(SwInfixOperatorDeclaration.class,0);
}
public SwOperatorDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_operatorDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterOperatorDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitOperatorDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitOperatorDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwOperatorDeclaration operatorDeclaration() throws RecognitionException {
SwOperatorDeclaration _localctx = new SwOperatorDeclaration(_ctx, getState());
enterRule(_localctx, 296, RULE_operatorDeclaration);
try {
setState(1716);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__51:
enterOuterAlt(_localctx, 1);
{
setState(1713);
prefixOperatorDeclaration();
}
break;
case T__50:
enterOuterAlt(_localctx, 2);
{
setState(1714);
postfixOperatorDeclaration();
}
break;
case T__46:
enterOuterAlt(_localctx, 3);
{
setState(1715);
infixOperatorDeclaration();
}
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 SwPrefixOperatorDeclaration extends SwiftInnerNode {
public SwOperator operator() {
return getRuleContext(SwOperator.class,0);
}
public SwPrefixOperatorDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_prefixOperatorDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPrefixOperatorDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPrefixOperatorDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPrefixOperatorDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPrefixOperatorDeclaration prefixOperatorDeclaration() throws RecognitionException {
SwPrefixOperatorDeclaration _localctx = new SwPrefixOperatorDeclaration(_ctx, getState());
enterRule(_localctx, 298, RULE_prefixOperatorDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(1718);
match(T__51);
setState(1719);
match(T__90);
setState(1720);
operator();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwPostfixOperatorDeclaration extends SwiftInnerNode {
public SwOperator operator() {
return getRuleContext(SwOperator.class,0);
}
public SwPostfixOperatorDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_postfixOperatorDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPostfixOperatorDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPostfixOperatorDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPostfixOperatorDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPostfixOperatorDeclaration postfixOperatorDeclaration() throws RecognitionException {
SwPostfixOperatorDeclaration _localctx = new SwPostfixOperatorDeclaration(_ctx, getState());
enterRule(_localctx, 300, RULE_postfixOperatorDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(1722);
match(T__50);
setState(1723);
match(T__90);
setState(1724);
operator();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwInfixOperatorDeclaration extends SwiftInnerNode {
public SwOperator operator() {
return getRuleContext(SwOperator.class,0);
}
public SwInfixOperatorGroup infixOperatorGroup() {
return getRuleContext(SwInfixOperatorGroup.class,0);
}
public SwInfixOperatorDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_infixOperatorDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterInfixOperatorDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitInfixOperatorDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitInfixOperatorDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwInfixOperatorDeclaration infixOperatorDeclaration() throws RecognitionException {
SwInfixOperatorDeclaration _localctx = new SwInfixOperatorDeclaration(_ctx, getState());
enterRule(_localctx, 302, RULE_infixOperatorDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1726);
match(T__46);
setState(1727);
match(T__90);
setState(1728);
operator();
setState(1730);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__1) {
{
setState(1729);
infixOperatorGroup();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwInfixOperatorGroup extends SwiftInnerNode {
public SwPrecedenceGroupName precedenceGroupName() {
return getRuleContext(SwPrecedenceGroupName.class,0);
}
public SwInfixOperatorGroup(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_infixOperatorGroup; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterInfixOperatorGroup(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitInfixOperatorGroup(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitInfixOperatorGroup(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwInfixOperatorGroup infixOperatorGroup() throws RecognitionException {
SwInfixOperatorGroup _localctx = new SwInfixOperatorGroup(_ctx, getState());
enterRule(_localctx, 304, RULE_infixOperatorGroup);
try {
enterOuterAlt(_localctx, 1);
{
setState(1732);
match(T__1);
setState(1733);
precedenceGroupName();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwPrecedenceGroupDeclaration extends SwiftInnerNode {
public SwPrecedenceGroupName precedenceGroupName() {
return getRuleContext(SwPrecedenceGroupName.class,0);
}
public SwPrecedenceGroupAttributes precedenceGroupAttributes() {
return getRuleContext(SwPrecedenceGroupAttributes.class,0);
}
public SwPrecedenceGroupDeclaration(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_precedenceGroupDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPrecedenceGroupDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPrecedenceGroupDeclaration(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPrecedenceGroupDeclaration(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPrecedenceGroupDeclaration precedenceGroupDeclaration() throws RecognitionException {
SwPrecedenceGroupDeclaration _localctx = new SwPrecedenceGroupDeclaration(_ctx, getState());
enterRule(_localctx, 306, RULE_precedenceGroupDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1735);
match(T__91);
setState(1736);
precedenceGroupName();
setState(1737);
match(T__11);
setState(1739);
_errHandler.sync(this);
_la = _input.LA(1);
if (((((_la - 93)) & ~0x3f) == 0 && ((1L << (_la - 93)) & ((1L << (T__92 - 93)) | (1L << (T__93 - 93)) | (1L << (T__94 - 93)) | (1L << (T__95 - 93)))) != 0)) {
{
setState(1738);
precedenceGroupAttributes();
}
}
setState(1741);
match(T__12);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwPrecedenceGroupAttributes extends SwiftInnerNode {
public List precedenceGroupAttribute() {
return getRuleContexts(SwPrecedenceGroupAttribute.class);
}
public SwPrecedenceGroupAttribute precedenceGroupAttribute(int i) {
return getRuleContext(SwPrecedenceGroupAttribute.class,i);
}
public SwPrecedenceGroupAttributes(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_precedenceGroupAttributes; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPrecedenceGroupAttributes(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPrecedenceGroupAttributes(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPrecedenceGroupAttributes(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPrecedenceGroupAttributes precedenceGroupAttributes() throws RecognitionException {
SwPrecedenceGroupAttributes _localctx = new SwPrecedenceGroupAttributes(_ctx, getState());
enterRule(_localctx, 308, RULE_precedenceGroupAttributes);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1744);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(1743);
precedenceGroupAttribute();
}
}
setState(1746);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( ((((_la - 93)) & ~0x3f) == 0 && ((1L << (_la - 93)) & ((1L << (T__92 - 93)) | (1L << (T__93 - 93)) | (1L << (T__94 - 93)) | (1L << (T__95 - 93)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwPrecedenceGroupAttribute extends SwiftInnerNode {
public SwPrecedenceGroupRelation precedenceGroupRelation() {
return getRuleContext(SwPrecedenceGroupRelation.class,0);
}
public SwPrecedenceGroupAssignment precedenceGroupAssignment() {
return getRuleContext(SwPrecedenceGroupAssignment.class,0);
}
public SwPrecedenceGroupAssociativity precedenceGroupAssociativity() {
return getRuleContext(SwPrecedenceGroupAssociativity.class,0);
}
public SwPrecedenceGroupAttribute(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_precedenceGroupAttribute; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPrecedenceGroupAttribute(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPrecedenceGroupAttribute(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPrecedenceGroupAttribute(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPrecedenceGroupAttribute precedenceGroupAttribute() throws RecognitionException {
SwPrecedenceGroupAttribute _localctx = new SwPrecedenceGroupAttribute(_ctx, getState());
enterRule(_localctx, 310, RULE_precedenceGroupAttribute);
try {
setState(1751);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__92:
case T__93:
enterOuterAlt(_localctx, 1);
{
setState(1748);
precedenceGroupRelation();
}
break;
case T__94:
enterOuterAlt(_localctx, 2);
{
setState(1749);
precedenceGroupAssignment();
}
break;
case T__95:
enterOuterAlt(_localctx, 3);
{
setState(1750);
precedenceGroupAssociativity();
}
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 SwPrecedenceGroupRelation extends SwiftInnerNode {
public SwPrecedenceGroupNames precedenceGroupNames() {
return getRuleContext(SwPrecedenceGroupNames.class,0);
}
public SwPrecedenceGroupRelation(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_precedenceGroupRelation; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPrecedenceGroupRelation(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPrecedenceGroupRelation(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPrecedenceGroupRelation(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPrecedenceGroupRelation precedenceGroupRelation() throws RecognitionException {
SwPrecedenceGroupRelation _localctx = new SwPrecedenceGroupRelation(_ctx, getState());
enterRule(_localctx, 312, RULE_precedenceGroupRelation);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1753);
_la = _input.LA(1);
if ( !(_la==T__92 || _la==T__93) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1754);
match(T__1);
setState(1755);
precedenceGroupNames();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwPrecedenceGroupAssignment extends SwiftInnerNode {
public SwBooleanLiteral booleanLiteral() {
return getRuleContext(SwBooleanLiteral.class,0);
}
public SwPrecedenceGroupAssignment(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_precedenceGroupAssignment; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPrecedenceGroupAssignment(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPrecedenceGroupAssignment(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPrecedenceGroupAssignment(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPrecedenceGroupAssignment precedenceGroupAssignment() throws RecognitionException {
SwPrecedenceGroupAssignment _localctx = new SwPrecedenceGroupAssignment(_ctx, getState());
enterRule(_localctx, 314, RULE_precedenceGroupAssignment);
try {
enterOuterAlt(_localctx, 1);
{
setState(1757);
match(T__94);
setState(1758);
match(T__1);
setState(1759);
booleanLiteral();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwPrecedenceGroupAssociativity extends SwiftInnerNode {
public SwPrecedenceGroupAssociativity(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_precedenceGroupAssociativity; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPrecedenceGroupAssociativity(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPrecedenceGroupAssociativity(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPrecedenceGroupAssociativity(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPrecedenceGroupAssociativity precedenceGroupAssociativity() throws RecognitionException {
SwPrecedenceGroupAssociativity _localctx = new SwPrecedenceGroupAssociativity(_ctx, getState());
enterRule(_localctx, 316, RULE_precedenceGroupAssociativity);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1761);
match(T__95);
setState(1762);
match(T__1);
setState(1763);
_la = _input.LA(1);
if ( !(((((_la - 97)) & ~0x3f) == 0 && ((1L << (_la - 97)) & ((1L << (T__96 - 97)) | (1L << (T__97 - 97)) | (1L << (T__98 - 97)))) != 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 SwPrecedenceGroupNames extends SwiftInnerNode {
public List precedenceGroupName() {
return getRuleContexts(SwPrecedenceGroupName.class);
}
public SwPrecedenceGroupName precedenceGroupName(int i) {
return getRuleContext(SwPrecedenceGroupName.class,i);
}
public SwPrecedenceGroupNames(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_precedenceGroupNames; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPrecedenceGroupNames(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPrecedenceGroupNames(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPrecedenceGroupNames(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPrecedenceGroupNames precedenceGroupNames() throws RecognitionException {
SwPrecedenceGroupNames _localctx = new SwPrecedenceGroupNames(_ctx, getState());
enterRule(_localctx, 318, RULE_precedenceGroupNames);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1765);
precedenceGroupName();
setState(1770);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(1766);
match(T__13);
setState(1767);
precedenceGroupName();
}
}
setState(1772);
_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 SwPrecedenceGroupName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwPrecedenceGroupName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_precedenceGroupName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPrecedenceGroupName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPrecedenceGroupName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPrecedenceGroupName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPrecedenceGroupName precedenceGroupName() throws RecognitionException {
SwPrecedenceGroupName _localctx = new SwPrecedenceGroupName(_ctx, getState());
enterRule(_localctx, 320, RULE_precedenceGroupName);
try {
enterOuterAlt(_localctx, 1);
{
setState(1773);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwPattern extends SwiftInnerNode {
public SwWildcardPattern wildcardPattern() {
return getRuleContext(SwWildcardPattern.class,0);
}
public SwTypeAnnotation typeAnnotation() {
return getRuleContext(SwTypeAnnotation.class,0);
}
public SwIdentifierPattern identifierPattern() {
return getRuleContext(SwIdentifierPattern.class,0);
}
public SwValueBindingPattern valueBindingPattern() {
return getRuleContext(SwValueBindingPattern.class,0);
}
public SwTuplePattern tuplePattern() {
return getRuleContext(SwTuplePattern.class,0);
}
public SwEnumCasePattern enumCasePattern() {
return getRuleContext(SwEnumCasePattern.class,0);
}
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwExpressionPattern expressionPattern() {
return getRuleContext(SwExpressionPattern.class,0);
}
public SwPattern pattern() {
return getRuleContext(SwPattern.class,0);
}
public SwPattern(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_pattern; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPattern(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPattern(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPattern(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPattern pattern() throws RecognitionException {
return pattern(0);
}
private SwPattern pattern(int _p) throws RecognitionException {
ParserRuleContext _parentctx = _ctx;
int _parentState = getState();
SwPattern _localctx = new SwPattern(_ctx, _parentState);
SwPattern _prevctx = _localctx;
int _startState = 322;
enterRecursionRule(_localctx, 322, RULE_pattern, _p);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1793);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,210,_ctx) ) {
case 1:
{
setState(1776);
wildcardPattern();
setState(1778);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,207,_ctx) ) {
case 1:
{
setState(1777);
typeAnnotation();
}
break;
}
}
break;
case 2:
{
setState(1780);
identifierPattern();
setState(1782);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,208,_ctx) ) {
case 1:
{
setState(1781);
typeAnnotation();
}
break;
}
}
break;
case 3:
{
setState(1784);
valueBindingPattern();
}
break;
case 4:
{
setState(1785);
tuplePattern();
setState(1787);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,209,_ctx) ) {
case 1:
{
setState(1786);
typeAnnotation();
}
break;
}
}
break;
case 5:
{
setState(1789);
enumCasePattern();
}
break;
case 6:
{
setState(1790);
match(T__99);
setState(1791);
sType(0);
}
break;
case 7:
{
setState(1792);
expressionPattern();
}
break;
}
_ctx.stop = _input.LT(-1);
setState(1800);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,211,_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 SwPattern(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_pattern);
setState(1795);
if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
setState(1796);
match(T__100);
setState(1797);
sType(0);
}
}
}
setState(1802);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,211,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
unrollRecursionContexts(_parentctx);
}
return _localctx;
}
public static class SwWildcardPattern extends SwiftInnerNode {
public SwWildcardPattern(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_wildcardPattern; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterWildcardPattern(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitWildcardPattern(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitWildcardPattern(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwWildcardPattern wildcardPattern() throws RecognitionException {
SwWildcardPattern _localctx = new SwWildcardPattern(_ctx, getState());
enterRule(_localctx, 324, RULE_wildcardPattern);
try {
enterOuterAlt(_localctx, 1);
{
setState(1803);
match(T__81);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwIdentifierPattern extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwIdentifierPattern(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_identifierPattern; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterIdentifierPattern(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitIdentifierPattern(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitIdentifierPattern(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwIdentifierPattern identifierPattern() throws RecognitionException {
SwIdentifierPattern _localctx = new SwIdentifierPattern(_ctx, getState());
enterRule(_localctx, 326, RULE_identifierPattern);
try {
enterOuterAlt(_localctx, 1);
{
setState(1805);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwValueBindingPattern extends SwiftInnerNode {
public SwPattern pattern() {
return getRuleContext(SwPattern.class,0);
}
public SwValueBindingPattern(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_valueBindingPattern; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterValueBindingPattern(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitValueBindingPattern(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitValueBindingPattern(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwValueBindingPattern valueBindingPattern() throws RecognitionException {
SwValueBindingPattern _localctx = new SwValueBindingPattern(_ctx, getState());
enterRule(_localctx, 328, RULE_valueBindingPattern);
try {
setState(1811);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__24:
enterOuterAlt(_localctx, 1);
{
setState(1807);
match(T__24);
setState(1808);
pattern(0);
}
break;
case T__23:
enterOuterAlt(_localctx, 2);
{
setState(1809);
match(T__23);
setState(1810);
pattern(0);
}
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 SwTuplePattern extends SwiftInnerNode {
public SwTuplePatternElementList tuplePatternElementList() {
return getRuleContext(SwTuplePatternElementList.class,0);
}
public SwTuplePattern(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tuplePattern; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTuplePattern(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTuplePattern(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTuplePattern(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTuplePattern tuplePattern() throws RecognitionException {
SwTuplePattern _localctx = new SwTuplePattern(_ctx, getState());
enterRule(_localctx, 330, RULE_tuplePattern);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1813);
match(T__28);
setState(1815);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__24) | (1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__28) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__35) | (1L << T__37) | (1L << T__39) | (1L << T__40) | (1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__76 - 64)) | (1L << (T__77 - 64)) | (1L << (T__78 - 64)) | (1L << (T__79 - 64)) | (1L << (T__80 - 64)) | (1L << (T__81 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (T__95 - 64)) | (1L << (T__96 - 64)) | (1L << (T__97 - 64)) | (1L << (T__98 - 64)) | (1L << (T__99 - 64)) | (1L << (T__100 - 64)) | (1L << (T__102 - 64)) | (1L << (T__104 - 64)) | (1L << (T__106 - 64)) | (1L << (T__108 - 64)) | (1L << (T__109 - 64)) | (1L << (T__110 - 64)) | (1L << (T__111 - 64)) | (1L << (T__112 - 64)) | (1L << (T__113 - 64)) | (1L << (T__114 - 64)) | (1L << (T__115 - 64)) | (1L << (T__116 - 64)) | (1L << (T__117 - 64)) | (1L << (T__118 - 64)) | (1L << (T__119 - 64)) | (1L << (T__120 - 64)) | (1L << (T__121 - 64)) | (1L << (T__122 - 64)) | (1L << (T__123 - 64)) | (1L << (T__126 - 64)))) != 0) || ((((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & ((1L << (T__127 - 128)) | (1L << (T__130 - 128)) | (1L << (T__131 - 128)) | (1L << (T__132 - 128)) | (1L << (T__133 - 128)) | (1L << (T__134 - 128)) | (1L << (T__135 - 128)) | (1L << (T__136 - 128)) | (1L << (T__137 - 128)) | (1L << (T__138 - 128)) | (1L << (T__139 - 128)) | (1L << (T__140 - 128)) | (1L << (T__141 - 128)) | (1L << (T__142 - 128)) | (1L << (T__143 - 128)) | (1L << (T__144 - 128)) | (1L << (T__145 - 128)) | (1L << (T__146 - 128)) | (1L << (T__147 - 128)) | (1L << (T__148 - 128)) | (1L << (T__153 - 128)) | (1L << (T__154 - 128)) | (1L << (T__155 - 128)) | (1L << (T__156 - 128)) | (1L << (T__158 - 128)) | (1L << (T__159 - 128)) | (1L << (T__162 - 128)) | (1L << (T__163 - 128)) | (1L << (T__164 - 128)) | (1L << (T__165 - 128)) | (1L << (T__166 - 128)) | (1L << (BooleanLiteral - 128)) | (1L << (NilLiteral - 128)) | (1L << (OperatorHead - 128)) | (1L << (DotOperatorHead - 128)) | (1L << (Identifier - 128)) | (1L << (BinaryLiteral - 128)) | (1L << (OctalLiteral - 128)) | (1L << (DecimalLiteral - 128)) | (1L << (HexadecimalLiteral - 128)) | (1L << (FloatingPointLiteral - 128)) | (1L << (MultiStringLiteral - 128)) | (1L << (RawSingleStringLiteral - 128)) | (1L << (RawMultiStringLiteral - 128)) | (1L << (SingleStringLiteral - 128)))) != 0)) {
{
setState(1814);
tuplePatternElementList();
}
}
setState(1817);
match(T__29);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTuplePatternElementList extends SwiftInnerNode {
public List tuplePatternElement() {
return getRuleContexts(SwTuplePatternElement.class);
}
public SwTuplePatternElement tuplePatternElement(int i) {
return getRuleContext(SwTuplePatternElement.class,i);
}
public SwTuplePatternElementList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tuplePatternElementList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTuplePatternElementList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTuplePatternElementList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTuplePatternElementList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTuplePatternElementList tuplePatternElementList() throws RecognitionException {
SwTuplePatternElementList _localctx = new SwTuplePatternElementList(_ctx, getState());
enterRule(_localctx, 332, RULE_tuplePatternElementList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1819);
tuplePatternElement();
setState(1824);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(1820);
match(T__13);
setState(1821);
tuplePatternElement();
}
}
setState(1826);
_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 SwTuplePatternElement extends SwiftInnerNode {
public SwPattern pattern() {
return getRuleContext(SwPattern.class,0);
}
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwTuplePatternElement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tuplePatternElement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTuplePatternElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTuplePatternElement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTuplePatternElement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTuplePatternElement tuplePatternElement() throws RecognitionException {
SwTuplePatternElement _localctx = new SwTuplePatternElement(_ctx, getState());
enterRule(_localctx, 334, RULE_tuplePatternElement);
try {
setState(1832);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,215,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1827);
pattern(0);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1828);
identifier();
setState(1829);
match(T__1);
setState(1830);
pattern(0);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwEnumCasePattern extends SwiftInnerNode {
public SwEnumCaseName enumCaseName() {
return getRuleContext(SwEnumCaseName.class,0);
}
public SwTypeIdentifier typeIdentifier() {
return getRuleContext(SwTypeIdentifier.class,0);
}
public SwTuplePattern tuplePattern() {
return getRuleContext(SwTuplePattern.class,0);
}
public SwEnumCasePattern(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enumCasePattern; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterEnumCasePattern(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitEnumCasePattern(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitEnumCasePattern(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwEnumCasePattern enumCasePattern() throws RecognitionException {
SwEnumCasePattern _localctx = new SwEnumCasePattern(_ctx, getState());
enterRule(_localctx, 336, RULE_enumCasePattern);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1835);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,216,_ctx) ) {
case 1:
{
setState(1834);
typeIdentifier();
}
break;
}
setState(1838);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__72) {
{
setState(1837);
match(T__72);
}
}
setState(1840);
enumCaseName();
setState(1842);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,218,_ctx) ) {
case 1:
{
setState(1841);
tuplePattern();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTypeCastingPattern extends SwiftInnerNode {
public SwIsPattern isPattern() {
return getRuleContext(SwIsPattern.class,0);
}
public SwAsPattern asPattern() {
return getRuleContext(SwAsPattern.class,0);
}
public SwTypeCastingPattern(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeCastingPattern; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTypeCastingPattern(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTypeCastingPattern(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTypeCastingPattern(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTypeCastingPattern typeCastingPattern() throws RecognitionException {
SwTypeCastingPattern _localctx = new SwTypeCastingPattern(_ctx, getState());
enterRule(_localctx, 338, RULE_typeCastingPattern);
try {
setState(1846);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,219,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1844);
isPattern();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1845);
asPattern();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwIsPattern extends SwiftInnerNode {
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwIsPattern(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_isPattern; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterIsPattern(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitIsPattern(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitIsPattern(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwIsPattern isPattern() throws RecognitionException {
SwIsPattern _localctx = new SwIsPattern(_ctx, getState());
enterRule(_localctx, 340, RULE_isPattern);
try {
enterOuterAlt(_localctx, 1);
{
setState(1848);
match(T__99);
setState(1849);
sType(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwAsPattern extends SwiftInnerNode {
public SwPattern pattern() {
return getRuleContext(SwPattern.class,0);
}
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwAsPattern(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_asPattern; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterAsPattern(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitAsPattern(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitAsPattern(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwAsPattern asPattern() throws RecognitionException {
SwAsPattern _localctx = new SwAsPattern(_ctx, getState());
enterRule(_localctx, 342, RULE_asPattern);
try {
enterOuterAlt(_localctx, 1);
{
setState(1851);
pattern(0);
setState(1852);
match(T__100);
setState(1853);
sType(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwExpressionPattern extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwExpressionPattern(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_expressionPattern; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterExpressionPattern(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitExpressionPattern(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitExpressionPattern(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwExpressionPattern expressionPattern() throws RecognitionException {
SwExpressionPattern _localctx = new SwExpressionPattern(_ctx, getState());
enterRule(_localctx, 344, RULE_expressionPattern);
try {
enterOuterAlt(_localctx, 1);
{
setState(1855);
expression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwAttribute extends SwiftInnerNode {
public SwAttributeName attributeName() {
return getRuleContext(SwAttributeName.class,0);
}
public SwAttributeArgumentClause attributeArgumentClause() {
return getRuleContext(SwAttributeArgumentClause.class,0);
}
public SwAttribute(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_attribute; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterAttribute(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitAttribute(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitAttribute(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwAttribute attribute() throws RecognitionException {
SwAttribute _localctx = new SwAttribute(_ctx, getState());
enterRule(_localctx, 346, RULE_attribute);
try {
enterOuterAlt(_localctx, 1);
{
setState(1857);
match(T__101);
setState(1858);
attributeName();
setState(1860);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,220,_ctx) ) {
case 1:
{
setState(1859);
attributeArgumentClause();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwAttributeName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwAttributeName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_attributeName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterAttributeName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitAttributeName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitAttributeName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwAttributeName attributeName() throws RecognitionException {
SwAttributeName _localctx = new SwAttributeName(_ctx, getState());
enterRule(_localctx, 348, RULE_attributeName);
try {
enterOuterAlt(_localctx, 1);
{
setState(1862);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwAttributeArgumentClause extends SwiftInnerNode {
public SwBalancedTokens balancedTokens() {
return getRuleContext(SwBalancedTokens.class,0);
}
public SwAttributeArgumentClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_attributeArgumentClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterAttributeArgumentClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitAttributeArgumentClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitAttributeArgumentClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwAttributeArgumentClause attributeArgumentClause() throws RecognitionException {
SwAttributeArgumentClause _localctx = new SwAttributeArgumentClause(_ctx, getState());
enterRule(_localctx, 350, RULE_attributeArgumentClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1864);
match(T__28);
setState(1866);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__13) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__24) | (1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__28) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__35) | (1L << T__36) | (1L << T__37) | (1L << T__38) | (1L << T__39) | (1L << T__40) | (1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__76 - 64)) | (1L << (T__77 - 64)) | (1L << (T__78 - 64)) | (1L << (T__79 - 64)) | (1L << (T__80 - 64)) | (1L << (T__81 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (T__95 - 64)) | (1L << (T__96 - 64)) | (1L << (T__97 - 64)) | (1L << (T__98 - 64)) | (1L << (T__99 - 64)) | (1L << (T__100 - 64)) | (1L << (T__102 - 64)) | (1L << (T__104 - 64)) | (1L << (T__105 - 64)) | (1L << (T__106 - 64)) | (1L << (T__107 - 64)) | (1L << (T__108 - 64)) | (1L << (T__109 - 64)) | (1L << (T__110 - 64)) | (1L << (T__111 - 64)) | (1L << (T__112 - 64)) | (1L << (T__113 - 64)) | (1L << (T__114 - 64)) | (1L << (T__115 - 64)) | (1L << (T__116 - 64)) | (1L << (T__117 - 64)) | (1L << (T__118 - 64)) | (1L << (T__119 - 64)) | (1L << (T__120 - 64)) | (1L << (T__121 - 64)) | (1L << (T__122 - 64)) | (1L << (T__123 - 64)) | (1L << (T__126 - 64)))) != 0) || ((((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & ((1L << (T__127 - 128)) | (1L << (T__130 - 128)) | (1L << (T__131 - 128)) | (1L << (T__132 - 128)) | (1L << (T__133 - 128)) | (1L << (T__134 - 128)) | (1L << (T__135 - 128)) | (1L << (T__136 - 128)) | (1L << (T__137 - 128)) | (1L << (T__138 - 128)) | (1L << (T__139 - 128)) | (1L << (T__140 - 128)) | (1L << (T__141 - 128)) | (1L << (T__142 - 128)) | (1L << (T__143 - 128)) | (1L << (T__144 - 128)) | (1L << (T__145 - 128)) | (1L << (T__146 - 128)) | (1L << (T__147 - 128)) | (1L << (T__148 - 128)) | (1L << (T__153 - 128)) | (1L << (T__154 - 128)) | (1L << (T__155 - 128)) | (1L << (T__156 - 128)) | (1L << (T__158 - 128)) | (1L << (T__159 - 128)) | (1L << (T__162 - 128)) | (1L << (T__163 - 128)) | (1L << (T__164 - 128)) | (1L << (T__165 - 128)) | (1L << (T__166 - 128)) | (1L << (BooleanLiteral - 128)) | (1L << (NilLiteral - 128)) | (1L << (OperatorHead - 128)) | (1L << (DotOperatorHead - 128)) | (1L << (Identifier - 128)) | (1L << (BinaryLiteral - 128)) | (1L << (OctalLiteral - 128)) | (1L << (DecimalLiteral - 128)) | (1L << (HexadecimalLiteral - 128)) | (1L << (FloatingPointLiteral - 128)) | (1L << (VersionLiteral - 128)) | (1L << (MultiStringLiteral - 128)) | (1L << (RawSingleStringLiteral - 128)) | (1L << (RawMultiStringLiteral - 128)) | (1L << (SingleStringLiteral - 128)))) != 0)) {
{
setState(1865);
balancedTokens();
}
}
setState(1868);
match(T__29);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwAttributes extends SwiftInnerNode {
public List attribute() {
return getRuleContexts(SwAttribute.class);
}
public SwAttribute attribute(int i) {
return getRuleContext(SwAttribute.class,i);
}
public SwAttributes(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_attributes; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterAttributes(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitAttributes(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitAttributes(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwAttributes attributes() throws RecognitionException {
SwAttributes _localctx = new SwAttributes(_ctx, getState());
enterRule(_localctx, 352, RULE_attributes);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1871);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(1870);
attribute();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(1873);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,222,_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 SwBalancedTokens extends SwiftInnerNode {
public List balancedToken() {
return getRuleContexts(SwBalancedToken.class);
}
public SwBalancedToken balancedToken(int i) {
return getRuleContext(SwBalancedToken.class,i);
}
public SwBalancedTokens(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_balancedTokens; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterBalancedTokens(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitBalancedTokens(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitBalancedTokens(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwBalancedTokens balancedTokens() throws RecognitionException {
SwBalancedTokens _localctx = new SwBalancedTokens(_ctx, getState());
enterRule(_localctx, 354, RULE_balancedTokens);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1876);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(1875);
balancedToken();
}
}
setState(1878);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__13) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__24) | (1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__28) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__35) | (1L << T__36) | (1L << T__37) | (1L << T__38) | (1L << T__39) | (1L << T__40) | (1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__76 - 64)) | (1L << (T__77 - 64)) | (1L << (T__78 - 64)) | (1L << (T__79 - 64)) | (1L << (T__80 - 64)) | (1L << (T__81 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (T__95 - 64)) | (1L << (T__96 - 64)) | (1L << (T__97 - 64)) | (1L << (T__98 - 64)) | (1L << (T__99 - 64)) | (1L << (T__100 - 64)) | (1L << (T__102 - 64)) | (1L << (T__104 - 64)) | (1L << (T__105 - 64)) | (1L << (T__106 - 64)) | (1L << (T__107 - 64)) | (1L << (T__108 - 64)) | (1L << (T__109 - 64)) | (1L << (T__110 - 64)) | (1L << (T__111 - 64)) | (1L << (T__112 - 64)) | (1L << (T__113 - 64)) | (1L << (T__114 - 64)) | (1L << (T__115 - 64)) | (1L << (T__116 - 64)) | (1L << (T__117 - 64)) | (1L << (T__118 - 64)) | (1L << (T__119 - 64)) | (1L << (T__120 - 64)) | (1L << (T__121 - 64)) | (1L << (T__122 - 64)) | (1L << (T__123 - 64)) | (1L << (T__126 - 64)))) != 0) || ((((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & ((1L << (T__127 - 128)) | (1L << (T__130 - 128)) | (1L << (T__131 - 128)) | (1L << (T__132 - 128)) | (1L << (T__133 - 128)) | (1L << (T__134 - 128)) | (1L << (T__135 - 128)) | (1L << (T__136 - 128)) | (1L << (T__137 - 128)) | (1L << (T__138 - 128)) | (1L << (T__139 - 128)) | (1L << (T__140 - 128)) | (1L << (T__141 - 128)) | (1L << (T__142 - 128)) | (1L << (T__143 - 128)) | (1L << (T__144 - 128)) | (1L << (T__145 - 128)) | (1L << (T__146 - 128)) | (1L << (T__147 - 128)) | (1L << (T__148 - 128)) | (1L << (T__153 - 128)) | (1L << (T__154 - 128)) | (1L << (T__155 - 128)) | (1L << (T__156 - 128)) | (1L << (T__158 - 128)) | (1L << (T__159 - 128)) | (1L << (T__162 - 128)) | (1L << (T__163 - 128)) | (1L << (T__164 - 128)) | (1L << (T__165 - 128)) | (1L << (T__166 - 128)) | (1L << (BooleanLiteral - 128)) | (1L << (NilLiteral - 128)) | (1L << (OperatorHead - 128)) | (1L << (DotOperatorHead - 128)) | (1L << (Identifier - 128)) | (1L << (BinaryLiteral - 128)) | (1L << (OctalLiteral - 128)) | (1L << (DecimalLiteral - 128)) | (1L << (HexadecimalLiteral - 128)) | (1L << (FloatingPointLiteral - 128)) | (1L << (VersionLiteral - 128)) | (1L << (MultiStringLiteral - 128)) | (1L << (RawSingleStringLiteral - 128)) | (1L << (RawMultiStringLiteral - 128)) | (1L << (SingleStringLiteral - 128)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwBalancedToken extends SwiftInnerNode {
public SwBalancedTokens balancedTokens() {
return getRuleContext(SwBalancedTokens.class,0);
}
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwContextSensitiveKeyword contextSensitiveKeyword() {
return getRuleContext(SwContextSensitiveKeyword.class,0);
}
public SwLiteral literal() {
return getRuleContext(SwLiteral.class,0);
}
public SwOperator operator() {
return getRuleContext(SwOperator.class,0);
}
public TerminalNode VersionLiteral() { return getToken(SwiftParser.VersionLiteral, 0); }
public SwAvailabilityArgument availabilityArgument() {
return getRuleContext(SwAvailabilityArgument.class,0);
}
public SwBalancedToken(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_balancedToken; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterBalancedToken(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitBalancedToken(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitBalancedToken(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwBalancedToken balancedToken() throws RecognitionException {
SwBalancedToken _localctx = new SwBalancedToken(_ctx, getState());
enterRule(_localctx, 356, RULE_balancedToken);
int _la;
try {
setState(1913);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,227,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1880);
match(T__28);
setState(1882);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__13) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__24) | (1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__28) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__35) | (1L << T__36) | (1L << T__37) | (1L << T__38) | (1L << T__39) | (1L << T__40) | (1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__76 - 64)) | (1L << (T__77 - 64)) | (1L << (T__78 - 64)) | (1L << (T__79 - 64)) | (1L << (T__80 - 64)) | (1L << (T__81 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (T__95 - 64)) | (1L << (T__96 - 64)) | (1L << (T__97 - 64)) | (1L << (T__98 - 64)) | (1L << (T__99 - 64)) | (1L << (T__100 - 64)) | (1L << (T__102 - 64)) | (1L << (T__104 - 64)) | (1L << (T__105 - 64)) | (1L << (T__106 - 64)) | (1L << (T__107 - 64)) | (1L << (T__108 - 64)) | (1L << (T__109 - 64)) | (1L << (T__110 - 64)) | (1L << (T__111 - 64)) | (1L << (T__112 - 64)) | (1L << (T__113 - 64)) | (1L << (T__114 - 64)) | (1L << (T__115 - 64)) | (1L << (T__116 - 64)) | (1L << (T__117 - 64)) | (1L << (T__118 - 64)) | (1L << (T__119 - 64)) | (1L << (T__120 - 64)) | (1L << (T__121 - 64)) | (1L << (T__122 - 64)) | (1L << (T__123 - 64)) | (1L << (T__126 - 64)))) != 0) || ((((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & ((1L << (T__127 - 128)) | (1L << (T__130 - 128)) | (1L << (T__131 - 128)) | (1L << (T__132 - 128)) | (1L << (T__133 - 128)) | (1L << (T__134 - 128)) | (1L << (T__135 - 128)) | (1L << (T__136 - 128)) | (1L << (T__137 - 128)) | (1L << (T__138 - 128)) | (1L << (T__139 - 128)) | (1L << (T__140 - 128)) | (1L << (T__141 - 128)) | (1L << (T__142 - 128)) | (1L << (T__143 - 128)) | (1L << (T__144 - 128)) | (1L << (T__145 - 128)) | (1L << (T__146 - 128)) | (1L << (T__147 - 128)) | (1L << (T__148 - 128)) | (1L << (T__153 - 128)) | (1L << (T__154 - 128)) | (1L << (T__155 - 128)) | (1L << (T__156 - 128)) | (1L << (T__158 - 128)) | (1L << (T__159 - 128)) | (1L << (T__162 - 128)) | (1L << (T__163 - 128)) | (1L << (T__164 - 128)) | (1L << (T__165 - 128)) | (1L << (T__166 - 128)) | (1L << (BooleanLiteral - 128)) | (1L << (NilLiteral - 128)) | (1L << (OperatorHead - 128)) | (1L << (DotOperatorHead - 128)) | (1L << (Identifier - 128)) | (1L << (BinaryLiteral - 128)) | (1L << (OctalLiteral - 128)) | (1L << (DecimalLiteral - 128)) | (1L << (HexadecimalLiteral - 128)) | (1L << (FloatingPointLiteral - 128)) | (1L << (VersionLiteral - 128)) | (1L << (MultiStringLiteral - 128)) | (1L << (RawSingleStringLiteral - 128)) | (1L << (RawMultiStringLiteral - 128)) | (1L << (SingleStringLiteral - 128)))) != 0)) {
{
setState(1881);
balancedTokens();
}
}
setState(1884);
match(T__29);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1885);
match(T__102);
setState(1887);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__13) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__24) | (1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__28) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__35) | (1L << T__36) | (1L << T__37) | (1L << T__38) | (1L << T__39) | (1L << T__40) | (1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__76 - 64)) | (1L << (T__77 - 64)) | (1L << (T__78 - 64)) | (1L << (T__79 - 64)) | (1L << (T__80 - 64)) | (1L << (T__81 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (T__95 - 64)) | (1L << (T__96 - 64)) | (1L << (T__97 - 64)) | (1L << (T__98 - 64)) | (1L << (T__99 - 64)) | (1L << (T__100 - 64)) | (1L << (T__102 - 64)) | (1L << (T__104 - 64)) | (1L << (T__105 - 64)) | (1L << (T__106 - 64)) | (1L << (T__107 - 64)) | (1L << (T__108 - 64)) | (1L << (T__109 - 64)) | (1L << (T__110 - 64)) | (1L << (T__111 - 64)) | (1L << (T__112 - 64)) | (1L << (T__113 - 64)) | (1L << (T__114 - 64)) | (1L << (T__115 - 64)) | (1L << (T__116 - 64)) | (1L << (T__117 - 64)) | (1L << (T__118 - 64)) | (1L << (T__119 - 64)) | (1L << (T__120 - 64)) | (1L << (T__121 - 64)) | (1L << (T__122 - 64)) | (1L << (T__123 - 64)) | (1L << (T__126 - 64)))) != 0) || ((((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & ((1L << (T__127 - 128)) | (1L << (T__130 - 128)) | (1L << (T__131 - 128)) | (1L << (T__132 - 128)) | (1L << (T__133 - 128)) | (1L << (T__134 - 128)) | (1L << (T__135 - 128)) | (1L << (T__136 - 128)) | (1L << (T__137 - 128)) | (1L << (T__138 - 128)) | (1L << (T__139 - 128)) | (1L << (T__140 - 128)) | (1L << (T__141 - 128)) | (1L << (T__142 - 128)) | (1L << (T__143 - 128)) | (1L << (T__144 - 128)) | (1L << (T__145 - 128)) | (1L << (T__146 - 128)) | (1L << (T__147 - 128)) | (1L << (T__148 - 128)) | (1L << (T__153 - 128)) | (1L << (T__154 - 128)) | (1L << (T__155 - 128)) | (1L << (T__156 - 128)) | (1L << (T__158 - 128)) | (1L << (T__159 - 128)) | (1L << (T__162 - 128)) | (1L << (T__163 - 128)) | (1L << (T__164 - 128)) | (1L << (T__165 - 128)) | (1L << (T__166 - 128)) | (1L << (BooleanLiteral - 128)) | (1L << (NilLiteral - 128)) | (1L << (OperatorHead - 128)) | (1L << (DotOperatorHead - 128)) | (1L << (Identifier - 128)) | (1L << (BinaryLiteral - 128)) | (1L << (OctalLiteral - 128)) | (1L << (DecimalLiteral - 128)) | (1L << (HexadecimalLiteral - 128)) | (1L << (FloatingPointLiteral - 128)) | (1L << (VersionLiteral - 128)) | (1L << (MultiStringLiteral - 128)) | (1L << (RawSingleStringLiteral - 128)) | (1L << (RawMultiStringLiteral - 128)) | (1L << (SingleStringLiteral - 128)))) != 0)) {
{
setState(1886);
balancedTokens();
}
}
setState(1889);
match(T__103);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1890);
match(T__11);
setState(1892);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__13) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__24) | (1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__28) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__35) | (1L << T__36) | (1L << T__37) | (1L << T__38) | (1L << T__39) | (1L << T__40) | (1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__76 - 64)) | (1L << (T__77 - 64)) | (1L << (T__78 - 64)) | (1L << (T__79 - 64)) | (1L << (T__80 - 64)) | (1L << (T__81 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (T__95 - 64)) | (1L << (T__96 - 64)) | (1L << (T__97 - 64)) | (1L << (T__98 - 64)) | (1L << (T__99 - 64)) | (1L << (T__100 - 64)) | (1L << (T__102 - 64)) | (1L << (T__104 - 64)) | (1L << (T__105 - 64)) | (1L << (T__106 - 64)) | (1L << (T__107 - 64)) | (1L << (T__108 - 64)) | (1L << (T__109 - 64)) | (1L << (T__110 - 64)) | (1L << (T__111 - 64)) | (1L << (T__112 - 64)) | (1L << (T__113 - 64)) | (1L << (T__114 - 64)) | (1L << (T__115 - 64)) | (1L << (T__116 - 64)) | (1L << (T__117 - 64)) | (1L << (T__118 - 64)) | (1L << (T__119 - 64)) | (1L << (T__120 - 64)) | (1L << (T__121 - 64)) | (1L << (T__122 - 64)) | (1L << (T__123 - 64)) | (1L << (T__126 - 64)))) != 0) || ((((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & ((1L << (T__127 - 128)) | (1L << (T__130 - 128)) | (1L << (T__131 - 128)) | (1L << (T__132 - 128)) | (1L << (T__133 - 128)) | (1L << (T__134 - 128)) | (1L << (T__135 - 128)) | (1L << (T__136 - 128)) | (1L << (T__137 - 128)) | (1L << (T__138 - 128)) | (1L << (T__139 - 128)) | (1L << (T__140 - 128)) | (1L << (T__141 - 128)) | (1L << (T__142 - 128)) | (1L << (T__143 - 128)) | (1L << (T__144 - 128)) | (1L << (T__145 - 128)) | (1L << (T__146 - 128)) | (1L << (T__147 - 128)) | (1L << (T__148 - 128)) | (1L << (T__153 - 128)) | (1L << (T__154 - 128)) | (1L << (T__155 - 128)) | (1L << (T__156 - 128)) | (1L << (T__158 - 128)) | (1L << (T__159 - 128)) | (1L << (T__162 - 128)) | (1L << (T__163 - 128)) | (1L << (T__164 - 128)) | (1L << (T__165 - 128)) | (1L << (T__166 - 128)) | (1L << (BooleanLiteral - 128)) | (1L << (NilLiteral - 128)) | (1L << (OperatorHead - 128)) | (1L << (DotOperatorHead - 128)) | (1L << (Identifier - 128)) | (1L << (BinaryLiteral - 128)) | (1L << (OctalLiteral - 128)) | (1L << (DecimalLiteral - 128)) | (1L << (HexadecimalLiteral - 128)) | (1L << (FloatingPointLiteral - 128)) | (1L << (VersionLiteral - 128)) | (1L << (MultiStringLiteral - 128)) | (1L << (RawSingleStringLiteral - 128)) | (1L << (RawMultiStringLiteral - 128)) | (1L << (SingleStringLiteral - 128)))) != 0)) {
{
setState(1891);
balancedTokens();
}
}
setState(1894);
match(T__12);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1895);
identifier();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1896);
expression();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(1897);
contextSensitiveKeyword();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(1898);
literal();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(1899);
operator();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(1900);
match(VersionLiteral);
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(1901);
availabilityArgument();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(1902);
match(T__1);
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(1903);
match(T__0);
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(1904);
match(T__13);
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(1905);
match(T__86);
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(1906);
match(T__39);
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(1907);
match(T__40);
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(1908);
match(T__104);
}
break;
case 18:
enterOuterAlt(_localctx, 18);
{
setState(1909);
match(T__105);
}
break;
case 19:
enterOuterAlt(_localctx, 19);
{
setState(1910);
match(T__106);
}
break;
case 20:
enterOuterAlt(_localctx, 20);
{
setState(1911);
match(T__80);
}
break;
case 21:
enterOuterAlt(_localctx, 21);
{
setState(1912);
match(T__107);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwExpression extends SwiftInnerNode {
public SwPrefixExpression prefixExpression() {
return getRuleContext(SwPrefixExpression.class,0);
}
public SwTryOperator tryOperator() {
return getRuleContext(SwTryOperator.class,0);
}
public List binaryExpression() {
return getRuleContexts(SwBinaryExpression.class);
}
public SwBinaryExpression binaryExpression(int i) {
return getRuleContext(SwBinaryExpression.class,i);
}
public SwExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitExpression(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwExpression expression() throws RecognitionException {
SwExpression _localctx = new SwExpression(_ctx, getState());
enterRule(_localctx, 358, RULE_expression);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1916);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,228,_ctx) ) {
case 1:
{
setState(1915);
tryOperator();
}
break;
}
setState(1918);
prefixExpression();
setState(1922);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,229,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1919);
binaryExpression();
}
}
}
setState(1924);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,229,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwPrefixExpression extends SwiftInnerNode {
public SwPostfixExpression postfixExpression() {
return getRuleContext(SwPostfixExpression.class,0);
}
public SwPrefixOperator prefixOperator() {
return getRuleContext(SwPrefixOperator.class,0);
}
public SwInOutExpression inOutExpression() {
return getRuleContext(SwInOutExpression.class,0);
}
public SwPrefixExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_prefixExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPrefixExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPrefixExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPrefixExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPrefixExpression prefixExpression() throws RecognitionException {
SwPrefixExpression _localctx = new SwPrefixExpression(_ctx, getState());
enterRule(_localctx, 360, RULE_prefixExpression);
try {
setState(1933);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,232,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1926);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,230,_ctx) ) {
case 1:
{
setState(1925);
prefixOperator();
}
break;
}
setState(1928);
postfixExpression(0);
setState(1930);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,231,_ctx) ) {
case 1:
{
setState(1929);
match(T__0);
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1932);
inOutExpression();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwInOutExpression extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwInOutExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_inOutExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterInOutExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitInOutExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitInOutExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwInOutExpression inOutExpression() throws RecognitionException {
SwInOutExpression _localctx = new SwInOutExpression(_ctx, getState());
enterRule(_localctx, 362, RULE_inOutExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(1935);
match(T__108);
setState(1936);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTryOperator extends SwiftInnerNode {
public SwTryOperator(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tryOperator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTryOperator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTryOperator(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTryOperator(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTryOperator tryOperator() throws RecognitionException {
SwTryOperator _localctx = new SwTryOperator(_ctx, getState());
enterRule(_localctx, 364, RULE_tryOperator);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1938);
match(T__109);
setState(1940);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,233,_ctx) ) {
case 1:
{
setState(1939);
_la = _input.LA(1);
if ( !(_la==T__85 || _la==T__86) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwBinaryExpression extends SwiftInnerNode {
public SwBinaryOperator binaryOperator() {
return getRuleContext(SwBinaryOperator.class,0);
}
public SwPrefixExpression prefixExpression() {
return getRuleContext(SwPrefixExpression.class,0);
}
public SwAssignmentOperator assignmentOperator() {
return getRuleContext(SwAssignmentOperator.class,0);
}
public SwTryOperator tryOperator() {
return getRuleContext(SwTryOperator.class,0);
}
public SwConditionalOperator conditionalOperator() {
return getRuleContext(SwConditionalOperator.class,0);
}
public SwTypeCastingOperator typeCastingOperator() {
return getRuleContext(SwTypeCastingOperator.class,0);
}
public SwBinaryExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_binaryExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterBinaryExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitBinaryExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitBinaryExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwBinaryExpression binaryExpression() throws RecognitionException {
SwBinaryExpression _localctx = new SwBinaryExpression(_ctx, getState());
enterRule(_localctx, 366, RULE_binaryExpression);
try {
setState(1958);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,236,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1942);
binaryOperator();
setState(1943);
prefixExpression();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1945);
assignmentOperator();
setState(1947);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,234,_ctx) ) {
case 1:
{
setState(1946);
tryOperator();
}
break;
}
setState(1949);
prefixExpression();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1951);
conditionalOperator();
setState(1953);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,235,_ctx) ) {
case 1:
{
setState(1952);
tryOperator();
}
break;
}
setState(1955);
prefixExpression();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1957);
typeCastingOperator();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwAssignmentOperator extends SwiftInnerNode {
public SwAssignmentOperator(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_assignmentOperator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterAssignmentOperator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitAssignmentOperator(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitAssignmentOperator(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwAssignmentOperator assignmentOperator() throws RecognitionException {
SwAssignmentOperator _localctx = new SwAssignmentOperator(_ctx, getState());
enterRule(_localctx, 368, RULE_assignmentOperator);
try {
enterOuterAlt(_localctx, 1);
{
setState(1960);
match(T__73);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwConditionalOperator extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwTryOperator tryOperator() {
return getRuleContext(SwTryOperator.class,0);
}
public SwConditionalOperator(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_conditionalOperator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterConditionalOperator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitConditionalOperator(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitConditionalOperator(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwConditionalOperator conditionalOperator() throws RecognitionException {
SwConditionalOperator _localctx = new SwConditionalOperator(_ctx, getState());
enterRule(_localctx, 370, RULE_conditionalOperator);
try {
enterOuterAlt(_localctx, 1);
{
setState(1962);
match(T__85);
setState(1964);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,237,_ctx) ) {
case 1:
{
setState(1963);
tryOperator();
}
break;
}
setState(1966);
expression();
setState(1967);
match(T__1);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTypeCastingOperator extends SwiftInnerNode {
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwTypeCastingOperator(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeCastingOperator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTypeCastingOperator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTypeCastingOperator(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTypeCastingOperator(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTypeCastingOperator typeCastingOperator() throws RecognitionException {
SwTypeCastingOperator _localctx = new SwTypeCastingOperator(_ctx, getState());
enterRule(_localctx, 372, RULE_typeCastingOperator);
try {
setState(1979);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,238,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1969);
match(T__99);
setState(1970);
sType(0);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1971);
match(T__100);
setState(1972);
match(T__85);
setState(1973);
sType(0);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1974);
match(T__100);
setState(1975);
sType(0);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1976);
match(T__100);
setState(1977);
match(T__86);
setState(1978);
sType(0);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwPrimaryExpression extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwOperator operator() {
return getRuleContext(SwOperator.class,0);
}
public SwKeyword keyword() {
return getRuleContext(SwKeyword.class,0);
}
public SwContextSensitiveKeyword contextSensitiveKeyword() {
return getRuleContext(SwContextSensitiveKeyword.class,0);
}
public SwGenericArgumentClause genericArgumentClause() {
return getRuleContext(SwGenericArgumentClause.class,0);
}
public SwLiteralExpression literalExpression() {
return getRuleContext(SwLiteralExpression.class,0);
}
public SwSelfExpression selfExpression() {
return getRuleContext(SwSelfExpression.class,0);
}
public SwSuperclassExpression superclassExpression() {
return getRuleContext(SwSuperclassExpression.class,0);
}
public SwClosureExpression closureExpression() {
return getRuleContext(SwClosureExpression.class,0);
}
public SwParenthesizedExpression parenthesizedExpression() {
return getRuleContext(SwParenthesizedExpression.class,0);
}
public SwTupleExpression tupleExpression() {
return getRuleContext(SwTupleExpression.class,0);
}
public SwImplicitMemberExpression implicitMemberExpression() {
return getRuleContext(SwImplicitMemberExpression.class,0);
}
public SwWildcardExpression wildcardExpression() {
return getRuleContext(SwWildcardExpression.class,0);
}
public SwMacroExpansionExpression macroExpansionExpression() {
return getRuleContext(SwMacroExpansionExpression.class,0);
}
public SwSelectorExpression selectorExpression() {
return getRuleContext(SwSelectorExpression.class,0);
}
public SwKeyPathExpression keyPathExpression() {
return getRuleContext(SwKeyPathExpression.class,0);
}
public SwPrimaryExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_primaryExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPrimaryExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPrimaryExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPrimaryExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPrimaryExpression primaryExpression() throws RecognitionException {
SwPrimaryExpression _localctx = new SwPrimaryExpression(_ctx, getState());
enterRule(_localctx, 374, RULE_primaryExpression);
try {
setState(2001);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,241,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1985);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,239,_ctx) ) {
case 1:
{
setState(1981);
identifier();
}
break;
case 2:
{
setState(1982);
operator();
}
break;
case 3:
{
setState(1983);
keyword();
}
break;
case 4:
{
setState(1984);
contextSensitiveKeyword();
}
break;
}
setState(1988);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,240,_ctx) ) {
case 1:
{
setState(1987);
genericArgumentClause();
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1990);
literalExpression();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1991);
selfExpression();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1992);
superclassExpression();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1993);
closureExpression();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(1994);
parenthesizedExpression();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(1995);
tupleExpression();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(1996);
implicitMemberExpression();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(1997);
wildcardExpression();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(1998);
macroExpansionExpression();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(1999);
selectorExpression();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(2000);
keyPathExpression();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwLiteralExpression extends SwiftInnerNode {
public SwLiteral literal() {
return getRuleContext(SwLiteral.class,0);
}
public SwArrayLiteral arrayLiteral() {
return getRuleContext(SwArrayLiteral.class,0);
}
public SwDictionaryLiteral dictionaryLiteral() {
return getRuleContext(SwDictionaryLiteral.class,0);
}
public SwPlaygroundLiteral playgroundLiteral() {
return getRuleContext(SwPlaygroundLiteral.class,0);
}
public SwLiteralExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_literalExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterLiteralExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitLiteralExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitLiteralExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwLiteralExpression literalExpression() throws RecognitionException {
SwLiteralExpression _localctx = new SwLiteralExpression(_ctx, getState());
enterRule(_localctx, 376, RULE_literalExpression);
try {
setState(2011);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,242,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2003);
literal();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2004);
arrayLiteral();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(2005);
dictionaryLiteral();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(2006);
playgroundLiteral();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(2007);
match(T__110);
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(2008);
match(T__111);
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(2009);
match(T__112);
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(2010);
match(T__113);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwArrayLiteral extends SwiftInnerNode {
public SwArrayLiteralItems arrayLiteralItems() {
return getRuleContext(SwArrayLiteralItems.class,0);
}
public SwArrayLiteral(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_arrayLiteral; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterArrayLiteral(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitArrayLiteral(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitArrayLiteral(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwArrayLiteral arrayLiteral() throws RecognitionException {
SwArrayLiteral _localctx = new SwArrayLiteral(_ctx, getState());
enterRule(_localctx, 378, RULE_arrayLiteral);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2013);
match(T__102);
setState(2015);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__24) | (1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__28) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__35) | (1L << T__37) | (1L << T__39) | (1L << T__40) | (1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__76 - 64)) | (1L << (T__77 - 64)) | (1L << (T__78 - 64)) | (1L << (T__79 - 64)) | (1L << (T__80 - 64)) | (1L << (T__81 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (T__95 - 64)) | (1L << (T__96 - 64)) | (1L << (T__97 - 64)) | (1L << (T__98 - 64)) | (1L << (T__99 - 64)) | (1L << (T__100 - 64)) | (1L << (T__102 - 64)) | (1L << (T__104 - 64)) | (1L << (T__106 - 64)) | (1L << (T__108 - 64)) | (1L << (T__109 - 64)) | (1L << (T__110 - 64)) | (1L << (T__111 - 64)) | (1L << (T__112 - 64)) | (1L << (T__113 - 64)) | (1L << (T__114 - 64)) | (1L << (T__115 - 64)) | (1L << (T__116 - 64)) | (1L << (T__117 - 64)) | (1L << (T__118 - 64)) | (1L << (T__119 - 64)) | (1L << (T__120 - 64)) | (1L << (T__121 - 64)) | (1L << (T__122 - 64)) | (1L << (T__123 - 64)) | (1L << (T__126 - 64)))) != 0) || ((((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & ((1L << (T__127 - 128)) | (1L << (T__130 - 128)) | (1L << (T__131 - 128)) | (1L << (T__132 - 128)) | (1L << (T__133 - 128)) | (1L << (T__134 - 128)) | (1L << (T__135 - 128)) | (1L << (T__136 - 128)) | (1L << (T__137 - 128)) | (1L << (T__138 - 128)) | (1L << (T__139 - 128)) | (1L << (T__140 - 128)) | (1L << (T__141 - 128)) | (1L << (T__142 - 128)) | (1L << (T__143 - 128)) | (1L << (T__144 - 128)) | (1L << (T__145 - 128)) | (1L << (T__146 - 128)) | (1L << (T__147 - 128)) | (1L << (T__148 - 128)) | (1L << (T__153 - 128)) | (1L << (T__154 - 128)) | (1L << (T__155 - 128)) | (1L << (T__156 - 128)) | (1L << (T__158 - 128)) | (1L << (T__159 - 128)) | (1L << (T__162 - 128)) | (1L << (T__163 - 128)) | (1L << (T__164 - 128)) | (1L << (T__165 - 128)) | (1L << (T__166 - 128)) | (1L << (BooleanLiteral - 128)) | (1L << (NilLiteral - 128)) | (1L << (OperatorHead - 128)) | (1L << (DotOperatorHead - 128)) | (1L << (Identifier - 128)) | (1L << (BinaryLiteral - 128)) | (1L << (OctalLiteral - 128)) | (1L << (DecimalLiteral - 128)) | (1L << (HexadecimalLiteral - 128)) | (1L << (FloatingPointLiteral - 128)) | (1L << (MultiStringLiteral - 128)) | (1L << (RawSingleStringLiteral - 128)) | (1L << (RawMultiStringLiteral - 128)) | (1L << (SingleStringLiteral - 128)))) != 0)) {
{
setState(2014);
arrayLiteralItems();
}
}
setState(2017);
match(T__103);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwArrayLiteralItems extends SwiftInnerNode {
public List arrayLiteralItem() {
return getRuleContexts(SwArrayLiteralItem.class);
}
public SwArrayLiteralItem arrayLiteralItem(int i) {
return getRuleContext(SwArrayLiteralItem.class,i);
}
public SwArrayLiteralItems(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_arrayLiteralItems; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterArrayLiteralItems(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitArrayLiteralItems(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitArrayLiteralItems(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwArrayLiteralItems arrayLiteralItems() throws RecognitionException {
SwArrayLiteralItems _localctx = new SwArrayLiteralItems(_ctx, getState());
enterRule(_localctx, 380, RULE_arrayLiteralItems);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(2019);
arrayLiteralItem();
setState(2024);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,244,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2020);
match(T__13);
setState(2021);
arrayLiteralItem();
}
}
}
setState(2026);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,244,_ctx);
}
setState(2028);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__13) {
{
setState(2027);
match(T__13);
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwArrayLiteralItem extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwArrayLiteralItem(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_arrayLiteralItem; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterArrayLiteralItem(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitArrayLiteralItem(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitArrayLiteralItem(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwArrayLiteralItem arrayLiteralItem() throws RecognitionException {
SwArrayLiteralItem _localctx = new SwArrayLiteralItem(_ctx, getState());
enterRule(_localctx, 382, RULE_arrayLiteralItem);
try {
enterOuterAlt(_localctx, 1);
{
setState(2030);
expression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwDictionaryLiteral extends SwiftInnerNode {
public SwDictionaryLiteralItems dictionaryLiteralItems() {
return getRuleContext(SwDictionaryLiteralItems.class,0);
}
public SwDictionaryLiteral(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dictionaryLiteral; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDictionaryLiteral(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDictionaryLiteral(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDictionaryLiteral(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDictionaryLiteral dictionaryLiteral() throws RecognitionException {
SwDictionaryLiteral _localctx = new SwDictionaryLiteral(_ctx, getState());
enterRule(_localctx, 384, RULE_dictionaryLiteral);
try {
setState(2039);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,246,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2032);
match(T__102);
setState(2033);
dictionaryLiteralItems();
setState(2034);
match(T__103);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2036);
match(T__102);
setState(2037);
match(T__1);
setState(2038);
match(T__103);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwDictionaryLiteralItems extends SwiftInnerNode {
public List dictionaryLiteralItem() {
return getRuleContexts(SwDictionaryLiteralItem.class);
}
public SwDictionaryLiteralItem dictionaryLiteralItem(int i) {
return getRuleContext(SwDictionaryLiteralItem.class,i);
}
public SwDictionaryLiteralItems(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dictionaryLiteralItems; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDictionaryLiteralItems(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDictionaryLiteralItems(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDictionaryLiteralItems(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDictionaryLiteralItems dictionaryLiteralItems() throws RecognitionException {
SwDictionaryLiteralItems _localctx = new SwDictionaryLiteralItems(_ctx, getState());
enterRule(_localctx, 386, RULE_dictionaryLiteralItems);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(2041);
dictionaryLiteralItem();
setState(2046);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,247,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2042);
match(T__13);
setState(2043);
dictionaryLiteralItem();
}
}
}
setState(2048);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,247,_ctx);
}
setState(2050);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__13) {
{
setState(2049);
match(T__13);
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwDictionaryLiteralItem extends SwiftInnerNode {
public List expression() {
return getRuleContexts(SwExpression.class);
}
public SwExpression expression(int i) {
return getRuleContext(SwExpression.class,i);
}
public SwDictionaryLiteralItem(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dictionaryLiteralItem; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDictionaryLiteralItem(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDictionaryLiteralItem(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDictionaryLiteralItem(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDictionaryLiteralItem dictionaryLiteralItem() throws RecognitionException {
SwDictionaryLiteralItem _localctx = new SwDictionaryLiteralItem(_ctx, getState());
enterRule(_localctx, 388, RULE_dictionaryLiteralItem);
try {
enterOuterAlt(_localctx, 1);
{
setState(2052);
expression();
setState(2053);
match(T__1);
setState(2054);
expression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwPlaygroundLiteral extends SwiftInnerNode {
public List expression() {
return getRuleContexts(SwExpression.class);
}
public SwExpression expression(int i) {
return getRuleContext(SwExpression.class,i);
}
public SwPlaygroundLiteral(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_playgroundLiteral; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPlaygroundLiteral(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPlaygroundLiteral(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPlaygroundLiteral(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPlaygroundLiteral playgroundLiteral() throws RecognitionException {
SwPlaygroundLiteral _localctx = new SwPlaygroundLiteral(_ctx, getState());
enterRule(_localctx, 390, RULE_playgroundLiteral);
try {
setState(2089);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__114:
enterOuterAlt(_localctx, 1);
{
setState(2056);
match(T__114);
setState(2057);
match(T__28);
setState(2058);
match(T__115);
setState(2059);
match(T__1);
setState(2060);
expression();
setState(2061);
match(T__13);
setState(2062);
match(T__116);
setState(2063);
match(T__1);
setState(2064);
expression();
setState(2065);
match(T__13);
setState(2066);
match(T__117);
setState(2067);
match(T__1);
setState(2068);
expression();
setState(2069);
match(T__13);
setState(2070);
match(T__118);
setState(2071);
match(T__1);
setState(2072);
expression();
setState(2073);
match(T__29);
}
break;
case T__119:
enterOuterAlt(_localctx, 2);
{
setState(2075);
match(T__119);
setState(2076);
match(T__28);
setState(2077);
match(T__120);
setState(2078);
match(T__1);
setState(2079);
expression();
setState(2080);
match(T__29);
}
break;
case T__121:
enterOuterAlt(_localctx, 3);
{
setState(2082);
match(T__121);
setState(2083);
match(T__28);
setState(2084);
match(T__120);
setState(2085);
match(T__1);
setState(2086);
expression();
setState(2087);
match(T__29);
}
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 SwSelfExpression extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwTupleElementList tupleElementList() {
return getRuleContext(SwTupleElementList.class,0);
}
public SwSelfExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_selfExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSelfExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSelfExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSelfExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSelfExpression selfExpression() throws RecognitionException {
SwSelfExpression _localctx = new SwSelfExpression(_ctx, getState());
enterRule(_localctx, 392, RULE_selfExpression);
try {
setState(2103);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,250,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2091);
match(T__122);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2092);
match(T__122);
setState(2093);
match(T__72);
setState(2094);
identifier();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(2095);
match(T__122);
setState(2096);
match(T__102);
setState(2097);
tupleElementList();
setState(2098);
match(T__103);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(2100);
match(T__122);
setState(2101);
match(T__72);
setState(2102);
match(T__84);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSuperclassExpression extends SwiftInnerNode {
public SwSuperclassMethodExpression superclassMethodExpression() {
return getRuleContext(SwSuperclassMethodExpression.class,0);
}
public SwSuperclassSubscriptExpression superclassSubscriptExpression() {
return getRuleContext(SwSuperclassSubscriptExpression.class,0);
}
public SwSuperclassInitializerExpression superclassInitializerExpression() {
return getRuleContext(SwSuperclassInitializerExpression.class,0);
}
public SwSuperclassExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_superclassExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSuperclassExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSuperclassExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSuperclassExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSuperclassExpression superclassExpression() throws RecognitionException {
SwSuperclassExpression _localctx = new SwSuperclassExpression(_ctx, getState());
enterRule(_localctx, 394, RULE_superclassExpression);
try {
setState(2108);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,251,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2105);
superclassMethodExpression();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2106);
superclassSubscriptExpression();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(2107);
superclassInitializerExpression();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSuperclassMethodExpression extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwSuperclassMethodExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_superclassMethodExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSuperclassMethodExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSuperclassMethodExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSuperclassMethodExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSuperclassMethodExpression superclassMethodExpression() throws RecognitionException {
SwSuperclassMethodExpression _localctx = new SwSuperclassMethodExpression(_ctx, getState());
enterRule(_localctx, 396, RULE_superclassMethodExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(2110);
match(T__123);
setState(2111);
match(T__72);
setState(2112);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSuperclassSubscriptExpression extends SwiftInnerNode {
public SwTupleElementList tupleElementList() {
return getRuleContext(SwTupleElementList.class,0);
}
public SwSuperclassSubscriptExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_superclassSubscriptExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSuperclassSubscriptExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSuperclassSubscriptExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSuperclassSubscriptExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSuperclassSubscriptExpression superclassSubscriptExpression() throws RecognitionException {
SwSuperclassSubscriptExpression _localctx = new SwSuperclassSubscriptExpression(_ctx, getState());
enterRule(_localctx, 398, RULE_superclassSubscriptExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(2114);
match(T__123);
setState(2115);
match(T__102);
setState(2116);
tupleElementList();
setState(2117);
match(T__103);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSuperclassInitializerExpression extends SwiftInnerNode {
public SwSuperclassInitializerExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_superclassInitializerExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSuperclassInitializerExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSuperclassInitializerExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSuperclassInitializerExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSuperclassInitializerExpression superclassInitializerExpression() throws RecognitionException {
SwSuperclassInitializerExpression _localctx = new SwSuperclassInitializerExpression(_ctx, getState());
enterRule(_localctx, 400, RULE_superclassInitializerExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(2119);
match(T__123);
setState(2120);
match(T__72);
setState(2121);
match(T__84);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwClosureExpression extends SwiftInnerNode {
public SwClosureSignature closureSignature() {
return getRuleContext(SwClosureSignature.class,0);
}
public SwStatements statements() {
return getRuleContext(SwStatements.class,0);
}
public SwClosureExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_closureExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterClosureExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitClosureExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitClosureExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwClosureExpression closureExpression() throws RecognitionException {
SwClosureExpression _localctx = new SwClosureExpression(_ctx, getState());
enterRule(_localctx, 402, RULE_closureExpression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2123);
match(T__11);
setState(2125);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,252,_ctx) ) {
case 1:
{
setState(2124);
closureSignature();
}
break;
}
setState(2128);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__24) | (1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__28) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__35) | (1L << T__37) | (1L << T__39) | (1L << T__40) | (1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__76 - 64)) | (1L << (T__77 - 64)) | (1L << (T__78 - 64)) | (1L << (T__79 - 64)) | (1L << (T__80 - 64)) | (1L << (T__81 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (T__91 - 64)) | (1L << (T__95 - 64)) | (1L << (T__96 - 64)) | (1L << (T__97 - 64)) | (1L << (T__98 - 64)) | (1L << (T__99 - 64)) | (1L << (T__100 - 64)) | (1L << (T__101 - 64)) | (1L << (T__102 - 64)) | (1L << (T__104 - 64)) | (1L << (T__106 - 64)) | (1L << (T__108 - 64)) | (1L << (T__109 - 64)) | (1L << (T__110 - 64)) | (1L << (T__111 - 64)) | (1L << (T__112 - 64)) | (1L << (T__113 - 64)) | (1L << (T__114 - 64)) | (1L << (T__115 - 64)) | (1L << (T__116 - 64)) | (1L << (T__117 - 64)) | (1L << (T__118 - 64)) | (1L << (T__119 - 64)) | (1L << (T__120 - 64)) | (1L << (T__121 - 64)) | (1L << (T__122 - 64)) | (1L << (T__123 - 64)) | (1L << (T__126 - 64)))) != 0) || ((((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & ((1L << (T__127 - 128)) | (1L << (T__130 - 128)) | (1L << (T__131 - 128)) | (1L << (T__132 - 128)) | (1L << (T__133 - 128)) | (1L << (T__134 - 128)) | (1L << (T__135 - 128)) | (1L << (T__136 - 128)) | (1L << (T__137 - 128)) | (1L << (T__138 - 128)) | (1L << (T__139 - 128)) | (1L << (T__140 - 128)) | (1L << (T__141 - 128)) | (1L << (T__142 - 128)) | (1L << (T__143 - 128)) | (1L << (T__144 - 128)) | (1L << (T__145 - 128)) | (1L << (T__146 - 128)) | (1L << (T__147 - 128)) | (1L << (T__148 - 128)) | (1L << (T__153 - 128)) | (1L << (T__154 - 128)) | (1L << (T__155 - 128)) | (1L << (T__156 - 128)) | (1L << (T__157 - 128)) | (1L << (T__158 - 128)) | (1L << (T__159 - 128)) | (1L << (T__160 - 128)) | (1L << (T__161 - 128)) | (1L << (T__162 - 128)) | (1L << (T__163 - 128)) | (1L << (T__164 - 128)) | (1L << (T__165 - 128)) | (1L << (T__166 - 128)) | (1L << (BooleanLiteral - 128)) | (1L << (NilLiteral - 128)) | (1L << (OperatorHead - 128)) | (1L << (DotOperatorHead - 128)) | (1L << (Identifier - 128)) | (1L << (BinaryLiteral - 128)) | (1L << (OctalLiteral - 128)) | (1L << (DecimalLiteral - 128)) | (1L << (HexadecimalLiteral - 128)) | (1L << (FloatingPointLiteral - 128)) | (1L << (MultiStringLiteral - 128)) | (1L << (RawSingleStringLiteral - 128)) | (1L << (RawMultiStringLiteral - 128)) | (1L << (SingleStringLiteral - 128)))) != 0)) {
{
setState(2127);
statements();
}
}
setState(2130);
match(T__12);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwClosureSignature extends SwiftInnerNode {
public SwClosureParameterClause closureParameterClause() {
return getRuleContext(SwClosureParameterClause.class,0);
}
public SwCaptureList captureList() {
return getRuleContext(SwCaptureList.class,0);
}
public SwFunctionResult functionResult() {
return getRuleContext(SwFunctionResult.class,0);
}
public SwClosureSignature(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_closureSignature; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterClosureSignature(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitClosureSignature(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitClosureSignature(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwClosureSignature closureSignature() throws RecognitionException {
SwClosureSignature _localctx = new SwClosureSignature(_ctx, getState());
enterRule(_localctx, 404, RULE_closureSignature);
int _la;
try {
setState(2147);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,257,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2133);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__102) {
{
setState(2132);
captureList();
}
}
setState(2135);
closureParameterClause();
setState(2137);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__77) {
{
setState(2136);
match(T__77);
}
}
setState(2140);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__79) {
{
setState(2139);
functionResult();
}
}
setState(2142);
match(T__4);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2144);
captureList();
setState(2145);
match(T__4);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwClosureParameterClause extends SwiftInnerNode {
public SwClosureParameterList closureParameterList() {
return getRuleContext(SwClosureParameterList.class,0);
}
public SwIdentifierList identifierList() {
return getRuleContext(SwIdentifierList.class,0);
}
public SwClosureParameterClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_closureParameterClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterClosureParameterClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitClosureParameterClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitClosureParameterClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwClosureParameterClause closureParameterClause() throws RecognitionException {
SwClosureParameterClause _localctx = new SwClosureParameterClause(_ctx, getState());
enterRule(_localctx, 406, RULE_closureParameterClause);
try {
setState(2156);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,258,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2149);
match(T__28);
setState(2150);
match(T__29);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2151);
match(T__28);
setState(2152);
closureParameterList();
setState(2153);
match(T__29);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(2155);
identifierList();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwClosureParameterList extends SwiftInnerNode {
public SwClosureParameter closureParameter() {
return getRuleContext(SwClosureParameter.class,0);
}
public List closureParameterList() {
return getRuleContexts(SwClosureParameterList.class);
}
public SwClosureParameterList closureParameterList(int i) {
return getRuleContext(SwClosureParameterList.class,i);
}
public SwClosureParameterList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_closureParameterList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterClosureParameterList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitClosureParameterList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitClosureParameterList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwClosureParameterList closureParameterList() throws RecognitionException {
SwClosureParameterList _localctx = new SwClosureParameterList(_ctx, getState());
enterRule(_localctx, 408, RULE_closureParameterList);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(2158);
closureParameter();
setState(2163);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,259,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2159);
match(T__13);
setState(2160);
closureParameterList();
}
}
}
setState(2165);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,259,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwClosureParameter extends SwiftInnerNode {
public SwClosureParameterName closureParameterName() {
return getRuleContext(SwClosureParameterName.class,0);
}
public SwTypeAnnotation typeAnnotation() {
return getRuleContext(SwTypeAnnotation.class,0);
}
public SwClosureParameter(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_closureParameter; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterClosureParameter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitClosureParameter(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitClosureParameter(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwClosureParameter closureParameter() throws RecognitionException {
SwClosureParameter _localctx = new SwClosureParameter(_ctx, getState());
enterRule(_localctx, 410, RULE_closureParameter);
int _la;
try {
setState(2174);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,261,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2166);
closureParameterName();
setState(2168);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__1) {
{
setState(2167);
typeAnnotation();
}
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2170);
closureParameterName();
setState(2171);
typeAnnotation();
setState(2172);
match(T__80);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwClosureParameterName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwClosureParameterName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_closureParameterName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterClosureParameterName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitClosureParameterName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitClosureParameterName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwClosureParameterName closureParameterName() throws RecognitionException {
SwClosureParameterName _localctx = new SwClosureParameterName(_ctx, getState());
enterRule(_localctx, 412, RULE_closureParameterName);
try {
setState(2178);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__14:
case T__24:
case T__31:
case T__32:
case T__33:
case T__35:
case T__37:
case T__43:
case T__44:
case T__45:
case T__46:
case T__47:
case T__48:
case T__49:
case T__50:
case T__51:
case T__52:
case T__54:
case T__55:
case T__57:
case T__59:
case T__64:
case T__65:
case T__74:
case T__75:
case T__76:
case T__82:
case T__90:
case T__95:
case T__96:
case T__97:
case T__98:
case T__115:
case T__116:
case T__117:
case T__118:
case T__120:
case T__132:
case T__133:
case T__137:
case T__138:
case T__139:
case T__141:
case T__147:
case T__148:
case T__153:
case T__154:
case T__155:
case T__156:
case T__158:
case T__159:
case T__165:
case T__166:
case Identifier:
enterOuterAlt(_localctx, 1);
{
setState(2176);
identifier();
}
break;
case T__81:
enterOuterAlt(_localctx, 2);
{
setState(2177);
match(T__81);
}
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 SwCaptureList extends SwiftInnerNode {
public SwCaptureListItems captureListItems() {
return getRuleContext(SwCaptureListItems.class,0);
}
public SwCaptureList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_captureList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCaptureList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCaptureList(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCaptureList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCaptureList captureList() throws RecognitionException {
SwCaptureList _localctx = new SwCaptureList(_ctx, getState());
enterRule(_localctx, 414, RULE_captureList);
try {
enterOuterAlt(_localctx, 1);
{
setState(2180);
match(T__102);
setState(2181);
captureListItems();
setState(2182);
match(T__103);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwCaptureListItems extends SwiftInnerNode {
public List captureListItem() {
return getRuleContexts(SwCaptureListItem.class);
}
public SwCaptureListItem captureListItem(int i) {
return getRuleContext(SwCaptureListItem.class,i);
}
public SwCaptureListItems(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_captureListItems; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCaptureListItems(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCaptureListItems(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCaptureListItems(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCaptureListItems captureListItems() throws RecognitionException {
SwCaptureListItems _localctx = new SwCaptureListItems(_ctx, getState());
enterRule(_localctx, 416, RULE_captureListItems);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2184);
captureListItem();
setState(2189);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(2185);
match(T__13);
setState(2186);
captureListItem();
}
}
setState(2191);
_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 SwCaptureListItem extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwCaptureSpecifier captureSpecifier() {
return getRuleContext(SwCaptureSpecifier.class,0);
}
public SwCaptureListItem(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_captureListItem; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCaptureListItem(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCaptureListItem(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCaptureListItem(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCaptureListItem captureListItem() throws RecognitionException {
SwCaptureListItem _localctx = new SwCaptureListItem(_ctx, getState());
enterRule(_localctx, 418, RULE_captureListItem);
try {
enterOuterAlt(_localctx, 1);
{
setState(2193);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,264,_ctx) ) {
case 1:
{
setState(2192);
captureSpecifier();
}
break;
}
setState(2195);
expression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwCaptureSpecifier extends SwiftInnerNode {
public SwCaptureSpecifier(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_captureSpecifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCaptureSpecifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCaptureSpecifier(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCaptureSpecifier(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCaptureSpecifier captureSpecifier() throws RecognitionException {
SwCaptureSpecifier _localctx = new SwCaptureSpecifier(_ctx, getState());
enterRule(_localctx, 420, RULE_captureSpecifier);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2197);
_la = _input.LA(1);
if ( !(_la==T__54 || _la==T__57 || _la==T__124 || _la==T__125) ) {
_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 SwImplicitMemberExpression extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwImplicitMemberExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_implicitMemberExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterImplicitMemberExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitImplicitMemberExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitImplicitMemberExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwImplicitMemberExpression implicitMemberExpression() throws RecognitionException {
SwImplicitMemberExpression _localctx = new SwImplicitMemberExpression(_ctx, getState());
enterRule(_localctx, 422, RULE_implicitMemberExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(2199);
match(T__72);
setState(2200);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwParenthesizedExpression extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwParenthesizedExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_parenthesizedExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterParenthesizedExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitParenthesizedExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitParenthesizedExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwParenthesizedExpression parenthesizedExpression() throws RecognitionException {
SwParenthesizedExpression _localctx = new SwParenthesizedExpression(_ctx, getState());
enterRule(_localctx, 424, RULE_parenthesizedExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(2202);
match(T__28);
setState(2203);
expression();
setState(2204);
match(T__29);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTupleExpression extends SwiftInnerNode {
public SwTupleElementList tupleElementList() {
return getRuleContext(SwTupleElementList.class,0);
}
public SwTupleExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tupleExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTupleExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTupleExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTupleExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTupleExpression tupleExpression() throws RecognitionException {
SwTupleExpression _localctx = new SwTupleExpression(_ctx, getState());
enterRule(_localctx, 426, RULE_tupleExpression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2206);
match(T__28);
setState(2208);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__24) | (1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__28) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__35) | (1L << T__37) | (1L << T__39) | (1L << T__40) | (1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__76 - 64)) | (1L << (T__77 - 64)) | (1L << (T__78 - 64)) | (1L << (T__79 - 64)) | (1L << (T__80 - 64)) | (1L << (T__81 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (T__95 - 64)) | (1L << (T__96 - 64)) | (1L << (T__97 - 64)) | (1L << (T__98 - 64)) | (1L << (T__99 - 64)) | (1L << (T__100 - 64)) | (1L << (T__102 - 64)) | (1L << (T__104 - 64)) | (1L << (T__106 - 64)) | (1L << (T__108 - 64)) | (1L << (T__109 - 64)) | (1L << (T__110 - 64)) | (1L << (T__111 - 64)) | (1L << (T__112 - 64)) | (1L << (T__113 - 64)) | (1L << (T__114 - 64)) | (1L << (T__115 - 64)) | (1L << (T__116 - 64)) | (1L << (T__117 - 64)) | (1L << (T__118 - 64)) | (1L << (T__119 - 64)) | (1L << (T__120 - 64)) | (1L << (T__121 - 64)) | (1L << (T__122 - 64)) | (1L << (T__123 - 64)) | (1L << (T__126 - 64)))) != 0) || ((((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & ((1L << (T__127 - 128)) | (1L << (T__130 - 128)) | (1L << (T__131 - 128)) | (1L << (T__132 - 128)) | (1L << (T__133 - 128)) | (1L << (T__134 - 128)) | (1L << (T__135 - 128)) | (1L << (T__136 - 128)) | (1L << (T__137 - 128)) | (1L << (T__138 - 128)) | (1L << (T__139 - 128)) | (1L << (T__140 - 128)) | (1L << (T__141 - 128)) | (1L << (T__142 - 128)) | (1L << (T__143 - 128)) | (1L << (T__144 - 128)) | (1L << (T__145 - 128)) | (1L << (T__146 - 128)) | (1L << (T__147 - 128)) | (1L << (T__148 - 128)) | (1L << (T__153 - 128)) | (1L << (T__154 - 128)) | (1L << (T__155 - 128)) | (1L << (T__156 - 128)) | (1L << (T__158 - 128)) | (1L << (T__159 - 128)) | (1L << (T__162 - 128)) | (1L << (T__163 - 128)) | (1L << (T__164 - 128)) | (1L << (T__165 - 128)) | (1L << (T__166 - 128)) | (1L << (BooleanLiteral - 128)) | (1L << (NilLiteral - 128)) | (1L << (OperatorHead - 128)) | (1L << (DotOperatorHead - 128)) | (1L << (Identifier - 128)) | (1L << (BinaryLiteral - 128)) | (1L << (OctalLiteral - 128)) | (1L << (DecimalLiteral - 128)) | (1L << (HexadecimalLiteral - 128)) | (1L << (FloatingPointLiteral - 128)) | (1L << (MultiStringLiteral - 128)) | (1L << (RawSingleStringLiteral - 128)) | (1L << (RawMultiStringLiteral - 128)) | (1L << (SingleStringLiteral - 128)))) != 0)) {
{
setState(2207);
tupleElementList();
}
}
setState(2210);
match(T__29);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTupleElementList extends SwiftInnerNode {
public List tupleElement() {
return getRuleContexts(SwTupleElement.class);
}
public SwTupleElement tupleElement(int i) {
return getRuleContext(SwTupleElement.class,i);
}
public SwTupleElementList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tupleElementList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTupleElementList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTupleElementList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTupleElementList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTupleElementList tupleElementList() throws RecognitionException {
SwTupleElementList _localctx = new SwTupleElementList(_ctx, getState());
enterRule(_localctx, 428, RULE_tupleElementList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2212);
tupleElement();
setState(2217);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(2213);
match(T__13);
setState(2214);
tupleElement();
}
}
setState(2219);
_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 SwTupleElement extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwTupleElement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tupleElement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTupleElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTupleElement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTupleElement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTupleElement tupleElement() throws RecognitionException {
SwTupleElement _localctx = new SwTupleElement(_ctx, getState());
enterRule(_localctx, 430, RULE_tupleElement);
try {
enterOuterAlt(_localctx, 1);
{
setState(2223);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,267,_ctx) ) {
case 1:
{
setState(2220);
identifier();
setState(2221);
match(T__1);
}
break;
}
setState(2225);
expression();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwWildcardExpression extends SwiftInnerNode {
public SwWildcardExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_wildcardExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterWildcardExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitWildcardExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitWildcardExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwWildcardExpression wildcardExpression() throws RecognitionException {
SwWildcardExpression _localctx = new SwWildcardExpression(_ctx, getState());
enterRule(_localctx, 432, RULE_wildcardExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(2227);
match(T__81);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwMacroExpansionExpression extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwGenericArgumentClause genericArgumentClause() {
return getRuleContext(SwGenericArgumentClause.class,0);
}
public SwFunctionCallArgumentClause functionCallArgumentClause() {
return getRuleContext(SwFunctionCallArgumentClause.class,0);
}
public SwMacroExpansionExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_macroExpansionExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterMacroExpansionExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitMacroExpansionExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitMacroExpansionExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwMacroExpansionExpression macroExpansionExpression() throws RecognitionException {
SwMacroExpansionExpression _localctx = new SwMacroExpansionExpression(_ctx, getState());
enterRule(_localctx, 434, RULE_macroExpansionExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(2229);
match(T__126);
setState(2230);
identifier();
setState(2232);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,268,_ctx) ) {
case 1:
{
setState(2231);
genericArgumentClause();
}
break;
}
setState(2235);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,269,_ctx) ) {
case 1:
{
setState(2234);
functionCallArgumentClause();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSelectorExpression extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwSelectorExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_selectorExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSelectorExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSelectorExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSelectorExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSelectorExpression selectorExpression() throws RecognitionException {
SwSelectorExpression _localctx = new SwSelectorExpression(_ctx, getState());
enterRule(_localctx, 436, RULE_selectorExpression);
int _la;
try {
setState(2248);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,270,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2237);
match(T__127);
setState(2238);
match(T__28);
setState(2239);
expression();
setState(2240);
match(T__29);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2242);
match(T__127);
setState(2243);
match(T__28);
setState(2244);
_la = _input.LA(1);
if ( !(_la==T__128 || _la==T__129) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2245);
expression();
setState(2246);
match(T__29);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwKeyPathExpression extends SwiftInnerNode {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwKeyPathExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_keyPathExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterKeyPathExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitKeyPathExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitKeyPathExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwKeyPathExpression keyPathExpression() throws RecognitionException {
SwKeyPathExpression _localctx = new SwKeyPathExpression(_ctx, getState());
enterRule(_localctx, 438, RULE_keyPathExpression);
try {
setState(2257);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__130:
enterOuterAlt(_localctx, 1);
{
setState(2250);
match(T__130);
setState(2251);
match(T__28);
setState(2252);
expression();
setState(2253);
match(T__29);
}
break;
case T__131:
enterOuterAlt(_localctx, 2);
{
setState(2255);
match(T__131);
setState(2256);
expression();
}
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 SwPostfixExpression extends SwiftInnerNode {
public SwPostfixExpression(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_postfixExpression; }
public SwPostfixExpression() { }
public void copyFrom(SwPostfixExpression ctx) {
super.copyFrom(ctx);
}
}
public static class SwDynamicTypeExpression extends SwPostfixExpression {
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwDynamicTypeExpression(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDynamicTypeExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDynamicTypeExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDynamicTypeExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public static class SwFunctionCallWithClosureExpression extends SwPostfixExpression {
public SwPostfixExpression postfixExpression() {
return getRuleContext(SwPostfixExpression.class,0);
}
public SwClosureExpression closureExpression() {
return getRuleContext(SwClosureExpression.class,0);
}
public SwFunctionCallArgumentClause functionCallArgumentClause() {
return getRuleContext(SwFunctionCallArgumentClause.class,0);
}
public SwFunctionCallWithClosureExpression(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionCallWithClosureExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionCallWithClosureExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionCallWithClosureExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public static class SwSubscriptExpression extends SwPostfixExpression {
public SwPostfixExpression postfixExpression() {
return getRuleContext(SwPostfixExpression.class,0);
}
public SwTupleElementList tupleElementList() {
return getRuleContext(SwTupleElementList.class,0);
}
public SwSubscriptExpression(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSubscriptExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSubscriptExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSubscriptExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public static class SwPostfixSelfExpression extends SwPostfixExpression {
public SwPostfixExpression postfixExpression() {
return getRuleContext(SwPostfixExpression.class,0);
}
public SwPostfixSelfExpression(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPostfixSelfExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPostfixSelfExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPostfixSelfExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public static class SwOptionalChainingExpression extends SwPostfixExpression {
public SwPostfixExpression postfixExpression() {
return getRuleContext(SwPostfixExpression.class,0);
}
public SwOptionalChainingExpression(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterOptionalChainingExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitOptionalChainingExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitOptionalChainingExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public static class SwExplicitMemberExpression1 extends SwPostfixExpression {
public SwPostfixExpression postfixExpression() {
return getRuleContext(SwPostfixExpression.class,0);
}
public TerminalNode DecimalLiteral() { return getToken(SwiftParser.DecimalLiteral, 0); }
public SwExplicitMemberExpression1(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterExplicitMemberExpression1(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitExplicitMemberExpression1(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitExplicitMemberExpression1(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public static class SwPostfixOperation extends SwPostfixExpression {
public SwPostfixExpression postfixExpression() {
return getRuleContext(SwPostfixExpression.class,0);
}
public SwPostfixOperator postfixOperator() {
return getRuleContext(SwPostfixOperator.class,0);
}
public SwPostfixOperation(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPostfixOperation(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPostfixOperation(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPostfixOperation(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public static class SwInitializerExpression extends SwPostfixExpression {
public SwPostfixExpression postfixExpression() {
return getRuleContext(SwPostfixExpression.class,0);
}
public SwInitializerExpression(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterInitializerExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitInitializerExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitInitializerExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public static class SwForcedValueExpression extends SwPostfixExpression {
public SwPostfixExpression postfixExpression() {
return getRuleContext(SwPostfixExpression.class,0);
}
public SwForcedValueExpression(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterForcedValueExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitForcedValueExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitForcedValueExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public static class SwExplicitMemberExpression3 extends SwPostfixExpression {
public SwPostfixExpression postfixExpression() {
return getRuleContext(SwPostfixExpression.class,0);
}
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwArgumentNames argumentNames() {
return getRuleContext(SwArgumentNames.class,0);
}
public SwExplicitMemberExpression3(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterExplicitMemberExpression3(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitExplicitMemberExpression3(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitExplicitMemberExpression3(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public static class SwExplicitMemberExpression2 extends SwPostfixExpression {
public SwPostfixExpression postfixExpression() {
return getRuleContext(SwPostfixExpression.class,0);
}
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwGenericArgumentClause genericArgumentClause() {
return getRuleContext(SwGenericArgumentClause.class,0);
}
public SwExplicitMemberExpression2(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterExplicitMemberExpression2(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitExplicitMemberExpression2(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitExplicitMemberExpression2(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public static class SwFunctionCallExpression extends SwPostfixExpression {
public SwPostfixExpression postfixExpression() {
return getRuleContext(SwPostfixExpression.class,0);
}
public SwFunctionCallArgumentClause functionCallArgumentClause() {
return getRuleContext(SwFunctionCallArgumentClause.class,0);
}
public SwFunctionCallExpression(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionCallExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionCallExpression(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionCallExpression(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public static class SwInitializerExpressionWithArguments extends SwPostfixExpression {
public SwPostfixExpression postfixExpression() {
return getRuleContext(SwPostfixExpression.class,0);
}
public SwArgumentNames argumentNames() {
return getRuleContext(SwArgumentNames.class,0);
}
public SwInitializerExpressionWithArguments(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterInitializerExpressionWithArguments(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitInitializerExpressionWithArguments(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitInitializerExpressionWithArguments(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public static class SwPrimary extends SwPostfixExpression {
public SwPrimaryExpression primaryExpression() {
return getRuleContext(SwPrimaryExpression.class,0);
}
public SwPrimary(SwPostfixExpression ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPrimary(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPrimary(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPrimary(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPostfixExpression postfixExpression() throws RecognitionException {
return postfixExpression(0);
}
private SwPostfixExpression postfixExpression(int _p) throws RecognitionException {
ParserRuleContext _parentctx = _ctx;
int _parentState = getState();
SwPostfixExpression _localctx = new SwPostfixExpression(_ctx, _parentState);
SwPostfixExpression _prevctx = _localctx;
int _startState = 440;
enterRecursionRule(_localctx, 440, RULE_postfixExpression, _p);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(2268);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,272,_ctx) ) {
case 1:
{
_localctx = new SwPrimary(_localctx);
_ctx = _localctx.asAntlrNode();
_prevctx = _localctx;
setState(2260);
primaryExpression();
}
break;
case 2:
{
_localctx = new SwDynamicTypeExpression(_localctx);
_ctx = _localctx.asAntlrNode();
_prevctx = _localctx;
setState(2261);
match(T__132);
setState(2262);
match(T__28);
setState(2263);
match(T__133);
setState(2264);
match(T__1);
setState(2265);
expression();
setState(2266);
match(T__29);
}
break;
}
_ctx.stop = _input.LT(-1);
setState(2319);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,276,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
setState(2317);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,275,_ctx) ) {
case 1:
{
_localctx = new SwPostfixOperation(new SwPostfixExpression(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_postfixExpression);
setState(2270);
if (!(precpred(_ctx, 13))) throw new FailedPredicateException(this, "precpred(_ctx, 13)");
setState(2271);
postfixOperator();
}
break;
case 2:
{
_localctx = new SwFunctionCallWithClosureExpression(new SwPostfixExpression(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_postfixExpression);
setState(2272);
if (!(precpred(_ctx, 12))) throw new FailedPredicateException(this, "precpred(_ctx, 12)");
setState(2274);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__28) {
{
setState(2273);
functionCallArgumentClause();
}
}
setState(2276);
closureExpression();
}
break;
case 3:
{
_localctx = new SwFunctionCallExpression(new SwPostfixExpression(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_postfixExpression);
setState(2277);
if (!(precpred(_ctx, 11))) throw new FailedPredicateException(this, "precpred(_ctx, 11)");
setState(2278);
functionCallArgumentClause();
}
break;
case 4:
{
_localctx = new SwInitializerExpression(new SwPostfixExpression(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_postfixExpression);
setState(2279);
if (!(precpred(_ctx, 10))) throw new FailedPredicateException(this, "precpred(_ctx, 10)");
setState(2280);
match(T__72);
setState(2281);
match(T__84);
}
break;
case 5:
{
_localctx = new SwInitializerExpressionWithArguments(new SwPostfixExpression(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_postfixExpression);
setState(2282);
if (!(precpred(_ctx, 9))) throw new FailedPredicateException(this, "precpred(_ctx, 9)");
setState(2283);
match(T__72);
setState(2284);
match(T__84);
setState(2285);
match(T__28);
setState(2286);
argumentNames();
setState(2287);
match(T__29);
}
break;
case 6:
{
_localctx = new SwExplicitMemberExpression1(new SwPostfixExpression(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_postfixExpression);
setState(2289);
if (!(precpred(_ctx, 8))) throw new FailedPredicateException(this, "precpred(_ctx, 8)");
setState(2290);
match(T__72);
setState(2291);
match(DecimalLiteral);
}
break;
case 7:
{
_localctx = new SwExplicitMemberExpression2(new SwPostfixExpression(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_postfixExpression);
setState(2292);
if (!(precpred(_ctx, 7))) throw new FailedPredicateException(this, "precpred(_ctx, 7)");
setState(2293);
match(T__72);
setState(2294);
identifier();
setState(2296);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,274,_ctx) ) {
case 1:
{
setState(2295);
genericArgumentClause();
}
break;
}
}
break;
case 8:
{
_localctx = new SwExplicitMemberExpression3(new SwPostfixExpression(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_postfixExpression);
setState(2298);
if (!(precpred(_ctx, 6))) throw new FailedPredicateException(this, "precpred(_ctx, 6)");
setState(2299);
match(T__72);
setState(2300);
identifier();
setState(2301);
match(T__28);
setState(2302);
argumentNames();
setState(2303);
match(T__29);
}
break;
case 9:
{
_localctx = new SwPostfixSelfExpression(new SwPostfixExpression(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_postfixExpression);
setState(2305);
if (!(precpred(_ctx, 5))) throw new FailedPredicateException(this, "precpred(_ctx, 5)");
setState(2306);
match(T__72);
setState(2307);
match(T__122);
}
break;
case 10:
{
_localctx = new SwSubscriptExpression(new SwPostfixExpression(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_postfixExpression);
setState(2308);
if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)");
setState(2309);
match(T__102);
setState(2310);
tupleElementList();
setState(2311);
match(T__103);
}
break;
case 11:
{
_localctx = new SwForcedValueExpression(new SwPostfixExpression(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_postfixExpression);
setState(2313);
if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
setState(2314);
match(T__86);
}
break;
case 12:
{
_localctx = new SwOptionalChainingExpression(new SwPostfixExpression(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_postfixExpression);
setState(2315);
if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
setState(2316);
match(T__85);
}
break;
}
}
}
setState(2321);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,276,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
unrollRecursionContexts(_parentctx);
}
return _localctx;
}
public static class SwFunctionCallArgumentClause extends SwiftInnerNode {
public SwFunctionCallArgumentList functionCallArgumentList() {
return getRuleContext(SwFunctionCallArgumentList.class,0);
}
public SwFunctionCallArgumentClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionCallArgumentClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionCallArgumentClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionCallArgumentClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionCallArgumentClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionCallArgumentClause functionCallArgumentClause() throws RecognitionException {
SwFunctionCallArgumentClause _localctx = new SwFunctionCallArgumentClause(_ctx, getState());
enterRule(_localctx, 442, RULE_functionCallArgumentClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2322);
match(T__28);
setState(2324);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__24) | (1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__28) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__35) | (1L << T__37) | (1L << T__39) | (1L << T__40) | (1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__76 - 64)) | (1L << (T__77 - 64)) | (1L << (T__78 - 64)) | (1L << (T__79 - 64)) | (1L << (T__80 - 64)) | (1L << (T__81 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (T__95 - 64)) | (1L << (T__96 - 64)) | (1L << (T__97 - 64)) | (1L << (T__98 - 64)) | (1L << (T__99 - 64)) | (1L << (T__100 - 64)) | (1L << (T__102 - 64)) | (1L << (T__104 - 64)) | (1L << (T__106 - 64)) | (1L << (T__108 - 64)) | (1L << (T__109 - 64)) | (1L << (T__110 - 64)) | (1L << (T__111 - 64)) | (1L << (T__112 - 64)) | (1L << (T__113 - 64)) | (1L << (T__114 - 64)) | (1L << (T__115 - 64)) | (1L << (T__116 - 64)) | (1L << (T__117 - 64)) | (1L << (T__118 - 64)) | (1L << (T__119 - 64)) | (1L << (T__120 - 64)) | (1L << (T__121 - 64)) | (1L << (T__122 - 64)) | (1L << (T__123 - 64)) | (1L << (T__126 - 64)))) != 0) || ((((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & ((1L << (T__127 - 128)) | (1L << (T__130 - 128)) | (1L << (T__131 - 128)) | (1L << (T__132 - 128)) | (1L << (T__133 - 128)) | (1L << (T__134 - 128)) | (1L << (T__135 - 128)) | (1L << (T__136 - 128)) | (1L << (T__137 - 128)) | (1L << (T__138 - 128)) | (1L << (T__139 - 128)) | (1L << (T__140 - 128)) | (1L << (T__141 - 128)) | (1L << (T__142 - 128)) | (1L << (T__143 - 128)) | (1L << (T__144 - 128)) | (1L << (T__145 - 128)) | (1L << (T__146 - 128)) | (1L << (T__147 - 128)) | (1L << (T__148 - 128)) | (1L << (T__153 - 128)) | (1L << (T__154 - 128)) | (1L << (T__155 - 128)) | (1L << (T__156 - 128)) | (1L << (T__158 - 128)) | (1L << (T__159 - 128)) | (1L << (T__162 - 128)) | (1L << (T__163 - 128)) | (1L << (T__164 - 128)) | (1L << (T__165 - 128)) | (1L << (T__166 - 128)) | (1L << (BooleanLiteral - 128)) | (1L << (NilLiteral - 128)) | (1L << (OperatorHead - 128)) | (1L << (DotOperatorHead - 128)) | (1L << (Identifier - 128)) | (1L << (BinaryLiteral - 128)) | (1L << (OctalLiteral - 128)) | (1L << (DecimalLiteral - 128)) | (1L << (HexadecimalLiteral - 128)) | (1L << (FloatingPointLiteral - 128)) | (1L << (MultiStringLiteral - 128)) | (1L << (RawSingleStringLiteral - 128)) | (1L << (RawMultiStringLiteral - 128)) | (1L << (SingleStringLiteral - 128)))) != 0)) {
{
setState(2323);
functionCallArgumentList();
}
}
setState(2326);
match(T__29);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwFunctionCallArgumentList extends SwiftInnerNode {
public List functionCallArgument() {
return getRuleContexts(SwFunctionCallArgument.class);
}
public SwFunctionCallArgument functionCallArgument(int i) {
return getRuleContext(SwFunctionCallArgument.class,i);
}
public SwFunctionCallArgumentList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionCallArgumentList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionCallArgumentList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionCallArgumentList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionCallArgumentList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionCallArgumentList functionCallArgumentList() throws RecognitionException {
SwFunctionCallArgumentList _localctx = new SwFunctionCallArgumentList(_ctx, getState());
enterRule(_localctx, 444, RULE_functionCallArgumentList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2328);
functionCallArgument();
setState(2333);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(2329);
match(T__13);
setState(2330);
functionCallArgument();
}
}
setState(2335);
_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 SwFunctionCallArgument extends SwiftInnerNode {
public SwFunctionCallIdentifier functionCallIdentifier() {
return getRuleContext(SwFunctionCallIdentifier.class,0);
}
public SwExpression expression() {
return getRuleContext(SwExpression.class,0);
}
public SwOperator operator() {
return getRuleContext(SwOperator.class,0);
}
public SwFunctionCallArgument(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionCallArgument; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionCallArgument(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionCallArgument(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionCallArgument(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionCallArgument functionCallArgument() throws RecognitionException {
SwFunctionCallArgument _localctx = new SwFunctionCallArgument(_ctx, getState());
enterRule(_localctx, 446, RULE_functionCallArgument);
try {
setState(2352);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,282,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
{
setState(2336);
functionCallIdentifier();
setState(2337);
match(T__1);
}
setState(2341);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,279,_ctx) ) {
case 1:
{
setState(2339);
expression();
}
break;
case 2:
{
setState(2340);
operator();
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2346);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,280,_ctx) ) {
case 1:
{
setState(2343);
functionCallIdentifier();
setState(2344);
match(T__1);
}
break;
}
setState(2350);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,281,_ctx) ) {
case 1:
{
setState(2348);
expression();
}
break;
case 2:
{
setState(2349);
operator();
}
break;
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwFunctionCallIdentifier extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwKeyword keyword() {
return getRuleContext(SwKeyword.class,0);
}
public SwFunctionCallIdentifier(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionCallIdentifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionCallIdentifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionCallIdentifier(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionCallIdentifier(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionCallIdentifier functionCallIdentifier() throws RecognitionException {
SwFunctionCallIdentifier _localctx = new SwFunctionCallIdentifier(_ctx, getState());
enterRule(_localctx, 448, RULE_functionCallIdentifier);
try {
setState(2356);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,283,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2354);
identifier();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2355);
keyword();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwArgumentNames extends SwiftInnerNode {
public List argumentName() {
return getRuleContexts(SwArgumentName.class);
}
public SwArgumentName argumentName(int i) {
return getRuleContext(SwArgumentName.class,i);
}
public SwArgumentNames(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_argumentNames; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterArgumentNames(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitArgumentNames(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitArgumentNames(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwArgumentNames argumentNames() throws RecognitionException {
SwArgumentNames _localctx = new SwArgumentNames(_ctx, getState());
enterRule(_localctx, 450, RULE_argumentNames);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2359);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2358);
argumentName();
}
}
setState(2361);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__14) | (1L << T__24) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__35) | (1L << T__37) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__59))) != 0) || ((((_la - 65)) & ~0x3f) == 0 && ((1L << (_la - 65)) & ((1L << (T__64 - 65)) | (1L << (T__65 - 65)) | (1L << (T__74 - 65)) | (1L << (T__75 - 65)) | (1L << (T__76 - 65)) | (1L << (T__81 - 65)) | (1L << (T__82 - 65)) | (1L << (T__90 - 65)) | (1L << (T__95 - 65)) | (1L << (T__96 - 65)) | (1L << (T__97 - 65)) | (1L << (T__98 - 65)) | (1L << (T__115 - 65)) | (1L << (T__116 - 65)) | (1L << (T__117 - 65)) | (1L << (T__118 - 65)) | (1L << (T__120 - 65)))) != 0) || ((((_la - 133)) & ~0x3f) == 0 && ((1L << (_la - 133)) & ((1L << (T__132 - 133)) | (1L << (T__133 - 133)) | (1L << (T__137 - 133)) | (1L << (T__138 - 133)) | (1L << (T__139 - 133)) | (1L << (T__141 - 133)) | (1L << (T__147 - 133)) | (1L << (T__148 - 133)) | (1L << (T__153 - 133)) | (1L << (T__154 - 133)) | (1L << (T__155 - 133)) | (1L << (T__156 - 133)) | (1L << (T__158 - 133)) | (1L << (T__159 - 133)) | (1L << (T__165 - 133)) | (1L << (T__166 - 133)) | (1L << (Identifier - 133)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwArgumentName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwArgumentName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_argumentName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterArgumentName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitArgumentName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitArgumentName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwArgumentName argumentName() throws RecognitionException {
SwArgumentName _localctx = new SwArgumentName(_ctx, getState());
enterRule(_localctx, 452, RULE_argumentName);
try {
enterOuterAlt(_localctx, 1);
{
setState(2365);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__14:
case T__24:
case T__31:
case T__32:
case T__33:
case T__35:
case T__37:
case T__43:
case T__44:
case T__45:
case T__46:
case T__47:
case T__48:
case T__49:
case T__50:
case T__51:
case T__52:
case T__54:
case T__55:
case T__57:
case T__59:
case T__64:
case T__65:
case T__74:
case T__75:
case T__76:
case T__82:
case T__90:
case T__95:
case T__96:
case T__97:
case T__98:
case T__115:
case T__116:
case T__117:
case T__118:
case T__120:
case T__132:
case T__133:
case T__137:
case T__138:
case T__139:
case T__141:
case T__147:
case T__148:
case T__153:
case T__154:
case T__155:
case T__156:
case T__158:
case T__159:
case T__165:
case T__166:
case Identifier:
{
setState(2363);
identifier();
}
break;
case T__81:
{
setState(2364);
match(T__81);
}
break;
default:
throw new NoViableAltException(this);
}
setState(2367);
match(T__1);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwOperatorHead extends SwiftInnerNode {
public TerminalNode OperatorHead() { return getToken(SwiftParser.OperatorHead, 0); }
public SwOperatorHead(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_operatorHead; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterOperatorHead(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitOperatorHead(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitOperatorHead(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwOperatorHead operatorHead() throws RecognitionException {
SwOperatorHead _localctx = new SwOperatorHead(_ctx, getState());
enterRule(_localctx, 454, RULE_operatorHead);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2369);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__30) | (1L << T__39) | (1L << T__40) | (1L << T__41))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (T__73 - 74)) | (1L << (T__79 - 74)) | (1L << (T__85 - 74)) | (1L << (T__86 - 74)) | (1L << (T__104 - 74)) | (1L << (T__106 - 74)) | (1L << (T__108 - 74)) | (1L << (T__134 - 74)) | (1L << (T__135 - 74)) | (1L << (T__136 - 74)))) != 0) || _la==OperatorHead) ) {
_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 SwOperatorCharacter extends SwiftInnerNode {
public SwOperatorHead operatorHead() {
return getRuleContext(SwOperatorHead.class,0);
}
public TerminalNode OperatorCharacter() { return getToken(SwiftParser.OperatorCharacter, 0); }
public SwOperatorCharacter(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_operatorCharacter; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterOperatorCharacter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitOperatorCharacter(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitOperatorCharacter(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwOperatorCharacter operatorCharacter() throws RecognitionException {
SwOperatorCharacter _localctx = new SwOperatorCharacter(_ctx, getState());
enterRule(_localctx, 456, RULE_operatorCharacter);
try {
setState(2373);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__30:
case T__39:
case T__40:
case T__41:
case T__73:
case T__79:
case T__85:
case T__86:
case T__104:
case T__106:
case T__108:
case T__134:
case T__135:
case T__136:
case OperatorHead:
enterOuterAlt(_localctx, 1);
{
setState(2371);
operatorHead();
}
break;
case OperatorCharacter:
enterOuterAlt(_localctx, 2);
{
setState(2372);
match(OperatorCharacter);
}
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 SwOperator extends SwiftInnerNode {
public SwOperatorHead operatorHead() {
return getRuleContext(SwOperatorHead.class,0);
}
public List operatorCharacter() {
return getRuleContexts(SwOperatorCharacter.class);
}
public SwOperatorCharacter operatorCharacter(int i) {
return getRuleContext(SwOperatorCharacter.class,i);
}
public TerminalNode DotOperatorHead() { return getToken(SwiftParser.DotOperatorHead, 0); }
public SwOperator(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_operator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterOperator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitOperator(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitOperator(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwOperator operator() throws RecognitionException {
SwOperator _localctx = new SwOperator(_ctx, getState());
enterRule(_localctx, 458, RULE_operator);
try {
int _alt;
setState(2390);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__30:
case T__39:
case T__40:
case T__41:
case T__73:
case T__79:
case T__85:
case T__86:
case T__104:
case T__106:
case T__108:
case T__134:
case T__135:
case T__136:
case OperatorHead:
enterOuterAlt(_localctx, 1);
{
setState(2375);
operatorHead();
setState(2379);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,287,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2376);
operatorCharacter();
}
}
}
setState(2381);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,287,_ctx);
}
}
break;
case DotOperatorHead:
enterOuterAlt(_localctx, 2);
{
setState(2382);
match(DotOperatorHead);
setState(2386);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,288,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(2383);
operatorCharacter();
}
}
}
setState(2388);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,288,_ctx);
}
}
break;
case T__80:
enterOuterAlt(_localctx, 3);
{
setState(2389);
match(T__80);
}
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 SwBinaryOperator extends SwiftInnerNode {
public SwOperator operator() {
return getRuleContext(SwOperator.class,0);
}
public SwBinaryOperator(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_binaryOperator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterBinaryOperator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitBinaryOperator(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitBinaryOperator(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwBinaryOperator binaryOperator() throws RecognitionException {
SwBinaryOperator _localctx = new SwBinaryOperator(_ctx, getState());
enterRule(_localctx, 460, RULE_binaryOperator);
try {
enterOuterAlt(_localctx, 1);
{
setState(2392);
operator();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwPrefixOperator extends SwiftInnerNode {
public SwOperator operator() {
return getRuleContext(SwOperator.class,0);
}
public SwPrefixOperator(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_prefixOperator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPrefixOperator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPrefixOperator(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPrefixOperator(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPrefixOperator prefixOperator() throws RecognitionException {
SwPrefixOperator _localctx = new SwPrefixOperator(_ctx, getState());
enterRule(_localctx, 462, RULE_prefixOperator);
try {
enterOuterAlt(_localctx, 1);
{
setState(2394);
operator();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwPostfixOperator extends SwiftInnerNode {
public SwOperator operator() {
return getRuleContext(SwOperator.class,0);
}
public SwPostfixOperator(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_postfixOperator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPostfixOperator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPostfixOperator(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPostfixOperator(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPostfixOperator postfixOperator() throws RecognitionException {
SwPostfixOperator _localctx = new SwPostfixOperator(_ctx, getState());
enterRule(_localctx, 464, RULE_postfixOperator);
try {
enterOuterAlt(_localctx, 1);
{
setState(2396);
operator();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwSType extends SwiftInnerNode {
public SwArrayType arrayType() {
return getRuleContext(SwArrayType.class,0);
}
public SwDictionaryType dictionaryType() {
return getRuleContext(SwDictionaryType.class,0);
}
public SwFunctionType functionType() {
return getRuleContext(SwFunctionType.class,0);
}
public SwTypeIdentifier typeIdentifier() {
return getRuleContext(SwTypeIdentifier.class,0);
}
public SwTupleType tupleType() {
return getRuleContext(SwTupleType.class,0);
}
public SwProtocolCompositionType protocolCompositionType() {
return getRuleContext(SwProtocolCompositionType.class,0);
}
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwSType(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_sType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSType(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSType(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSType sType() throws RecognitionException {
return sType(0);
}
private SwSType sType(int _p) throws RecognitionException {
ParserRuleContext _parentctx = _ctx;
int _parentState = getState();
SwSType _localctx = new SwSType(_ctx, _parentState);
SwSType _prevctx = _localctx;
int _startState = 466;
enterRecursionRule(_localctx, 466, RULE_sType, _p);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(2409);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,290,_ctx) ) {
case 1:
{
setState(2399);
arrayType();
}
break;
case 2:
{
setState(2400);
dictionaryType();
}
break;
case 3:
{
setState(2401);
functionType();
}
break;
case 4:
{
setState(2402);
typeIdentifier();
}
break;
case 5:
{
setState(2403);
tupleType();
}
break;
case 6:
{
setState(2404);
protocolCompositionType();
}
break;
case 7:
{
setState(2405);
match(T__137);
setState(2406);
sType(5);
}
break;
case 8:
{
setState(2407);
match(T__140);
}
break;
case 9:
{
setState(2408);
match(T__141);
}
break;
}
_ctx.stop = _input.LT(-1);
setState(2423);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,292,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
setState(2421);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,291,_ctx) ) {
case 1:
{
_localctx = new SwSType(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_sType);
setState(2411);
if (!(precpred(_ctx, 8))) throw new FailedPredicateException(this, "precpred(_ctx, 8)");
setState(2412);
match(T__85);
}
break;
case 2:
{
_localctx = new SwSType(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_sType);
setState(2413);
if (!(precpred(_ctx, 7))) throw new FailedPredicateException(this, "precpred(_ctx, 7)");
setState(2414);
match(T__86);
}
break;
case 3:
{
_localctx = new SwSType(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_sType);
setState(2415);
if (!(precpred(_ctx, 4))) throw new FailedPredicateException(this, "precpred(_ctx, 4)");
setState(2416);
match(T__72);
setState(2417);
match(T__138);
}
break;
case 4:
{
_localctx = new SwSType(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_sType);
setState(2418);
if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)");
setState(2419);
match(T__72);
setState(2420);
match(T__139);
}
break;
}
}
}
setState(2425);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,292,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
unrollRecursionContexts(_parentctx);
}
return _localctx;
}
public static class SwFunctionType extends SwiftInnerNode {
public SwFunctionTypeArgumentClause functionTypeArgumentClause() {
return getRuleContext(SwFunctionTypeArgumentClause.class,0);
}
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwFunctionType(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionType(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionType(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionType functionType() throws RecognitionException {
SwFunctionType _localctx = new SwFunctionType(_ctx, getState());
enterRule(_localctx, 468, RULE_functionType);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2427);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__101) {
{
setState(2426);
attributes();
}
}
setState(2429);
functionTypeArgumentClause();
setState(2431);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__77 || _la==T__78) {
{
setState(2430);
_la = _input.LA(1);
if ( !(_la==T__77 || _la==T__78) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(2433);
match(T__79);
setState(2434);
sType(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwFunctionTypeArgumentClause extends SwiftInnerNode {
public SwFunctionTypeArgumentList functionTypeArgumentList() {
return getRuleContext(SwFunctionTypeArgumentList.class,0);
}
public SwFunctionTypeArgumentClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionTypeArgumentClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionTypeArgumentClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionTypeArgumentClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionTypeArgumentClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionTypeArgumentClause functionTypeArgumentClause() throws RecognitionException {
SwFunctionTypeArgumentClause _localctx = new SwFunctionTypeArgumentClause(_ctx, getState());
enterRule(_localctx, 470, RULE_functionTypeArgumentClause);
int _la;
try {
setState(2445);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,296,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2436);
match(T__28);
setState(2437);
match(T__29);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2438);
match(T__28);
setState(2439);
functionTypeArgumentList();
setState(2441);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__80) {
{
setState(2440);
match(T__80);
}
}
setState(2443);
match(T__29);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwFunctionTypeArgumentList extends SwiftInnerNode {
public List functionTypeArgument() {
return getRuleContexts(SwFunctionTypeArgument.class);
}
public SwFunctionTypeArgument functionTypeArgument(int i) {
return getRuleContext(SwFunctionTypeArgument.class,i);
}
public SwFunctionTypeArgumentList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionTypeArgumentList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionTypeArgumentList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionTypeArgumentList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionTypeArgumentList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionTypeArgumentList functionTypeArgumentList() throws RecognitionException {
SwFunctionTypeArgumentList _localctx = new SwFunctionTypeArgumentList(_ctx, getState());
enterRule(_localctx, 472, RULE_functionTypeArgumentList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2447);
functionTypeArgument();
setState(2452);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(2448);
match(T__13);
setState(2449);
functionTypeArgument();
}
}
setState(2454);
_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 SwFunctionTypeArgument extends SwiftInnerNode {
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwArgumentLabel argumentLabel() {
return getRuleContext(SwArgumentLabel.class,0);
}
public SwTypeAnnotation typeAnnotation() {
return getRuleContext(SwTypeAnnotation.class,0);
}
public SwFunctionTypeArgument(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_functionTypeArgument; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFunctionTypeArgument(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFunctionTypeArgument(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFunctionTypeArgument(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFunctionTypeArgument functionTypeArgument() throws RecognitionException {
SwFunctionTypeArgument _localctx = new SwFunctionTypeArgument(_ctx, getState());
enterRule(_localctx, 474, RULE_functionTypeArgument);
int _la;
try {
setState(2465);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,300,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2456);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,298,_ctx) ) {
case 1:
{
setState(2455);
attributes();
}
break;
}
setState(2459);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__142) {
{
setState(2458);
match(T__142);
}
}
setState(2461);
sType(0);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2462);
argumentLabel();
setState(2463);
typeAnnotation();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwArgumentLabel extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwArgumentLabel(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_argumentLabel; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterArgumentLabel(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitArgumentLabel(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitArgumentLabel(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwArgumentLabel argumentLabel() throws RecognitionException {
SwArgumentLabel _localctx = new SwArgumentLabel(_ctx, getState());
enterRule(_localctx, 476, RULE_argumentLabel);
try {
enterOuterAlt(_localctx, 1);
{
setState(2467);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwArrayType extends SwiftInnerNode {
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwArrayType(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_arrayType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterArrayType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitArrayType(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitArrayType(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwArrayType arrayType() throws RecognitionException {
SwArrayType _localctx = new SwArrayType(_ctx, getState());
enterRule(_localctx, 478, RULE_arrayType);
try {
enterOuterAlt(_localctx, 1);
{
setState(2469);
match(T__102);
setState(2470);
sType(0);
setState(2471);
match(T__103);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwDictionaryType extends SwiftInnerNode {
public List sType() {
return getRuleContexts(SwSType.class);
}
public SwSType sType(int i) {
return getRuleContext(SwSType.class,i);
}
public SwDictionaryType(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dictionaryType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterDictionaryType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitDictionaryType(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitDictionaryType(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwDictionaryType dictionaryType() throws RecognitionException {
SwDictionaryType _localctx = new SwDictionaryType(_ctx, getState());
enterRule(_localctx, 480, RULE_dictionaryType);
try {
enterOuterAlt(_localctx, 1);
{
setState(2473);
match(T__102);
setState(2474);
sType(0);
setState(2475);
match(T__1);
setState(2476);
sType(0);
setState(2477);
match(T__103);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwOptionalType extends SwiftInnerNode {
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwOptionalType(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_optionalType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterOptionalType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitOptionalType(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitOptionalType(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwOptionalType optionalType() throws RecognitionException {
SwOptionalType _localctx = new SwOptionalType(_ctx, getState());
enterRule(_localctx, 482, RULE_optionalType);
try {
enterOuterAlt(_localctx, 1);
{
setState(2479);
sType(0);
setState(2480);
match(T__85);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwImplicitlyUnwrappedOptionalType extends SwiftInnerNode {
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwImplicitlyUnwrappedOptionalType(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_implicitlyUnwrappedOptionalType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterImplicitlyUnwrappedOptionalType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitImplicitlyUnwrappedOptionalType(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitImplicitlyUnwrappedOptionalType(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwImplicitlyUnwrappedOptionalType implicitlyUnwrappedOptionalType() throws RecognitionException {
SwImplicitlyUnwrappedOptionalType _localctx = new SwImplicitlyUnwrappedOptionalType(_ctx, getState());
enterRule(_localctx, 484, RULE_implicitlyUnwrappedOptionalType);
try {
enterOuterAlt(_localctx, 1);
{
setState(2482);
sType(0);
setState(2483);
match(T__86);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTypeAnnotation extends SwiftInnerNode {
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwAttributes attributes() {
return getRuleContext(SwAttributes.class,0);
}
public SwTypeAnnotation(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeAnnotation; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTypeAnnotation(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTypeAnnotation(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTypeAnnotation(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTypeAnnotation typeAnnotation() throws RecognitionException {
SwTypeAnnotation _localctx = new SwTypeAnnotation(_ctx, getState());
enterRule(_localctx, 486, RULE_typeAnnotation);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2485);
match(T__1);
setState(2487);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,301,_ctx) ) {
case 1:
{
setState(2486);
attributes();
}
break;
}
setState(2490);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__142) {
{
setState(2489);
match(T__142);
}
}
setState(2492);
sType(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTypeIdentifier extends SwiftInnerNode {
public SwTypeName typeName() {
return getRuleContext(SwTypeName.class,0);
}
public SwGenericArgumentClause genericArgumentClause() {
return getRuleContext(SwGenericArgumentClause.class,0);
}
public SwTypeIdentifier typeIdentifier() {
return getRuleContext(SwTypeIdentifier.class,0);
}
public SwTypeIdentifier(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeIdentifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTypeIdentifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTypeIdentifier(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTypeIdentifier(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTypeIdentifier typeIdentifier() throws RecognitionException {
SwTypeIdentifier _localctx = new SwTypeIdentifier(_ctx, getState());
enterRule(_localctx, 488, RULE_typeIdentifier);
int _la;
try {
setState(2505);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,305,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2494);
typeName();
setState(2496);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,303,_ctx) ) {
case 1:
{
setState(2495);
genericArgumentClause();
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2498);
typeName();
setState(2500);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__39) {
{
setState(2499);
genericArgumentClause();
}
}
setState(2502);
match(T__72);
setState(2503);
typeIdentifier();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTypeName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwTypeName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTypeName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTypeName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTypeName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTypeName typeName() throws RecognitionException {
SwTypeName _localctx = new SwTypeName(_ctx, getState());
enterRule(_localctx, 490, RULE_typeName);
try {
enterOuterAlt(_localctx, 1);
{
setState(2507);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTupleType extends SwiftInnerNode {
public SwTupleTypeElementList tupleTypeElementList() {
return getRuleContext(SwTupleTypeElementList.class,0);
}
public SwTupleType(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tupleType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTupleType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTupleType(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTupleType(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTupleType tupleType() throws RecognitionException {
SwTupleType _localctx = new SwTupleType(_ctx, getState());
enterRule(_localctx, 492, RULE_tupleType);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2509);
match(T__28);
setState(2511);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__14) | (1L << T__24) | (1L << T__28) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__35) | (1L << T__37) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__59))) != 0) || ((((_la - 65)) & ~0x3f) == 0 && ((1L << (_la - 65)) & ((1L << (T__64 - 65)) | (1L << (T__65 - 65)) | (1L << (T__74 - 65)) | (1L << (T__75 - 65)) | (1L << (T__76 - 65)) | (1L << (T__82 - 65)) | (1L << (T__90 - 65)) | (1L << (T__95 - 65)) | (1L << (T__96 - 65)) | (1L << (T__97 - 65)) | (1L << (T__98 - 65)) | (1L << (T__101 - 65)) | (1L << (T__102 - 65)) | (1L << (T__115 - 65)) | (1L << (T__116 - 65)) | (1L << (T__117 - 65)) | (1L << (T__118 - 65)) | (1L << (T__120 - 65)))) != 0) || ((((_la - 133)) & ~0x3f) == 0 && ((1L << (_la - 133)) & ((1L << (T__132 - 133)) | (1L << (T__133 - 133)) | (1L << (T__137 - 133)) | (1L << (T__138 - 133)) | (1L << (T__139 - 133)) | (1L << (T__140 - 133)) | (1L << (T__141 - 133)) | (1L << (T__147 - 133)) | (1L << (T__148 - 133)) | (1L << (T__153 - 133)) | (1L << (T__154 - 133)) | (1L << (T__155 - 133)) | (1L << (T__156 - 133)) | (1L << (T__158 - 133)) | (1L << (T__159 - 133)) | (1L << (T__165 - 133)) | (1L << (T__166 - 133)) | (1L << (Identifier - 133)))) != 0)) {
{
setState(2510);
tupleTypeElementList();
}
}
setState(2513);
match(T__29);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTupleTypeElementList extends SwiftInnerNode {
public List tupleTypeElement() {
return getRuleContexts(SwTupleTypeElement.class);
}
public SwTupleTypeElement tupleTypeElement(int i) {
return getRuleContext(SwTupleTypeElement.class,i);
}
public SwTupleTypeElementList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tupleTypeElementList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTupleTypeElementList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTupleTypeElementList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTupleTypeElementList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTupleTypeElementList tupleTypeElementList() throws RecognitionException {
SwTupleTypeElementList _localctx = new SwTupleTypeElementList(_ctx, getState());
enterRule(_localctx, 494, RULE_tupleTypeElementList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2515);
tupleTypeElement();
setState(2520);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(2516);
match(T__13);
setState(2517);
tupleTypeElement();
}
}
setState(2522);
_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 SwTupleTypeElement extends SwiftInnerNode {
public SwElementName elementName() {
return getRuleContext(SwElementName.class,0);
}
public SwTypeAnnotation typeAnnotation() {
return getRuleContext(SwTypeAnnotation.class,0);
}
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwTupleTypeElement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tupleTypeElement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTupleTypeElement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTupleTypeElement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTupleTypeElement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTupleTypeElement tupleTypeElement() throws RecognitionException {
SwTupleTypeElement _localctx = new SwTupleTypeElement(_ctx, getState());
enterRule(_localctx, 496, RULE_tupleTypeElement);
try {
setState(2527);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,308,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2523);
elementName();
setState(2524);
typeAnnotation();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2526);
sType(0);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwElementName extends SwiftInnerNode {
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwElementName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_elementName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterElementName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitElementName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitElementName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwElementName elementName() throws RecognitionException {
SwElementName _localctx = new SwElementName(_ctx, getState());
enterRule(_localctx, 498, RULE_elementName);
try {
enterOuterAlt(_localctx, 1);
{
setState(2529);
identifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwProtocolCompositionType extends SwiftInnerNode {
public SwProtocolIdentifier protocolIdentifier() {
return getRuleContext(SwProtocolIdentifier.class,0);
}
public SwProtocolCompositionContinuation protocolCompositionContinuation() {
return getRuleContext(SwProtocolCompositionContinuation.class,0);
}
public SwProtocolCompositionType(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolCompositionType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolCompositionType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolCompositionType(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolCompositionType(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolCompositionType protocolCompositionType() throws RecognitionException {
SwProtocolCompositionType _localctx = new SwProtocolCompositionType(_ctx, getState());
enterRule(_localctx, 500, RULE_protocolCompositionType);
try {
enterOuterAlt(_localctx, 1);
{
setState(2531);
protocolIdentifier();
setState(2532);
match(T__108);
setState(2533);
protocolCompositionContinuation();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwProtocolCompositionContinuation extends SwiftInnerNode {
public SwProtocolIdentifier protocolIdentifier() {
return getRuleContext(SwProtocolIdentifier.class,0);
}
public SwProtocolCompositionType protocolCompositionType() {
return getRuleContext(SwProtocolCompositionType.class,0);
}
public SwProtocolCompositionContinuation(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolCompositionContinuation; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolCompositionContinuation(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolCompositionContinuation(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolCompositionContinuation(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolCompositionContinuation protocolCompositionContinuation() throws RecognitionException {
SwProtocolCompositionContinuation _localctx = new SwProtocolCompositionContinuation(_ctx, getState());
enterRule(_localctx, 502, RULE_protocolCompositionContinuation);
try {
setState(2537);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,309,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2535);
protocolIdentifier();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2536);
protocolCompositionType();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwProtocolIdentifier extends SwiftInnerNode {
public SwTypeIdentifier typeIdentifier() {
return getRuleContext(SwTypeIdentifier.class,0);
}
public SwProtocolIdentifier(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_protocolIdentifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterProtocolIdentifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitProtocolIdentifier(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitProtocolIdentifier(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwProtocolIdentifier protocolIdentifier() throws RecognitionException {
SwProtocolIdentifier _localctx = new SwProtocolIdentifier(_ctx, getState());
enterRule(_localctx, 504, RULE_protocolIdentifier);
try {
enterOuterAlt(_localctx, 1);
{
setState(2539);
typeIdentifier();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwMetatypeType extends SwiftInnerNode {
public SwSType sType() {
return getRuleContext(SwSType.class,0);
}
public SwMetatypeType(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_metatypeType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterMetatypeType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitMetatypeType(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitMetatypeType(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwMetatypeType metatypeType() throws RecognitionException {
SwMetatypeType _localctx = new SwMetatypeType(_ctx, getState());
enterRule(_localctx, 506, RULE_metatypeType);
try {
setState(2549);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,310,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2541);
sType(0);
setState(2542);
match(T__72);
setState(2543);
match(T__138);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2545);
sType(0);
setState(2546);
match(T__72);
setState(2547);
match(T__139);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTypeInheritanceClause extends SwiftInnerNode {
public SwClassRequirement classRequirement() {
return getRuleContext(SwClassRequirement.class,0);
}
public SwTypeInheritanceList typeInheritanceList() {
return getRuleContext(SwTypeInheritanceList.class,0);
}
public SwTypeInheritanceClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeInheritanceClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTypeInheritanceClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTypeInheritanceClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTypeInheritanceClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTypeInheritanceClause typeInheritanceClause() throws RecognitionException {
SwTypeInheritanceClause _localctx = new SwTypeInheritanceClause(_ctx, getState());
enterRule(_localctx, 508, RULE_typeInheritanceClause);
try {
setState(2560);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,311,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2551);
match(T__1);
setState(2552);
classRequirement();
setState(2553);
match(T__13);
setState(2554);
typeInheritanceList();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2556);
match(T__1);
setState(2557);
classRequirement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(2558);
match(T__1);
setState(2559);
typeInheritanceList();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwTypeInheritanceList extends SwiftInnerNode {
public List typeIdentifier() {
return getRuleContexts(SwTypeIdentifier.class);
}
public SwTypeIdentifier typeIdentifier(int i) {
return getRuleContext(SwTypeIdentifier.class,i);
}
public SwTypeInheritanceList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeInheritanceList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterTypeInheritanceList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitTypeInheritanceList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitTypeInheritanceList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwTypeInheritanceList typeInheritanceList() throws RecognitionException {
SwTypeInheritanceList _localctx = new SwTypeInheritanceList(_ctx, getState());
enterRule(_localctx, 510, RULE_typeInheritanceList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2562);
typeIdentifier();
setState(2567);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(2563);
match(T__13);
setState(2564);
typeIdentifier();
}
}
setState(2569);
_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 SwClassRequirement extends SwiftInnerNode {
public SwClassRequirement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classRequirement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterClassRequirement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitClassRequirement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitClassRequirement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwClassRequirement classRequirement() throws RecognitionException {
SwClassRequirement _localctx = new SwClassRequirement(_ctx, getState());
enterRule(_localctx, 512, RULE_classRequirement);
try {
enterOuterAlt(_localctx, 1);
{
setState(2570);
match(T__42);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwCompilerControlStatement extends SwiftInnerNode {
public SwConditionalCompilationBlock conditionalCompilationBlock() {
return getRuleContext(SwConditionalCompilationBlock.class,0);
}
public SwLineControlStatement lineControlStatement() {
return getRuleContext(SwLineControlStatement.class,0);
}
public SwWarningCompilationStatement warningCompilationStatement() {
return getRuleContext(SwWarningCompilationStatement.class,0);
}
public SwCompilerControlStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_compilerControlStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCompilerControlStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCompilerControlStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCompilerControlStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCompilerControlStatement compilerControlStatement() throws RecognitionException {
SwCompilerControlStatement _localctx = new SwCompilerControlStatement(_ctx, getState());
enterRule(_localctx, 514, RULE_compilerControlStatement);
try {
setState(2575);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__144:
enterOuterAlt(_localctx, 1);
{
setState(2572);
conditionalCompilationBlock();
}
break;
case T__157:
enterOuterAlt(_localctx, 2);
{
setState(2573);
lineControlStatement();
}
break;
case T__160:
case T__161:
enterOuterAlt(_localctx, 3);
{
setState(2574);
warningCompilationStatement();
}
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 SwConditionalCompilationBlock extends SwiftInnerNode {
public SwIfDirectiveClause ifDirectiveClause() {
return getRuleContext(SwIfDirectiveClause.class,0);
}
public SwElseifDirectiveClauses elseifDirectiveClauses() {
return getRuleContext(SwElseifDirectiveClauses.class,0);
}
public SwElseDirectiveClause elseDirectiveClause() {
return getRuleContext(SwElseDirectiveClause.class,0);
}
public SwConditionalCompilationBlock(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_conditionalCompilationBlock; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterConditionalCompilationBlock(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitConditionalCompilationBlock(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitConditionalCompilationBlock(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwConditionalCompilationBlock conditionalCompilationBlock() throws RecognitionException {
SwConditionalCompilationBlock _localctx = new SwConditionalCompilationBlock(_ctx, getState());
enterRule(_localctx, 516, RULE_conditionalCompilationBlock);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2577);
ifDirectiveClause();
setState(2579);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__145) {
{
setState(2578);
elseifDirectiveClauses();
}
}
setState(2582);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__146) {
{
setState(2581);
elseDirectiveClause();
}
}
setState(2584);
match(T__143);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwIfDirectiveClause extends SwiftInnerNode {
public SwCompilationCondition compilationCondition() {
return getRuleContext(SwCompilationCondition.class,0);
}
public SwStatements statements() {
return getRuleContext(SwStatements.class,0);
}
public SwIfDirectiveClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_ifDirectiveClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterIfDirectiveClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitIfDirectiveClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitIfDirectiveClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwIfDirectiveClause ifDirectiveClause() throws RecognitionException {
SwIfDirectiveClause _localctx = new SwIfDirectiveClause(_ctx, getState());
enterRule(_localctx, 518, RULE_ifDirectiveClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(2586);
match(T__144);
setState(2587);
compilationCondition(0);
setState(2589);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,316,_ctx) ) {
case 1:
{
setState(2588);
statements();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwElseifDirectiveClauses extends SwiftInnerNode {
public List elseifDirectiveClause() {
return getRuleContexts(SwElseifDirectiveClause.class);
}
public SwElseifDirectiveClause elseifDirectiveClause(int i) {
return getRuleContext(SwElseifDirectiveClause.class,i);
}
public SwElseifDirectiveClauses(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_elseifDirectiveClauses; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterElseifDirectiveClauses(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitElseifDirectiveClauses(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitElseifDirectiveClauses(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwElseifDirectiveClauses elseifDirectiveClauses() throws RecognitionException {
SwElseifDirectiveClauses _localctx = new SwElseifDirectiveClauses(_ctx, getState());
enterRule(_localctx, 520, RULE_elseifDirectiveClauses);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2592);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(2591);
elseifDirectiveClause();
}
}
setState(2594);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==T__145 );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwElseifDirectiveClause extends SwiftInnerNode {
public SwCompilationCondition compilationCondition() {
return getRuleContext(SwCompilationCondition.class,0);
}
public SwStatements statements() {
return getRuleContext(SwStatements.class,0);
}
public SwElseifDirectiveClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_elseifDirectiveClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterElseifDirectiveClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitElseifDirectiveClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitElseifDirectiveClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwElseifDirectiveClause elseifDirectiveClause() throws RecognitionException {
SwElseifDirectiveClause _localctx = new SwElseifDirectiveClause(_ctx, getState());
enterRule(_localctx, 522, RULE_elseifDirectiveClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(2596);
match(T__145);
setState(2597);
compilationCondition(0);
setState(2599);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,318,_ctx) ) {
case 1:
{
setState(2598);
statements();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwElseDirectiveClause extends SwiftInnerNode {
public SwStatements statements() {
return getRuleContext(SwStatements.class,0);
}
public SwElseDirectiveClause(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_elseDirectiveClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterElseDirectiveClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitElseDirectiveClause(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitElseDirectiveClause(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwElseDirectiveClause elseDirectiveClause() throws RecognitionException {
SwElseDirectiveClause _localctx = new SwElseDirectiveClause(_ctx, getState());
enterRule(_localctx, 524, RULE_elseDirectiveClause);
try {
enterOuterAlt(_localctx, 1);
{
setState(2601);
match(T__146);
setState(2603);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,319,_ctx) ) {
case 1:
{
setState(2602);
statements();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwCompilationCondition extends SwiftInnerNode {
public SwPlatformCondition platformCondition() {
return getRuleContext(SwPlatformCondition.class,0);
}
public SwIdentifier identifier() {
return getRuleContext(SwIdentifier.class,0);
}
public SwBooleanLiteral booleanLiteral() {
return getRuleContext(SwBooleanLiteral.class,0);
}
public List compilationCondition() {
return getRuleContexts(SwCompilationCondition.class);
}
public SwCompilationCondition compilationCondition(int i) {
return getRuleContext(SwCompilationCondition.class,i);
}
public SwCompilationCondition(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_compilationCondition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterCompilationCondition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitCompilationCondition(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitCompilationCondition(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwCompilationCondition compilationCondition() throws RecognitionException {
return compilationCondition(0);
}
private SwCompilationCondition compilationCondition(int _p) throws RecognitionException {
ParserRuleContext _parentctx = _ctx;
int _parentState = getState();
SwCompilationCondition _localctx = new SwCompilationCondition(_ctx, _parentState);
SwCompilationCondition _prevctx = _localctx;
int _startState = 526;
enterRecursionRule(_localctx, 526, RULE_compilationCondition, _p);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(2615);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,320,_ctx) ) {
case 1:
{
setState(2606);
platformCondition();
}
break;
case 2:
{
setState(2607);
identifier();
}
break;
case 3:
{
setState(2608);
booleanLiteral();
}
break;
case 4:
{
setState(2609);
match(T__28);
setState(2610);
compilationCondition(0);
setState(2611);
match(T__29);
}
break;
case 5:
{
setState(2613);
match(T__86);
setState(2614);
compilationCondition(2);
}
break;
}
_ctx.stop = _input.LT(-1);
setState(2622);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,321,_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 SwCompilationCondition(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_compilationCondition);
setState(2617);
if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
setState(2618);
_la = _input.LA(1);
if ( !(_la==T__134 || _la==T__135) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(2619);
compilationCondition(2);
}
}
}
setState(2624);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,321,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
unrollRecursionContexts(_parentctx);
}
return _localctx;
}
public static class SwPlatformCondition extends SwiftInnerNode {
public SwOperatingSystem operatingSystem() {
return getRuleContext(SwOperatingSystem.class,0);
}
public SwArchitecture architecture() {
return getRuleContext(SwArchitecture.class,0);
}
public SwSwiftVersion swiftVersion() {
return getRuleContext(SwSwiftVersion.class,0);
}
public SwModuleName moduleName() {
return getRuleContext(SwModuleName.class,0);
}
public SwPlatformCondition(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_platformCondition; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterPlatformCondition(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitPlatformCondition(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitPlatformCondition(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwPlatformCondition platformCondition() throws RecognitionException {
SwPlatformCondition _localctx = new SwPlatformCondition(_ctx, getState());
enterRule(_localctx, 528, RULE_platformCondition);
try {
setState(2650);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__147:
enterOuterAlt(_localctx, 1);
{
setState(2625);
match(T__147);
setState(2626);
match(T__28);
setState(2627);
operatingSystem();
setState(2628);
match(T__29);
}
break;
case T__148:
enterOuterAlt(_localctx, 2);
{
setState(2630);
match(T__148);
setState(2631);
match(T__28);
setState(2632);
architecture();
setState(2633);
match(T__29);
}
break;
case T__149:
enterOuterAlt(_localctx, 3);
{
setState(2635);
match(T__149);
setState(2636);
match(T__28);
setState(2637);
match(T__136);
setState(2638);
swiftVersion();
setState(2639);
match(T__29);
}
break;
case T__150:
enterOuterAlt(_localctx, 4);
{
setState(2641);
match(T__150);
setState(2642);
match(T__28);
setState(2643);
moduleName();
setState(2644);
match(T__29);
}
break;
case T__151:
enterOuterAlt(_localctx, 5);
{
setState(2646);
match(T__151);
setState(2647);
match(T__28);
setState(2648);
match(T__152);
setState(2649);
match(T__29);
}
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 SwOperatingSystem extends SwiftInnerNode {
public SwOperatingSystem(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_operatingSystem; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterOperatingSystem(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitOperatingSystem(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitOperatingSystem(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwOperatingSystem operatingSystem() throws RecognitionException {
SwOperatingSystem _localctx = new SwOperatingSystem(_ctx, getState());
enterRule(_localctx, 530, RULE_operatingSystem);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2652);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__31) | (1L << T__33) | (1L << T__35) | (1L << T__37))) != 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 SwArchitecture extends SwiftInnerNode {
public SwArchitecture(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_architecture; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterArchitecture(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitArchitecture(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitArchitecture(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwArchitecture architecture() throws RecognitionException {
SwArchitecture _localctx = new SwArchitecture(_ctx, getState());
enterRule(_localctx, 532, RULE_architecture);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2654);
_la = _input.LA(1);
if ( !(((((_la - 154)) & ~0x3f) == 0 && ((1L << (_la - 154)) & ((1L << (T__153 - 154)) | (1L << (T__154 - 154)) | (1L << (T__155 - 154)) | (1L << (T__156 - 154)))) != 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 SwSwiftVersion extends SwiftInnerNode {
public TerminalNode FloatingPointLiteral() { return getToken(SwiftParser.FloatingPointLiteral, 0); }
public SwSwiftVersion(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_swiftVersion; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterSwiftVersion(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitSwiftVersion(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitSwiftVersion(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwSwiftVersion swiftVersion() throws RecognitionException {
SwSwiftVersion _localctx = new SwSwiftVersion(_ctx, getState());
enterRule(_localctx, 534, RULE_swiftVersion);
try {
enterOuterAlt(_localctx, 1);
{
setState(2656);
match(FloatingPointLiteral);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwModuleName extends SwiftInnerNode {
public TerminalNode IdentifierCharacters() { return getToken(SwiftParser.IdentifierCharacters, 0); }
public SwModuleName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_moduleName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterModuleName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitModuleName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitModuleName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwModuleName moduleName() throws RecognitionException {
SwModuleName _localctx = new SwModuleName(_ctx, getState());
enterRule(_localctx, 536, RULE_moduleName);
try {
enterOuterAlt(_localctx, 1);
{
setState(2658);
match(IdentifierCharacters);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwLineControlStatement extends SwiftInnerNode {
public SwFileName fileName() {
return getRuleContext(SwFileName.class,0);
}
public SwLineNumber lineNumber() {
return getRuleContext(SwLineNumber.class,0);
}
public SwLineControlStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_lineControlStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterLineControlStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitLineControlStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitLineControlStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwLineControlStatement lineControlStatement() throws RecognitionException {
SwLineControlStatement _localctx = new SwLineControlStatement(_ctx, getState());
enterRule(_localctx, 538, RULE_lineControlStatement);
try {
setState(2674);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,323,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2660);
match(T__157);
setState(2661);
match(T__28);
setState(2662);
match(T__158);
setState(2663);
match(T__1);
setState(2664);
fileName();
setState(2665);
match(T__13);
setState(2666);
match(T__159);
setState(2667);
match(T__1);
setState(2668);
lineNumber();
setState(2669);
match(T__29);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2671);
match(T__157);
setState(2672);
match(T__28);
setState(2673);
match(T__29);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwLineNumber extends SwiftInnerNode {
public SwIntegerLiteral integerLiteral() {
return getRuleContext(SwIntegerLiteral.class,0);
}
public SwLineNumber(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_lineNumber; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterLineNumber(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitLineNumber(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitLineNumber(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwLineNumber lineNumber() throws RecognitionException {
SwLineNumber _localctx = new SwLineNumber(_ctx, getState());
enterRule(_localctx, 540, RULE_lineNumber);
try {
enterOuterAlt(_localctx, 1);
{
setState(2676);
integerLiteral();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwFileName extends SwiftInnerNode {
public TerminalNode SingleStringLiteral() { return getToken(SwiftParser.SingleStringLiteral, 0); }
public SwFileName(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_fileName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterFileName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitFileName(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitFileName(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwFileName fileName() throws RecognitionException {
SwFileName _localctx = new SwFileName(_ctx, getState());
enterRule(_localctx, 542, RULE_fileName);
try {
enterOuterAlt(_localctx, 1);
{
setState(2678);
match(SingleStringLiteral);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwWarningCompilationStatement extends SwiftInnerNode {
public TerminalNode SingleStringLiteral() { return getToken(SwiftParser.SingleStringLiteral, 0); }
public SwWarningCompilationStatement(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_warningCompilationStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterWarningCompilationStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitWarningCompilationStatement(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitWarningCompilationStatement(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwWarningCompilationStatement warningCompilationStatement() throws RecognitionException {
SwWarningCompilationStatement _localctx = new SwWarningCompilationStatement(_ctx, getState());
enterRule(_localctx, 544, RULE_warningCompilationStatement);
try {
setState(2685);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__160:
enterOuterAlt(_localctx, 1);
{
setState(2680);
match(T__160);
}
break;
case T__161:
enterOuterAlt(_localctx, 2);
{
setState(2681);
match(T__161);
setState(2682);
match(T__28);
setState(2683);
match(SingleStringLiteral);
setState(2684);
match(T__29);
}
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 SwIdentifier extends SwiftInnerNode {
public TerminalNode Identifier() { return getToken(SwiftParser.Identifier, 0); }
public SwContextSensitiveKeyword contextSensitiveKeyword() {
return getRuleContext(SwContextSensitiveKeyword.class,0);
}
public SwGrammarString grammarString() {
return getRuleContext(SwGrammarString.class,0);
}
public SwIdentifier(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_identifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterIdentifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitIdentifier(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitIdentifier(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwIdentifier identifier() throws RecognitionException {
SwIdentifier _localctx = new SwIdentifier(_ctx, getState());
enterRule(_localctx, 546, RULE_identifier);
try {
setState(2690);
_errHandler.sync(this);
switch (_input.LA(1)) {
case Identifier:
enterOuterAlt(_localctx, 1);
{
setState(2687);
match(Identifier);
}
break;
case T__14:
case T__24:
case T__31:
case T__32:
case T__33:
case T__35:
case T__37:
case T__43:
case T__44:
case T__45:
case T__46:
case T__47:
case T__48:
case T__49:
case T__50:
case T__51:
case T__52:
case T__54:
case T__55:
case T__57:
case T__59:
case T__64:
case T__65:
case T__74:
case T__75:
case T__76:
case T__82:
case T__90:
case T__95:
case T__96:
case T__97:
case T__98:
case T__137:
case T__138:
case T__139:
case T__141:
case T__147:
case T__148:
case T__153:
case T__154:
case T__155:
case T__156:
case T__158:
case T__159:
case T__165:
case T__166:
enterOuterAlt(_localctx, 2);
{
setState(2688);
contextSensitiveKeyword();
}
break;
case T__115:
case T__116:
case T__117:
case T__118:
case T__120:
case T__132:
case T__133:
enterOuterAlt(_localctx, 3);
{
setState(2689);
grammarString();
}
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 SwKeyword extends SwiftInnerNode {
public TerminalNode NilLiteral() { return getToken(SwiftParser.NilLiteral, 0); }
public TerminalNode BooleanLiteral() { return getToken(SwiftParser.BooleanLiteral, 0); }
public SwKeyword(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_keyword; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterKeyword(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitKeyword(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitKeyword(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwKeyword keyword() throws RecognitionException {
SwKeyword _localctx = new SwKeyword(_ctx, getState());
enterRule(_localctx, 548, RULE_keyword);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2692);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__24) | (1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__42) | (1L << T__53) | (1L << T__58) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__66 - 64)) | (1L << (T__67 - 64)) | (1L << (T__68 - 64)) | (1L << (T__69 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (T__77 - 64)) | (1L << (T__78 - 64)) | (1L << (T__81 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (T__99 - 64)) | (1L << (T__100 - 64)) | (1L << (T__109 - 64)) | (1L << (T__110 - 64)) | (1L << (T__111 - 64)) | (1L << (T__112 - 64)) | (1L << (T__113 - 64)) | (1L << (T__114 - 64)) | (1L << (T__122 - 64)) | (1L << (T__123 - 64)))) != 0) || ((((_la - 128)) & ~0x3f) == 0 && ((1L << (_la - 128)) & ((1L << (T__127 - 128)) | (1L << (T__140 - 128)) | (1L << (T__141 - 128)) | (1L << (T__142 - 128)) | (1L << (T__143 - 128)) | (1L << (T__144 - 128)) | (1L << (T__145 - 128)) | (1L << (T__146 - 128)) | (1L << (T__162 - 128)) | (1L << (T__163 - 128)) | (1L << (T__164 - 128)) | (1L << (BooleanLiteral - 128)) | (1L << (NilLiteral - 128)))) != 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 SwContextSensitiveKeyword extends SwiftInnerNode {
public SwContextSensitiveKeyword(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_contextSensitiveKeyword; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterContextSensitiveKeyword(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitContextSensitiveKeyword(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitContextSensitiveKeyword(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwContextSensitiveKeyword contextSensitiveKeyword() throws RecognitionException {
SwContextSensitiveKeyword _localctx = new SwContextSensitiveKeyword(_ctx, getState());
enterRule(_localctx, 550, RULE_contextSensitiveKeyword);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2694);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__14) | (1L << T__24) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__35) | (1L << T__37) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46) | (1L << T__47) | (1L << T__48) | (1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__54) | (1L << T__55) | (1L << T__57) | (1L << T__59))) != 0) || ((((_la - 65)) & ~0x3f) == 0 && ((1L << (_la - 65)) & ((1L << (T__64 - 65)) | (1L << (T__65 - 65)) | (1L << (T__74 - 65)) | (1L << (T__75 - 65)) | (1L << (T__76 - 65)) | (1L << (T__82 - 65)) | (1L << (T__90 - 65)) | (1L << (T__95 - 65)) | (1L << (T__96 - 65)) | (1L << (T__97 - 65)) | (1L << (T__98 - 65)))) != 0) || ((((_la - 138)) & ~0x3f) == 0 && ((1L << (_la - 138)) & ((1L << (T__137 - 138)) | (1L << (T__138 - 138)) | (1L << (T__139 - 138)) | (1L << (T__141 - 138)) | (1L << (T__147 - 138)) | (1L << (T__148 - 138)) | (1L << (T__153 - 138)) | (1L << (T__154 - 138)) | (1L << (T__155 - 138)) | (1L << (T__156 - 138)) | (1L << (T__158 - 138)) | (1L << (T__159 - 138)) | (1L << (T__165 - 138)) | (1L << (T__166 - 138)))) != 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 SwGrammarString extends SwiftInnerNode {
public SwGrammarString(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_grammarString; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterGrammarString(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitGrammarString(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitGrammarString(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwGrammarString grammarString() throws RecognitionException {
SwGrammarString _localctx = new SwGrammarString(_ctx, getState());
enterRule(_localctx, 552, RULE_grammarString);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2696);
_la = _input.LA(1);
if ( !(((((_la - 116)) & ~0x3f) == 0 && ((1L << (_la - 116)) & ((1L << (T__115 - 116)) | (1L << (T__116 - 116)) | (1L << (T__117 - 116)) | (1L << (T__118 - 116)) | (1L << (T__120 - 116)) | (1L << (T__132 - 116)) | (1L << (T__133 - 116)))) != 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 SwIdentifierList extends SwiftInnerNode {
public List identifier() {
return getRuleContexts(SwIdentifier.class);
}
public SwIdentifier identifier(int i) {
return getRuleContext(SwIdentifier.class,i);
}
public SwIdentifierList(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_identifierList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterIdentifierList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitIdentifierList(this);
}
@Override
public R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitIdentifierList(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwIdentifierList identifierList() throws RecognitionException {
SwIdentifierList _localctx = new SwIdentifierList(_ctx, getState());
enterRule(_localctx, 554, RULE_identifierList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2700);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__14:
case T__24:
case T__31:
case T__32:
case T__33:
case T__35:
case T__37:
case T__43:
case T__44:
case T__45:
case T__46:
case T__47:
case T__48:
case T__49:
case T__50:
case T__51:
case T__52:
case T__54:
case T__55:
case T__57:
case T__59:
case T__64:
case T__65:
case T__74:
case T__75:
case T__76:
case T__82:
case T__90:
case T__95:
case T__96:
case T__97:
case T__98:
case T__115:
case T__116:
case T__117:
case T__118:
case T__120:
case T__132:
case T__133:
case T__137:
case T__138:
case T__139:
case T__141:
case T__147:
case T__148:
case T__153:
case T__154:
case T__155:
case T__156:
case T__158:
case T__159:
case T__165:
case T__166:
case Identifier:
{
setState(2698);
identifier();
}
break;
case T__81:
{
setState(2699);
match(T__81);
}
break;
default:
throw new NoViableAltException(this);
}
setState(2709);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==T__13) {
{
{
setState(2702);
match(T__13);
setState(2705);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__14:
case T__24:
case T__31:
case T__32:
case T__33:
case T__35:
case T__37:
case T__43:
case T__44:
case T__45:
case T__46:
case T__47:
case T__48:
case T__49:
case T__50:
case T__51:
case T__52:
case T__54:
case T__55:
case T__57:
case T__59:
case T__64:
case T__65:
case T__74:
case T__75:
case T__76:
case T__82:
case T__90:
case T__95:
case T__96:
case T__97:
case T__98:
case T__115:
case T__116:
case T__117:
case T__118:
case T__120:
case T__132:
case T__133:
case T__137:
case T__138:
case T__139:
case T__141:
case T__147:
case T__148:
case T__153:
case T__154:
case T__155:
case T__156:
case T__158:
case T__159:
case T__165:
case T__166:
case Identifier:
{
setState(2703);
identifier();
}
break;
case T__81:
{
setState(2704);
match(T__81);
}
break;
default:
throw new NoViableAltException(this);
}
}
}
setState(2711);
_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 SwBooleanLiteral extends SwiftInnerNode {
public TerminalNode BooleanLiteral() { return getToken(SwiftParser.BooleanLiteral, 0); }
public SwBooleanLiteral(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_booleanLiteral; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterBooleanLiteral(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitBooleanLiteral(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitBooleanLiteral(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwBooleanLiteral booleanLiteral() throws RecognitionException {
SwBooleanLiteral _localctx = new SwBooleanLiteral(_ctx, getState());
enterRule(_localctx, 556, RULE_booleanLiteral);
try {
enterOuterAlt(_localctx, 1);
{
setState(2712);
match(BooleanLiteral);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwLiteral extends SwiftInnerNode {
public SwNumericLiteral numericLiteral() {
return getRuleContext(SwNumericLiteral.class,0);
}
public TerminalNode MultiStringLiteral() { return getToken(SwiftParser.MultiStringLiteral, 0); }
public TerminalNode SingleStringLiteral() { return getToken(SwiftParser.SingleStringLiteral, 0); }
public TerminalNode BooleanLiteral() { return getToken(SwiftParser.BooleanLiteral, 0); }
public TerminalNode NilLiteral() { return getToken(SwiftParser.NilLiteral, 0); }
public TerminalNode RawMultiStringLiteral() { return getToken(SwiftParser.RawMultiStringLiteral, 0); }
public TerminalNode RawSingleStringLiteral() { return getToken(SwiftParser.RawSingleStringLiteral, 0); }
public SwLiteral(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_literal; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterLiteral(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitLiteral(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitLiteral(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwLiteral literal() throws RecognitionException {
SwLiteral _localctx = new SwLiteral(_ctx, getState());
enterRule(_localctx, 558, RULE_literal);
try {
setState(2721);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__104:
case BinaryLiteral:
case OctalLiteral:
case DecimalLiteral:
case HexadecimalLiteral:
case FloatingPointLiteral:
enterOuterAlt(_localctx, 1);
{
setState(2714);
numericLiteral();
}
break;
case MultiStringLiteral:
enterOuterAlt(_localctx, 2);
{
setState(2715);
match(MultiStringLiteral);
}
break;
case SingleStringLiteral:
enterOuterAlt(_localctx, 3);
{
setState(2716);
match(SingleStringLiteral);
}
break;
case BooleanLiteral:
enterOuterAlt(_localctx, 4);
{
setState(2717);
match(BooleanLiteral);
}
break;
case NilLiteral:
enterOuterAlt(_localctx, 5);
{
setState(2718);
match(NilLiteral);
}
break;
case RawMultiStringLiteral:
enterOuterAlt(_localctx, 6);
{
setState(2719);
match(RawMultiStringLiteral);
}
break;
case RawSingleStringLiteral:
enterOuterAlt(_localctx, 7);
{
setState(2720);
match(RawSingleStringLiteral);
}
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 SwNumericLiteral extends SwiftInnerNode {
public SwIntegerLiteral integerLiteral() {
return getRuleContext(SwIntegerLiteral.class,0);
}
public TerminalNode FloatingPointLiteral() { return getToken(SwiftParser.FloatingPointLiteral, 0); }
public SwNumericLiteral(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_numericLiteral; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterNumericLiteral(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitNumericLiteral(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitNumericLiteral(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwNumericLiteral numericLiteral() throws RecognitionException {
SwNumericLiteral _localctx = new SwNumericLiteral(_ctx, getState());
enterRule(_localctx, 560, RULE_numericLiteral);
int _la;
try {
setState(2731);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,332,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(2724);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__104) {
{
setState(2723);
match(T__104);
}
}
setState(2726);
integerLiteral();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(2728);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==T__104) {
{
setState(2727);
match(T__104);
}
}
setState(2730);
match(FloatingPointLiteral);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwIntegerLiteral extends SwiftInnerNode {
public TerminalNode BinaryLiteral() { return getToken(SwiftParser.BinaryLiteral, 0); }
public TerminalNode OctalLiteral() { return getToken(SwiftParser.OctalLiteral, 0); }
public TerminalNode DecimalLiteral() { return getToken(SwiftParser.DecimalLiteral, 0); }
public TerminalNode HexadecimalLiteral() { return getToken(SwiftParser.HexadecimalLiteral, 0); }
public SwIntegerLiteral(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_integerLiteral; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).enterIntegerLiteral(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof SwiftListener ) ((SwiftListener)listener).exitIntegerLiteral(this);
}
@Override
public
R acceptVisitor(AstVisitor super P, ? extends R> visitor, P data) {
if ( visitor instanceof SwiftVisitor ) return ((SwiftVisitor super P, ? extends R>) visitor).visitIntegerLiteral(this, data);
else return super.acceptVisitor(visitor, data);
}
}
public final SwIntegerLiteral integerLiteral() throws RecognitionException {
SwIntegerLiteral _localctx = new SwIntegerLiteral(_ctx, getState());
enterRule(_localctx, 562, RULE_integerLiteral);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(2733);
_la = _input.LA(1);
if ( !(((((_la - 175)) & ~0x3f) == 0 && ((1L << (_la - 175)) & ((1L << (BinaryLiteral - 175)) | (1L << (OctalLiteral - 175)) | (1L << (DecimalLiteral - 175)) | (1L << (HexadecimalLiteral - 175)))) != 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 boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) {
switch (ruleIndex) {
case 161:
return pattern_sempred((SwPattern) asPmdNode(_localctx), predIndex);
case 220:
return postfixExpression_sempred((SwPostfixExpression) asPmdNode(_localctx), predIndex);
case 233:
return sType_sempred((SwSType) asPmdNode(_localctx), predIndex);
case 263:
return compilationCondition_sempred((SwCompilationCondition) asPmdNode(_localctx), predIndex);
}
return true;
}
private boolean pattern_sempred(SwPattern _localctx, int predIndex) {
switch (predIndex) {
case 0:
return precpred(_ctx, 2);
}
return true;
}
private boolean postfixExpression_sempred(SwPostfixExpression _localctx, int predIndex) {
switch (predIndex) {
case 1:
return precpred(_ctx, 13);
case 2:
return precpred(_ctx, 12);
case 3:
return precpred(_ctx, 11);
case 4:
return precpred(_ctx, 10);
case 5:
return precpred(_ctx, 9);
case 6:
return precpred(_ctx, 8);
case 7:
return precpred(_ctx, 7);
case 8:
return precpred(_ctx, 6);
case 9:
return precpred(_ctx, 5);
case 10:
return precpred(_ctx, 3);
case 11:
return precpred(_ctx, 2);
case 12:
return precpred(_ctx, 1);
}
return true;
}
private boolean sType_sempred(SwSType _localctx, int predIndex) {
switch (predIndex) {
case 13:
return precpred(_ctx, 8);
case 14:
return precpred(_ctx, 7);
case 15:
return precpred(_ctx, 4);
case 16:
return precpred(_ctx, 3);
}
return true;
}
private boolean compilationCondition_sempred(SwCompilationCondition _localctx, int predIndex) {
switch (predIndex) {
case 17:
return precpred(_ctx, 1);
}
return true;
}
private static final int _serializedATNSegments = 2;
private static final String _serializedATNSegment0 =
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3\u00c0\u0ab2\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\4p\tp\4q\tq\4r\tr\4s\ts\4t\tt\4u\tu\4v\tv\4"+
"w\tw\4x\tx\4y\ty\4z\tz\4{\t{\4|\t|\4}\t}\4~\t~\4\177\t\177\4\u0080\t\u0080"+
"\4\u0081\t\u0081\4\u0082\t\u0082\4\u0083\t\u0083\4\u0084\t\u0084\4\u0085"+
"\t\u0085\4\u0086\t\u0086\4\u0087\t\u0087\4\u0088\t\u0088\4\u0089\t\u0089"+
"\4\u008a\t\u008a\4\u008b\t\u008b\4\u008c\t\u008c\4\u008d\t\u008d\4\u008e"+
"\t\u008e\4\u008f\t\u008f\4\u0090\t\u0090\4\u0091\t\u0091\4\u0092\t\u0092"+
"\4\u0093\t\u0093\4\u0094\t\u0094\4\u0095\t\u0095\4\u0096\t\u0096\4\u0097"+
"\t\u0097\4\u0098\t\u0098\4\u0099\t\u0099\4\u009a\t\u009a\4\u009b\t\u009b"+
"\4\u009c\t\u009c\4\u009d\t\u009d\4\u009e\t\u009e\4\u009f\t\u009f\4\u00a0"+
"\t\u00a0\4\u00a1\t\u00a1\4\u00a2\t\u00a2\4\u00a3\t\u00a3\4\u00a4\t\u00a4"+
"\4\u00a5\t\u00a5\4\u00a6\t\u00a6\4\u00a7\t\u00a7\4\u00a8\t\u00a8\4\u00a9"+
"\t\u00a9\4\u00aa\t\u00aa\4\u00ab\t\u00ab\4\u00ac\t\u00ac\4\u00ad\t\u00ad"+
"\4\u00ae\t\u00ae\4\u00af\t\u00af\4\u00b0\t\u00b0\4\u00b1\t\u00b1\4\u00b2"+
"\t\u00b2\4\u00b3\t\u00b3\4\u00b4\t\u00b4\4\u00b5\t\u00b5\4\u00b6\t\u00b6"+
"\4\u00b7\t\u00b7\4\u00b8\t\u00b8\4\u00b9\t\u00b9\4\u00ba\t\u00ba\4\u00bb"+
"\t\u00bb\4\u00bc\t\u00bc\4\u00bd\t\u00bd\4\u00be\t\u00be\4\u00bf\t\u00bf"+
"\4\u00c0\t\u00c0\4\u00c1\t\u00c1\4\u00c2\t\u00c2\4\u00c3\t\u00c3\4\u00c4"+
"\t\u00c4\4\u00c5\t\u00c5\4\u00c6\t\u00c6\4\u00c7\t\u00c7\4\u00c8\t\u00c8"+
"\4\u00c9\t\u00c9\4\u00ca\t\u00ca\4\u00cb\t\u00cb\4\u00cc\t\u00cc\4\u00cd"+
"\t\u00cd\4\u00ce\t\u00ce\4\u00cf\t\u00cf\4\u00d0\t\u00d0\4\u00d1\t\u00d1"+
"\4\u00d2\t\u00d2\4\u00d3\t\u00d3\4\u00d4\t\u00d4\4\u00d5\t\u00d5\4\u00d6"+
"\t\u00d6\4\u00d7\t\u00d7\4\u00d8\t\u00d8\4\u00d9\t\u00d9\4\u00da\t\u00da"+
"\4\u00db\t\u00db\4\u00dc\t\u00dc\4\u00dd\t\u00dd\4\u00de\t\u00de\4\u00df"+
"\t\u00df\4\u00e0\t\u00e0\4\u00e1\t\u00e1\4\u00e2\t\u00e2\4\u00e3\t\u00e3"+
"\4\u00e4\t\u00e4\4\u00e5\t\u00e5\4\u00e6\t\u00e6\4\u00e7\t\u00e7\4\u00e8"+
"\t\u00e8\4\u00e9\t\u00e9\4\u00ea\t\u00ea\4\u00eb\t\u00eb\4\u00ec\t\u00ec"+
"\4\u00ed\t\u00ed\4\u00ee\t\u00ee\4\u00ef\t\u00ef\4\u00f0\t\u00f0\4\u00f1"+
"\t\u00f1\4\u00f2\t\u00f2\4\u00f3\t\u00f3\4\u00f4\t\u00f4\4\u00f5\t\u00f5"+
"\4\u00f6\t\u00f6\4\u00f7\t\u00f7\4\u00f8\t\u00f8\4\u00f9\t\u00f9\4\u00fa"+
"\t\u00fa\4\u00fb\t\u00fb\4\u00fc\t\u00fc\4\u00fd\t\u00fd\4\u00fe\t\u00fe"+
"\4\u00ff\t\u00ff\4\u0100\t\u0100\4\u0101\t\u0101\4\u0102\t\u0102\4\u0103"+
"\t\u0103\4\u0104\t\u0104\4\u0105\t\u0105\4\u0106\t\u0106\4\u0107\t\u0107"+
"\4\u0108\t\u0108\4\u0109\t\u0109\4\u010a\t\u010a\4\u010b\t\u010b\4\u010c"+
"\t\u010c\4\u010d\t\u010d\4\u010e\t\u010e\4\u010f\t\u010f\4\u0110\t\u0110"+
"\4\u0111\t\u0111\4\u0112\t\u0112\4\u0113\t\u0113\4\u0114\t\u0114\4\u0115"+
"\t\u0115\4\u0116\t\u0116\4\u0117\t\u0117\4\u0118\t\u0118\4\u0119\t\u0119"+
"\4\u011a\t\u011a\4\u011b\t\u011b\3\2\5\2\u0238\n\2\3\2\3\2\3\3\3\3\5\3"+
"\u023e\n\3\3\3\3\3\5\3\u0242\n\3\3\3\3\3\5\3\u0246\n\3\3\3\3\3\3\3\5\3"+
"\u024b\n\3\3\3\3\3\5\3\u024f\n\3\3\3\3\3\5\3\u0253\n\3\3\3\3\3\5\3\u0257"+
"\n\3\3\3\3\3\5\3\u025b\n\3\5\3\u025d\n\3\3\4\6\4\u0260\n\4\r\4\16\4\u0261"+
"\3\5\3\5\3\5\5\5\u0267\n\5\3\6\3\6\5\6\u026b\n\6\3\6\3\6\3\6\3\6\5\6\u0271"+
"\n\6\3\6\3\6\3\7\3\7\3\7\3\7\3\b\3\b\3\b\3\b\3\b\3\t\3\t\3\t\5\t\u0281"+
"\n\t\3\n\3\n\3\n\3\n\5\n\u0287\n\n\3\13\3\13\3\13\3\13\5\13\u028d\n\13"+
"\3\f\3\f\3\f\3\f\3\f\3\r\3\r\3\r\3\r\5\r\u0298\n\r\3\r\3\r\3\16\6\16\u029d"+
"\n\16\r\16\16\16\u029e\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3"+
"\17\3\17\3\17\5\17\u02ad\n\17\3\20\3\20\3\20\3\20\3\21\3\21\3\21\7\21"+
"\u02b6\n\21\f\21\16\21\u02b9\13\21\3\22\3\22\5\22\u02bd\n\22\3\23\3\23"+
"\3\23\3\24\3\24\3\24\3\24\3\24\5\24\u02c7\n\24\3\25\3\25\3\25\3\26\3\26"+
"\3\27\3\27\3\27\3\27\3\27\5\27\u02d3\n\27\3\30\3\30\5\30\u02d7\n\30\3"+
"\31\3\31\5\31\u02db\n\31\3\32\3\32\3\33\3\33\5\33\u02e1\n\33\3\34\3\34"+
"\3\34\3\35\3\35\3\35\3\36\3\36\3\36\5\36\u02ec\n\36\3\37\3\37\5\37\u02f0"+
"\n\37\3 \3 \5 \u02f4\n \3 \5 \u02f7\n \3 \3 \3!\3!\3!\7!\u02fe\n!\f!\16"+
"!\u0301\13!\3\"\3\"\3\"\3\"\5\"\u0307\n\"\3#\3#\3#\3#\3$\3$\3$\3$\3%\3"+
"%\3%\3&\3&\3\'\3\'\3\'\3\'\3\'\3\'\5\'\u031c\n\'\3(\3(\3(\7(\u0321\n("+
"\f(\16(\u0324\13(\3)\3)\3)\3)\5)\u032a\n)\3*\3*\3+\3+\3,\3,\3,\3,\3-\3"+
"-\3-\7-\u0337\n-\f-\16-\u033a\13-\3.\3.\3.\3.\3.\3.\3.\3.\3.\5.\u0345"+
"\n.\3/\3/\3/\3\60\3\60\3\60\7\60\u034d\n\60\f\60\16\60\u0350\13\60\3\61"+
"\3\61\5\61\u0354\n\61\3\62\3\62\3\62\3\62\3\62\3\62\3\62\3\62\5\62\u035e"+
"\n\62\3\63\3\63\3\63\3\63\3\64\3\64\3\64\3\64\3\65\3\65\3\65\7\65\u036b"+
"\n\65\f\65\16\65\u036e\13\65\3\66\3\66\3\67\3\67\5\67\u0374\n\67\3\67"+
"\3\67\5\67\u0378\n\67\3\67\3\67\5\67\u037c\n\67\3\67\3\67\5\67\u0380\n"+
"\67\3\67\3\67\5\67\u0384\n\67\3\67\3\67\5\67\u0388\n\67\3\67\3\67\5\67"+
"\u038c\n\67\3\67\3\67\5\67\u0390\n\67\3\67\3\67\5\67\u0394\n\67\3\67\3"+
"\67\5\67\u0398\n\67\3\67\3\67\5\67\u039c\n\67\3\67\3\67\5\67\u03a0\n\67"+
"\3\67\3\67\5\67\u03a4\n\67\3\67\3\67\5\67\u03a8\n\67\3\67\3\67\5\67\u03ac"+
"\n\67\3\67\3\67\5\67\u03b0\n\67\5\67\u03b2\n\67\38\68\u03b5\n8\r8\168"+
"\u03b6\39\69\u03ba\n9\r9\169\u03bb\3:\3:\3:\3:\3:\3:\3:\3:\3:\3:\3:\3"+
":\3:\3:\3:\3:\3:\3:\3:\3:\3:\3:\3:\3:\5:\u03d6\n:\3;\3;\3;\3;\3;\3;\3"+
";\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\5;\u03f1\n;\3"+
"<\6<\u03f4\n<\r<\16<\u03f5\3=\3=\3>\3>\5>\u03fc\n>\3>\3>\3?\5?\u0401\n"+
"?\3?\3?\5?\u0405\n?\3?\3?\3@\3@\3A\3A\3A\3A\3A\5A\u0410\nA\3B\3B\5B\u0414"+
"\nB\3C\5C\u0417\nC\3C\5C\u041a\nC\3C\3C\3C\3D\3D\3D\7D\u0422\nD\fD\16"+
"D\u0425\13D\3E\3E\5E\u0429\nE\3F\3F\3F\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3"+
"G\3G\3G\3G\3G\3G\3G\3G\3G\5G\u0441\nG\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\5"+
"G\u044d\nG\3H\5H\u0450\nH\3H\5H\u0453\nH\3H\3H\3I\3I\3J\3J\3J\5J\u045c"+
"\nJ\3J\3J\3J\3J\3J\3J\3J\5J\u0465\nJ\3K\5K\u0468\nK\3K\5K\u046b\nK\3K"+
"\3K\3K\3L\5L\u0471\nL\3L\5L\u0474\nL\3L\3L\5L\u0478\nL\3L\3L\3M\3M\3M"+
"\3M\3N\3N\3N\5N\u0483\nN\3N\3N\3N\3N\3N\3N\3N\5N\u048c\nN\3O\5O\u048f"+
"\nO\3O\3O\3P\5P\u0494\nP\3P\3P\3Q\3Q\3Q\5Q\u049b\nQ\3Q\3Q\3Q\3Q\3Q\5Q"+
"\u04a2\nQ\3Q\3Q\5Q\u04a6\nQ\3R\5R\u04a9\nR\3R\3R\5R\u04ad\nR\3R\3R\3S"+
"\5S\u04b2\nS\3S\3S\5S\u04b6\nS\3S\3S\3T\3T\3T\3U\5U\u04be\nU\3U\5U\u04c1"+
"\nU\3U\3U\3U\5U\u04c6\nU\3V\3V\3W\3W\3W\3X\3X\3X\5X\u04d0\nX\3X\3X\5X"+
"\u04d4\nX\3X\3X\3X\3X\3X\5X\u04db\nX\3X\3X\5X\u04df\nX\5X\u04e1\nX\3Y"+
"\5Y\u04e4\nY\3Y\5Y\u04e7\nY\3Y\3Y\3Z\3Z\5Z\u04ed\nZ\3[\3[\5[\u04f1\n["+
"\3[\5[\u04f4\n[\3\\\3\\\5\\\u04f8\n\\\3\\\3\\\3]\3]\3^\3^\3^\3^\3^\5^"+
"\u0503\n^\3^\3^\5^\u0507\n^\3_\3_\3_\7_\u050c\n_\f_\16_\u050f\13_\3`\5"+
"`\u0512\n`\3`\5`\u0515\n`\3`\3`\3`\5`\u051a\n`\3`\5`\u051d\n`\3`\5`\u0520"+
"\n`\3`\3`\3`\3`\5`\u0526\n`\3a\3a\3a\5a\u052b\na\3b\3b\5b\u052f\nb\3c"+
"\3c\3c\3d\5d\u0535\nd\3d\5d\u0538\nd\3d\3d\3e\3e\5e\u053e\ne\3f\5f\u0541"+
"\nf\3f\3f\3f\5f\u0546\nf\3f\5f\u0549\nf\3f\5f\u054c\nf\3f\3f\5f\u0550"+
"\nf\3f\3f\3g\6g\u0555\ng\rg\16g\u0556\3h\3h\3h\5h\u055c\nh\3h\5h\u055f"+
"\nh\3i\5i\u0562\ni\3i\5i\u0565\ni\3i\3i\3i\3j\3j\3j\7j\u056d\nj\fj\16"+
"j\u0570\13j\3k\3k\5k\u0574\nk\3l\3l\3m\3m\3n\3n\3n\5n\u057d\nn\3n\5n\u0580"+
"\nn\3n\5n\u0583\nn\3n\3n\5n\u0587\nn\3n\3n\3o\6o\u058c\no\ro\16o\u058d"+
"\3p\3p\3p\5p\u0593\np\3q\5q\u0596\nq\3q\3q\3q\3r\3r\3r\7r\u059e\nr\fr"+
"\16r\u05a1\13r\3s\3s\5s\u05a5\ns\3t\3t\3t\3u\5u\u05ab\nu\3u\5u\u05ae\n"+
"u\3u\3u\3u\5u\u05b3\nu\3u\5u\u05b6\nu\3u\5u\u05b9\nu\3u\3u\3v\3v\3w\3"+
"w\5w\u05c1\nw\3w\3w\3x\6x\u05c6\nx\rx\16x\u05c7\3y\3y\5y\u05cc\ny\3z\5"+
"z\u05cf\nz\3z\5z\u05d2\nz\3z\3z\3z\5z\u05d7\nz\3z\5z\u05da\nz\3z\5z\u05dd"+
"\nz\3z\3z\3{\3{\5{\u05e3\n{\3{\3{\5{\u05e7\n{\5{\u05e9\n{\3|\3|\3}\3}"+
"\5}\u05ef\n}\3}\3}\3~\6~\u05f4\n~\r~\16~\u05f5\3\177\3\177\5\177\u05fa"+
"\n\177\3\u0080\5\u0080\u05fd\n\u0080\3\u0080\5\u0080\u0600\n\u0080\3\u0080"+
"\3\u0080\3\u0080\5\u0080\u0605\n\u0080\3\u0080\3\u0080\3\u0081\3\u0081"+
"\3\u0082\3\u0082\5\u0082\u060d\n\u0082\3\u0082\3\u0082\3\u0083\6\u0083"+
"\u0612\n\u0083\r\u0083\16\u0083\u0613\3\u0084\3\u0084\5\u0084\u0618\n"+
"\u0084\3\u0085\3\u0085\5\u0085\u061c\n\u0085\3\u0085\3\u0085\5\u0085\u0620"+
"\n\u0085\3\u0085\3\u0085\5\u0085\u0624\n\u0085\3\u0085\3\u0085\5\u0085"+
"\u0628\n\u0085\3\u0085\3\u0085\5\u0085\u062c\n\u0085\5\u0085\u062e\n\u0085"+
"\3\u0086\3\u0086\3\u0086\3\u0086\3\u0086\3\u0087\3\u0087\3\u0087\5\u0087"+
"\u0638\n\u0087\3\u0087\3\u0087\5\u0087\u063c\n\u0087\3\u0088\3\u0088\5"+
"\u0088\u0640\n\u0088\3\u0088\3\u0088\5\u0088\u0644\n\u0088\3\u0088\5\u0088"+
"\u0647\n\u0088\3\u0089\3\u0089\3\u0089\3\u0089\3\u008a\5\u008a\u064e\n"+
"\u008a\3\u008a\5\u008a\u0651\n\u008a\3\u008a\3\u008a\3\u008a\5\u008a\u0656"+
"\n\u008a\3\u008a\5\u008a\u0659\n\u008a\3\u008b\3\u008b\5\u008b\u065d\n"+
"\u008b\3\u008b\3\u008b\5\u008b\u0661\n\u008b\3\u008b\5\u008b\u0664\n\u008b"+
"\3\u008b\3\u008b\3\u008c\5\u008c\u0669\n\u008c\3\u008c\5\u008c\u066c\n"+
"\u008c\3\u008c\3\u008c\5\u008c\u0670\n\u008c\3\u008d\3\u008d\3\u008e\5"+
"\u008e\u0675\n\u008e\3\u008e\3\u008e\3\u008e\3\u008f\5\u008f\u067b\n\u008f"+
"\3\u008f\5\u008f\u067e\n\u008f\3\u008f\3\u008f\3\u008f\3\u008f\5\u008f"+
"\u0684\n\u008f\3\u008f\3\u008f\3\u0090\3\u0090\5\u0090\u068a\n\u0090\3"+
"\u0090\3\u0090\3\u0091\6\u0091\u068f\n\u0091\r\u0091\16\u0091\u0690\3"+
"\u0092\3\u0092\5\u0092\u0695\n\u0092\3\u0093\3\u0093\3\u0093\3\u0093\3"+
"\u0093\3\u0093\3\u0093\3\u0093\3\u0093\3\u0093\3\u0093\3\u0093\5\u0093"+
"\u06a3\n\u0093\3\u0094\5\u0094\u06a6\n\u0094\3\u0094\5\u0094\u06a9\n\u0094"+
"\3\u0094\3\u0094\3\u0094\3\u0095\3\u0095\5\u0095\u06b0\n\u0095\3\u0095"+
"\3\u0095\3\u0096\3\u0096\3\u0096\5\u0096\u06b7\n\u0096\3\u0097\3\u0097"+
"\3\u0097\3\u0097\3\u0098\3\u0098\3\u0098\3\u0098\3\u0099\3\u0099\3\u0099"+
"\3\u0099\5\u0099\u06c5\n\u0099\3\u009a\3\u009a\3\u009a\3\u009b\3\u009b"+
"\3\u009b\3\u009b\5\u009b\u06ce\n\u009b\3\u009b\3\u009b\3\u009c\6\u009c"+
"\u06d3\n\u009c\r\u009c\16\u009c\u06d4\3\u009d\3\u009d\3\u009d\5\u009d"+
"\u06da\n\u009d\3\u009e\3\u009e\3\u009e\3\u009e\3\u009f\3\u009f\3\u009f"+
"\3\u009f\3\u00a0\3\u00a0\3\u00a0\3\u00a0\3\u00a1\3\u00a1\3\u00a1\7\u00a1"+
"\u06eb\n\u00a1\f\u00a1\16\u00a1\u06ee\13\u00a1\3\u00a2\3\u00a2\3\u00a3"+
"\3\u00a3\3\u00a3\5\u00a3\u06f5\n\u00a3\3\u00a3\3\u00a3\5\u00a3\u06f9\n"+
"\u00a3\3\u00a3\3\u00a3\3\u00a3\5\u00a3\u06fe\n\u00a3\3\u00a3\3\u00a3\3"+
"\u00a3\3\u00a3\5\u00a3\u0704\n\u00a3\3\u00a3\3\u00a3\3\u00a3\7\u00a3\u0709"+
"\n\u00a3\f\u00a3\16\u00a3\u070c\13\u00a3\3\u00a4\3\u00a4\3\u00a5\3\u00a5"+
"\3\u00a6\3\u00a6\3\u00a6\3\u00a6\5\u00a6\u0716\n\u00a6\3\u00a7\3\u00a7"+
"\5\u00a7\u071a\n\u00a7\3\u00a7\3\u00a7\3\u00a8\3\u00a8\3\u00a8\7\u00a8"+
"\u0721\n\u00a8\f\u00a8\16\u00a8\u0724\13\u00a8\3\u00a9\3\u00a9\3\u00a9"+
"\3\u00a9\3\u00a9\5\u00a9\u072b\n\u00a9\3\u00aa\5\u00aa\u072e\n\u00aa\3"+
"\u00aa\5\u00aa\u0731\n\u00aa\3\u00aa\3\u00aa\5\u00aa\u0735\n\u00aa\3\u00ab"+
"\3\u00ab\5\u00ab\u0739\n\u00ab\3\u00ac\3\u00ac\3\u00ac\3\u00ad\3\u00ad"+
"\3\u00ad\3\u00ad\3\u00ae\3\u00ae\3\u00af\3\u00af\3\u00af\5\u00af\u0747"+
"\n\u00af\3\u00b0\3\u00b0\3\u00b1\3\u00b1\5\u00b1\u074d\n\u00b1\3\u00b1"+
"\3\u00b1\3\u00b2\6\u00b2\u0752\n\u00b2\r\u00b2\16\u00b2\u0753\3\u00b3"+
"\6\u00b3\u0757\n\u00b3\r\u00b3\16\u00b3\u0758\3\u00b4\3\u00b4\5\u00b4"+
"\u075d\n\u00b4\3\u00b4\3\u00b4\3\u00b4\5\u00b4\u0762\n\u00b4\3\u00b4\3"+
"\u00b4\3\u00b4\5\u00b4\u0767\n\u00b4\3\u00b4\3\u00b4\3\u00b4\3\u00b4\3"+
"\u00b4\3\u00b4\3\u00b4\3\u00b4\3\u00b4\3\u00b4\3\u00b4\3\u00b4\3\u00b4"+
"\3\u00b4\3\u00b4\3\u00b4\3\u00b4\3\u00b4\3\u00b4\5\u00b4\u077c\n\u00b4"+
"\3\u00b5\5\u00b5\u077f\n\u00b5\3\u00b5\3\u00b5\7\u00b5\u0783\n\u00b5\f"+
"\u00b5\16\u00b5\u0786\13\u00b5\3\u00b6\5\u00b6\u0789\n\u00b6\3\u00b6\3"+
"\u00b6\5\u00b6\u078d\n\u00b6\3\u00b6\5\u00b6\u0790\n\u00b6\3\u00b7\3\u00b7"+
"\3\u00b7\3\u00b8\3\u00b8\5\u00b8\u0797\n\u00b8\3\u00b9\3\u00b9\3\u00b9"+
"\3\u00b9\3\u00b9\5\u00b9\u079e\n\u00b9\3\u00b9\3\u00b9\3\u00b9\3\u00b9"+
"\5\u00b9\u07a4\n\u00b9\3\u00b9\3\u00b9\3\u00b9\5\u00b9\u07a9\n\u00b9\3"+
"\u00ba\3\u00ba\3\u00bb\3\u00bb\5\u00bb\u07af\n\u00bb\3\u00bb\3\u00bb\3"+
"\u00bb\3\u00bc\3\u00bc\3\u00bc\3\u00bc\3\u00bc\3\u00bc\3\u00bc\3\u00bc"+
"\3\u00bc\3\u00bc\5\u00bc\u07be\n\u00bc\3\u00bd\3\u00bd\3\u00bd\3\u00bd"+
"\5\u00bd\u07c4\n\u00bd\3\u00bd\5\u00bd\u07c7\n\u00bd\3\u00bd\3\u00bd\3"+
"\u00bd\3\u00bd\3\u00bd\3\u00bd\3\u00bd\3\u00bd\3\u00bd\3\u00bd\3\u00bd"+
"\5\u00bd\u07d4\n\u00bd\3\u00be\3\u00be\3\u00be\3\u00be\3\u00be\3\u00be"+
"\3\u00be\3\u00be\5\u00be\u07de\n\u00be\3\u00bf\3\u00bf\5\u00bf\u07e2\n"+
"\u00bf\3\u00bf\3\u00bf\3\u00c0\3\u00c0\3\u00c0\7\u00c0\u07e9\n\u00c0\f"+
"\u00c0\16\u00c0\u07ec\13\u00c0\3\u00c0\5\u00c0\u07ef\n\u00c0\3\u00c1\3"+
"\u00c1\3\u00c2\3\u00c2\3\u00c2\3\u00c2\3\u00c2\3\u00c2\3\u00c2\5\u00c2"+
"\u07fa\n\u00c2\3\u00c3\3\u00c3\3\u00c3\7\u00c3\u07ff\n\u00c3\f\u00c3\16"+
"\u00c3\u0802\13\u00c3\3\u00c3\5\u00c3\u0805\n\u00c3\3\u00c4\3\u00c4\3"+
"\u00c4\3\u00c4\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5"+
"\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5"+
"\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5"+
"\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\5\u00c5"+
"\u082c\n\u00c5\3\u00c6\3\u00c6\3\u00c6\3\u00c6\3\u00c6\3\u00c6\3\u00c6"+
"\3\u00c6\3\u00c6\3\u00c6\3\u00c6\3\u00c6\5\u00c6\u083a\n\u00c6\3\u00c7"+
"\3\u00c7\3\u00c7\5\u00c7\u083f\n\u00c7\3\u00c8\3\u00c8\3\u00c8\3\u00c8"+
"\3\u00c9\3\u00c9\3\u00c9\3\u00c9\3\u00c9\3\u00ca\3\u00ca\3\u00ca\3\u00ca"+
"\3\u00cb\3\u00cb\5\u00cb\u0850\n\u00cb\3\u00cb\5\u00cb\u0853\n\u00cb\3"+
"\u00cb\3\u00cb\3\u00cc\5\u00cc\u0858\n\u00cc\3\u00cc\3\u00cc\5\u00cc\u085c"+
"\n\u00cc\3\u00cc\5\u00cc\u085f\n\u00cc\3\u00cc\3\u00cc\3\u00cc\3\u00cc"+
"\3\u00cc\5\u00cc\u0866\n\u00cc\3\u00cd\3\u00cd\3\u00cd\3\u00cd\3\u00cd"+
"\3\u00cd\3\u00cd\5\u00cd\u086f\n\u00cd\3\u00ce\3\u00ce\3\u00ce\7\u00ce"+
"\u0874\n\u00ce\f\u00ce\16\u00ce\u0877\13\u00ce\3\u00cf\3\u00cf\5\u00cf"+
"\u087b\n\u00cf\3\u00cf\3\u00cf\3\u00cf\3\u00cf\5\u00cf\u0881\n\u00cf\3"+
"\u00d0\3\u00d0\5\u00d0\u0885\n\u00d0\3\u00d1\3\u00d1\3\u00d1\3\u00d1\3"+
"\u00d2\3\u00d2\3\u00d2\7\u00d2\u088e\n\u00d2\f\u00d2\16\u00d2\u0891\13"+
"\u00d2\3\u00d3\5\u00d3\u0894\n\u00d3\3\u00d3\3\u00d3\3\u00d4\3\u00d4\3"+
"\u00d5\3\u00d5\3\u00d5\3\u00d6\3\u00d6\3\u00d6\3\u00d6\3\u00d7\3\u00d7"+
"\5\u00d7\u08a3\n\u00d7\3\u00d7\3\u00d7\3\u00d8\3\u00d8\3\u00d8\7\u00d8"+
"\u08aa\n\u00d8\f\u00d8\16\u00d8\u08ad\13\u00d8\3\u00d9\3\u00d9\3\u00d9"+
"\5\u00d9\u08b2\n\u00d9\3\u00d9\3\u00d9\3\u00da\3\u00da\3\u00db\3\u00db"+
"\3\u00db\5\u00db\u08bb\n\u00db\3\u00db\5\u00db\u08be\n\u00db\3\u00dc\3"+
"\u00dc\3\u00dc\3\u00dc\3\u00dc\3\u00dc\3\u00dc\3\u00dc\3\u00dc\3\u00dc"+
"\3\u00dc\5\u00dc\u08cb\n\u00dc\3\u00dd\3\u00dd\3\u00dd\3\u00dd\3\u00dd"+
"\3\u00dd\3\u00dd\5\u00dd\u08d4\n\u00dd\3\u00de\3\u00de\3\u00de\3\u00de"+
"\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\5\u00de\u08df\n\u00de\3\u00de"+
"\3\u00de\3\u00de\3\u00de\5\u00de\u08e5\n\u00de\3\u00de\3\u00de\3\u00de"+
"\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de"+
"\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\5\u00de"+
"\u08fb\n\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de"+
"\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de\3\u00de"+
"\3\u00de\3\u00de\3\u00de\7\u00de\u0910\n\u00de\f\u00de\16\u00de\u0913"+
"\13\u00de\3\u00df\3\u00df\5\u00df\u0917\n\u00df\3\u00df\3\u00df\3\u00e0"+
"\3\u00e0\3\u00e0\7\u00e0\u091e\n\u00e0\f\u00e0\16\u00e0\u0921\13\u00e0"+
"\3\u00e1\3\u00e1\3\u00e1\3\u00e1\3\u00e1\5\u00e1\u0928\n\u00e1\3\u00e1"+
"\3\u00e1\3\u00e1\5\u00e1\u092d\n\u00e1\3\u00e1\3\u00e1\5\u00e1\u0931\n"+
"\u00e1\5\u00e1\u0933\n\u00e1\3\u00e2\3\u00e2\5\u00e2\u0937\n\u00e2\3\u00e3"+
"\6\u00e3\u093a\n\u00e3\r\u00e3\16\u00e3\u093b\3\u00e4\3\u00e4\5\u00e4"+
"\u0940\n\u00e4\3\u00e4\3\u00e4\3\u00e5\3\u00e5\3\u00e6\3\u00e6\5\u00e6"+
"\u0948\n\u00e6\3\u00e7\3\u00e7\7\u00e7\u094c\n\u00e7\f\u00e7\16\u00e7"+
"\u094f\13\u00e7\3\u00e7\3\u00e7\7\u00e7\u0953\n\u00e7\f\u00e7\16\u00e7"+
"\u0956\13\u00e7\3\u00e7\5\u00e7\u0959\n\u00e7\3\u00e8\3\u00e8\3\u00e9"+
"\3\u00e9\3\u00ea\3\u00ea\3\u00eb\3\u00eb\3\u00eb\3\u00eb\3\u00eb\3\u00eb"+
"\3\u00eb\3\u00eb\3\u00eb\3\u00eb\3\u00eb\5\u00eb\u096c\n\u00eb\3\u00eb"+
"\3\u00eb\3\u00eb\3\u00eb\3\u00eb\3\u00eb\3\u00eb\3\u00eb\3\u00eb\3\u00eb"+
"\7\u00eb\u0978\n\u00eb\f\u00eb\16\u00eb\u097b\13\u00eb\3\u00ec\5\u00ec"+
"\u097e\n\u00ec\3\u00ec\3\u00ec\5\u00ec\u0982\n\u00ec\3\u00ec\3\u00ec\3"+
"\u00ec\3\u00ed\3\u00ed\3\u00ed\3\u00ed\3\u00ed\5\u00ed\u098c\n\u00ed\3"+
"\u00ed\3\u00ed\5\u00ed\u0990\n\u00ed\3\u00ee\3\u00ee\3\u00ee\7\u00ee\u0995"+
"\n\u00ee\f\u00ee\16\u00ee\u0998\13\u00ee\3\u00ef\5\u00ef\u099b\n\u00ef"+
"\3\u00ef\5\u00ef\u099e\n\u00ef\3\u00ef\3\u00ef\3\u00ef\3\u00ef\5\u00ef"+
"\u09a4\n\u00ef\3\u00f0\3\u00f0\3\u00f1\3\u00f1\3\u00f1\3\u00f1\3\u00f2"+
"\3\u00f2\3\u00f2\3\u00f2\3\u00f2\3\u00f2\3\u00f3\3\u00f3\3\u00f3\3\u00f4"+
"\3\u00f4\3\u00f4\3\u00f5\3\u00f5\5\u00f5\u09ba\n\u00f5\3\u00f5\5\u00f5"+
"\u09bd\n\u00f5\3\u00f5\3\u00f5\3\u00f6\3\u00f6\5\u00f6\u09c3\n\u00f6\3"+
"\u00f6\3\u00f6\5\u00f6\u09c7\n\u00f6\3\u00f6\3\u00f6\3\u00f6\5\u00f6\u09cc"+
"\n\u00f6\3\u00f7\3\u00f7\3\u00f8\3\u00f8\5\u00f8\u09d2\n\u00f8\3\u00f8"+
"\3\u00f8\3\u00f9\3\u00f9\3\u00f9\7\u00f9\u09d9\n\u00f9\f\u00f9\16\u00f9"+
"\u09dc\13\u00f9\3\u00fa\3\u00fa\3\u00fa\3\u00fa\5\u00fa\u09e2\n\u00fa"+
"\3\u00fb\3\u00fb\3\u00fc\3\u00fc\3\u00fc\3\u00fc\3\u00fd\3\u00fd\5\u00fd"+
"\u09ec\n\u00fd\3\u00fe\3\u00fe\3\u00ff\3\u00ff\3\u00ff\3\u00ff\3\u00ff"+
"\3\u00ff\3\u00ff\3\u00ff\5\u00ff\u09f8\n\u00ff\3\u0100\3\u0100\3\u0100"+
"\3\u0100\3\u0100\3\u0100\3\u0100\3\u0100\3\u0100\5\u0100\u0a03\n\u0100"+
"\3\u0101\3\u0101\3\u0101\7\u0101\u0a08\n\u0101\f\u0101\16\u0101\u0a0b"+
"\13\u0101\3\u0102\3\u0102\3\u0103\3\u0103\3\u0103\5\u0103\u0a12\n\u0103"+
"\3\u0104\3\u0104\5\u0104\u0a16\n\u0104\3\u0104\5\u0104\u0a19\n\u0104\3"+
"\u0104\3\u0104\3\u0105\3\u0105\3\u0105\5\u0105\u0a20\n\u0105\3\u0106\6"+
"\u0106\u0a23\n\u0106\r\u0106\16\u0106\u0a24\3\u0107\3\u0107\3\u0107\5"+
"\u0107\u0a2a\n\u0107\3\u0108\3\u0108\5\u0108\u0a2e\n\u0108\3\u0109\3\u0109"+
"\3\u0109\3\u0109\3\u0109\3\u0109\3\u0109\3\u0109\3\u0109\3\u0109\5\u0109"+
"\u0a3a\n\u0109\3\u0109\3\u0109\3\u0109\7\u0109\u0a3f\n\u0109\f\u0109\16"+
"\u0109\u0a42\13\u0109\3\u010a\3\u010a\3\u010a\3\u010a\3\u010a\3\u010a"+
"\3\u010a\3\u010a\3\u010a\3\u010a\3\u010a\3\u010a\3\u010a\3\u010a\3\u010a"+
"\3\u010a\3\u010a\3\u010a\3\u010a\3\u010a\3\u010a\3\u010a\3\u010a\3\u010a"+
"\3\u010a\5\u010a\u0a5d\n\u010a\3\u010b\3\u010b\3\u010c\3\u010c\3\u010d"+
"\3\u010d\3\u010e\3\u010e\3\u010f\3\u010f\3\u010f\3\u010f\3\u010f\3\u010f"+
"\3\u010f\3\u010f\3\u010f\3\u010f\3\u010f\3\u010f\3\u010f\3\u010f\5\u010f"+
"\u0a75\n\u010f\3\u0110\3\u0110\3\u0111\3\u0111\3\u0112\3\u0112\3\u0112"+
"\3\u0112\3\u0112\5\u0112\u0a80\n\u0112\3\u0113\3\u0113\3\u0113\5\u0113"+
"\u0a85\n\u0113\3\u0114\3\u0114\3\u0115\3\u0115\3\u0116\3\u0116\3\u0117"+
"\3\u0117\5\u0117\u0a8f\n\u0117\3\u0117\3\u0117\3\u0117\5\u0117\u0a94\n"+
"\u0117\7\u0117\u0a96\n\u0117\f\u0117\16\u0117\u0a99\13\u0117\3\u0118\3"+
"\u0118\3\u0119\3\u0119\3\u0119\3\u0119\3\u0119\3\u0119\3\u0119\5\u0119"+
"\u0aa4\n\u0119\3\u011a\5\u011a\u0aa7\n\u011a\3\u011a\3\u011a\5\u011a\u0aab"+
"\n\u011a\3\u011a\5\u011a\u0aae\n\u011a\3\u011b\3\u011b\3\u011b\2\6\u0144"+
"\u01ba\u01d4\u0210\u011c\2\4\6\b\n\f\16\20\22\24\26\30\32\34\36 \"$&("+
"*,.\60\62\64\668:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|~\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\u00de\u00e0\u00e2\u00e4"+
"\u00e6\u00e8\u00ea\u00ec\u00ee\u00f0\u00f2\u00f4\u00f6\u00f8\u00fa\u00fc"+
"\u00fe\u0100\u0102\u0104\u0106\u0108\u010a\u010c\u010e\u0110\u0112\u0114"+
"\u0116\u0118\u011a\u011c\u011e\u0120\u0122\u0124\u0126\u0128\u012a\u012c"+
"\u012e\u0130\u0132\u0134\u0136\u0138\u013a\u013c\u013e\u0140\u0142\u0144"+
"\u0146\u0148\u014a\u014c\u014e\u0150\u0152\u0154\u0156\u0158\u015a\u015c"+
"\u015e\u0160\u0162\u0164\u0166\u0168\u016a\u016c\u016e\u0170\u0172\u0174"+
"\u0176\u0178\u017a\u017c\u017e\u0180\u0182\u0184\u0186\u0188\u018a\u018c"+
"\u018e\u0190\u0192\u0194\u0196\u0198\u019a\u019c\u019e\u01a0\u01a2\u01a4"+
"\u01a6\u01a8\u01aa\u01ac\u01ae\u01b0\u01b2\u01b4\u01b6\u01b8\u01ba\u01bc"+
"\u01be\u01c0\u01c2\u01c4\u01c6\u01c8\u01ca\u01cc\u01ce\u01d0\u01d2\u01d4"+
"\u01d6\u01d8\u01da\u01dc\u01de\u01e0\u01e2\u01e4\u01e6\u01e8\u01ea\u01ec"+
"\u01ee\u01f0\u01f2\u01f4\u01f6\u01f8\u01fa\u01fc\u01fe\u0200\u0202\u0204"+
"\u0206\u0208\u020a\u020c\u020e\u0210\u0212\u0214\u0216\u0218\u021a\u021c"+
"\u021e\u0220\u0222\u0224\u0226\u0228\u022a\u022c\u022e\u0230\u0232\u0234"+
"\2\25\3\2\32\33\3\2\")\4\2\u00b3\u00b3\u00b5\u00b6\3\2CD\5\2\32\33--F"+
"J\3\2PQ\3\2XY\3\2_`\3\2ce\5\299<<\177\u0080\3\2\u0083\u0084\f\2!!*,LL"+
"RRXYkkmmoo\u0089\u008b\u00ac\u00ac\3\2\u0089\u008a\6\2\"\"$$&&((\3\2\u009c"+
"\u009f\24\2\5\r\21\36--88==?BEJPQTTVWZ]fgpu}~\u0082\u0082\u008f\u0095"+
"\u00a5\u00a7\u00aa\u00ab\26\2\21\21\33\33\"$&&((.\679:<<>>CDMOUU]]be\u008c"+
"\u008e\u0090\u0090\u0096\u0097\u009c\u009f\u00a1\u00a2\u00a8\u00a9\5\2"+
"vy{{\u0087\u0088\3\2\u00b1\u00b4\2\u0b81\2\u0237\3\2\2\2\4\u025c\3\2\2"+
"\2\6\u025f\3\2\2\2\b\u0266\3\2\2\2\n\u0268\3\2\2\2\f\u0274\3\2\2\2\16"+
"\u0278\3\2\2\2\20\u0280\3\2\2\2\22\u0282\3\2\2\2\24\u028c\3\2\2\2\26\u028e"+
"\3\2\2\2\30\u0293\3\2\2\2\32\u029c\3\2\2\2\34\u02ac\3\2\2\2\36\u02ae\3"+
"\2\2\2 \u02b2\3\2\2\2\"\u02ba\3\2\2\2$\u02be\3\2\2\2&\u02c1\3\2\2\2(\u02c8"+
"\3\2\2\2*\u02cb\3\2\2\2,\u02d2\3\2\2\2.\u02d4\3\2\2\2\60\u02d8\3\2\2\2"+
"\62\u02dc\3\2\2\2\64\u02de\3\2\2\2\66\u02e2\3\2\2\28\u02e5\3\2\2\2:\u02e8"+
"\3\2\2\2<\u02ed\3\2\2\2>\u02f1\3\2\2\2@\u02fa\3\2\2\2B\u0306\3\2\2\2D"+
"\u0308\3\2\2\2F\u030c\3\2\2\2H\u0310\3\2\2\2J\u0313\3\2\2\2L\u031b\3\2"+
"\2\2N\u031d\3\2\2\2P\u0329\3\2\2\2R\u032b\3\2\2\2T\u032d\3\2\2\2V\u032f"+
"\3\2\2\2X\u0333\3\2\2\2Z\u0344\3\2\2\2\\\u0346\3\2\2\2^\u0349\3\2\2\2"+
"`\u0353\3\2\2\2b\u035d\3\2\2\2d\u035f\3\2\2\2f\u0363\3\2\2\2h\u0367\3"+
"\2\2\2j\u036f\3\2\2\2l\u03b1\3\2\2\2n\u03b4\3\2\2\2p\u03b9\3\2\2\2r\u03d5"+
"\3\2\2\2t\u03f0\3\2\2\2v\u03f3\3\2\2\2x\u03f7\3\2\2\2z\u03f9\3\2\2\2|"+
"\u0400\3\2\2\2~\u0408\3\2\2\2\u0080\u040f\3\2\2\2\u0082\u0413\3\2\2\2"+
"\u0084\u0416\3\2\2\2\u0086\u041e\3\2\2\2\u0088\u0426\3\2\2\2\u008a\u042a"+
"\3\2\2\2\u008c\u044c\3\2\2\2\u008e\u044f\3\2\2\2\u0090\u0456\3\2\2\2\u0092"+
"\u0464\3\2\2\2\u0094\u0467\3\2\2\2\u0096\u0470\3\2\2\2\u0098\u047b\3\2"+
"\2\2\u009a\u048b\3\2\2\2\u009c\u048e\3\2\2\2\u009e\u0493\3\2\2\2\u00a0"+
"\u04a5\3\2\2\2\u00a2\u04a8\3\2\2\2\u00a4\u04b1\3\2\2\2\u00a6\u04b9\3\2"+
"\2\2\u00a8\u04bd\3\2\2\2\u00aa\u04c7\3\2\2\2\u00ac\u04c9\3\2\2\2\u00ae"+
"\u04e0\3\2\2\2\u00b0\u04e3\3\2\2\2\u00b2\u04ec\3\2\2\2\u00b4\u04ee\3\2"+
"\2\2\u00b6\u04f5\3\2\2\2\u00b8\u04fb\3\2\2\2\u00ba\u0506\3\2\2\2\u00bc"+
"\u0508\3\2\2\2\u00be\u0525\3\2\2\2\u00c0\u052a\3\2\2\2\u00c2\u052e\3\2"+
"\2\2\u00c4\u0530\3\2\2\2\u00c6\u0534\3\2\2\2\u00c8\u053d\3\2\2\2\u00ca"+
"\u0540\3\2\2\2\u00cc\u0554\3\2\2\2\u00ce\u055e\3\2\2\2\u00d0\u0561\3\2"+
"\2\2\u00d2\u0569\3\2\2\2\u00d4\u0571\3\2\2\2\u00d6\u0575\3\2\2\2\u00d8"+
"\u0577\3\2\2\2\u00da\u0579\3\2\2\2\u00dc\u058b\3\2\2\2\u00de\u0592\3\2"+
"\2\2\u00e0\u0595\3\2\2\2\u00e2\u059a\3\2\2\2\u00e4\u05a2\3\2\2\2\u00e6"+
"\u05a6\3\2\2\2\u00e8\u05aa\3\2\2\2\u00ea\u05bc\3\2\2\2\u00ec\u05be\3\2"+
"\2\2\u00ee\u05c5\3\2\2\2\u00f0\u05cb\3\2\2\2\u00f2\u05ce\3\2\2\2\u00f4"+
"\u05e8\3\2\2\2\u00f6\u05ea\3\2\2\2\u00f8\u05ec\3\2\2\2\u00fa\u05f3\3\2"+
"\2\2\u00fc\u05f9\3\2\2\2\u00fe\u05fc\3\2\2\2\u0100\u0608\3\2\2\2\u0102"+
"\u060a\3\2\2\2\u0104\u0611\3\2\2\2\u0106\u0617\3\2\2\2\u0108\u062d\3\2"+
"\2\2\u010a\u062f\3\2\2\2\u010c\u0634\3\2\2\2\u010e\u063d\3\2\2\2\u0110"+
"\u0648\3\2\2\2\u0112\u064d\3\2\2\2\u0114\u065a\3\2\2\2\u0116\u0668\3\2"+
"\2\2\u0118\u0671\3\2\2\2\u011a\u0674\3\2\2\2\u011c\u067a\3\2\2\2\u011e"+
"\u0687\3\2\2\2\u0120\u068e\3\2\2\2\u0122\u0694\3\2\2\2\u0124\u06a2\3\2"+
"\2\2\u0126\u06a5\3\2\2\2\u0128\u06ad\3\2\2\2\u012a\u06b6\3\2\2\2\u012c"+
"\u06b8\3\2\2\2\u012e\u06bc\3\2\2\2\u0130\u06c0\3\2\2\2\u0132\u06c6\3\2"+
"\2\2\u0134\u06c9\3\2\2\2\u0136\u06d2\3\2\2\2\u0138\u06d9\3\2\2\2\u013a"+
"\u06db\3\2\2\2\u013c\u06df\3\2\2\2\u013e\u06e3\3\2\2\2\u0140\u06e7\3\2"+
"\2\2\u0142\u06ef\3\2\2\2\u0144\u0703\3\2\2\2\u0146\u070d\3\2\2\2\u0148"+
"\u070f\3\2\2\2\u014a\u0715\3\2\2\2\u014c\u0717\3\2\2\2\u014e\u071d\3\2"+
"\2\2\u0150\u072a\3\2\2\2\u0152\u072d\3\2\2\2\u0154\u0738\3\2\2\2\u0156"+
"\u073a\3\2\2\2\u0158\u073d\3\2\2\2\u015a\u0741\3\2\2\2\u015c\u0743\3\2"+
"\2\2\u015e\u0748\3\2\2\2\u0160\u074a\3\2\2\2\u0162\u0751\3\2\2\2\u0164"+
"\u0756\3\2\2\2\u0166\u077b\3\2\2\2\u0168\u077e\3\2\2\2\u016a\u078f\3\2"+
"\2\2\u016c\u0791\3\2\2\2\u016e\u0794\3\2\2\2\u0170\u07a8\3\2\2\2\u0172"+
"\u07aa\3\2\2\2\u0174\u07ac\3\2\2\2\u0176\u07bd\3\2\2\2\u0178\u07d3\3\2"+
"\2\2\u017a\u07dd\3\2\2\2\u017c\u07df\3\2\2\2\u017e\u07e5\3\2\2\2\u0180"+
"\u07f0\3\2\2\2\u0182\u07f9\3\2\2\2\u0184\u07fb\3\2\2\2\u0186\u0806\3\2"+
"\2\2\u0188\u082b\3\2\2\2\u018a\u0839\3\2\2\2\u018c\u083e\3\2\2\2\u018e"+
"\u0840\3\2\2\2\u0190\u0844\3\2\2\2\u0192\u0849\3\2\2\2\u0194\u084d\3\2"+
"\2\2\u0196\u0865\3\2\2\2\u0198\u086e\3\2\2\2\u019a\u0870\3\2\2\2\u019c"+
"\u0880\3\2\2\2\u019e\u0884\3\2\2\2\u01a0\u0886\3\2\2\2\u01a2\u088a\3\2"+
"\2\2\u01a4\u0893\3\2\2\2\u01a6\u0897\3\2\2\2\u01a8\u0899\3\2\2\2\u01aa"+
"\u089c\3\2\2\2\u01ac\u08a0\3\2\2\2\u01ae\u08a6\3\2\2\2\u01b0\u08b1\3\2"+
"\2\2\u01b2\u08b5\3\2\2\2\u01b4\u08b7\3\2\2\2\u01b6\u08ca\3\2\2\2\u01b8"+
"\u08d3\3\2\2\2\u01ba\u08de\3\2\2\2\u01bc\u0914\3\2\2\2\u01be\u091a\3\2"+
"\2\2\u01c0\u0932\3\2\2\2\u01c2\u0936\3\2\2\2\u01c4\u0939\3\2\2\2\u01c6"+
"\u093f\3\2\2\2\u01c8\u0943\3\2\2\2\u01ca\u0947\3\2\2\2\u01cc\u0958\3\2"+
"\2\2\u01ce\u095a\3\2\2\2\u01d0\u095c\3\2\2\2\u01d2\u095e\3\2\2\2\u01d4"+
"\u096b\3\2\2\2\u01d6\u097d\3\2\2\2\u01d8\u098f\3\2\2\2\u01da\u0991\3\2"+
"\2\2\u01dc\u09a3\3\2\2\2\u01de\u09a5\3\2\2\2\u01e0\u09a7\3\2\2\2\u01e2"+
"\u09ab\3\2\2\2\u01e4\u09b1\3\2\2\2\u01e6\u09b4\3\2\2\2\u01e8\u09b7\3\2"+
"\2\2\u01ea\u09cb\3\2\2\2\u01ec\u09cd\3\2\2\2\u01ee\u09cf\3\2\2\2\u01f0"+
"\u09d5\3\2\2\2\u01f2\u09e1\3\2\2\2\u01f4\u09e3\3\2\2\2\u01f6\u09e5\3\2"+
"\2\2\u01f8\u09eb\3\2\2\2\u01fa\u09ed\3\2\2\2\u01fc\u09f7\3\2\2\2\u01fe"+
"\u0a02\3\2\2\2\u0200\u0a04\3\2\2\2\u0202\u0a0c\3\2\2\2\u0204\u0a11\3\2"+
"\2\2\u0206\u0a13\3\2\2\2\u0208\u0a1c\3\2\2\2\u020a\u0a22\3\2\2\2\u020c"+
"\u0a26\3\2\2\2\u020e\u0a2b\3\2\2\2\u0210\u0a39\3\2\2\2\u0212\u0a5c\3\2"+
"\2\2\u0214\u0a5e\3\2\2\2\u0216\u0a60\3\2\2\2\u0218\u0a62\3\2\2\2\u021a"+
"\u0a64\3\2\2\2\u021c\u0a74\3\2\2\2\u021e\u0a76\3\2\2\2\u0220\u0a78\3\2"+
"\2\2\u0222\u0a7f\3\2\2\2\u0224\u0a84\3\2\2\2\u0226\u0a86\3\2\2\2\u0228"+
"\u0a88\3\2\2\2\u022a\u0a8a\3\2\2\2\u022c\u0a8e\3\2\2\2\u022e\u0a9a\3\2"+
"\2\2\u0230\u0aa3\3\2\2\2\u0232\u0aad\3\2\2\2\u0234\u0aaf\3\2\2\2\u0236"+
"\u0238\5\6\4\2\u0237\u0236\3\2\2\2\u0237\u0238\3\2\2\2\u0238\u0239\3\2"+
"\2\2\u0239\u023a\7\2\2\3\u023a\3\3\2\2\2\u023b\u023d\5l\67\2\u023c\u023e"+
"\7\3\2\2\u023d\u023c\3\2\2\2\u023d\u023e\3\2\2\2\u023e\u025d\3\2\2\2\u023f"+
"\u0241\5\b\5\2\u0240\u0242\7\3\2\2\u0241\u0240\3\2\2\2\u0241\u0242\3\2"+
"\2\2\u0242\u025d\3\2\2\2\u0243\u0245\5\20\t\2\u0244\u0246\7\3\2\2\u0245"+
"\u0244\3\2\2\2\u0245\u0246\3\2\2\2\u0246\u025d\3\2\2\2\u0247\u025d\5&"+
"\24\2\u0248\u024a\5,\27\2\u0249\u024b\7\3\2\2\u024a\u0249\3\2\2\2\u024a"+
"\u024b\3\2\2\2\u024b\u025d\3\2\2\2\u024c\u024e\58\35\2\u024d\u024f\7\3"+
"\2\2\u024e\u024d\3\2\2\2\u024e\u024f\3\2\2\2\u024f\u025d\3\2\2\2\u0250"+
"\u0252\5:\36\2\u0251\u0253\7\4\2\2\u0252\u0251\3\2\2\2\u0252\u0253\3\2"+
"\2\2\u0253\u025d\3\2\2\2\u0254\u0256\5\u0204\u0103\2\u0255\u0257\7\3\2"+
"\2\u0256\u0255\3\2\2\2\u0256\u0257\3\2\2\2\u0257\u025d\3\2\2\2\u0258\u025a"+
"\5\u0168\u00b5\2\u0259\u025b\7\3\2\2\u025a\u0259\3\2\2\2\u025a\u025b\3"+
"\2\2\2\u025b\u025d\3\2\2\2\u025c\u023b\3\2\2\2\u025c\u023f\3\2\2\2\u025c"+
"\u0243\3\2\2\2\u025c\u0247\3\2\2\2\u025c\u0248\3\2\2\2\u025c\u024c\3\2"+
"\2\2\u025c\u0250\3\2\2\2\u025c\u0254\3\2\2\2\u025c\u0258\3\2\2\2\u025d"+
"\5\3\2\2\2\u025e\u0260\5\4\3\2\u025f\u025e\3\2\2\2\u0260\u0261\3\2\2\2"+
"\u0261\u025f\3\2\2\2\u0261\u0262\3\2\2\2\u0262\7\3\2\2\2\u0263\u0267\5"+
"\n\6\2\u0264\u0267\5\f\7\2\u0265\u0267\5\16\b\2\u0266\u0263\3\2\2\2\u0266"+
"\u0264\3\2\2\2\u0266\u0265\3\2\2\2\u0267\t\3\2\2\2\u0268\u026a\7\5\2\2"+
"\u0269\u026b\7\6\2\2\u026a\u0269\3\2\2\2\u026a\u026b\3\2\2\2\u026b\u026c"+
"\3\2\2\2\u026c\u026d\5\u0144\u00a3\2\u026d\u026e\7\7\2\2\u026e\u0270\5"+
"\u0168\u00b5\2\u026f\u0271\5H%\2\u0270\u026f\3\2\2\2\u0270\u0271\3\2\2"+
"\2\u0271\u0272\3\2\2\2\u0272\u0273\5z>\2\u0273\13\3\2\2\2\u0274\u0275"+
"\7\b\2\2\u0275\u0276\5@!\2\u0276\u0277\5z>\2\u0277\r\3\2\2\2\u0278\u0279"+
"\7\t\2\2\u0279\u027a\5z>\2\u027a\u027b\7\b\2\2\u027b\u027c\5\u0168\u00b5"+
"\2\u027c\17\3\2\2\2\u027d\u0281\5\22\n\2\u027e\u0281\5\26\f\2\u027f\u0281"+
"\5\30\r\2\u0280\u027d\3\2\2\2\u0280\u027e\3\2\2\2\u0280\u027f\3\2\2\2"+
"\u0281\21\3\2\2\2\u0282\u0283\7\n\2\2\u0283\u0284\5@!\2\u0284\u0286\5"+
"z>\2\u0285\u0287\5\24\13\2\u0286\u0285\3\2\2\2\u0286\u0287\3\2\2\2\u0287"+
"\23\3\2\2\2\u0288\u0289\7\13\2\2\u0289\u028d\5z>\2\u028a\u028b\7\13\2"+
"\2\u028b\u028d\5\22\n\2\u028c\u0288\3\2\2\2\u028c\u028a\3\2\2\2\u028d"+
"\25\3\2\2\2\u028e\u028f\7\f\2\2\u028f\u0290\5@!\2\u0290\u0291\7\13\2\2"+
"\u0291\u0292\5z>\2\u0292\27\3\2\2\2\u0293\u0294\7\r\2\2\u0294\u0295\5"+
"\u0168\u00b5\2\u0295\u0297\7\16\2\2\u0296\u0298\5\32\16\2\u0297\u0296"+
"\3\2\2\2\u0297\u0298\3\2\2\2\u0298\u0299\3\2\2\2\u0299\u029a\7\17\2\2"+
"\u029a\31\3\2\2\2\u029b\u029d\5\34\17\2\u029c\u029b\3\2\2\2\u029d\u029e"+
"\3\2\2\2\u029e\u029c\3\2\2\2\u029e\u029f\3\2\2\2\u029f\33\3\2\2\2\u02a0"+
"\u02a1\5\36\20\2\u02a1\u02a2\5\6\4\2\u02a2\u02ad\3\2\2\2\u02a3\u02a4\5"+
"$\23\2\u02a4\u02a5\5\6\4\2\u02a5\u02ad\3\2\2\2\u02a6\u02a7\5\36\20\2\u02a7"+
"\u02a8\7\3\2\2\u02a8\u02ad\3\2\2\2\u02a9\u02aa\5$\23\2\u02aa\u02ab\7\3"+
"\2\2\u02ab\u02ad\3\2\2\2\u02ac\u02a0\3\2\2\2\u02ac\u02a3\3\2\2\2\u02ac"+
"\u02a6\3\2\2\2\u02ac\u02a9\3\2\2\2\u02ad\35\3\2\2\2\u02ae\u02af\7\6\2"+
"\2\u02af\u02b0\5 \21\2\u02b0\u02b1\7\4\2\2\u02b1\37\3\2\2\2\u02b2\u02b7"+
"\5\"\22\2\u02b3\u02b4\7\20\2\2\u02b4\u02b6\5\"\22\2\u02b5\u02b3\3\2\2"+
"\2\u02b6\u02b9\3\2\2\2\u02b7\u02b5\3\2\2\2\u02b7\u02b8\3\2\2\2\u02b8!"+
"\3\2\2\2\u02b9\u02b7\3\2\2\2\u02ba\u02bc\5\u0144\u00a3\2\u02bb\u02bd\5"+
"H%\2\u02bc\u02bb\3\2\2\2\u02bc\u02bd\3\2\2\2\u02bd#\3\2\2\2\u02be\u02bf"+
"\7\21\2\2\u02bf\u02c0\7\4\2\2\u02c0%\3\2\2\2\u02c1\u02c6\5(\25\2\u02c2"+
"\u02c7\5\b\5\2\u02c3\u02c7\5\22\n\2\u02c4\u02c7\5\30\r\2\u02c5\u02c7\5"+
":\36\2\u02c6\u02c2\3\2\2\2\u02c6\u02c3\3\2\2\2\u02c6\u02c4\3\2\2\2\u02c6"+
"\u02c5\3\2\2\2\u02c7\'\3\2\2\2\u02c8\u02c9\5*\26\2\u02c9\u02ca\7\4\2\2"+
"\u02ca)\3\2\2\2\u02cb\u02cc\5\u0224\u0113\2\u02cc+\3\2\2\2\u02cd\u02d3"+
"\5.\30\2\u02ce\u02d3\5\60\31\2\u02cf\u02d3\5\62\32\2\u02d0\u02d3\5\64"+
"\33\2\u02d1\u02d3\5\66\34\2\u02d2\u02cd\3\2\2\2\u02d2\u02ce\3\2\2\2\u02d2"+
"\u02cf\3\2\2\2\u02d2\u02d0\3\2\2\2\u02d2\u02d1\3\2\2\2\u02d3-\3\2\2\2"+
"\u02d4\u02d6\7\22\2\2\u02d5\u02d7\5*\26\2\u02d6\u02d5\3\2\2\2\u02d6\u02d7"+
"\3\2\2\2\u02d7/\3\2\2\2\u02d8\u02da\7\23\2\2\u02d9\u02db\5*\26\2\u02da"+
"\u02d9\3\2\2\2\u02da\u02db\3\2\2\2\u02db\61\3\2\2\2\u02dc\u02dd\7\24\2"+
"\2\u02dd\63\3\2\2\2\u02de\u02e0\7\25\2\2\u02df\u02e1\5\u0168\u00b5\2\u02e0"+
"\u02df\3\2\2\2\u02e0\u02e1\3\2\2\2\u02e1\65\3\2\2\2\u02e2\u02e3\7\26\2"+
"\2\u02e3\u02e4\5\u0168\u00b5\2\u02e4\67\3\2\2\2\u02e5\u02e6\7\27\2\2\u02e6"+
"\u02e7\5z>\2\u02e79\3\2\2\2\u02e8\u02e9\7\30\2\2\u02e9\u02eb\5z>\2\u02ea"+
"\u02ec\5<\37\2\u02eb\u02ea\3\2\2\2\u02eb\u02ec\3\2\2\2\u02ec;\3\2\2\2"+
"\u02ed\u02ef\5> \2\u02ee\u02f0\5<\37\2\u02ef\u02ee\3\2\2\2\u02ef\u02f0"+
"\3\2\2\2\u02f0=\3\2\2\2\u02f1\u02f3\7\31\2\2\u02f2\u02f4\5\u0144\u00a3"+
"\2\u02f3\u02f2\3\2\2\2\u02f3\u02f4\3\2\2\2\u02f4\u02f6\3\2\2\2\u02f5\u02f7"+
"\5H%\2\u02f6\u02f5\3\2\2\2\u02f6\u02f7\3\2\2\2\u02f7\u02f8\3\2\2\2\u02f8"+
"\u02f9\5z>\2\u02f9?\3\2\2\2\u02fa\u02ff\5B\"\2\u02fb\u02fc\7\20\2\2\u02fc"+
"\u02fe\5B\"\2\u02fd\u02fb\3\2\2\2\u02fe\u0301\3\2\2\2\u02ff\u02fd\3\2"+
"\2\2\u02ff\u0300\3\2\2\2\u0300A\3\2\2\2\u0301\u02ff\3\2\2\2\u0302\u0307"+
"\5L\'\2\u0303\u0307\5D#\2\u0304\u0307\5F$\2\u0305\u0307\5\u0168\u00b5"+
"\2\u0306\u0302\3\2\2\2\u0306\u0303\3\2\2\2\u0306\u0304\3\2\2\2\u0306\u0305"+
"\3\2\2\2\u0307C\3\2\2\2\u0308\u0309\7\6\2\2\u0309\u030a\5\u0144\u00a3"+
"\2\u030a\u030b\5\u008aF\2\u030bE\3\2\2\2\u030c\u030d\t\2\2\2\u030d\u030e"+
"\5\u0144\u00a3\2\u030e\u030f\5\u008aF\2\u030fG\3\2\2\2\u0310\u0311\7\34"+
"\2\2\u0311\u0312\5J&\2\u0312I\3\2\2\2\u0313\u0314\5\u0168\u00b5\2\u0314"+
"K\3\2\2\2\u0315\u031c\7\35\2\2\u0316\u0317\7\36\2\2\u0317\u0318\7\37\2"+
"\2\u0318\u0319\5N(\2\u0319\u031a\7 \2\2\u031a\u031c\3\2\2\2\u031b\u0315"+
"\3\2\2\2\u031b\u0316\3\2\2\2\u031cM\3\2\2\2\u031d\u0322\5P)\2\u031e\u031f"+
"\7\20\2\2\u031f\u0321\5N(\2\u0320\u031e\3\2\2\2\u0321\u0324\3\2\2\2\u0322"+
"\u0320\3\2\2\2\u0322\u0323\3\2\2\2\u0323O\3\2\2\2\u0324\u0322\3\2\2\2"+
"\u0325\u0326\5R*\2\u0326\u0327\5T+\2\u0327\u032a\3\2\2\2\u0328\u032a\7"+
"!\2\2\u0329\u0325\3\2\2\2\u0329\u0328\3\2\2\2\u032aQ\3\2\2\2\u032b\u032c"+
"\t\3\2\2\u032cS\3\2\2\2\u032d\u032e\t\4\2\2\u032eU\3\2\2\2\u032f\u0330"+
"\7*\2\2\u0330\u0331\5X-\2\u0331\u0332\7+\2\2\u0332W\3\2\2\2\u0333\u0338"+
"\5Z.\2\u0334\u0335\7\20\2\2\u0335\u0337\5Z.\2\u0336\u0334\3\2\2\2\u0337"+
"\u033a\3\2\2\2\u0338\u0336\3\2\2\2\u0338\u0339\3\2\2\2\u0339Y\3\2\2\2"+
"\u033a\u0338\3\2\2\2\u033b\u0345\5\u01ec\u00f7\2\u033c\u033d\5\u01ec\u00f7"+
"\2\u033d\u033e\7\4\2\2\u033e\u033f\5\u01ea\u00f6\2\u033f\u0345\3\2\2\2"+
"\u0340\u0341\5\u01ec\u00f7\2\u0341\u0342\7\4\2\2\u0342\u0343\5\u01f6\u00fc"+
"\2\u0343\u0345\3\2\2\2\u0344\u033b\3\2\2\2\u0344\u033c\3\2\2\2\u0344\u0340"+
"\3\2\2\2\u0345[\3\2\2\2\u0346\u0347\7\34\2\2\u0347\u0348\5^\60\2\u0348"+
"]\3\2\2\2\u0349\u034e\5`\61\2\u034a\u034b\7\20\2\2\u034b\u034d\5`\61\2"+
"\u034c\u034a\3\2\2\2\u034d\u0350\3\2\2\2\u034e\u034c\3\2\2\2\u034e\u034f"+
"\3\2\2\2\u034f_\3\2\2\2\u0350\u034e\3\2\2\2\u0351\u0354\5b\62\2\u0352"+
"\u0354\5d\63\2\u0353\u0351\3\2\2\2\u0353\u0352\3\2\2\2\u0354a\3\2\2\2"+
"\u0355\u0356\5\u01ea\u00f6\2\u0356\u0357\7\4\2\2\u0357\u0358\5\u01ea\u00f6"+
"\2\u0358\u035e\3\2\2\2\u0359\u035a\5\u01ea\u00f6\2\u035a\u035b\7\4\2\2"+
"\u035b\u035c\5\u01f6\u00fc\2\u035c\u035e\3\2\2\2\u035d\u0355\3\2\2\2\u035d"+
"\u0359\3\2\2\2\u035ec\3\2\2\2\u035f\u0360\5\u01ea\u00f6\2\u0360\u0361"+
"\7,\2\2\u0361\u0362\5\u01d4\u00eb\2\u0362e\3\2\2\2\u0363\u0364\7*\2\2"+
"\u0364\u0365\5h\65\2\u0365\u0366\7+\2\2\u0366g\3\2\2\2\u0367\u036c\5j"+
"\66\2\u0368\u0369\7\20\2\2\u0369\u036b\5j\66\2\u036a\u0368\3\2\2\2\u036b"+
"\u036e\3\2\2\2\u036c\u036a\3\2\2\2\u036c\u036d\3\2\2\2\u036di\3\2\2\2"+
"\u036e\u036c\3\2\2\2\u036f\u0370\5\u01d4\u00eb\2\u0370k\3\2\2\2\u0371"+
"\u0373\5|?\2\u0372\u0374\7\3\2\2\u0373\u0372\3\2\2\2\u0373\u0374\3\2\2"+
"\2\u0374\u03b2\3\2\2\2\u0375\u0377\5\u0084C\2\u0376\u0378\7\3\2\2\u0377"+
"\u0376\3\2\2\2\u0377\u0378\3\2\2\2\u0378\u03b2\3\2\2\2\u0379\u037b\5\u008c"+
"G\2\u037a\u037c\7\3\2\2\u037b\u037a\3\2\2\2\u037b\u037c\3\2\2\2\u037c"+
"\u03b2\3\2\2\2\u037d\u037f\5\u00a6T\2\u037e\u0380\7\3\2\2\u037f\u037e"+
"\3\2\2\2\u037f\u0380\3\2\2\2\u0380\u03b2\3\2\2\2\u0381\u0383\5\u00aeX"+
"\2\u0382\u0384\7\3\2\2\u0383\u0382\3\2\2\2\u0383\u0384\3\2\2\2\u0384\u03b2"+
"\3\2\2\2\u0385\u0387\5\u00c6d\2\u0386\u0388\7\3\2\2\u0387\u0386\3\2\2"+
"\2\u0387\u0388\3\2\2\2\u0388\u03b2\3\2\2\2\u0389\u038b\5\u00e8u\2\u038a"+
"\u038c\7\3\2\2\u038b\u038a\3\2\2\2\u038b\u038c\3\2\2\2\u038c\u03b2\3\2"+
"\2\2\u038d\u038f\5\u00f2z\2\u038e\u0390\7\3\2\2\u038f\u038e\3\2\2\2\u038f"+
"\u0390\3\2\2\2\u0390\u03b2\3\2\2\2\u0391\u0393\5\u00fe\u0080\2\u0392\u0394"+
"\7\3\2\2\u0393\u0392\3\2\2\2\u0393\u0394\3\2\2\2\u0394\u03b2\3\2\2\2\u0395"+
"\u0397\5\u0114\u008b\2\u0396\u0398\7\3\2\2\u0397\u0396\3\2\2\2\u0397\u0398"+
"\3\2\2\2\u0398\u03b2\3\2\2\2\u0399\u039b\5\u011a\u008e\2\u039a\u039c\7"+
"\3\2\2\u039b\u039a\3\2\2\2\u039b\u039c\3\2\2\2\u039c\u03b2\3\2\2\2\u039d"+
"\u039f\5\u011c\u008f\2\u039e\u03a0\7\3\2\2\u039f\u039e\3\2\2\2\u039f\u03a0"+
"\3\2\2\2\u03a0\u03b2\3\2\2\2\u03a1\u03a3\5\u0124\u0093\2\u03a2\u03a4\7"+
"\3\2\2\u03a3\u03a2\3\2\2\2\u03a3\u03a4\3\2\2\2\u03a4\u03b2\3\2\2\2\u03a5"+
"\u03a7\5\u012a\u0096\2\u03a6\u03a8\7\3\2\2\u03a7\u03a6\3\2\2\2\u03a7\u03a8"+
"\3\2\2\2\u03a8\u03b2\3\2\2\2\u03a9\u03ab\5\u0204\u0103\2\u03aa\u03ac\7"+
"\3\2\2\u03ab\u03aa\3\2\2\2\u03ab\u03ac\3\2\2\2\u03ac\u03b2\3\2\2\2\u03ad"+
"\u03af\5\u0134\u009b\2\u03ae\u03b0\7\3\2\2\u03af\u03ae\3\2\2\2\u03af\u03b0"+
"\3\2\2\2\u03b0\u03b2\3\2\2\2\u03b1\u0371\3\2\2\2\u03b1\u0375\3\2\2\2\u03b1"+
"\u0379\3\2\2\2\u03b1\u037d\3\2\2\2\u03b1\u0381\3\2\2\2\u03b1\u0385\3\2"+
"\2\2\u03b1\u0389\3\2\2\2\u03b1\u038d\3\2\2\2\u03b1\u0391\3\2\2\2\u03b1"+
"\u0395\3\2\2\2\u03b1\u0399\3\2\2\2\u03b1\u039d\3\2\2\2\u03b1\u03a1\3\2"+
"\2\2\u03b1\u03a5\3\2\2\2\u03b1\u03a9\3\2\2\2\u03b1\u03ad\3\2\2\2\u03b2"+
"m\3\2\2\2\u03b3\u03b5\5l\67\2\u03b4\u03b3\3\2\2\2\u03b5\u03b6\3\2\2\2"+
"\u03b6\u03b4\3\2\2\2\u03b6\u03b7\3\2\2\2\u03b7o\3\2\2\2\u03b8\u03ba\5"+
"r:\2\u03b9\u03b8\3\2\2\2\u03ba\u03bb\3\2\2\2\u03bb\u03b9\3\2\2\2\u03bb"+
"\u03bc\3\2\2\2\u03bcq\3\2\2\2\u03bd\u03d6\7-\2\2\u03be\u03d6\7.\2\2\u03bf"+
"\u03d6\7/\2\2\u03c0\u03d6\7\60\2\2\u03c1\u03d6\7\61\2\2\u03c2\u03d6\7"+
"\62\2\2\u03c3\u03d6\7\63\2\2\u03c4\u03d6\7\64\2\2\u03c5\u03d6\7\65\2\2"+
"\u03c6\u03d6\7\66\2\2\u03c7\u03d6\7\67\2\2\u03c8\u03d6\78\2\2\u03c9\u03d6"+
"\79\2\2\u03ca\u03cb\79\2\2\u03cb\u03cc\7\37\2\2\u03cc\u03cd\7:\2\2\u03cd"+
"\u03d6\7 \2\2\u03ce\u03cf\79\2\2\u03cf\u03d0\7\37\2\2\u03d0\u03d1\7;\2"+
"\2\u03d1\u03d6\7 \2\2\u03d2\u03d6\7<\2\2\u03d3\u03d6\5t;\2\u03d4\u03d6"+
"\5x=\2\u03d5\u03bd\3\2\2\2\u03d5\u03be\3\2\2\2\u03d5\u03bf\3\2\2\2\u03d5"+
"\u03c0\3\2\2\2\u03d5\u03c1\3\2\2\2\u03d5\u03c2\3\2\2\2\u03d5\u03c3\3\2"+
"\2\2\u03d5\u03c4\3\2\2\2\u03d5\u03c5\3\2\2\2\u03d5\u03c6\3\2\2\2\u03d5"+
"\u03c7\3\2\2\2\u03d5\u03c8\3\2\2\2\u03d5\u03c9\3\2\2\2\u03d5\u03ca\3\2"+
"\2\2\u03d5\u03ce\3\2\2\2\u03d5\u03d2\3\2\2\2\u03d5\u03d3\3\2\2\2\u03d5"+
"\u03d4\3\2\2\2\u03d6s\3\2\2\2\u03d7\u03f1\7=\2\2\u03d8\u03d9\7=\2\2\u03d9"+
"\u03da\7\37\2\2\u03da\u03db\7>\2\2\u03db\u03f1\7 \2\2\u03dc\u03f1\7?\2"+
"\2\u03dd\u03de\7?\2\2\u03de\u03df\7\37\2\2\u03df\u03e0\7>\2\2\u03e0\u03f1"+
"\7 \2\2\u03e1\u03f1\7@\2\2\u03e2\u03e3\7@\2\2\u03e3\u03e4\7\37\2\2\u03e4"+
"\u03e5\7>\2\2\u03e5\u03f1\7 \2\2\u03e6\u03f1\7A\2\2\u03e7\u03e8\7A\2\2"+
"\u03e8\u03e9\7\37\2\2\u03e9\u03ea\7>\2\2\u03ea\u03f1\7 \2\2\u03eb\u03f1"+
"\7B\2\2\u03ec\u03ed\7B\2\2\u03ed\u03ee\7\37\2\2\u03ee\u03ef\7>\2\2\u03ef"+
"\u03f1\7 \2\2\u03f0\u03d7\3\2\2\2\u03f0\u03d8\3\2\2\2\u03f0\u03dc\3\2"+
"\2\2\u03f0\u03dd\3\2\2\2\u03f0\u03e1\3\2\2\2\u03f0\u03e2\3\2\2\2\u03f0"+
"\u03e6\3\2\2\2\u03f0\u03e7\3\2\2\2\u03f0\u03eb\3\2\2\2\u03f0\u03ec\3\2"+
"\2\2\u03f1u\3\2\2\2\u03f2\u03f4\5t;\2\u03f3\u03f2\3\2\2\2\u03f4\u03f5"+
"\3\2\2\2\u03f5\u03f3\3\2\2\2\u03f5\u03f6\3\2\2\2\u03f6w\3\2\2\2\u03f7"+
"\u03f8\t\5\2\2\u03f8y\3\2\2\2\u03f9\u03fb\7\16\2\2\u03fa\u03fc\5\6\4\2"+
"\u03fb\u03fa\3\2\2\2\u03fb\u03fc\3\2\2\2\u03fc\u03fd\3\2\2\2\u03fd\u03fe"+
"\7\17\2\2\u03fe{\3\2\2\2\u03ff\u0401\5\u0162\u00b2\2\u0400\u03ff\3\2\2"+
"\2\u0400\u0401\3\2\2\2\u0401\u0402\3\2\2\2\u0402\u0404\7E\2\2\u0403\u0405"+
"\5~@\2\u0404\u0403\3\2\2\2\u0404\u0405\3\2\2\2\u0405\u0406\3\2\2\2\u0406"+
"\u0407\5\u0080A\2\u0407}\3\2\2\2\u0408\u0409\t\6\2\2\u0409\177\3\2\2\2"+
"\u040a\u0410\5\u0082B\2\u040b\u040c\5\u0082B\2\u040c\u040d\7K\2\2\u040d"+
"\u040e\5\u0080A\2\u040e\u0410\3\2\2\2\u040f\u040a\3\2\2\2\u040f\u040b"+
"\3\2\2\2\u0410\u0081\3\2\2\2\u0411\u0414\5\u0224\u0113\2\u0412\u0414\5"+
"\u01cc\u00e7\2\u0413\u0411\3\2\2\2\u0413\u0412\3\2\2\2\u0414\u0083\3\2"+
"\2\2\u0415\u0417\5\u0162\u00b2\2\u0416\u0415\3\2\2\2\u0416\u0417\3\2\2"+
"\2\u0417\u0419\3\2\2\2\u0418\u041a\5p9\2\u0419\u0418\3\2\2\2\u0419\u041a"+
"\3\2\2\2\u041a\u041b\3\2\2\2\u041b\u041c\7\32\2\2\u041c\u041d\5\u0086"+
"D\2\u041d\u0085\3\2\2\2\u041e\u0423\5\u0088E\2\u041f\u0420\7\20\2\2\u0420"+
"\u0422\5\u0088E\2\u0421\u041f\3\2\2\2\u0422\u0425\3\2\2\2\u0423\u0421"+
"\3\2\2\2\u0423\u0424\3\2\2\2\u0424\u0087\3\2\2\2\u0425\u0423\3\2\2\2\u0426"+
"\u0428\5\u0144\u00a3\2\u0427\u0429\5\u008aF\2\u0428\u0427\3\2\2\2\u0428"+
"\u0429\3\2\2\2\u0429\u0089\3\2\2\2\u042a\u042b\7L\2\2\u042b\u042c\5\u0168"+
"\u00b5\2\u042c\u008b\3\2\2\2\u042d\u042e\5\u008eH\2\u042e\u042f\5\u0090"+
"I\2\u042f\u0430\5\u01e8\u00f5\2\u0430\u0431\5\u0092J\2\u0431\u044d\3\2"+
"\2\2\u0432\u0433\5\u008eH\2\u0433\u0434\5\u0090I\2\u0434\u0435\5\u01e8"+
"\u00f5\2\u0435\u0436\5\u009aN\2\u0436\u044d\3\2\2\2\u0437\u0438\5\u008e"+
"H\2\u0438\u0439\5\u0090I\2\u0439\u043a\5\u008aF\2\u043a\u043b\5\u00a0"+
"Q\2\u043b\u044d\3\2\2\2\u043c\u043d\5\u008eH\2\u043d\u043e\5\u0090I\2"+
"\u043e\u0440\5\u01e8\u00f5\2\u043f\u0441\5\u008aF\2\u0440\u043f\3\2\2"+
"\2\u0440\u0441\3\2\2\2\u0441\u0442\3\2\2\2\u0442\u0443\5\u00a0Q\2\u0443"+
"\u044d\3\2\2\2\u0444\u0445\5\u008eH\2\u0445\u0446\5\u0090I\2\u0446\u0447"+
"\5\u01e8\u00f5\2\u0447\u0448\5z>\2\u0448\u044d\3\2\2\2\u0449\u044a\5\u008e"+
"H\2\u044a\u044b\5\u0086D\2\u044b\u044d\3\2\2\2\u044c\u042d\3\2\2\2\u044c"+
"\u0432\3\2\2\2\u044c\u0437\3\2\2\2\u044c\u043c\3\2\2\2\u044c\u0444\3\2"+
"\2\2\u044c\u0449\3\2\2\2\u044d\u008d\3\2\2\2\u044e\u0450\5\u0162\u00b2"+
"\2\u044f\u044e\3\2\2\2\u044f\u0450\3\2\2\2\u0450\u0452\3\2\2\2\u0451\u0453"+
"\5p9\2\u0452\u0451\3\2\2\2\u0452\u0453\3\2\2\2\u0453\u0454\3\2\2\2\u0454"+
"\u0455\7\33\2\2\u0455\u008f\3\2\2\2\u0456\u0457\5\u0224\u0113\2\u0457"+
"\u0091\3\2\2\2\u0458\u0459\7\16\2\2\u0459\u045b\5\u0094K\2\u045a\u045c"+
"\5\u0096L\2\u045b\u045a\3\2\2\2\u045b\u045c\3\2\2\2\u045c\u045d\3\2\2"+
"\2\u045d\u045e\7\17\2\2\u045e\u0465\3\2\2\2\u045f\u0460\7\16\2\2\u0460"+
"\u0461\5\u0096L\2\u0461\u0462\5\u0094K\2\u0462\u0463\7\17\2\2\u0463\u0465"+
"\3\2\2\2\u0464\u0458\3\2\2\2\u0464\u045f\3\2\2\2\u0465\u0093\3\2\2\2\u0466"+
"\u0468\5\u0162\u00b2\2\u0467\u0466\3\2\2\2\u0467\u0468\3\2\2\2\u0468\u046a"+
"\3\2\2\2\u0469\u046b\5p9\2\u046a\u0469\3\2\2\2\u046a\u046b\3\2\2\2\u046b"+
"\u046c\3\2\2\2\u046c\u046d\7M\2\2\u046d\u046e\5z>\2\u046e\u0095\3\2\2"+
"\2\u046f\u0471\5\u0162\u00b2\2\u0470\u046f\3\2\2\2\u0470\u0471\3\2\2\2"+
"\u0471\u0473\3\2\2\2\u0472\u0474\5p9\2\u0473\u0472\3\2\2\2\u0473\u0474"+
"\3\2\2\2\u0474\u0475\3\2\2\2\u0475\u0477\7>\2\2\u0476\u0478\5\u0098M\2"+
"\u0477\u0476\3\2\2\2\u0477\u0478\3\2\2\2\u0478\u0479\3\2\2\2\u0479\u047a"+
"\5z>\2\u047a\u0097\3\2\2\2\u047b\u047c\7\37\2\2\u047c\u047d\5\u0224\u0113"+
"\2\u047d\u047e\7 \2\2\u047e\u0099\3\2\2\2\u047f\u0480\7\16\2\2\u0480\u0482"+
"\5\u009cO\2\u0481\u0483\5\u009eP\2\u0482\u0481\3\2\2\2\u0482\u0483\3\2"+
"\2\2\u0483\u0484\3\2\2\2\u0484\u0485\7\17\2\2\u0485\u048c\3\2\2\2\u0486"+
"\u0487\7\16\2\2\u0487\u0488\5\u009eP\2\u0488\u0489\5\u009cO\2\u0489\u048a"+
"\7\17\2\2\u048a\u048c\3\2\2\2\u048b\u047f\3\2\2\2\u048b\u0486\3\2\2\2"+
"\u048c\u009b\3\2\2\2\u048d\u048f\5\u0162\u00b2\2\u048e\u048d\3\2\2\2\u048e"+
"\u048f\3\2\2\2\u048f\u0490\3\2\2\2\u0490\u0491\7M\2\2\u0491\u009d\3\2"+
"\2\2\u0492\u0494\5\u0162\u00b2\2\u0493\u0492\3\2\2\2\u0493\u0494\3\2\2"+
"\2\u0494\u0495\3\2\2\2\u0495\u0496\7>\2\2\u0496\u009f\3\2\2\2\u0497\u0498"+
"\7\16\2\2\u0498\u049a\5\u00a2R\2\u0499\u049b\5\u00a4S\2\u049a\u0499\3"+
"\2\2\2\u049a\u049b\3\2\2\2\u049b\u049c\3\2\2\2\u049c\u049d\7\17\2\2\u049d"+
"\u04a6\3\2\2\2\u049e\u049f\7\16\2\2\u049f\u04a1\5\u00a4S\2\u04a0\u04a2"+
"\5\u00a2R\2\u04a1\u04a0\3\2\2\2\u04a1\u04a2\3\2\2\2\u04a2\u04a3\3\2\2"+
"\2\u04a3\u04a4\7\17\2\2\u04a4\u04a6\3\2\2\2\u04a5\u0497\3\2\2\2\u04a5"+
"\u049e\3\2\2\2\u04a6\u00a1\3\2\2\2\u04a7\u04a9\5\u0162\u00b2\2\u04a8\u04a7"+
"\3\2\2\2\u04a8\u04a9\3\2\2\2\u04a9\u04aa\3\2\2\2\u04aa\u04ac\7N\2\2\u04ab"+
"\u04ad\5\u0098M\2\u04ac\u04ab\3\2\2\2\u04ac\u04ad\3\2\2\2\u04ad\u04ae"+
"\3\2\2\2\u04ae\u04af\5z>\2\u04af\u00a3\3\2\2\2\u04b0\u04b2\5\u0162\u00b2"+
"\2\u04b1\u04b0\3\2\2\2\u04b1\u04b2\3\2\2\2\u04b2\u04b3\3\2\2\2\u04b3\u04b5"+
"\7O\2\2\u04b4\u04b6\5\u0098M\2\u04b5\u04b4\3\2\2\2\u04b5\u04b6\3\2\2\2"+
"\u04b6\u04b7\3\2\2\2\u04b7\u04b8\5z>\2\u04b8\u00a5\3\2\2\2\u04b9\u04ba"+
"\5\u00a8U\2\u04ba\u04bb\5\u00acW\2\u04bb\u00a7\3\2\2\2\u04bc\u04be\5\u0162"+
"\u00b2\2\u04bd\u04bc\3\2\2\2\u04bd\u04be\3\2\2\2\u04be\u04c0\3\2\2\2\u04bf"+
"\u04c1\5t;\2\u04c0\u04bf\3\2\2\2\u04c0\u04c1\3\2\2\2\u04c1\u04c2\3\2\2"+
"\2\u04c2\u04c3\7F\2\2\u04c3\u04c5\5\u00aaV\2\u04c4\u04c6\5V,\2\u04c5\u04c4"+
"\3\2\2\2\u04c5\u04c6\3\2\2\2\u04c6\u00a9\3\2\2\2\u04c7\u04c8\5\u0224\u0113"+
"\2\u04c8\u00ab\3\2\2\2\u04c9\u04ca\7L\2\2\u04ca\u04cb\5\u01d4\u00eb\2"+
"\u04cb\u00ad\3\2\2\2\u04cc\u04cd\5\u00b0Y\2\u04cd\u04cf\5\u00b2Z\2\u04ce"+
"\u04d0\5V,\2\u04cf\u04ce\3\2\2\2\u04cf\u04d0\3\2\2\2\u04d0\u04d1\3\2\2"+
"\2\u04d1\u04d3\5\u00b4[\2\u04d2\u04d4\5\\/\2\u04d3\u04d2\3\2\2\2\u04d3"+
"\u04d4\3\2\2\2\u04d4\u04d5\3\2\2\2\u04d5\u04d6\5\u00b8]\2\u04d6\u04e1"+
"\3\2\2\2\u04d7\u04d8\5\u00b0Y\2\u04d8\u04da\5\u00b2Z\2\u04d9\u04db\5V"+
",\2\u04da\u04d9\3\2\2\2\u04da\u04db\3\2\2\2\u04db\u04dc\3\2\2\2\u04dc"+
"\u04de\5\u00b4[\2\u04dd\u04df\5\\/\2\u04de\u04dd\3\2\2\2\u04de\u04df\3"+
"\2\2\2\u04df\u04e1\3\2\2\2\u04e0\u04cc\3\2\2\2\u04e0\u04d7\3\2\2\2\u04e1"+
"\u00af\3\2\2\2\u04e2\u04e4\5\u0162\u00b2\2\u04e3\u04e2\3\2\2\2\u04e3\u04e4"+
"\3\2\2\2\u04e4\u04e6\3\2\2\2\u04e5\u04e7\5p9\2\u04e6\u04e5\3\2\2\2\u04e6"+
"\u04e7\3\2\2\2\u04e7\u04e8\3\2\2\2\u04e8\u04e9\7J\2\2\u04e9\u00b1\3\2"+
"\2\2\u04ea\u04ed\5\u0224\u0113\2\u04eb\u04ed\5\u01cc\u00e7\2\u04ec\u04ea"+
"\3\2\2\2\u04ec\u04eb\3\2\2\2\u04ed\u00b3\3\2\2\2\u04ee\u04f0\5\u00ba^"+
"\2\u04ef\u04f1\t\7\2\2\u04f0\u04ef\3\2\2\2\u04f0\u04f1\3\2\2\2\u04f1\u04f3"+
"\3\2\2\2\u04f2\u04f4\5\u00b6\\\2\u04f3\u04f2\3\2\2\2\u04f3\u04f4\3\2\2"+
"\2\u04f4\u00b5\3\2\2\2\u04f5\u04f7\7R\2\2\u04f6\u04f8\5\u0162\u00b2\2"+
"\u04f7\u04f6\3\2\2\2\u04f7\u04f8\3\2\2\2\u04f8\u04f9\3\2\2\2\u04f9\u04fa"+
"\5\u01d4\u00eb\2\u04fa\u00b7\3\2\2\2\u04fb\u04fc\5z>\2\u04fc\u00b9\3\2"+
"\2\2\u04fd\u04fe\7\37\2\2\u04fe\u0507\7 \2\2\u04ff\u0500\7\37\2\2\u0500"+
"\u0502\5\u00bc_\2\u0501\u0503\7S\2\2\u0502\u0501\3\2\2\2\u0502\u0503\3"+
"\2\2\2\u0503\u0504\3\2\2\2\u0504\u0505\7 \2\2\u0505\u0507\3\2\2\2\u0506"+
"\u04fd\3\2\2\2\u0506\u04ff\3\2\2\2\u0507\u00bb\3\2\2\2\u0508\u050d\5\u00be"+
"`\2\u0509\u050a\7\20\2\2\u050a\u050c\5\u00be`\2\u050b\u0509\3\2\2\2\u050c"+
"\u050f\3\2\2\2\u050d\u050b\3\2\2\2\u050d\u050e\3\2\2\2\u050e\u00bd\3\2"+
"\2\2\u050f\u050d\3\2\2\2\u0510\u0512\5\u0162\u00b2\2\u0511\u0510\3\2\2"+
"\2\u0511\u0512\3\2\2\2\u0512\u0514\3\2\2\2\u0513\u0515\5\u00c0a\2\u0514"+
"\u0513\3\2\2\2\u0514\u0515\3\2\2\2\u0515\u0516\3\2\2\2\u0516\u0517\5\u00c2"+
"b\2\u0517\u0519\5\u01e8\u00f5\2\u0518\u051a\5\u00c4c\2\u0519\u0518\3\2"+
"\2\2\u0519\u051a\3\2\2\2\u051a\u0526\3\2\2\2\u051b\u051d\5\u0162\u00b2"+
"\2\u051c\u051b\3\2\2\2\u051c\u051d\3\2\2\2\u051d\u051f\3\2\2\2\u051e\u0520"+
"\5\u00c0a\2\u051f\u051e\3\2\2\2\u051f\u0520\3\2\2\2\u0520\u0521\3\2\2"+
"\2\u0521\u0522\5\u00c2b\2\u0522\u0523\5\u01e8\u00f5\2\u0523\u0524\7S\2"+
"\2\u0524\u0526\3\2\2\2\u0525\u0511\3\2\2\2\u0525\u051c\3\2\2\2\u0526\u00bf"+
"\3\2\2\2\u0527\u052b\5\u0224\u0113\2\u0528\u052b\5\u0226\u0114\2\u0529"+
"\u052b\7T\2\2\u052a\u0527\3\2\2\2\u052a\u0528\3\2\2\2\u052a\u0529\3\2"+
"\2\2\u052b\u00c1\3\2\2\2\u052c\u052f\5\u0224\u0113\2\u052d\u052f\7T\2"+
"\2\u052e\u052c\3\2\2\2\u052e\u052d\3\2\2\2\u052f\u00c3\3\2\2\2\u0530\u0531"+
"\7L\2\2\u0531\u0532\5\u0168\u00b5\2\u0532\u00c5\3\2\2\2\u0533\u0535\5"+
"\u0162\u00b2\2\u0534\u0533\3\2\2\2\u0534\u0535\3\2\2\2\u0535\u0537\3\2"+
"\2\2\u0536\u0538\5t;\2\u0537\u0536\3\2\2\2\u0537\u0538\3\2\2\2\u0538\u0539"+
"\3\2\2\2\u0539\u053a\5\u00c8e\2\u053a\u00c7\3\2\2\2\u053b\u053e\5\u00ca"+
"f\2\u053c\u053e\5\u00dan\2\u053d\u053b\3\2\2\2\u053d\u053c\3\2\2\2\u053e"+
"\u00c9\3\2\2\2\u053f\u0541\7U\2\2\u0540\u053f\3\2\2\2\u0540\u0541\3\2"+
"\2\2\u0541\u0542\3\2\2\2\u0542\u0543\7H\2\2\u0543\u0545\5\u00d6l\2\u0544"+
"\u0546\5V,\2\u0545\u0544\3\2\2\2\u0545\u0546\3\2\2\2\u0546\u0548\3\2\2"+
"\2\u0547\u0549\5\u01fe\u0100\2\u0548\u0547\3\2\2\2\u0548\u0549\3\2\2\2"+
"\u0549\u054b\3\2\2\2\u054a\u054c\5\\/\2\u054b\u054a\3\2\2\2\u054b\u054c"+
"\3\2\2\2\u054c\u054d\3\2\2\2\u054d\u054f\7\16\2\2\u054e\u0550\5\u00cc"+
"g\2\u054f\u054e\3\2\2\2\u054f\u0550\3\2\2\2\u0550\u0551\3\2\2\2\u0551"+
"\u0552\7\17\2\2\u0552\u00cb\3\2\2\2\u0553\u0555\5\u00ceh\2\u0554\u0553"+
"\3\2\2\2\u0555\u0556\3\2\2\2\u0556\u0554\3\2\2\2\u0556\u0557\3\2\2\2\u0557"+
"\u00cd\3\2\2\2\u0558\u055f\5l\67\2\u0559\u055b\5\u00d0i\2\u055a\u055c"+
"\7\3\2\2\u055b\u055a\3\2\2\2\u055b\u055c\3\2\2\2\u055c\u055f\3\2\2\2\u055d"+
"\u055f\5\u0204\u0103\2\u055e\u0558\3\2\2\2\u055e\u0559\3\2\2\2\u055e\u055d"+
"\3\2\2\2\u055f\u00cf\3\2\2\2\u0560\u0562\5\u0162\u00b2\2\u0561\u0560\3"+
"\2\2\2\u0561\u0562\3\2\2\2\u0562\u0564\3\2\2\2\u0563\u0565\7U\2\2\u0564"+
"\u0563\3\2\2\2\u0564\u0565\3\2\2\2\u0565\u0566\3\2\2\2\u0566\u0567\7\6"+
"\2\2\u0567\u0568\5\u00d2j\2\u0568\u00d1\3\2\2\2\u0569\u056e\5\u00d4k\2"+
"\u056a\u056b\7\20\2\2\u056b\u056d\5\u00d4k\2\u056c\u056a\3\2\2\2\u056d"+
"\u0570\3\2\2\2\u056e\u056c\3\2\2\2\u056e\u056f\3\2\2\2\u056f\u00d3\3\2"+
"\2\2\u0570\u056e\3\2\2\2\u0571\u0573\5\u00d8m\2\u0572\u0574\5\u01ee\u00f8"+
"\2\u0573\u0572\3\2\2\2\u0573\u0574\3\2\2\2\u0574\u00d5\3\2\2\2\u0575\u0576"+
"\5\u0224\u0113\2\u0576\u00d7\3\2\2\2\u0577\u0578\5\u0224\u0113\2\u0578"+
"\u00d9\3\2\2\2\u0579\u057a\7H\2\2\u057a\u057c\5\u00d6l\2\u057b\u057d\5"+
"V,\2\u057c\u057b\3\2\2\2\u057c\u057d\3\2\2\2\u057d\u057f\3\2\2\2\u057e"+
"\u0580\5\u01fe\u0100\2\u057f\u057e\3\2\2\2\u057f\u0580\3\2\2\2\u0580\u0582"+
"\3\2\2\2\u0581\u0583\5\\/\2\u0582\u0581\3\2\2\2\u0582\u0583\3\2\2\2\u0583"+
"\u0584\3\2\2\2\u0584\u0586\7\16\2\2\u0585\u0587\5\u00dco\2\u0586\u0585"+
"\3\2\2\2\u0586\u0587\3\2\2\2\u0587\u0588\3\2\2\2\u0588\u0589\7\17\2\2"+
"\u0589\u00db\3\2\2\2\u058a\u058c\5\u00dep\2\u058b\u058a\3\2\2\2\u058c"+
"\u058d\3\2\2\2\u058d\u058b\3\2\2\2\u058d\u058e\3\2\2\2\u058e\u00dd\3\2"+
"\2\2\u058f\u0593\5l\67\2\u0590\u0593\5\u00e0q\2\u0591\u0593\5\u0204\u0103"+
"\2\u0592\u058f\3\2\2\2\u0592\u0590\3\2\2\2\u0592\u0591\3\2\2\2\u0593\u00df"+
"\3\2\2\2\u0594\u0596\5\u0162\u00b2\2\u0595\u0594\3\2\2\2\u0595\u0596\3"+
"\2\2\2\u0596\u0597\3\2\2\2\u0597\u0598\7\6\2\2\u0598\u0599\5\u00e2r\2"+
"\u0599\u00e1\3\2\2\2\u059a\u059f\5\u00e4s\2\u059b\u059c\7\20\2\2\u059c"+
"\u059e\5\u00e4s\2\u059d\u059b\3\2\2\2\u059e\u05a1\3\2\2\2\u059f\u059d"+
"\3\2\2\2\u059f\u05a0\3\2\2\2\u05a0\u00e3\3\2\2\2\u05a1\u059f\3\2\2\2\u05a2"+
"\u05a4\5\u00d8m\2\u05a3\u05a5\5\u00e6t\2\u05a4\u05a3\3\2\2\2\u05a4\u05a5"+
"\3\2\2\2\u05a5\u00e5\3\2\2\2\u05a6\u05a7\7L\2\2\u05a7\u05a8\5\u0230\u0119"+
"\2\u05a8\u00e7\3\2\2\2\u05a9\u05ab\5\u0162\u00b2\2\u05aa\u05a9\3\2\2\2"+
"\u05aa\u05ab\3\2\2\2\u05ab\u05ad\3\2\2\2\u05ac\u05ae\5t;\2\u05ad\u05ac"+
"\3\2\2\2\u05ad\u05ae\3\2\2\2\u05ae\u05af\3\2\2\2\u05af\u05b0\7G\2\2\u05b0"+
"\u05b2\5\u00eav\2\u05b1\u05b3\5V,\2\u05b2\u05b1\3\2\2\2\u05b2\u05b3\3"+
"\2\2\2\u05b3\u05b5\3\2\2\2\u05b4\u05b6\5\u01fe\u0100\2\u05b5\u05b4\3\2"+
"\2\2\u05b5\u05b6\3\2\2\2\u05b6\u05b8\3\2\2\2\u05b7\u05b9\5\\/\2\u05b8"+
"\u05b7\3\2\2\2\u05b8\u05b9\3\2\2\2\u05b9\u05ba\3\2\2\2\u05ba\u05bb\5\u00ec"+
"w\2\u05bb\u00e9\3\2\2\2\u05bc\u05bd\5\u0224\u0113\2\u05bd\u00eb\3\2\2"+
"\2\u05be\u05c0\7\16\2\2\u05bf\u05c1\5\u00eex\2\u05c0\u05bf\3\2\2\2\u05c0"+
"\u05c1\3\2\2\2\u05c1\u05c2\3\2\2\2\u05c2\u05c3\7\17\2\2\u05c3\u00ed\3"+
"\2\2\2\u05c4\u05c6\5\u00f0y\2\u05c5\u05c4\3\2\2\2\u05c6\u05c7\3\2\2\2"+
"\u05c7\u05c5\3\2\2\2\u05c7\u05c8\3\2\2\2\u05c8\u00ef\3\2\2\2\u05c9\u05cc"+
"\5l\67\2\u05ca\u05cc\5\u0204\u0103\2\u05cb\u05c9\3\2\2\2\u05cb\u05ca\3"+
"\2\2\2\u05cc\u00f1\3\2\2\2\u05cd\u05cf\5\u0162\u00b2\2\u05ce\u05cd\3\2"+
"\2\2\u05ce\u05cf\3\2\2\2\u05cf\u05d1\3\2\2\2\u05d0\u05d2\5\u00f4{\2\u05d1"+
"\u05d0\3\2\2\2\u05d1\u05d2\3\2\2\2\u05d2\u05d3\3\2\2\2\u05d3\u05d4\7-"+
"\2\2\u05d4\u05d6\5\u00f6|\2\u05d5\u05d7\5V,\2\u05d6\u05d5\3\2\2\2\u05d6"+
"\u05d7\3\2\2\2\u05d7\u05d9\3\2\2\2\u05d8\u05da\5\u01fe\u0100\2\u05d9\u05d8"+
"\3\2\2\2\u05d9\u05da\3\2\2\2\u05da\u05dc\3\2\2\2\u05db\u05dd\5\\/\2\u05dc"+
"\u05db\3\2\2\2\u05dc\u05dd\3\2\2\2\u05dd\u05de\3\2\2\2\u05de\u05df\5\u00f8"+
"}\2\u05df\u00f3\3\2\2\2\u05e0\u05e2\5t;\2\u05e1\u05e3\7\60\2\2\u05e2\u05e1"+
"\3\2\2\2\u05e2\u05e3\3\2\2\2\u05e3\u05e9\3\2\2\2\u05e4\u05e6\7\60\2\2"+
"\u05e5\u05e7\5t;\2\u05e6\u05e5\3\2\2\2\u05e6\u05e7\3\2\2\2\u05e7\u05e9"+
"\3\2\2\2\u05e8\u05e0\3\2\2\2\u05e8\u05e4\3\2\2\2\u05e9\u00f5\3\2\2\2\u05ea"+
"\u05eb\5\u0224\u0113\2\u05eb\u00f7\3\2\2\2\u05ec\u05ee\7\16\2\2\u05ed"+
"\u05ef\5\u00fa~\2\u05ee\u05ed\3\2\2\2\u05ee\u05ef\3\2\2\2\u05ef\u05f0"+
"\3\2\2\2\u05f0\u05f1\7\17\2\2\u05f1\u00f9\3\2\2\2\u05f2\u05f4\5\u00fc"+
"\177\2\u05f3\u05f2\3\2\2\2\u05f4\u05f5\3\2\2\2\u05f5\u05f3\3\2\2\2\u05f5"+
"\u05f6\3\2\2\2\u05f6\u00fb\3\2\2\2\u05f7\u05fa\5l\67\2\u05f8\u05fa\5\u0204"+
"\u0103\2\u05f9\u05f7\3\2\2\2\u05f9\u05f8\3\2\2\2\u05fa\u00fd\3\2\2\2\u05fb"+
"\u05fd\5\u0162\u00b2\2\u05fc\u05fb\3\2\2\2\u05fc\u05fd\3\2\2\2\u05fd\u05ff"+
"\3\2\2\2\u05fe\u0600\5t;\2\u05ff\u05fe\3\2\2\2\u05ff\u0600\3\2\2\2\u0600"+
"\u0601\3\2\2\2\u0601\u0602\7I\2\2\u0602\u0604\5\u0100\u0081\2\u0603\u0605"+
"\5\u01fe\u0100\2\u0604\u0603\3\2\2\2\u0604\u0605\3\2\2\2\u0605\u0606\3"+
"\2\2\2\u0606\u0607\5\u0102\u0082\2\u0607\u00ff\3\2\2\2\u0608\u0609\5\u0224"+
"\u0113\2\u0609\u0101\3\2\2\2\u060a\u060c\7\16\2\2\u060b\u060d\5\u0104"+
"\u0083\2\u060c\u060b\3\2\2\2\u060c\u060d\3\2\2\2\u060d\u060e\3\2\2\2\u060e"+
"\u060f\7\17\2\2\u060f\u0103\3\2\2\2\u0610\u0612\5\u0106\u0084\2\u0611"+
"\u0610\3\2\2\2\u0612\u0613\3\2\2\2\u0613\u0611\3\2\2\2\u0613\u0614\3\2"+
"\2\2\u0614\u0105\3\2\2\2\u0615\u0618\5\u0108\u0085\2\u0616\u0618\5\u0204"+
"\u0103\2\u0617\u0615\3\2\2\2\u0617\u0616\3\2\2\2\u0618\u0107\3\2\2\2\u0619"+
"\u061b\5\u010a\u0086\2\u061a\u061c\7\3\2\2\u061b\u061a\3\2\2\2\u061b\u061c"+
"\3\2\2\2\u061c\u062e\3\2\2\2\u061d\u061f\5\u010c\u0087\2\u061e\u0620\7"+
"\3\2\2\u061f\u061e\3\2\2\2\u061f\u0620\3\2\2\2\u0620\u062e\3\2\2\2\u0621"+
"\u0623\5\u010e\u0088\2\u0622\u0624\7\3\2\2\u0623\u0622\3\2\2\2\u0623\u0624"+
"\3\2\2\2\u0624\u062e\3\2\2\2\u0625\u0627\5\u0110\u0089\2\u0626\u0628\7"+
"\3\2\2\u0627\u0626\3\2\2\2\u0627\u0628\3\2\2\2\u0628\u062e\3\2\2\2\u0629"+
"\u062b\5\u0112\u008a\2\u062a\u062c\7\3\2\2\u062b\u062a\3\2\2\2\u062b\u062c"+
"\3\2\2\2\u062c\u062e\3\2\2\2\u062d\u0619\3\2\2\2\u062d\u061d\3\2\2\2\u062d"+
"\u0621\3\2\2\2\u062d\u0625\3\2\2\2\u062d\u0629\3\2\2\2\u062e\u0109\3\2"+
"\2\2\u062f\u0630\5\u008eH\2\u0630\u0631\5\u0090I\2\u0631\u0632\5\u01e8"+
"\u00f5\2\u0632\u0633\5\u009aN\2\u0633\u010b\3\2\2\2\u0634\u0635\5\u00b0"+
"Y\2\u0635\u0637\5\u00b2Z\2\u0636\u0638\5V,\2\u0637\u0636\3\2\2\2\u0637"+
"\u0638\3\2\2\2\u0638\u0639\3\2\2\2\u0639\u063b\5\u00b4[\2\u063a\u063c"+
"\5\\/\2\u063b\u063a\3\2\2\2\u063b\u063c\3\2\2\2\u063c\u010d\3\2\2\2\u063d"+
"\u063f\5\u0116\u008c\2\u063e\u0640\5V,\2\u063f\u063e\3\2\2\2\u063f\u0640"+
"\3\2\2\2\u0640\u0641\3\2\2\2\u0641\u0643\5\u00ba^\2\u0642\u0644\t\7\2"+
"\2\u0643\u0642\3\2\2\2\u0643\u0644\3\2\2\2\u0644\u0646\3\2\2\2\u0645\u0647"+
"\5\\/\2\u0646\u0645\3\2\2\2\u0646\u0647\3\2\2\2\u0647\u010f\3\2\2\2\u0648"+
"\u0649\5\u0126\u0094\2\u0649\u064a\5\u0128\u0095\2\u064a\u064b\5\u009a"+
"N\2\u064b\u0111\3\2\2\2\u064c\u064e\5\u0162\u00b2\2\u064d\u064c\3\2\2"+
"\2\u064d\u064e\3\2\2\2\u064e\u0650\3\2\2\2\u064f\u0651\5t;\2\u0650\u064f"+
"\3\2\2\2\u0650\u0651\3\2\2\2\u0651\u0652\3\2\2\2\u0652\u0653\7V\2\2\u0653"+
"\u0655\5\u00aaV\2\u0654\u0656\5\u01fe\u0100\2\u0655\u0654\3\2\2\2\u0655"+
"\u0656\3\2\2\2\u0656\u0658\3\2\2\2\u0657\u0659\5\u00acW\2\u0658\u0657"+
"\3\2\2\2\u0658\u0659\3\2\2\2\u0659\u0113\3\2\2\2\u065a\u065c\5\u0116\u008c"+
"\2\u065b\u065d\5V,\2\u065c\u065b\3\2\2\2\u065c\u065d\3\2\2\2\u065d\u065e"+
"\3\2\2\2\u065e\u0660\5\u00ba^\2\u065f\u0661\t\7\2\2\u0660\u065f\3\2\2"+
"\2\u0660\u0661\3\2\2\2\u0661\u0663\3\2\2\2\u0662\u0664\5\\/\2\u0663\u0662"+
"\3\2\2\2\u0663\u0664\3\2\2\2\u0664\u0665\3\2\2\2\u0665\u0666\5\u0118\u008d"+
"\2\u0666\u0115\3\2\2\2\u0667\u0669\5\u0162\u00b2\2\u0668\u0667\3\2\2\2"+
"\u0668\u0669\3\2\2\2\u0669\u066b\3\2\2\2\u066a\u066c\5p9\2\u066b\u066a"+
"\3\2\2\2\u066b\u066c\3\2\2\2\u066c\u066d\3\2\2\2\u066d\u066f\7W\2\2\u066e"+
"\u0670\t\b\2\2\u066f\u066e\3\2\2\2\u066f\u0670\3\2\2\2\u0670\u0117\3\2"+
"\2\2\u0671\u0672\5z>\2\u0672\u0119\3\2\2\2\u0673\u0675\5\u0162\u00b2\2"+
"\u0674\u0673\3\2\2\2\u0674\u0675\3\2\2\2\u0675\u0676\3\2\2\2\u0676\u0677"+
"\7Z\2\2\u0677\u0678\5z>\2\u0678\u011b\3\2\2\2\u0679\u067b\5\u0162\u00b2"+
"\2\u067a\u0679\3\2\2\2\u067a\u067b\3\2\2\2\u067b\u067d\3\2\2\2\u067c\u067e"+
"\5t;\2\u067d\u067c\3\2\2\2\u067d\u067e\3\2\2\2\u067e\u067f\3\2\2\2\u067f"+
"\u0680\7[\2\2\u0680\u0683\5\u01ea\u00f6\2\u0681\u0684\5\\/\2\u0682\u0684"+
"\5\u01fe\u0100\2\u0683\u0681\3\2\2\2\u0683\u0682\3\2\2\2\u0683\u0684\3"+
"\2\2\2\u0684\u0685\3\2\2\2\u0685\u0686\5\u011e\u0090\2\u0686\u011d\3\2"+
"\2\2\u0687\u0689\7\16\2\2\u0688\u068a\5\u0120\u0091\2\u0689\u0688\3\2"+
"\2\2\u0689\u068a\3\2\2\2\u068a\u068b\3\2\2\2\u068b\u068c\7\17\2\2\u068c"+
"\u011f\3\2\2\2\u068d\u068f\5\u0122\u0092\2\u068e\u068d\3\2\2\2\u068f\u0690"+
"\3\2\2\2\u0690\u068e\3\2\2\2\u0690\u0691\3\2\2\2\u0691\u0121\3\2\2\2\u0692"+
"\u0695\5l\67\2\u0693\u0695\5\u0204\u0103\2\u0694\u0692\3\2\2\2\u0694\u0693"+
"\3\2\2\2\u0695\u0123\3\2\2\2\u0696\u0697\5\u0126\u0094\2\u0697\u0698\5"+
"\u0128\u0095\2\u0698\u0699\5\u0092J\2\u0699\u06a3\3\2\2\2\u069a\u069b"+
"\5\u0126\u0094\2\u069b\u069c\5\u0128\u0095\2\u069c\u069d\5\u009aN\2\u069d"+
"\u06a3\3\2\2\2\u069e\u069f\5\u0126\u0094\2\u069f\u06a0\5\u0128\u0095\2"+
"\u06a0\u06a1\5z>\2\u06a1\u06a3\3\2\2\2\u06a2\u0696\3\2\2\2\u06a2\u069a"+
"\3\2\2\2\u06a2\u069e\3\2\2\2\u06a3\u0125\3\2\2\2\u06a4\u06a6\5\u0162\u00b2"+
"\2\u06a5\u06a4\3\2\2\2\u06a5\u06a6\3\2\2\2\u06a6\u06a8\3\2\2\2\u06a7\u06a9"+
"\5p9\2\u06a8\u06a7\3\2\2\2\u06a8\u06a9\3\2\2\2\u06a9\u06aa\3\2\2\2\u06aa"+
"\u06ab\7\\\2\2\u06ab\u06ac\5\u00ba^\2\u06ac\u0127\3\2\2\2\u06ad\u06af"+
"\7R\2\2\u06ae\u06b0\5\u0162\u00b2\2\u06af\u06ae\3\2\2\2\u06af\u06b0\3"+
"\2\2\2\u06b0\u06b1\3\2\2\2\u06b1\u06b2\5\u01d4\u00eb\2\u06b2\u0129\3\2"+
"\2\2\u06b3\u06b7\5\u012c\u0097\2\u06b4\u06b7\5\u012e\u0098\2\u06b5\u06b7"+
"\5\u0130\u0099\2\u06b6\u06b3\3\2\2\2\u06b6\u06b4\3\2\2\2\u06b6\u06b5\3"+
"\2\2\2\u06b7\u012b\3\2\2\2\u06b8\u06b9\7\66\2\2\u06b9\u06ba\7]\2\2\u06ba"+
"\u06bb\5\u01cc\u00e7\2\u06bb\u012d\3\2\2\2\u06bc\u06bd\7\65\2\2\u06bd"+
"\u06be\7]\2\2\u06be\u06bf\5\u01cc\u00e7\2\u06bf\u012f\3\2\2\2\u06c0\u06c1"+
"\7\61\2\2\u06c1\u06c2\7]\2\2\u06c2\u06c4\5\u01cc\u00e7\2\u06c3\u06c5\5"+
"\u0132\u009a\2\u06c4\u06c3\3\2\2\2\u06c4\u06c5\3\2\2\2\u06c5\u0131\3\2"+
"\2\2\u06c6\u06c7\7\4\2\2\u06c7\u06c8\5\u0142\u00a2\2\u06c8\u0133\3\2\2"+
"\2\u06c9\u06ca\7^\2\2\u06ca\u06cb\5\u0142\u00a2\2\u06cb\u06cd\7\16\2\2"+
"\u06cc\u06ce\5\u0136\u009c\2\u06cd\u06cc\3\2\2\2\u06cd\u06ce\3\2\2\2\u06ce"+
"\u06cf\3\2\2\2\u06cf\u06d0\7\17\2\2\u06d0\u0135\3\2\2\2\u06d1\u06d3\5"+
"\u0138\u009d\2\u06d2\u06d1\3\2\2\2\u06d3\u06d4\3\2\2\2\u06d4\u06d2\3\2"+
"\2\2\u06d4\u06d5\3\2\2\2\u06d5\u0137\3\2\2\2\u06d6\u06da\5\u013a\u009e"+
"\2\u06d7\u06da\5\u013c\u009f\2\u06d8\u06da\5\u013e\u00a0\2\u06d9\u06d6"+
"\3\2\2\2\u06d9\u06d7\3\2\2\2\u06d9\u06d8\3\2\2\2\u06da\u0139\3\2\2\2\u06db"+
"\u06dc\t\t\2\2\u06dc\u06dd\7\4\2\2\u06dd\u06de\5\u0140\u00a1\2\u06de\u013b"+
"\3\2\2\2\u06df\u06e0\7a\2\2\u06e0\u06e1\7\4\2\2\u06e1\u06e2\5\u022e\u0118"+
"\2\u06e2\u013d\3\2\2\2\u06e3\u06e4\7b\2\2\u06e4\u06e5\7\4\2\2\u06e5\u06e6"+
"\t\n\2\2\u06e6\u013f\3\2\2\2\u06e7\u06ec\5\u0142\u00a2\2\u06e8\u06e9\7"+
"\20\2\2\u06e9\u06eb\5\u0142\u00a2\2\u06ea\u06e8\3\2\2\2\u06eb\u06ee\3"+
"\2\2\2\u06ec\u06ea\3\2\2\2\u06ec\u06ed\3\2\2\2\u06ed\u0141\3\2\2\2\u06ee"+
"\u06ec\3\2\2\2\u06ef\u06f0\5\u0224\u0113\2\u06f0\u0143\3\2\2\2\u06f1\u06f2"+
"\b\u00a3\1\2\u06f2\u06f4\5\u0146\u00a4\2\u06f3\u06f5\5\u01e8\u00f5\2\u06f4"+
"\u06f3\3\2\2\2\u06f4\u06f5\3\2\2\2\u06f5\u0704\3\2\2\2\u06f6\u06f8\5\u0148"+
"\u00a5\2\u06f7\u06f9\5\u01e8\u00f5\2\u06f8\u06f7\3\2\2\2\u06f8\u06f9\3"+
"\2\2\2\u06f9\u0704\3\2\2\2\u06fa\u0704\5\u014a\u00a6\2\u06fb\u06fd\5\u014c"+
"\u00a7\2\u06fc\u06fe\5\u01e8\u00f5\2\u06fd\u06fc\3\2\2\2\u06fd\u06fe\3"+
"\2\2\2\u06fe\u0704\3\2\2\2\u06ff\u0704\5\u0152\u00aa\2\u0700\u0701\7f"+
"\2\2\u0701\u0704\5\u01d4\u00eb\2\u0702\u0704\5\u015a\u00ae\2\u0703\u06f1"+
"\3\2\2\2\u0703\u06f6\3\2\2\2\u0703\u06fa\3\2\2\2\u0703\u06fb\3\2\2\2\u0703"+
"\u06ff\3\2\2\2\u0703\u0700\3\2\2\2\u0703\u0702\3\2\2\2\u0704\u070a\3\2"+
"\2\2\u0705\u0706\f\4\2\2\u0706\u0707\7g\2\2\u0707\u0709\5\u01d4\u00eb"+
"\2\u0708\u0705\3\2\2\2\u0709\u070c\3\2\2\2\u070a\u0708\3\2\2\2\u070a\u070b"+
"\3\2\2\2\u070b\u0145\3\2\2\2\u070c\u070a\3\2\2\2\u070d\u070e\7T\2\2\u070e"+
"\u0147\3\2\2\2\u070f\u0710\5\u0224\u0113\2\u0710\u0149\3\2\2\2\u0711\u0712"+
"\7\33\2\2\u0712\u0716\5\u0144\u00a3\2\u0713\u0714\7\32\2\2\u0714\u0716"+
"\5\u0144\u00a3\2\u0715\u0711\3\2\2\2\u0715\u0713\3\2\2\2\u0716\u014b\3"+
"\2\2\2\u0717\u0719\7\37\2\2\u0718\u071a\5\u014e\u00a8\2\u0719\u0718\3"+
"\2\2\2\u0719\u071a\3\2\2\2\u071a\u071b\3\2\2\2\u071b\u071c\7 \2\2\u071c"+
"\u014d\3\2\2\2\u071d\u0722\5\u0150\u00a9\2\u071e\u071f\7\20\2\2\u071f"+
"\u0721\5\u0150\u00a9\2\u0720\u071e\3\2\2\2\u0721\u0724\3\2\2\2\u0722\u0720"+
"\3\2\2\2\u0722\u0723\3\2\2\2\u0723\u014f\3\2\2\2\u0724\u0722\3\2\2\2\u0725"+
"\u072b\5\u0144\u00a3\2\u0726\u0727\5\u0224\u0113\2\u0727\u0728\7\4\2\2"+
"\u0728\u0729\5\u0144\u00a3\2\u0729\u072b\3\2\2\2\u072a\u0725\3\2\2\2\u072a"+
"\u0726\3\2\2\2\u072b\u0151\3\2\2\2\u072c\u072e\5\u01ea\u00f6\2\u072d\u072c"+
"\3\2\2\2\u072d\u072e\3\2\2\2\u072e\u0730\3\2\2\2\u072f\u0731\7K\2\2\u0730"+
"\u072f\3\2\2\2\u0730\u0731\3\2\2\2\u0731\u0732\3\2\2\2\u0732\u0734\5\u00d8"+
"m\2\u0733\u0735\5\u014c\u00a7\2\u0734\u0733\3\2\2\2\u0734\u0735\3\2\2"+
"\2\u0735\u0153\3\2\2\2\u0736\u0739\5\u0156\u00ac\2\u0737\u0739\5\u0158"+
"\u00ad\2\u0738\u0736\3\2\2\2\u0738\u0737\3\2\2\2\u0739\u0155\3\2\2\2\u073a"+
"\u073b\7f\2\2\u073b\u073c\5\u01d4\u00eb\2\u073c\u0157\3\2\2\2\u073d\u073e"+
"\5\u0144\u00a3\2\u073e\u073f\7g\2\2\u073f\u0740\5\u01d4\u00eb\2\u0740"+
"\u0159\3\2\2\2\u0741\u0742\5\u0168\u00b5\2\u0742\u015b\3\2\2\2\u0743\u0744"+
"\7h\2\2\u0744\u0746\5\u015e\u00b0\2\u0745\u0747\5\u0160\u00b1\2\u0746"+
"\u0745\3\2\2\2\u0746\u0747\3\2\2\2\u0747\u015d\3\2\2\2\u0748\u0749\5\u0224"+
"\u0113\2\u0749\u015f\3\2\2\2\u074a\u074c\7\37\2\2\u074b\u074d\5\u0164"+
"\u00b3\2\u074c\u074b\3\2\2\2\u074c\u074d\3\2\2\2\u074d\u074e\3\2\2\2\u074e"+
"\u074f\7 \2\2\u074f\u0161\3\2\2\2\u0750\u0752\5\u015c\u00af\2\u0751\u0750"+
"\3\2\2\2\u0752\u0753\3\2\2\2\u0753\u0751\3\2\2\2\u0753\u0754\3\2\2\2\u0754"+
"\u0163\3\2\2\2\u0755\u0757\5\u0166\u00b4\2\u0756\u0755\3\2\2\2\u0757\u0758"+
"\3\2\2\2\u0758\u0756\3\2\2\2\u0758\u0759\3\2\2\2\u0759\u0165\3\2\2\2\u075a"+
"\u075c\7\37\2\2\u075b\u075d\5\u0164\u00b3\2\u075c\u075b\3\2\2\2\u075c"+
"\u075d\3\2\2\2\u075d\u075e\3\2\2\2\u075e\u077c\7 \2\2\u075f\u0761\7i\2"+
"\2\u0760\u0762\5\u0164\u00b3\2\u0761\u0760\3\2\2\2\u0761\u0762\3\2\2\2"+
"\u0762\u0763\3\2\2\2\u0763\u077c\7j\2\2\u0764\u0766\7\16\2\2\u0765\u0767"+
"\5\u0164\u00b3\2\u0766\u0765\3\2\2\2\u0766\u0767\3\2\2\2\u0767\u0768\3"+
"\2\2\2\u0768\u077c\7\17\2\2\u0769\u077c\5\u0224\u0113\2\u076a\u077c\5"+
"\u0168\u00b5\2\u076b\u077c\5\u0228\u0115\2\u076c\u077c\5\u0230\u0119\2"+
"\u076d\u077c\5\u01cc\u00e7\2\u076e\u077c\7\u00b6\2\2\u076f\u077c\5P)\2"+
"\u0770\u077c\7\4\2\2\u0771\u077c\7\3\2\2\u0772\u077c\7\20\2\2\u0773\u077c"+
"\7Y\2\2\u0774\u077c\7*\2\2\u0775\u077c\7+\2\2\u0776\u077c\7k\2\2\u0777"+
"\u077c\7l\2\2\u0778\u077c\7m\2\2\u0779\u077c\7S\2\2\u077a\u077c\7n\2\2"+
"\u077b\u075a\3\2\2\2\u077b\u075f\3\2\2\2\u077b\u0764\3\2\2\2\u077b\u0769"+
"\3\2\2\2\u077b\u076a\3\2\2\2\u077b\u076b\3\2\2\2\u077b\u076c\3\2\2\2\u077b"+
"\u076d\3\2\2\2\u077b\u076e\3\2\2\2\u077b\u076f\3\2\2\2\u077b\u0770\3\2"+
"\2\2\u077b\u0771\3\2\2\2\u077b\u0772\3\2\2\2\u077b\u0773\3\2\2\2\u077b"+
"\u0774\3\2\2\2\u077b\u0775\3\2\2\2\u077b\u0776\3\2\2\2\u077b\u0777\3\2"+
"\2\2\u077b\u0778\3\2\2\2\u077b\u0779\3\2\2\2\u077b\u077a\3\2\2\2\u077c"+
"\u0167\3\2\2\2\u077d\u077f\5\u016e\u00b8\2\u077e\u077d\3\2\2\2\u077e\u077f"+
"\3\2\2\2\u077f\u0780\3\2\2\2\u0780\u0784\5\u016a\u00b6\2\u0781\u0783\5"+
"\u0170\u00b9\2\u0782\u0781\3\2\2\2\u0783\u0786\3\2\2\2\u0784\u0782\3\2"+
"\2\2\u0784\u0785\3\2\2\2\u0785\u0169\3\2\2\2\u0786\u0784\3\2\2\2\u0787"+
"\u0789\5\u01d0\u00e9\2\u0788\u0787\3\2\2\2\u0788\u0789\3\2\2\2\u0789\u078a"+
"\3\2\2\2\u078a\u078c\5\u01ba\u00de\2\u078b\u078d\7\3\2\2\u078c\u078b\3"+
"\2\2\2\u078c\u078d\3\2\2\2\u078d\u0790\3\2\2\2\u078e\u0790\5\u016c\u00b7"+
"\2\u078f\u0788\3\2\2\2\u078f\u078e\3\2\2\2\u0790\u016b\3\2\2\2\u0791\u0792"+
"\7o\2\2\u0792\u0793\5\u0224\u0113\2\u0793\u016d\3\2\2\2\u0794\u0796\7"+
"p\2\2\u0795\u0797\t\b\2\2\u0796\u0795\3\2\2\2\u0796\u0797\3\2\2\2\u0797"+
"\u016f\3\2\2\2\u0798\u0799\5\u01ce\u00e8\2\u0799\u079a\5\u016a\u00b6\2"+
"\u079a\u07a9\3\2\2\2\u079b\u079d\5\u0172\u00ba\2\u079c\u079e\5\u016e\u00b8"+
"\2\u079d\u079c\3\2\2\2\u079d\u079e\3\2\2\2\u079e\u079f\3\2\2\2\u079f\u07a0"+
"\5\u016a\u00b6\2\u07a0\u07a9\3\2\2\2\u07a1\u07a3\5\u0174\u00bb\2\u07a2"+
"\u07a4\5\u016e\u00b8\2\u07a3\u07a2\3\2\2\2\u07a3\u07a4\3\2\2\2\u07a4\u07a5"+
"\3\2\2\2\u07a5\u07a6\5\u016a\u00b6\2\u07a6\u07a9\3\2\2\2\u07a7\u07a9\5"+
"\u0176\u00bc\2\u07a8\u0798\3\2\2\2\u07a8\u079b\3\2\2\2\u07a8\u07a1\3\2"+
"\2\2\u07a8\u07a7\3\2\2\2\u07a9\u0171\3\2\2\2\u07aa\u07ab\7L\2\2\u07ab"+
"\u0173\3\2\2\2\u07ac\u07ae\7X\2\2\u07ad\u07af\5\u016e\u00b8\2\u07ae\u07ad"+
"\3\2\2\2\u07ae\u07af\3\2\2\2\u07af\u07b0\3\2\2\2\u07b0\u07b1\5\u0168\u00b5"+
"\2\u07b1\u07b2\7\4\2\2\u07b2\u0175\3\2\2\2\u07b3\u07b4\7f\2\2\u07b4\u07be"+
"\5\u01d4\u00eb\2\u07b5\u07b6\7g\2\2\u07b6\u07b7\7X\2\2\u07b7\u07be\5\u01d4"+
"\u00eb\2\u07b8\u07b9\7g\2\2\u07b9\u07be\5\u01d4\u00eb\2\u07ba\u07bb\7"+
"g\2\2\u07bb\u07bc\7Y\2\2\u07bc\u07be\5\u01d4\u00eb\2\u07bd\u07b3\3\2\2"+
"\2\u07bd\u07b5\3\2\2\2\u07bd\u07b8\3\2\2\2\u07bd\u07ba\3\2\2\2\u07be\u0177"+
"\3\2\2\2\u07bf\u07c4\5\u0224\u0113\2\u07c0\u07c4\5\u01cc\u00e7\2\u07c1"+
"\u07c4\5\u0226\u0114\2\u07c2\u07c4\5\u0228\u0115\2\u07c3\u07bf\3\2\2\2"+
"\u07c3\u07c0\3\2\2\2\u07c3\u07c1\3\2\2\2\u07c3\u07c2\3\2\2\2\u07c4\u07c6"+
"\3\2\2\2\u07c5\u07c7\5f\64\2\u07c6\u07c5\3\2\2\2\u07c6\u07c7\3\2\2\2\u07c7"+
"\u07d4\3\2\2\2\u07c8\u07d4\5\u017a\u00be\2\u07c9\u07d4\5\u018a\u00c6\2"+
"\u07ca\u07d4\5\u018c\u00c7\2\u07cb\u07d4\5\u0194\u00cb\2\u07cc\u07d4\5"+
"\u01aa\u00d6\2\u07cd\u07d4\5\u01ac\u00d7\2\u07ce\u07d4\5\u01a8\u00d5\2"+
"\u07cf\u07d4\5\u01b2\u00da\2\u07d0\u07d4\5\u01b4\u00db\2\u07d1\u07d4\5"+
"\u01b6\u00dc\2\u07d2\u07d4\5\u01b8\u00dd\2\u07d3\u07c3\3\2\2\2\u07d3\u07c8"+
"\3\2\2\2\u07d3\u07c9\3\2\2\2\u07d3\u07ca\3\2\2\2\u07d3\u07cb\3\2\2\2\u07d3"+
"\u07cc\3\2\2\2\u07d3\u07cd\3\2\2\2\u07d3\u07ce\3\2\2\2\u07d3\u07cf\3\2"+
"\2\2\u07d3\u07d0\3\2\2\2\u07d3\u07d1\3\2\2\2\u07d3\u07d2\3\2\2\2\u07d4"+
"\u0179\3\2\2\2\u07d5\u07de\5\u0230\u0119\2\u07d6\u07de\5\u017c\u00bf\2"+
"\u07d7\u07de\5\u0182\u00c2\2\u07d8\u07de\5\u0188\u00c5\2\u07d9\u07de\7"+
"q\2\2\u07da\u07de\7r\2\2\u07db\u07de\7s\2\2\u07dc\u07de\7t\2\2\u07dd\u07d5"+
"\3\2\2\2\u07dd\u07d6\3\2\2\2\u07dd\u07d7\3\2\2\2\u07dd\u07d8\3\2\2\2\u07dd"+
"\u07d9\3\2\2\2\u07dd\u07da\3\2\2\2\u07dd\u07db\3\2\2\2\u07dd\u07dc\3\2"+
"\2\2\u07de\u017b\3\2\2\2\u07df\u07e1\7i\2\2\u07e0\u07e2\5\u017e\u00c0"+
"\2\u07e1\u07e0\3\2\2\2\u07e1\u07e2\3\2\2\2\u07e2\u07e3\3\2\2\2\u07e3\u07e4"+
"\7j\2\2\u07e4\u017d\3\2\2\2\u07e5\u07ea\5\u0180\u00c1\2\u07e6\u07e7\7"+
"\20\2\2\u07e7\u07e9\5\u0180\u00c1\2\u07e8\u07e6\3\2\2\2\u07e9\u07ec\3"+
"\2\2\2\u07ea\u07e8\3\2\2\2\u07ea\u07eb\3\2\2\2\u07eb\u07ee\3\2\2\2\u07ec"+
"\u07ea\3\2\2\2\u07ed\u07ef\7\20\2\2\u07ee\u07ed\3\2\2\2\u07ee\u07ef\3"+
"\2\2\2\u07ef\u017f\3\2\2\2\u07f0\u07f1\5\u0168\u00b5\2\u07f1\u0181\3\2"+
"\2\2\u07f2\u07f3\7i\2\2\u07f3\u07f4\5\u0184\u00c3\2\u07f4\u07f5\7j\2\2"+
"\u07f5\u07fa\3\2\2\2\u07f6\u07f7\7i\2\2\u07f7\u07f8\7\4\2\2\u07f8\u07fa"+
"\7j\2\2\u07f9\u07f2\3\2\2\2\u07f9\u07f6\3\2\2\2\u07fa\u0183\3\2\2\2\u07fb"+
"\u0800\5\u0186\u00c4\2\u07fc\u07fd\7\20\2\2\u07fd\u07ff\5\u0186\u00c4"+
"\2\u07fe\u07fc\3\2\2\2\u07ff\u0802\3\2\2\2\u0800\u07fe\3\2\2\2\u0800\u0801"+
"\3\2\2\2\u0801\u0804\3\2\2\2\u0802\u0800\3\2\2\2\u0803\u0805\7\20\2\2"+
"\u0804\u0803\3\2\2\2\u0804\u0805\3\2\2\2\u0805\u0185\3\2\2\2\u0806\u0807"+
"\5\u0168\u00b5\2\u0807\u0808\7\4\2\2\u0808\u0809\5\u0168\u00b5\2\u0809"+
"\u0187\3\2\2\2\u080a\u080b\7u\2\2\u080b\u080c\7\37\2\2\u080c\u080d\7v"+
"\2\2\u080d\u080e\7\4\2\2\u080e\u080f\5\u0168\u00b5\2\u080f\u0810\7\20"+
"\2\2\u0810\u0811\7w\2\2\u0811\u0812\7\4\2\2\u0812\u0813\5\u0168\u00b5"+
"\2\u0813\u0814\7\20\2\2\u0814\u0815\7x\2\2\u0815\u0816\7\4\2\2\u0816\u0817"+
"\5\u0168\u00b5\2\u0817\u0818\7\20\2\2\u0818\u0819\7y\2\2\u0819\u081a\7"+
"\4\2\2\u081a\u081b\5\u0168\u00b5\2\u081b\u081c\7 \2\2\u081c\u082c\3\2"+
"\2\2\u081d\u081e\7z\2\2\u081e\u081f\7\37\2\2\u081f\u0820\7{\2\2\u0820"+
"\u0821\7\4\2\2\u0821\u0822\5\u0168\u00b5\2\u0822\u0823\7 \2\2\u0823\u082c"+
"\3\2\2\2\u0824\u0825\7|\2\2\u0825\u0826\7\37\2\2\u0826\u0827\7{\2\2\u0827"+
"\u0828\7\4\2\2\u0828\u0829\5\u0168\u00b5\2\u0829\u082a\7 \2\2\u082a\u082c"+
"\3\2\2\2\u082b\u080a\3\2\2\2\u082b\u081d\3\2\2\2\u082b\u0824\3\2\2\2\u082c"+
"\u0189\3\2\2\2\u082d\u083a\7}\2\2\u082e\u082f\7}\2\2\u082f\u0830\7K\2"+
"\2\u0830\u083a\5\u0224\u0113\2\u0831\u0832\7}\2\2\u0832\u0833\7i\2\2\u0833"+
"\u0834\5\u01ae\u00d8\2\u0834\u0835\7j\2\2\u0835\u083a\3\2\2\2\u0836\u0837"+
"\7}\2\2\u0837\u0838\7K\2\2\u0838\u083a\7W\2\2\u0839\u082d\3\2\2\2\u0839"+
"\u082e\3\2\2\2\u0839\u0831\3\2\2\2\u0839\u0836\3\2\2\2\u083a\u018b\3\2"+
"\2\2\u083b\u083f\5\u018e\u00c8\2\u083c\u083f\5\u0190\u00c9\2\u083d\u083f"+
"\5\u0192\u00ca\2\u083e\u083b\3\2\2\2\u083e\u083c\3\2\2\2\u083e\u083d\3"+
"\2\2\2\u083f\u018d\3\2\2\2\u0840\u0841\7~\2\2\u0841\u0842\7K\2\2\u0842"+
"\u0843\5\u0224\u0113\2\u0843\u018f\3\2\2\2\u0844\u0845\7~\2\2\u0845\u0846"+
"\7i\2\2\u0846\u0847\5\u01ae\u00d8\2\u0847\u0848\7j\2\2\u0848\u0191\3\2"+
"\2\2\u0849\u084a\7~\2\2\u084a\u084b\7K\2\2\u084b\u084c\7W\2\2\u084c\u0193"+
"\3\2\2\2\u084d\u084f\7\16\2\2\u084e\u0850\5\u0196\u00cc\2\u084f\u084e"+
"\3\2\2\2\u084f\u0850\3\2\2\2\u0850\u0852\3\2\2\2\u0851\u0853\5\6\4\2\u0852"+
"\u0851\3\2\2\2\u0852\u0853\3\2\2\2\u0853\u0854\3\2\2\2\u0854\u0855\7\17"+
"\2\2\u0855\u0195\3\2\2\2\u0856\u0858\5\u01a0\u00d1\2\u0857\u0856\3\2\2"+
"\2\u0857\u0858\3\2\2\2\u0858\u0859\3\2\2\2\u0859\u085b\5\u0198\u00cd\2"+
"\u085a\u085c\7P\2\2\u085b\u085a\3\2\2\2\u085b\u085c\3\2\2\2\u085c\u085e"+
"\3\2\2\2\u085d\u085f\5\u00b6\\\2\u085e\u085d\3\2\2\2\u085e\u085f\3\2\2"+
"\2\u085f\u0860\3\2\2\2\u0860\u0861\7\7\2\2\u0861\u0866\3\2\2\2\u0862\u0863"+
"\5\u01a0\u00d1\2\u0863\u0864\7\7\2\2\u0864\u0866\3\2\2\2\u0865\u0857\3"+
"\2\2\2\u0865\u0862\3\2\2\2\u0866\u0197\3\2\2\2\u0867\u0868\7\37\2\2\u0868"+
"\u086f\7 \2\2\u0869\u086a\7\37\2\2\u086a\u086b\5\u019a\u00ce\2\u086b\u086c"+
"\7 \2\2\u086c\u086f\3\2\2\2\u086d\u086f\5\u022c\u0117\2\u086e\u0867\3"+
"\2\2\2\u086e\u0869\3\2\2\2\u086e\u086d\3\2\2\2\u086f\u0199\3\2\2\2\u0870"+
"\u0875\5\u019c\u00cf\2\u0871\u0872\7\20\2\2\u0872\u0874\5\u019a\u00ce"+
"\2\u0873\u0871\3\2\2\2\u0874\u0877\3\2\2\2\u0875\u0873\3\2\2\2\u0875\u0876"+
"\3\2\2\2\u0876\u019b\3\2\2\2\u0877\u0875\3\2\2\2\u0878\u087a\5\u019e\u00d0"+
"\2\u0879\u087b\5\u01e8\u00f5\2\u087a\u0879\3\2\2\2\u087a\u087b\3\2\2\2"+
"\u087b\u0881\3\2\2\2\u087c\u087d\5\u019e\u00d0\2\u087d\u087e\5\u01e8\u00f5"+
"\2\u087e\u087f\7S\2\2\u087f\u0881\3\2\2\2\u0880\u0878\3\2\2\2\u0880\u087c"+
"\3\2\2\2\u0881\u019d\3\2\2\2\u0882\u0885\5\u0224\u0113\2\u0883\u0885\7"+
"T\2\2\u0884\u0882\3\2\2\2\u0884\u0883\3\2\2\2\u0885\u019f\3\2\2\2\u0886"+
"\u0887\7i\2\2\u0887\u0888\5\u01a2\u00d2\2\u0888\u0889\7j\2\2\u0889\u01a1"+
"\3\2\2\2\u088a\u088f\5\u01a4\u00d3\2\u088b\u088c\7\20\2\2\u088c\u088e"+
"\5\u01a4\u00d3\2\u088d\u088b\3\2\2\2\u088e\u0891\3\2\2\2\u088f\u088d\3"+
"\2\2\2\u088f\u0890\3\2\2\2\u0890\u01a3\3\2\2\2\u0891\u088f\3\2\2\2\u0892"+
"\u0894\5\u01a6\u00d4\2\u0893\u0892\3\2\2\2\u0893\u0894\3\2\2\2\u0894\u0895"+
"\3\2\2\2\u0895\u0896\5\u0168\u00b5\2\u0896\u01a5\3\2\2\2\u0897\u0898\t"+
"\13\2\2\u0898\u01a7\3\2\2\2\u0899\u089a\7K\2\2\u089a\u089b\5\u0224\u0113"+
"\2\u089b\u01a9\3\2\2\2\u089c\u089d\7\37\2\2\u089d\u089e\5\u0168\u00b5"+
"\2\u089e\u089f\7 \2\2\u089f\u01ab\3\2\2\2\u08a0\u08a2\7\37\2\2\u08a1\u08a3"+
"\5\u01ae\u00d8\2\u08a2\u08a1\3\2\2\2\u08a2\u08a3\3\2\2\2\u08a3\u08a4\3"+
"\2\2\2\u08a4\u08a5\7 \2\2\u08a5\u01ad\3\2\2\2\u08a6\u08ab\5\u01b0\u00d9"+
"\2\u08a7\u08a8\7\20\2\2\u08a8\u08aa\5\u01b0\u00d9\2\u08a9\u08a7\3\2\2"+
"\2\u08aa\u08ad\3\2\2\2\u08ab\u08a9\3\2\2\2\u08ab\u08ac\3\2\2\2\u08ac\u01af"+
"\3\2\2\2\u08ad\u08ab\3\2\2\2\u08ae\u08af\5\u0224\u0113\2\u08af\u08b0\7"+
"\4\2\2\u08b0\u08b2\3\2\2\2\u08b1\u08ae\3\2\2\2\u08b1\u08b2\3\2\2\2\u08b2"+
"\u08b3\3\2\2\2\u08b3\u08b4\5\u0168\u00b5\2\u08b4\u01b1\3\2\2\2\u08b5\u08b6"+
"\7T\2\2\u08b6\u01b3\3\2\2\2\u08b7\u08b8\7\u0081\2\2\u08b8\u08ba\5\u0224"+
"\u0113\2\u08b9\u08bb\5f\64\2\u08ba\u08b9\3\2\2\2\u08ba\u08bb\3\2\2\2\u08bb"+
"\u08bd\3\2\2\2\u08bc\u08be\5\u01bc\u00df\2\u08bd\u08bc\3\2\2\2\u08bd\u08be"+
"\3\2\2\2\u08be\u01b5\3\2\2\2\u08bf\u08c0\7\u0082\2\2\u08c0\u08c1\7\37"+
"\2\2\u08c1\u08c2\5\u0168\u00b5\2\u08c2\u08c3\7 \2\2\u08c3\u08cb\3\2\2"+
"\2\u08c4\u08c5\7\u0082\2\2\u08c5\u08c6\7\37\2\2\u08c6\u08c7\t\f\2\2\u08c7"+
"\u08c8\5\u0168\u00b5\2\u08c8\u08c9\7 \2\2\u08c9\u08cb\3\2\2\2\u08ca\u08bf"+
"\3\2\2\2\u08ca\u08c4\3\2\2\2\u08cb\u01b7\3\2\2\2\u08cc\u08cd\7\u0085\2"+
"\2\u08cd\u08ce\7\37\2\2\u08ce\u08cf\5\u0168\u00b5\2\u08cf\u08d0\7 \2\2"+
"\u08d0\u08d4\3\2\2\2\u08d1\u08d2\7\u0086\2\2\u08d2\u08d4\5\u0168\u00b5"+
"\2\u08d3\u08cc\3\2\2\2\u08d3\u08d1\3\2\2\2\u08d4\u01b9\3\2\2\2\u08d5\u08d6"+
"\b\u00de\1\2\u08d6\u08df\5\u0178\u00bd\2\u08d7\u08d8\7\u0087\2\2\u08d8"+
"\u08d9\7\37\2\2\u08d9\u08da\7\u0088\2\2\u08da\u08db\7\4\2\2\u08db\u08dc"+
"\5\u0168\u00b5\2\u08dc\u08dd\7 \2\2\u08dd\u08df\3\2\2\2\u08de\u08d5\3"+
"\2\2\2\u08de\u08d7\3\2\2\2\u08df\u0911\3\2\2\2\u08e0\u08e1\f\17\2\2\u08e1"+
"\u0910\5\u01d2\u00ea\2\u08e2\u08e4\f\16\2\2\u08e3\u08e5\5\u01bc\u00df"+
"\2\u08e4\u08e3\3\2\2\2\u08e4\u08e5\3\2\2\2\u08e5\u08e6\3\2\2\2\u08e6\u0910"+
"\5\u0194\u00cb\2\u08e7\u08e8\f\r\2\2\u08e8\u0910\5\u01bc\u00df\2\u08e9"+
"\u08ea\f\f\2\2\u08ea\u08eb\7K\2\2\u08eb\u0910\7W\2\2\u08ec\u08ed\f\13"+
"\2\2\u08ed\u08ee\7K\2\2\u08ee\u08ef\7W\2\2\u08ef\u08f0\7\37\2\2\u08f0"+
"\u08f1\5\u01c4\u00e3\2\u08f1\u08f2\7 \2\2\u08f2\u0910\3\2\2\2\u08f3\u08f4"+
"\f\n\2\2\u08f4\u08f5\7K\2\2\u08f5\u0910\7\u00b3\2\2\u08f6\u08f7\f\t\2"+
"\2\u08f7\u08f8\7K\2\2\u08f8\u08fa\5\u0224\u0113\2\u08f9\u08fb\5f\64\2"+
"\u08fa\u08f9\3\2\2\2\u08fa\u08fb\3\2\2\2\u08fb\u0910\3\2\2\2\u08fc\u08fd"+
"\f\b\2\2\u08fd\u08fe\7K\2\2\u08fe\u08ff\5\u0224\u0113\2\u08ff\u0900\7"+
"\37\2\2\u0900\u0901\5\u01c4\u00e3\2\u0901\u0902\7 \2\2\u0902\u0910\3\2"+
"\2\2\u0903\u0904\f\7\2\2\u0904\u0905\7K\2\2\u0905\u0910\7}\2\2\u0906\u0907"+
"\f\5\2\2\u0907\u0908\7i\2\2\u0908\u0909\5\u01ae\u00d8\2\u0909\u090a\7"+
"j\2\2\u090a\u0910\3\2\2\2\u090b\u090c\f\4\2\2\u090c\u0910\7Y\2\2\u090d"+
"\u090e\f\3\2\2\u090e\u0910\7X\2\2\u090f\u08e0\3\2\2\2\u090f\u08e2\3\2"+
"\2\2\u090f\u08e7\3\2\2\2\u090f\u08e9\3\2\2\2\u090f\u08ec\3\2\2\2\u090f"+
"\u08f3\3\2\2\2\u090f\u08f6\3\2\2\2\u090f\u08fc\3\2\2\2\u090f\u0903\3\2"+
"\2\2\u090f\u0906\3\2\2\2\u090f\u090b\3\2\2\2\u090f\u090d\3\2\2\2\u0910"+
"\u0913\3\2\2\2\u0911\u090f\3\2\2\2\u0911\u0912\3\2\2\2\u0912\u01bb\3\2"+
"\2\2\u0913\u0911\3\2\2\2\u0914\u0916\7\37\2\2\u0915\u0917\5\u01be\u00e0"+
"\2\u0916\u0915\3\2\2\2\u0916\u0917\3\2\2\2\u0917\u0918\3\2\2\2\u0918\u0919"+
"\7 \2\2\u0919\u01bd\3\2\2\2\u091a\u091f\5\u01c0\u00e1\2\u091b\u091c\7"+
"\20\2\2\u091c\u091e\5\u01c0\u00e1\2\u091d\u091b\3\2\2\2\u091e\u0921\3"+
"\2\2\2\u091f\u091d\3\2\2\2\u091f\u0920\3\2\2\2\u0920\u01bf\3\2\2\2\u0921"+
"\u091f\3\2\2\2\u0922\u0923\5\u01c2\u00e2\2\u0923\u0924\7\4\2\2\u0924\u0927"+
"\3\2\2\2\u0925\u0928\5\u0168\u00b5\2\u0926\u0928\5\u01cc\u00e7\2\u0927"+
"\u0925\3\2\2\2\u0927\u0926\3\2\2\2\u0927\u0928\3\2\2\2\u0928\u0933\3\2"+
"\2\2\u0929\u092a\5\u01c2\u00e2\2\u092a\u092b\7\4\2\2\u092b\u092d\3\2\2"+
"\2\u092c\u0929\3\2\2\2\u092c\u092d\3\2\2\2\u092d\u0930\3\2\2\2\u092e\u0931"+
"\5\u0168\u00b5\2\u092f\u0931\5\u01cc\u00e7\2\u0930\u092e\3\2\2\2\u0930"+
"\u092f\3\2\2\2\u0931\u0933\3\2\2\2\u0932\u0922\3\2\2\2\u0932\u092c\3\2"+
"\2\2\u0933\u01c1\3\2\2\2\u0934\u0937\5\u0224\u0113\2\u0935\u0937\5\u0226"+
"\u0114\2\u0936\u0934\3\2\2\2\u0936\u0935\3\2\2\2\u0937\u01c3\3\2\2\2\u0938"+
"\u093a\5\u01c6\u00e4\2\u0939\u0938\3\2\2\2\u093a\u093b\3\2\2\2\u093b\u0939"+
"\3\2\2\2\u093b\u093c\3\2\2\2\u093c\u01c5\3\2\2\2\u093d\u0940\5\u0224\u0113"+
"\2\u093e\u0940\7T\2\2\u093f\u093d\3\2\2\2\u093f\u093e\3\2\2\2\u0940\u0941"+
"\3\2\2\2\u0941\u0942\7\4\2\2\u0942\u01c7\3\2\2\2\u0943\u0944\t\r\2\2\u0944"+
"\u01c9\3\2\2\2\u0945\u0948\5\u01c8\u00e5\2\u0946\u0948\7\u00ad\2\2\u0947"+
"\u0945\3\2\2\2\u0947\u0946\3\2\2\2\u0948\u01cb\3\2\2\2\u0949\u094d\5\u01c8"+
"\u00e5\2\u094a\u094c\5\u01ca\u00e6\2\u094b\u094a\3\2\2\2\u094c\u094f\3"+
"\2\2\2\u094d\u094b\3\2\2\2\u094d\u094e\3\2\2\2\u094e\u0959\3\2\2\2\u094f"+
"\u094d\3\2\2\2\u0950\u0954\7\u00ae\2\2\u0951\u0953\5\u01ca\u00e6\2\u0952"+
"\u0951\3\2\2\2\u0953\u0956\3\2\2\2\u0954\u0952\3\2\2\2\u0954\u0955\3\2"+
"\2\2\u0955\u0959\3\2\2\2\u0956\u0954\3\2\2\2\u0957\u0959\7S\2\2\u0958"+
"\u0949\3\2\2\2\u0958\u0950\3\2\2\2\u0958\u0957\3\2\2\2\u0959\u01cd\3\2"+
"\2\2\u095a\u095b\5\u01cc\u00e7\2\u095b\u01cf\3\2\2\2\u095c\u095d\5\u01cc"+
"\u00e7\2\u095d\u01d1\3\2\2\2\u095e\u095f\5\u01cc\u00e7\2\u095f\u01d3\3"+
"\2\2\2\u0960\u0961\b\u00eb\1\2\u0961\u096c\5\u01e0\u00f1\2\u0962\u096c"+
"\5\u01e2\u00f2\2\u0963\u096c\5\u01d6\u00ec\2\u0964\u096c\5\u01ea\u00f6"+
"\2\u0965\u096c\5\u01ee\u00f8\2\u0966\u096c\5\u01f6\u00fc\2\u0967\u0968"+
"\7\u008c\2\2\u0968\u096c\5\u01d4\u00eb\7\u0969\u096c\7\u008f\2\2\u096a"+
"\u096c\7\u0090\2\2\u096b\u0960\3\2\2\2\u096b\u0962\3\2\2\2\u096b\u0963"+
"\3\2\2\2\u096b\u0964\3\2\2\2\u096b\u0965\3\2\2\2\u096b\u0966\3\2\2\2\u096b"+
"\u0967\3\2\2\2\u096b\u0969\3\2\2\2\u096b\u096a\3\2\2\2\u096c\u0979\3\2"+
"\2\2\u096d\u096e\f\n\2\2\u096e\u0978\7X\2\2\u096f\u0970\f\t\2\2\u0970"+
"\u0978\7Y\2\2\u0971\u0972\f\6\2\2\u0972\u0973\7K\2\2\u0973\u0978\7\u008d"+
"\2\2\u0974\u0975\f\5\2\2\u0975\u0976\7K\2\2\u0976\u0978\7\u008e\2\2\u0977"+
"\u096d\3\2\2\2\u0977\u096f\3\2\2\2\u0977\u0971\3\2\2\2\u0977\u0974\3\2"+
"\2\2\u0978\u097b\3\2\2\2\u0979\u0977\3\2\2\2\u0979\u097a\3\2\2\2\u097a"+
"\u01d5\3\2\2\2\u097b\u0979\3\2\2\2\u097c\u097e\5\u0162\u00b2\2\u097d\u097c"+
"\3\2\2\2\u097d\u097e\3\2\2\2\u097e\u097f\3\2\2\2\u097f\u0981";
private static final String _serializedATNSegment1 =
"\5\u01d8\u00ed\2\u0980\u0982\t\7\2\2\u0981\u0980\3\2\2\2\u0981\u0982\3"+
"\2\2\2\u0982\u0983\3\2\2\2\u0983\u0984\7R\2\2\u0984\u0985\5\u01d4\u00eb"+
"\2\u0985\u01d7\3\2\2\2\u0986\u0987\7\37\2\2\u0987\u0990\7 \2\2\u0988\u0989"+
"\7\37\2\2\u0989\u098b\5\u01da\u00ee\2\u098a\u098c\7S\2\2\u098b\u098a\3"+
"\2\2\2\u098b\u098c\3\2\2\2\u098c\u098d\3\2\2\2\u098d\u098e\7 \2\2\u098e"+
"\u0990\3\2\2\2\u098f\u0986\3\2\2\2\u098f\u0988\3\2\2\2\u0990\u01d9\3\2"+
"\2\2\u0991\u0996\5\u01dc\u00ef\2\u0992\u0993\7\20\2\2\u0993\u0995\5\u01dc"+
"\u00ef\2\u0994\u0992\3\2\2\2\u0995\u0998\3\2\2\2\u0996\u0994\3\2\2\2\u0996"+
"\u0997\3\2\2\2\u0997\u01db\3\2\2\2\u0998\u0996\3\2\2\2\u0999\u099b\5\u0162"+
"\u00b2\2\u099a\u0999\3\2\2\2\u099a\u099b\3\2\2\2\u099b\u099d\3\2\2\2\u099c"+
"\u099e\7\u0091\2\2\u099d\u099c\3\2\2\2\u099d\u099e\3\2\2\2\u099e\u099f"+
"\3\2\2\2\u099f\u09a4\5\u01d4\u00eb\2\u09a0\u09a1\5\u01de\u00f0\2\u09a1"+
"\u09a2\5\u01e8\u00f5\2\u09a2\u09a4\3\2\2\2\u09a3\u099a\3\2\2\2\u09a3\u09a0"+
"\3\2\2\2\u09a4\u01dd\3\2\2\2\u09a5\u09a6\5\u0224\u0113\2\u09a6\u01df\3"+
"\2\2\2\u09a7\u09a8\7i\2\2\u09a8\u09a9\5\u01d4\u00eb\2\u09a9\u09aa\7j\2"+
"\2\u09aa\u01e1\3\2\2\2\u09ab\u09ac\7i\2\2\u09ac\u09ad\5\u01d4\u00eb\2"+
"\u09ad\u09ae\7\4\2\2\u09ae\u09af\5\u01d4\u00eb\2\u09af\u09b0\7j\2\2\u09b0"+
"\u01e3\3\2\2\2\u09b1\u09b2\5\u01d4\u00eb\2\u09b2\u09b3\7X\2\2\u09b3\u01e5"+
"\3\2\2\2\u09b4\u09b5\5\u01d4\u00eb\2\u09b5\u09b6\7Y\2\2\u09b6\u01e7\3"+
"\2\2\2\u09b7\u09b9\7\4\2\2\u09b8\u09ba\5\u0162\u00b2\2\u09b9\u09b8\3\2"+
"\2\2\u09b9\u09ba\3\2\2\2\u09ba\u09bc\3\2\2\2\u09bb\u09bd\7\u0091\2\2\u09bc"+
"\u09bb\3\2\2\2\u09bc\u09bd\3\2\2\2\u09bd\u09be\3\2\2\2\u09be\u09bf\5\u01d4"+
"\u00eb\2\u09bf\u01e9\3\2\2\2\u09c0\u09c2\5\u01ec\u00f7\2\u09c1\u09c3\5"+
"f\64\2\u09c2\u09c1\3\2\2\2\u09c2\u09c3\3\2\2\2\u09c3\u09cc\3\2\2\2\u09c4"+
"\u09c6\5\u01ec\u00f7\2\u09c5\u09c7\5f\64\2\u09c6\u09c5\3\2\2\2\u09c6\u09c7"+
"\3\2\2\2\u09c7\u09c8\3\2\2\2\u09c8\u09c9\7K\2\2\u09c9\u09ca\5\u01ea\u00f6"+
"\2\u09ca\u09cc\3\2\2\2\u09cb\u09c0\3\2\2\2\u09cb\u09c4\3\2\2\2\u09cc\u01eb"+
"\3\2\2\2\u09cd\u09ce\5\u0224\u0113\2\u09ce\u01ed\3\2\2\2\u09cf\u09d1\7"+
"\37\2\2\u09d0\u09d2\5\u01f0\u00f9\2\u09d1\u09d0\3\2\2\2\u09d1\u09d2\3"+
"\2\2\2\u09d2\u09d3\3\2\2\2\u09d3\u09d4\7 \2\2\u09d4\u01ef\3\2\2\2\u09d5"+
"\u09da\5\u01f2\u00fa\2\u09d6\u09d7\7\20\2\2\u09d7\u09d9\5\u01f2\u00fa"+
"\2\u09d8\u09d6\3\2\2\2\u09d9\u09dc\3\2\2\2\u09da\u09d8\3\2\2\2\u09da\u09db"+
"\3\2\2\2\u09db\u01f1\3\2\2\2\u09dc\u09da\3\2\2\2\u09dd\u09de\5\u01f4\u00fb"+
"\2\u09de\u09df\5\u01e8\u00f5\2\u09df\u09e2\3\2\2\2\u09e0\u09e2\5\u01d4"+
"\u00eb\2\u09e1\u09dd\3\2\2\2\u09e1\u09e0\3\2\2\2\u09e2\u01f3\3\2\2\2\u09e3"+
"\u09e4\5\u0224\u0113\2\u09e4\u01f5\3\2\2\2\u09e5\u09e6\5\u01fa\u00fe\2"+
"\u09e6\u09e7\7o\2\2\u09e7\u09e8\5\u01f8\u00fd\2\u09e8\u01f7\3\2\2\2\u09e9"+
"\u09ec\5\u01fa\u00fe\2\u09ea\u09ec\5\u01f6\u00fc\2\u09eb\u09e9\3\2\2\2"+
"\u09eb\u09ea\3\2\2\2\u09ec\u01f9\3\2\2\2\u09ed\u09ee\5\u01ea\u00f6\2\u09ee"+
"\u01fb\3\2\2\2\u09ef\u09f0\5\u01d4\u00eb\2\u09f0\u09f1\7K\2\2\u09f1\u09f2"+
"\7\u008d\2\2\u09f2\u09f8\3\2\2\2\u09f3\u09f4\5\u01d4\u00eb\2\u09f4\u09f5"+
"\7K\2\2\u09f5\u09f6\7\u008e\2\2\u09f6\u09f8\3\2\2\2\u09f7\u09ef\3\2\2"+
"\2\u09f7\u09f3\3\2\2\2\u09f8\u01fd\3\2\2\2\u09f9\u09fa\7\4\2\2\u09fa\u09fb"+
"\5\u0202\u0102\2\u09fb\u09fc\7\20\2\2\u09fc\u09fd\5\u0200\u0101\2\u09fd"+
"\u0a03\3\2\2\2\u09fe\u09ff\7\4\2\2\u09ff\u0a03\5\u0202\u0102\2\u0a00\u0a01"+
"\7\4\2\2\u0a01\u0a03\5\u0200\u0101\2\u0a02\u09f9\3\2\2\2\u0a02\u09fe\3"+
"\2\2\2\u0a02\u0a00\3\2\2\2\u0a03\u01ff\3\2\2\2\u0a04\u0a09\5\u01ea\u00f6"+
"\2\u0a05\u0a06\7\20\2\2\u0a06\u0a08\5\u01ea\u00f6\2\u0a07\u0a05\3\2\2"+
"\2\u0a08\u0a0b\3\2\2\2\u0a09\u0a07\3\2\2\2\u0a09\u0a0a\3\2\2\2\u0a0a\u0201"+
"\3\2\2\2\u0a0b\u0a09\3\2\2\2\u0a0c\u0a0d\7-\2\2\u0a0d\u0203\3\2\2\2\u0a0e"+
"\u0a12\5\u0206\u0104\2\u0a0f\u0a12\5\u021c\u010f\2\u0a10\u0a12\5\u0222"+
"\u0112\2\u0a11\u0a0e\3\2\2\2\u0a11\u0a0f\3\2\2\2\u0a11\u0a10\3\2\2\2\u0a12"+
"\u0205\3\2\2\2\u0a13\u0a15\5\u0208\u0105\2\u0a14\u0a16\5\u020a\u0106\2"+
"\u0a15\u0a14\3\2\2\2\u0a15\u0a16\3\2\2\2\u0a16\u0a18\3\2\2\2\u0a17\u0a19"+
"\5\u020e\u0108\2\u0a18\u0a17\3\2\2\2\u0a18\u0a19\3\2\2\2\u0a19\u0a1a\3"+
"\2\2\2\u0a1a\u0a1b\7\u0092\2\2\u0a1b\u0207\3\2\2\2\u0a1c\u0a1d\7\u0093"+
"\2\2\u0a1d\u0a1f\5\u0210\u0109\2\u0a1e\u0a20\5\6\4\2\u0a1f\u0a1e\3\2\2"+
"\2\u0a1f\u0a20\3\2\2\2\u0a20\u0209\3\2\2\2\u0a21\u0a23\5\u020c\u0107\2"+
"\u0a22\u0a21\3\2\2\2\u0a23\u0a24\3\2\2\2\u0a24\u0a22\3\2\2\2\u0a24\u0a25"+
"\3\2\2\2\u0a25\u020b\3\2\2\2\u0a26\u0a27\7\u0094\2\2\u0a27\u0a29\5\u0210"+
"\u0109\2\u0a28\u0a2a\5\6\4\2\u0a29\u0a28\3\2\2\2\u0a29\u0a2a\3\2\2\2\u0a2a"+
"\u020d\3\2\2\2\u0a2b\u0a2d\7\u0095\2\2\u0a2c\u0a2e\5\6\4\2\u0a2d\u0a2c"+
"\3\2\2\2\u0a2d\u0a2e\3\2\2\2\u0a2e\u020f\3\2\2\2\u0a2f\u0a30\b\u0109\1"+
"\2\u0a30\u0a3a\5\u0212\u010a\2\u0a31\u0a3a\5\u0224\u0113\2\u0a32\u0a3a"+
"\5\u022e\u0118\2\u0a33\u0a34\7\37\2\2\u0a34\u0a35\5\u0210\u0109\2\u0a35"+
"\u0a36\7 \2\2\u0a36\u0a3a\3\2\2\2\u0a37\u0a38\7Y\2\2\u0a38\u0a3a\5\u0210"+
"\u0109\4\u0a39\u0a2f\3\2\2\2\u0a39\u0a31\3\2\2\2\u0a39\u0a32\3\2\2\2\u0a39"+
"\u0a33\3\2\2\2\u0a39\u0a37\3\2\2\2\u0a3a\u0a40\3\2\2\2\u0a3b\u0a3c\f\3"+
"\2\2\u0a3c\u0a3d\t\16\2\2\u0a3d\u0a3f\5\u0210\u0109\4\u0a3e\u0a3b\3\2"+
"\2\2\u0a3f\u0a42\3\2\2\2\u0a40\u0a3e\3\2\2\2\u0a40\u0a41\3\2\2\2\u0a41"+
"\u0211\3\2\2\2\u0a42\u0a40\3\2\2\2\u0a43\u0a44\7\u0096\2\2\u0a44\u0a45"+
"\7\37\2\2\u0a45\u0a46\5\u0214\u010b\2\u0a46\u0a47\7 \2\2\u0a47\u0a5d\3"+
"\2\2\2\u0a48\u0a49\7\u0097\2\2\u0a49\u0a4a\7\37\2\2\u0a4a\u0a4b\5\u0216"+
"\u010c\2\u0a4b\u0a4c\7 \2\2\u0a4c\u0a5d\3\2\2\2\u0a4d\u0a4e\7\u0098\2"+
"\2\u0a4e\u0a4f\7\37\2\2\u0a4f\u0a50\7\u008b\2\2\u0a50\u0a51\5\u0218\u010d"+
"\2\u0a51\u0a52\7 \2\2\u0a52\u0a5d\3\2\2\2\u0a53\u0a54\7\u0099\2\2\u0a54"+
"\u0a55\7\37\2\2\u0a55\u0a56\5\u021a\u010e\2\u0a56\u0a57\7 \2\2\u0a57\u0a5d"+
"\3\2\2\2\u0a58\u0a59\7\u009a\2\2\u0a59\u0a5a\7\37\2\2\u0a5a\u0a5b\7\u009b"+
"\2\2\u0a5b\u0a5d\7 \2\2\u0a5c\u0a43\3\2\2\2\u0a5c\u0a48\3\2\2\2\u0a5c"+
"\u0a4d\3\2\2\2\u0a5c\u0a53\3\2\2\2\u0a5c\u0a58\3\2\2\2\u0a5d\u0213\3\2"+
"\2\2\u0a5e\u0a5f\t\17\2\2\u0a5f\u0215\3\2\2\2\u0a60\u0a61\t\20\2\2\u0a61"+
"\u0217\3\2\2\2\u0a62\u0a63\7\u00b5\2\2\u0a63\u0219\3\2\2\2\u0a64\u0a65"+
"\7\u00c0\2\2\u0a65\u021b\3\2\2\2\u0a66\u0a67\7\u00a0\2\2\u0a67\u0a68\7"+
"\37\2\2\u0a68\u0a69\7\u00a1\2\2\u0a69\u0a6a\7\4\2\2\u0a6a\u0a6b\5\u0220"+
"\u0111\2\u0a6b\u0a6c\7\20\2\2\u0a6c\u0a6d\7\u00a2\2\2\u0a6d\u0a6e\7\4"+
"\2\2\u0a6e\u0a6f\5\u021e\u0110\2\u0a6f\u0a70\7 \2\2\u0a70\u0a75\3\2\2"+
"\2\u0a71\u0a72\7\u00a0\2\2\u0a72\u0a73\7\37\2\2\u0a73\u0a75\7 \2\2\u0a74"+
"\u0a66\3\2\2\2\u0a74\u0a71\3\2\2\2\u0a75\u021d\3\2\2\2\u0a76\u0a77\5\u0234"+
"\u011b\2\u0a77\u021f\3\2\2\2\u0a78\u0a79\7\u00bb\2\2\u0a79\u0221\3\2\2"+
"\2\u0a7a\u0a80\7\u00a3\2\2\u0a7b\u0a7c\7\u00a4\2\2\u0a7c\u0a7d\7\37\2"+
"\2\u0a7d\u0a7e\7\u00bb\2\2\u0a7e\u0a80\7 \2\2\u0a7f\u0a7a\3\2\2\2\u0a7f"+
"\u0a7b\3\2\2\2\u0a80\u0223\3\2\2\2\u0a81\u0a85\7\u00af\2\2\u0a82\u0a85"+
"\5\u0228\u0115\2\u0a83\u0a85\5\u022a\u0116\2\u0a84\u0a81\3\2\2\2\u0a84"+
"\u0a82\3\2\2\2\u0a84\u0a83\3\2\2\2\u0a85\u0225\3\2\2\2\u0a86\u0a87\t\21"+
"\2\2\u0a87\u0227\3\2\2\2\u0a88\u0a89\t\22\2\2\u0a89\u0229\3\2\2\2\u0a8a"+
"\u0a8b\t\23\2\2\u0a8b\u022b\3\2\2\2\u0a8c\u0a8f\5\u0224\u0113\2\u0a8d"+
"\u0a8f\7T\2\2\u0a8e\u0a8c\3\2\2\2\u0a8e\u0a8d\3\2\2\2\u0a8f\u0a97\3\2"+
"\2\2\u0a90\u0a93\7\20\2\2\u0a91\u0a94\5\u0224\u0113\2\u0a92\u0a94\7T\2"+
"\2\u0a93\u0a91\3\2\2\2\u0a93\u0a92\3\2\2\2\u0a94\u0a96\3\2\2\2\u0a95\u0a90"+
"\3\2\2\2\u0a96\u0a99\3\2\2\2\u0a97\u0a95\3\2\2\2\u0a97\u0a98\3\2\2\2\u0a98"+
"\u022d\3\2\2\2\u0a99\u0a97\3\2\2\2\u0a9a\u0a9b\7\u00aa\2\2\u0a9b\u022f"+
"\3\2\2\2\u0a9c\u0aa4\5\u0232\u011a\2\u0a9d\u0aa4\7\u00b8\2\2\u0a9e\u0aa4"+
"\7\u00bb\2\2\u0a9f\u0aa4\7\u00aa\2\2\u0aa0\u0aa4\7\u00ab\2\2\u0aa1\u0aa4"+
"\7\u00ba\2\2\u0aa2\u0aa4\7\u00b9\2\2\u0aa3\u0a9c\3\2\2\2\u0aa3\u0a9d\3"+
"\2\2\2\u0aa3\u0a9e\3\2\2\2\u0aa3\u0a9f\3\2\2\2\u0aa3\u0aa0\3\2\2\2\u0aa3"+
"\u0aa1\3\2\2\2\u0aa3\u0aa2\3\2\2\2\u0aa4\u0231\3\2\2\2\u0aa5\u0aa7\7k"+
"\2\2\u0aa6\u0aa5\3\2\2\2\u0aa6\u0aa7\3\2\2\2\u0aa7\u0aa8\3\2\2\2\u0aa8"+
"\u0aae\5\u0234\u011b\2\u0aa9\u0aab\7k\2\2\u0aaa\u0aa9\3\2\2\2\u0aaa\u0aab"+
"\3\2\2\2\u0aab\u0aac\3\2\2\2\u0aac\u0aae\7\u00b5\2\2\u0aad\u0aa6\3\2\2"+
"\2\u0aad\u0aaa\3\2\2\2\u0aae\u0233\3\2\2\2\u0aaf\u0ab0\t\24\2\2\u0ab0"+
"\u0235\3\2\2\2\u014f\u0237\u023d\u0241\u0245\u024a\u024e\u0252\u0256\u025a"+
"\u025c\u0261\u0266\u026a\u0270\u0280\u0286\u028c\u0297\u029e\u02ac\u02b7"+
"\u02bc\u02c6\u02d2\u02d6\u02da\u02e0\u02eb\u02ef\u02f3\u02f6\u02ff\u0306"+
"\u031b\u0322\u0329\u0338\u0344\u034e\u0353\u035d\u036c\u0373\u0377\u037b"+
"\u037f\u0383\u0387\u038b\u038f\u0393\u0397\u039b\u039f\u03a3\u03a7\u03ab"+
"\u03af\u03b1\u03b6\u03bb\u03d5\u03f0\u03f5\u03fb\u0400\u0404\u040f\u0413"+
"\u0416\u0419\u0423\u0428\u0440\u044c\u044f\u0452\u045b\u0464\u0467\u046a"+
"\u0470\u0473\u0477\u0482\u048b\u048e\u0493\u049a\u04a1\u04a5\u04a8\u04ac"+
"\u04b1\u04b5\u04bd\u04c0\u04c5\u04cf\u04d3\u04da\u04de\u04e0\u04e3\u04e6"+
"\u04ec\u04f0\u04f3\u04f7\u0502\u0506\u050d\u0511\u0514\u0519\u051c\u051f"+
"\u0525\u052a\u052e\u0534\u0537\u053d\u0540\u0545\u0548\u054b\u054f\u0556"+
"\u055b\u055e\u0561\u0564\u056e\u0573\u057c\u057f\u0582\u0586\u058d\u0592"+
"\u0595\u059f\u05a4\u05aa\u05ad\u05b2\u05b5\u05b8\u05c0\u05c7\u05cb\u05ce"+
"\u05d1\u05d6\u05d9\u05dc\u05e2\u05e6\u05e8\u05ee\u05f5\u05f9\u05fc\u05ff"+
"\u0604\u060c\u0613\u0617\u061b\u061f\u0623\u0627\u062b\u062d\u0637\u063b"+
"\u063f\u0643\u0646\u064d\u0650\u0655\u0658\u065c\u0660\u0663\u0668\u066b"+
"\u066f\u0674\u067a\u067d\u0683\u0689\u0690\u0694\u06a2\u06a5\u06a8\u06af"+
"\u06b6\u06c4\u06cd\u06d4\u06d9\u06ec\u06f4\u06f8\u06fd\u0703\u070a\u0715"+
"\u0719\u0722\u072a\u072d\u0730\u0734\u0738\u0746\u074c\u0753\u0758\u075c"+
"\u0761\u0766\u077b\u077e\u0784\u0788\u078c\u078f\u0796\u079d\u07a3\u07a8"+
"\u07ae\u07bd\u07c3\u07c6\u07d3\u07dd\u07e1\u07ea\u07ee\u07f9\u0800\u0804"+
"\u082b\u0839\u083e\u084f\u0852\u0857\u085b\u085e\u0865\u086e\u0875\u087a"+
"\u0880\u0884\u088f\u0893\u08a2\u08ab\u08b1\u08ba\u08bd\u08ca\u08d3\u08de"+
"\u08e4\u08fa\u090f\u0911\u0916\u091f\u0927\u092c\u0930\u0932\u0936\u093b"+
"\u093f\u0947\u094d\u0954\u0958\u096b\u0977\u0979\u097d\u0981\u098b\u098f"+
"\u0996\u099a\u099d\u09a3\u09b9\u09bc\u09c2\u09c6\u09cb\u09d1\u09da\u09e1"+
"\u09eb\u09f7\u0a02\u0a09\u0a11\u0a15\u0a18\u0a1f\u0a24\u0a29\u0a2d\u0a39"+
"\u0a40\u0a5c\u0a74\u0a7f\u0a84\u0a8e\u0a93\u0a97\u0aa3\u0aa6\u0aaa\u0aad";
public static final String _serializedATN = Utils.join(
new String[] {
_serializedATNSegment0,
_serializedATNSegment1
},
""
);
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);
}
}
}