Project

General

Profile

// $ANTLR 3.2 Sep 23, 2009 12:02:23 ooa.g 2013-10-10 13:45:31

// The variable 'variable' is assigned but its value is never used.
#pragma warning disable 168, 219
// Unreachable code detected.
#pragma warning disable 162


/*
Ulysses OO-Action System Parser

Copyright Willibald Krenn 2009

*/


using System;
using Antlr.Runtime;
using IList = System.Collections.IList;
using ArrayList = System.Collections.ArrayList;
using Stack = Antlr.Runtime.Collections.StackList;


namespace TUG.Mogentes
{
public partial class ooaParser : Parser
{
public static readonly string[] tokenNames = new string[]
{
"<invalid>",
"<EOR>",
"<DOWN>",
"<UP>",
"T_CONSTS",
"T_TYPES",
"T_SYSTEM",
"T_SEMICOLON",
"T_IDENTIFIER",
"T_EQUAL",
"T_PRIO",
"T_NONDET",
"T_LPAREN",
"T_RPAREN",
"T_LIST",
"T_LSQPAREN",
"T_INTNUMBER",
"T_RSQPAREN",
"T_OF",
"T_COMMA",
"T_MAP",
"T_TO",
"T_QUANTITY",
"T_MINUS",
"T_INFTY",
"T_BOOL",
"T_INT",
"T_RANGETO",
"T_FLOAT",
"T_FLOATNUMBER",
"T_CHAR",
"T_CBRL",
"T_CBRR",
"T_AUTOCONS",
"T_VAR",
"T_METHODS",
"T_ACTIONS",
"T_DO",
"T_OD",
"T_STATIC",
"T_OBS",
"T_CTRL",
"T_COLON",
"T_END",
"T_CONT",
"T_REQUIRES",
"T_DERIV",
"T_SUM",
"T_DIFF",
"T_PROD",
"T_FOLDLR",
"T_FOLDRL",
"T_SKIP",
"T_ABORT",
"T_KILL",
"T_SELF",
"T_ASSIGNMENT",
"T_WITH",
"T_BIIMPLIES",
"T_GREATER",
"T_GREATEREQUAL",
"T_LESS",
"T_LESSEQUAL",
"T_NOTEQUAL",
"T_IMPLIES",
"T_IN",
"T_SET",
"T_NOT",
"T_SUBSET",
"T_OR",
"T_DIV",
"T_IDIV",
"T_MOD",
"T_UNION",
"T_INTER",
"T_AND",
"T_POW",
"T_CONC",
"T_DOMRESBY",
"T_DOMRESTO",
"T_RNGRESBY",
"T_RNGRESTO",
"T_MUNION",
"T_SEQMOD_MAPOVERRIDE",
"T_POINT",
"T_IF",
"T_THEN",
"T_ELSE",
"T_FORALL",
"T_EXISTS",
"T_TRUE",
"T_FALSE",
"T_NIL",
"T_STRINGLITERAL",
"T_NEW",
"T_BAR",
"T_MAPS",
"T_PRIMED",
"T_ABS",
"T_CARD",
"T_DCONC",
"T_DINTER",
"T_DUNION",
"T_ELEMS",
"T_HEAD",
"T_INDS",
"T_LEN",
"T_TAIL",
"T_DOM",
"T_RNG",
"T_MERGE",
"T_WS",
"T_COMMENT",
"LINE_COMMENT",
"T_DIGIT",
"FLOAT_OR_INT_OR_RANGE",
"T_LETTER",
"'|['",
"']|'",
"'begin'",
"'&'",
"'as'",
"'qval'",
"'steady'",
"'inc'",
"'dec'",
"'::'"
};

public const int T_FLOATNUMBER = 29;
public const int T_SYSTEM = 6;
public const int T_ELSE = 87;
public const int T_LPAREN = 12;
public const int T_DUNION = 102;
public const int T_BOOL = 25;
public const int T_METHODS = 35;
public const int T_INDS = 105;
public const int T_OR = 69;
public const int EOF = -1;
public const int T_OD = 38;
public const int T_AND = 75;
public const int T_OF = 18;
public const int T_STRINGLITERAL = 93;
public const int T_SET = 66;
public const int T_SKIP = 52;
public const int T_WITH = 57;
public const int T_DOM = 108;
public const int T_WS = 111;
public const int T_VAR = 34;
public const int T_SUM = 47;
public const int T_REQUIRES = 45;
public const int T_DINTER = 101;
public const int T_HEAD = 104;
public const int T_AUTOCONS = 33;
public const int T_END = 43;
public const int T_TRUE = 90;
public const int T_LSQPAREN = 15;
public const int T_PRIMED = 97;
public const int T_MAPS = 96;
public const int T_NIL = 92;
public const int T_INFTY = 24;
public const int T_IF = 85;
public const int LINE_COMMENT = 113;
public const int T_THEN = 86;
public const int T_FLOAT = 28;
public const int T_TAIL = 107;
public const int T_SELF = 55;
public const int T_MERGE = 110;
public const int T_DIFF = 48;
public const int T_FOLDRL = 51;
public const int T_QUANTITY = 22;
public const int T_IN = 65;
public const int T_MUNION = 82;
public const int T__126 = 126;
public const int T__125 = 125;
public const int T_INTER = 74;
public const int T_SEMICOLON = 7;
public const int T_FOLDLR = 50;
public const int T_CARD = 99;
public const int T_FALSE = 91;
public const int T_CONT = 44;
public const int T_SUBSET = 68;
public const int T_COMMA = 19;
public const int T_RANGETO = 27;
public const int T_MINUS = 23;
public const int T_CONC = 77;
public const int T_IDIV = 71;
public const int T_FORALL = 88;
public const int T_DERIV = 46;
public const int T_CONSTS = 4;
public const int T_TYPES = 5;
public const int T_GREATEREQUAL = 60;
public const int T__118 = 118;
public const int T_RNG = 109;
public const int T__119 = 119;
public const int T_MOD = 72;
public const int T__117 = 117;
public const int T_SEQMOD_MAPOVERRIDE = 83;
public const int T__124 = 124;
public const int T__123 = 123;
public const int T_ELEMS = 103;
public const int T__122 = 122;
public const int T__121 = 121;
public const int T_IMPLIES = 64;
public const int T__120 = 120;
public const int T_EXISTS = 89;
public const int T_POW = 76;
public const int T_COMMENT = 112;
public const int T_RPAREN = 13;
public const int T_PRIO = 10;
public const int T_RNGRESBY = 80;
public const int T_ABS = 98;
public const int T_DIV = 70;
public const int T_LIST = 14;
public const int T_CBRL = 31;
public const int T_DCONC = 100;
public const int T_ABORT = 53;
public const int T_CHAR = 30;
public const int T_POINT = 84;
public const int T_STATIC = 39;
public const int T_CBRR = 32;
public const int T_INT = 26;
public const int T_COLON = 42;
public const int T_PROD = 49;
public const int T_ACTIONS = 36;
public const int T_DIGIT = 114;
public const int T_LESS = 61;
public const int T_BAR = 95;
public const int T_TO = 21;
public const int T_NONDET = 11;
public const int T_DOMRESBY = 78;
public const int T_DOMRESTO = 79;
public const int T_EQUAL = 9;
public const int T_GREATER = 59;
public const int T_KILL = 54;
public const int T_RNGRESTO = 81;
public const int T_RSQPAREN = 17;
public const int T_NEW = 94;
public const int T_INTNUMBER = 16;
public const int T_UNION = 73;
public const int T_OBS = 40;
public const int T_BIIMPLIES = 58;
public const int T_NOTEQUAL = 63;
public const int T_IDENTIFIER = 8;
public const int T_DO = 37;
public const int FLOAT_OR_INT_OR_RANGE = 115;
public const int T_LEN = 106;
public const int T_NOT = 67;
public const int T_ASSIGNMENT = 56;
public const int T_LETTER = 116;
public const int T_MAP = 20;
public const int T_LESSEQUAL = 62;
public const int T_CTRL = 41;

// delegates
// delegators



public ooaParser(ITokenStream input)
: this(input, new RecognizerSharedState()) {
}

public ooaParser(ITokenStream input, RecognizerSharedState state)
: base(input, state) {
InitializeCyclicDFAs();

}

override public string[] TokenNames {
get { return ooaParser.tokenNames; }
}

override public string GrammarFileName {
get { return "ooa.g"; }
}



// $ANTLR start "ooActionSystems"
// ooa.g:137:1: ooActionSystems : ( T_CONSTS namedConstList )? T_TYPES namedTypeList T_SYSTEM comp= asTypeComposition[null] ;
public void ooActionSystems() // throws RecognitionException [1]
{
IdentifierList comp = default(IdentifierList);


try
{
// ooa.g:138:2: ( ( T_CONSTS namedConstList )? T_TYPES namedTypeList T_SYSTEM comp= asTypeComposition[null] )
// ooa.g:138:4: ( T_CONSTS namedConstList )? T_TYPES namedTypeList T_SYSTEM comp= asTypeComposition[null]
{
initializeTopLevelParserState();
// ooa.g:140:11: ( T_CONSTS namedConstList )?
int alt1 = 2;
int LA1_0 = input.LA(1);

if ( (LA1_0 == T_CONSTS) )
{
alt1 = 1;
}
switch (alt1)
{
case 1 :
// ooa.g:140:12: T_CONSTS namedConstList
{
Match(input,T_CONSTS,FOLLOW_T_CONSTS_in_ooActionSystems93);
PushFollow(FOLLOW_namedConstList_in_ooActionSystems95);
namedConstList();
state.followingStackPointer--;


}
break;

}

Match(input,T_TYPES,FOLLOW_T_TYPES_in_ooActionSystems105);
PushFollow(FOLLOW_namedTypeList_in_ooActionSystems113);
namedTypeList();
state.followingStackPointer--;

Match(input,T_SYSTEM,FOLLOW_T_SYSTEM_in_ooActionSystems118);
PushFollow(FOLLOW_asTypeComposition_in_ooActionSystems125);
comp = asTypeComposition(null);
state.followingStackPointer--;

fixUpRun(comp);

}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "ooActionSystems"


// $ANTLR start "namedConstList"
// ooa.g:155:1: namedConstList : namedConst ( T_SEMICOLON namedConst )* ;
public void namedConstList() // throws RecognitionException [1]
{
try
{
// ooa.g:156:2: ( namedConst ( T_SEMICOLON namedConst )* )
// ooa.g:156:4: namedConst ( T_SEMICOLON namedConst )*
{
PushFollow(FOLLOW_namedConst_in_namedConstList148);
namedConst();
state.followingStackPointer--;

// ooa.g:156:15: ( T_SEMICOLON namedConst )*
do
{
int alt2 = 2;
int LA2_0 = input.LA(1);

if ( (LA2_0 == T_SEMICOLON) )
{
alt2 = 1;
}


switch (alt2)
{
case 1 :
// ooa.g:156:16: T_SEMICOLON namedConst
{
Match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_namedConstList151);
PushFollow(FOLLOW_namedConst_in_namedConstList153);
namedConst();
state.followingStackPointer--;


}
break;

default:
goto loop2;
}
} while (true);

loop2:
; // Stops C# compiler whining that label 'loop2' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "namedConstList"


// $ANTLR start "namedConst"
// ooa.g:159:1: namedConst : aName= T_IDENTIFIER T_EQUAL anExpr= expression ;
public void namedConst() // throws RecognitionException [1]
{
IToken aName = null;
Expression anExpr = default(Expression);


try
{
// ooa.g:160:2: (aName= T_IDENTIFIER T_EQUAL anExpr= expression )
// ooa.g:160:4: aName= T_IDENTIFIER T_EQUAL anExpr= expression
{
aName=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_namedConst169);
Match(input,T_EQUAL,FOLLOW_T_EQUAL_in_namedConst173);
PushFollow(FOLLOW_expression_in_namedConst179);
anExpr = expression();
state.followingStackPointer--;

addNamedConst(aName,anExpr);

}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "namedConst"


// $ANTLR start "namedTypeList"
// ooa.g:170:1: namedTypeList : namedType ( T_SEMICOLON namedType )* ;
public void namedTypeList() // throws RecognitionException [1]
{
try
{
// ooa.g:171:2: ( namedType ( T_SEMICOLON namedType )* )
// ooa.g:171:4: namedType ( T_SEMICOLON namedType )*
{
PushFollow(FOLLOW_namedType_in_namedTypeList199);
namedType();
state.followingStackPointer--;

// ooa.g:171:14: ( T_SEMICOLON namedType )*
do
{
int alt3 = 2;
int LA3_0 = input.LA(1);

if ( (LA3_0 == T_SEMICOLON) )
{
alt3 = 1;
}


switch (alt3)
{
case 1 :
// ooa.g:171:15: T_SEMICOLON namedType
{
Match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_namedTypeList202);
PushFollow(FOLLOW_namedType_in_namedTypeList204);
namedType();
state.followingStackPointer--;


}
break;

default:
goto loop3;
}
} while (true);

loop3:
; // Stops C# compiler whining that label 'loop3' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "namedTypeList"


// $ANTLR start "namedType"
// ooa.g:174:1: namedType : aName= T_IDENTIFIER T_EQUAL (aType= complexType | anOoaType= ooActionSystem ) ;
public void namedType() // throws RecognitionException [1]
{
IToken aName = null;
UlyssesType aType = default(UlyssesType);

OoActionSystemType anOoaType = default(OoActionSystemType);


try
{
// ooa.g:175:2: (aName= T_IDENTIFIER T_EQUAL (aType= complexType | anOoaType= ooActionSystem ) )
// ooa.g:175:4: aName= T_IDENTIFIER T_EQUAL (aType= complexType | anOoaType= ooActionSystem )
{
aName=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_namedType220);
Match(input,T_EQUAL,FOLLOW_T_EQUAL_in_namedType225);
// ooa.g:177:3: (aType= complexType | anOoaType= ooActionSystem )
int alt4 = 2;
alt4 = dfa4.Predict(input);
switch (alt4)
{
case 1 :
// ooa.g:178:4: aType= complexType
{
PushFollow(FOLLOW_complexType_in_namedType237);
aType = complexType();
state.followingStackPointer--;

createNamedType(aName,aType);

}
break;
case 2 :
// ooa.g:179:5: anOoaType= ooActionSystem
{
PushFollow(FOLLOW_ooActionSystem_in_namedType249);
anOoaType = ooActionSystem();
state.followingStackPointer--;

createNamedType(aName,anOoaType);

}
break;

}


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "namedType"


// $ANTLR start "asTypeComposition"
// ooa.g:185:1: asTypeComposition[IdentifierList top] returns [IdentifierList prioList] : asTypeCompositionParallel[prioList] ( T_PRIO asTypeCompositionParallel[prioList] )* ;
public IdentifierList asTypeComposition(IdentifierList top) // throws RecognitionException [1]
{
IdentifierList prioList = default(IdentifierList);

try
{
// ooa.g:187:2: ( asTypeCompositionParallel[prioList] ( T_PRIO asTypeCompositionParallel[prioList] )* )
// ooa.g:187:6: asTypeCompositionParallel[prioList] ( T_PRIO asTypeCompositionParallel[prioList] )*
{
prioList = new PrioIdentifierList(top);
PushFollow(FOLLOW_asTypeCompositionParallel_in_asTypeComposition285);
asTypeCompositionParallel(prioList);
state.followingStackPointer--;

// ooa.g:188:40: ( T_PRIO asTypeCompositionParallel[prioList] )*
do
{
int alt5 = 2;
int LA5_0 = input.LA(1);

if ( (LA5_0 == T_PRIO) )
{
alt5 = 1;
}


switch (alt5)
{
case 1 :
// ooa.g:188:41: T_PRIO asTypeCompositionParallel[prioList]
{
Match(input,T_PRIO,FOLLOW_T_PRIO_in_asTypeComposition290);
PushFollow(FOLLOW_asTypeCompositionParallel_in_asTypeComposition292);
asTypeCompositionParallel(prioList);
state.followingStackPointer--;


}
break;

default:
goto loop5;
}
} while (true);

loop5:
; // Stops C# compiler whining that label 'loop5' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return prioList;
}
// $ANTLR end "asTypeComposition"


// $ANTLR start "asTypeCompositionParallel"
// ooa.g:191:1: asTypeCompositionParallel[IdentifierList top] : asTypeCompositionSequential[parList] ( T_NONDET asTypeCompositionSequential[parList] )* ;
public void asTypeCompositionParallel(IdentifierList top) // throws RecognitionException [1]
{
try
{
// ooa.g:192:2: ( asTypeCompositionSequential[parList] ( T_NONDET asTypeCompositionSequential[parList] )* )
// ooa.g:192:6: asTypeCompositionSequential[parList] ( T_NONDET asTypeCompositionSequential[parList] )*
{
IdentifierList parList = new NondetIdentifierList(top);
PushFollow(FOLLOW_asTypeCompositionSequential_in_asTypeCompositionParallel315);
asTypeCompositionSequential(parList);
state.followingStackPointer--;

// ooa.g:193:40: ( T_NONDET asTypeCompositionSequential[parList] )*
do
{
int alt6 = 2;
int LA6_0 = input.LA(1);

if ( (LA6_0 == T_NONDET) )
{
alt6 = 1;
}


switch (alt6)
{
case 1 :
// ooa.g:193:41: T_NONDET asTypeCompositionSequential[parList]
{
Match(input,T_NONDET,FOLLOW_T_NONDET_in_asTypeCompositionParallel319);
PushFollow(FOLLOW_asTypeCompositionSequential_in_asTypeCompositionParallel321);
asTypeCompositionSequential(parList);
state.followingStackPointer--;


}
break;

default:
goto loop6;
}
} while (true);

loop6:
; // Stops C# compiler whining that label 'loop6' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "asTypeCompositionParallel"


// $ANTLR start "asTypeCompositionSequential"
// ooa.g:196:1: asTypeCompositionSequential[IdentifierList top] : asTypeCompositionBlockParen[seqList] ;
public void asTypeCompositionSequential(IdentifierList top) // throws RecognitionException [1]
{
try
{
// ooa.g:197:2: ( asTypeCompositionBlockParen[seqList] )
// ooa.g:197:6: asTypeCompositionBlockParen[seqList]
{
IdentifierList seqList = new SeqIdentifierList(top);
PushFollow(FOLLOW_asTypeCompositionBlockParen_in_asTypeCompositionSequential343);
asTypeCompositionBlockParen(seqList);
state.followingStackPointer--;


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "asTypeCompositionSequential"


// $ANTLR start "asTypeCompositionBlockParen"
// ooa.g:201:1: asTypeCompositionBlockParen[IdentifierList top] : ( T_LPAREN asTypeComposition[top] T_RPAREN | aName= T_IDENTIFIER );
public void asTypeCompositionBlockParen(IdentifierList top) // throws RecognitionException [1]
{
IToken aName = null;

try
{
// ooa.g:202:2: ( T_LPAREN asTypeComposition[top] T_RPAREN | aName= T_IDENTIFIER )
int alt7 = 2;
int LA7_0 = input.LA(1);

if ( (LA7_0 == T_LPAREN) )
{
alt7 = 1;
}
else if ( (LA7_0 == T_IDENTIFIER) )
{
alt7 = 2;
}
else
{
NoViableAltException nvae_d7s0 =
new NoViableAltException("", 7, 0, input);

throw nvae_d7s0;
}
switch (alt7)
{
case 1 :
// ooa.g:202:4: T_LPAREN asTypeComposition[top] T_RPAREN
{
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_asTypeCompositionBlockParen358);
PushFollow(FOLLOW_asTypeComposition_in_asTypeCompositionBlockParen360);
asTypeComposition(top);
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_asTypeCompositionBlockParen363);

}
break;
case 2 :
// ooa.g:203:4: aName= T_IDENTIFIER
{
aName=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_asTypeCompositionBlockParen370);
addToIdentifierList(top,aName);

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "asTypeCompositionBlockParen"


// $ANTLR start "complexType"
// ooa.g:211:1: complexType returns [UlyssesType aTypeSymbol] : ( T_LIST T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN T_OF innertype= complexType | T_LSQPAREN alistelem= T_IDENTIFIER ( T_COMMA otherlistelem= T_IDENTIFIER )* T_RSQPAREN | T_MAP ( T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN )? mapfromtype= simpleType T_TO maptotype= complexType | T_QUANTITY T_OF T_LSQPAREN (alandmark= T_IDENTIFIER | alandmark= T_MINUS T_INFTY ) ( T_COMMA (otherlandmark= T_IDENTIFIER | otherlandmark= T_INFTY ) )* T_RSQPAREN | T_LPAREN aType= complexType ( T_COMMA anotherType= complexType )* T_RPAREN | r= simpleType );
public UlyssesType complexType() // throws RecognitionException [1]
{
UlyssesType aTypeSymbol = default(UlyssesType);

IToken numOfElements = null;
IToken alistelem = null;
IToken otherlistelem = null;
IToken alandmark = null;
IToken otherlandmark = null;
UlyssesType innertype = default(UlyssesType);

UlyssesType mapfromtype = default(UlyssesType);

UlyssesType maptotype = default(UlyssesType);

UlyssesType aType = default(UlyssesType);

UlyssesType anotherType = default(UlyssesType);

UlyssesType r = default(UlyssesType);


aTypeSymbol = null;
alandmark = null;
try
{
// ooa.g:217:2: ( T_LIST T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN T_OF innertype= complexType | T_LSQPAREN alistelem= T_IDENTIFIER ( T_COMMA otherlistelem= T_IDENTIFIER )* T_RSQPAREN | T_MAP ( T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN )? mapfromtype= simpleType T_TO maptotype= complexType | T_QUANTITY T_OF T_LSQPAREN (alandmark= T_IDENTIFIER | alandmark= T_MINUS T_INFTY ) ( T_COMMA (otherlandmark= T_IDENTIFIER | otherlandmark= T_INFTY ) )* T_RSQPAREN | T_LPAREN aType= complexType ( T_COMMA anotherType= complexType )* T_RPAREN | r= simpleType )
int alt14 = 6;
alt14 = dfa14.Predict(input);
switch (alt14)
{
case 1 :
// ooa.g:217:4: T_LIST T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN T_OF innertype= complexType
{
Match(input,T_LIST,FOLLOW_T_LIST_in_complexType401);
Match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_complexType404);
numOfElements = (IToken)input.LT(1);
if ( input.LA(1) == T_IDENTIFIER || input.LA(1) == T_INTNUMBER )
{
input.Consume();
state.errorRecovery = false;
}
else
{
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}

Match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_complexType414);
Match(input,T_OF,FOLLOW_T_OF_in_complexType416);
PushFollow(FOLLOW_complexType_in_complexType421);
innertype = complexType();
state.followingStackPointer--;

aTypeSymbol = createListType(numOfElements,innertype);

}
break;
case 2 :
// ooa.g:221:4: T_LSQPAREN alistelem= T_IDENTIFIER ( T_COMMA otherlistelem= T_IDENTIFIER )* T_RSQPAREN
{
Match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_complexType436);
alistelem=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_complexType440);
aTypeSymbol = createListEnumType(alistelem);
// ooa.g:222:4: ( T_COMMA otherlistelem= T_IDENTIFIER )*
do
{
int alt8 = 2;
int LA8_0 = input.LA(1);

if ( (LA8_0 == T_COMMA) )
{
alt8 = 1;
}


switch (alt8)
{
case 1 :
// ooa.g:222:5: T_COMMA otherlistelem= T_IDENTIFIER
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_complexType449);
otherlistelem=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_complexType453);
addToListEnumType(aTypeSymbol,otherlistelem);

}
break;

default:
goto loop8;
}
} while (true);

loop8:
; // Stops C# compiler whining that label 'loop8' has no statements

Match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_complexType459);

}
break;
case 3 :
// ooa.g:225:4: T_MAP ( T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN )? mapfromtype= simpleType T_TO maptotype= complexType
{
Match(input,T_MAP,FOLLOW_T_MAP_in_complexType469);
// ooa.g:225:12: ( T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN )?
int alt9 = 2;
int LA9_0 = input.LA(1);

if ( (LA9_0 == T_LSQPAREN) )
{
alt9 = 1;
}
switch (alt9)
{
case 1 :
// ooa.g:225:13: T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN
{
Match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_complexType474);
numOfElements = (IToken)input.LT(1);
if ( input.LA(1) == T_IDENTIFIER || input.LA(1) == T_INTNUMBER )
{
input.Consume();
state.errorRecovery = false;
}
else
{
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}

Match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_complexType484);

}
break;

}

PushFollow(FOLLOW_simpleType_in_complexType490);
mapfromtype = simpleType();
state.followingStackPointer--;

Match(input,T_TO,FOLLOW_T_TO_in_complexType492);
PushFollow(FOLLOW_complexType_in_complexType496);
maptotype = complexType();
state.followingStackPointer--;

aTypeSymbol = createMapType(numOfElements,mapfromtype,maptotype);

}
break;
case 4 :
// ooa.g:228:4: T_QUANTITY T_OF T_LSQPAREN (alandmark= T_IDENTIFIER | alandmark= T_MINUS T_INFTY ) ( T_COMMA (otherlandmark= T_IDENTIFIER | otherlandmark= T_INFTY ) )* T_RSQPAREN
{
Match(input,T_QUANTITY,FOLLOW_T_QUANTITY_in_complexType510);
Match(input,T_OF,FOLLOW_T_OF_in_complexType512);
Match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_complexType514);
// ooa.g:228:31: (alandmark= T_IDENTIFIER | alandmark= T_MINUS T_INFTY )
int alt10 = 2;
int LA10_0 = input.LA(1);

if ( (LA10_0 == T_IDENTIFIER) )
{
alt10 = 1;
}
else if ( (LA10_0 == T_MINUS) )
{
alt10 = 2;
}
else
{
NoViableAltException nvae_d10s0 =
new NoViableAltException("", 10, 0, input);

throw nvae_d10s0;
}
switch (alt10)
{
case 1 :
// ooa.g:228:32: alandmark= T_IDENTIFIER
{
alandmark=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_complexType519);

}
break;
case 2 :
// ooa.g:228:56: alandmark= T_MINUS T_INFTY
{
alandmark=(IToken)Match(input,T_MINUS,FOLLOW_T_MINUS_in_complexType524);
Match(input,T_INFTY,FOLLOW_T_INFTY_in_complexType526);

}
break;

}

aTypeSymbol = createQrType(alandmark);
// ooa.g:229:4: ( T_COMMA (otherlandmark= T_IDENTIFIER | otherlandmark= T_INFTY ) )*
do
{
int alt12 = 2;
int LA12_0 = input.LA(1);

if ( (LA12_0 == T_COMMA) )
{
alt12 = 1;
}


switch (alt12)
{
case 1 :
// ooa.g:229:5: T_COMMA (otherlandmark= T_IDENTIFIER | otherlandmark= T_INFTY )
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_complexType536);
// ooa.g:229:13: (otherlandmark= T_IDENTIFIER | otherlandmark= T_INFTY )
int alt11 = 2;
int LA11_0 = input.LA(1);

if ( (LA11_0 == T_IDENTIFIER) )
{
alt11 = 1;
}
else if ( (LA11_0 == T_INFTY) )
{
alt11 = 2;
}
else
{
NoViableAltException nvae_d11s0 =
new NoViableAltException("", 11, 0, input);

throw nvae_d11s0;
}
switch (alt11)
{
case 1 :
// ooa.g:229:14: otherlandmark= T_IDENTIFIER
{
otherlandmark=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_complexType541);

}
break;
case 2 :
// ooa.g:229:41: otherlandmark= T_INFTY
{
otherlandmark=(IToken)Match(input,T_INFTY,FOLLOW_T_INFTY_in_complexType545);

}
break;

}

addToQrType(aTypeSymbol,otherlandmark);

}
break;

default:
goto loop12;
}
} while (true);

loop12:
; // Stops C# compiler whining that label 'loop12' has no statements

Match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_complexType552);

}
break;
case 5 :
// ooa.g:231:5: T_LPAREN aType= complexType ( T_COMMA anotherType= complexType )* T_RPAREN
{
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_complexType562);
PushFollow(FOLLOW_complexType_in_complexType566);
aType = complexType();
state.followingStackPointer--;

aTypeSymbol = createTupleType(aType);
// ooa.g:232:4: ( T_COMMA anotherType= complexType )*
do
{
int alt13 = 2;
int LA13_0 = input.LA(1);

if ( (LA13_0 == T_COMMA) )
{
alt13 = 1;
}


switch (alt13)
{
case 1 :
// ooa.g:232:5: T_COMMA anotherType= complexType
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_complexType575);
PushFollow(FOLLOW_complexType_in_complexType579);
anotherType = complexType();
state.followingStackPointer--;

addToTupleType(aTypeSymbol,anotherType);

}
break;

default:
goto loop13;
}
} while (true);

loop13:
; // Stops C# compiler whining that label 'loop13' has no statements

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_complexType586);

}
break;
case 6 :
// ooa.g:235:4: r= simpleType
{
PushFollow(FOLLOW_simpleType_in_complexType599);
r = simpleType();
state.followingStackPointer--;

aTypeSymbol = r;

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
fixupComplexType(aTypeSymbol);
}
return aTypeSymbol;
}
// $ANTLR end "complexType"


// $ANTLR start "simpleType"
// ooa.g:241:1: simpleType returns [UlyssesType aTypeSymbol] : ( T_BOOL | T_INT T_LSQPAREN rangeLow= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN | T_FLOAT T_LSQPAREN rangeLow= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN | T_CHAR | T_CBRL aRangeValue= T_IDENTIFIER ( T_EQUAL optVal= T_INTNUMBER )? ( T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )? )* T_CBRR | aType= T_IDENTIFIER );
public UlyssesType simpleType() // throws RecognitionException [1]
{
UlyssesType aTypeSymbol = default(UlyssesType);

IToken rangeLow = null;
IToken rangeHigh = null;
IToken aRangeValue = null;
IToken optVal = null;
IToken otherRangeValue = null;
IToken otherOptVal = null;
IToken aType = null;

aTypeSymbol = null;
try
{
// ooa.g:246:2: ( T_BOOL | T_INT T_LSQPAREN rangeLow= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN | T_FLOAT T_LSQPAREN rangeLow= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN | T_CHAR | T_CBRL aRangeValue= T_IDENTIFIER ( T_EQUAL optVal= T_INTNUMBER )? ( T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )? )* T_CBRR | aType= T_IDENTIFIER )
int alt18 = 6;
switch ( input.LA(1) )
{
case T_BOOL:
{
alt18 = 1;
}
break;
case T_INT:
{
alt18 = 2;
}
break;
case T_FLOAT:
{
alt18 = 3;
}
break;
case T_CHAR:
{
alt18 = 4;
}
break;
case T_CBRL:
{
alt18 = 5;
}
break;
case T_IDENTIFIER:
{
alt18 = 6;
}
break;
default:
NoViableAltException nvae_d18s0 =
new NoViableAltException("", 18, 0, input);

throw nvae_d18s0;
}

switch (alt18)
{
case 1 :
// ooa.g:246:4: T_BOOL
{
Match(input,T_BOOL,FOLLOW_T_BOOL_in_simpleType632);
aTypeSymbol = createBoolType();

}
break;
case 2 :
// ooa.g:249:4: T_INT T_LSQPAREN rangeLow= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN
{
Match(input,T_INT,FOLLOW_T_INT_in_simpleType645);
Match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_simpleType647);
rangeLow = (IToken)input.LT(1);
if ( input.LA(1) == T_IDENTIFIER || input.LA(1) == T_INTNUMBER || input.LA(1) == T_INFTY )
{
input.Consume();
state.errorRecovery = false;
}
else
{
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}

Match(input,T_RANGETO,FOLLOW_T_RANGETO_in_simpleType659);
rangeHigh = (IToken)input.LT(1);
if ( input.LA(1) == T_IDENTIFIER || input.LA(1) == T_INTNUMBER || input.LA(1) == T_INFTY )
{
input.Consume();
state.errorRecovery = false;
}
else
{
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}

Match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_simpleType671);
aTypeSymbol = createIntType(rangeLow,rangeHigh);

}
break;
case 3 :
// ooa.g:253:4: T_FLOAT T_LSQPAREN rangeLow= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN
{
Match(input,T_FLOAT,FOLLOW_T_FLOAT_in_simpleType690);
Match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_simpleType693);
rangeLow = (IToken)input.LT(1);
if ( input.LA(1) == T_IDENTIFIER || input.LA(1) == T_INFTY || input.LA(1) == T_FLOATNUMBER )
{
input.Consume();
state.errorRecovery = false;
}
else
{
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}

Match(input,T_RANGETO,FOLLOW_T_RANGETO_in_simpleType705);
rangeHigh = (IToken)input.LT(1);
if ( input.LA(1) == T_IDENTIFIER || input.LA(1) == T_INFTY || input.LA(1) == T_FLOATNUMBER )
{
input.Consume();
state.errorRecovery = false;
}
else
{
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}

Match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_simpleType717);
aTypeSymbol = createFloatType(rangeLow,rangeHigh);

}
break;
case 4 :
// ooa.g:257:4: T_CHAR
{
Match(input,T_CHAR,FOLLOW_T_CHAR_in_simpleType735);
aTypeSymbol = createCharType();

}
break;
case 5 :
// ooa.g:261:4: T_CBRL aRangeValue= T_IDENTIFIER ( T_EQUAL optVal= T_INTNUMBER )? ( T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )? )* T_CBRR
{
Match(input,T_CBRL,FOLLOW_T_CBRL_in_simpleType751);
aRangeValue=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_simpleType755);
// ooa.g:261:36: ( T_EQUAL optVal= T_INTNUMBER )?
int alt15 = 2;
int LA15_0 = input.LA(1);

if ( (LA15_0 == T_EQUAL) )
{
alt15 = 1;
}
switch (alt15)
{
case 1 :
// ooa.g:261:37: T_EQUAL optVal= T_INTNUMBER
{
Match(input,T_EQUAL,FOLLOW_T_EQUAL_in_simpleType758);
optVal=(IToken)Match(input,T_INTNUMBER,FOLLOW_T_INTNUMBER_in_simpleType762);

}
break;

}

aTypeSymbol = createEnumType(aRangeValue, optVal);
// ooa.g:262:4: ( T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )? )*
do
{
int alt17 = 2;
int LA17_0 = input.LA(1);

if ( (LA17_0 == T_COMMA) )
{
alt17 = 1;
}


switch (alt17)
{
case 1 :
// ooa.g:262:5: T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )?
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_simpleType773);
otherRangeValue=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_simpleType777);
// ooa.g:262:42: ( T_EQUAL otherOptVal= T_INTNUMBER )?
int alt16 = 2;
int LA16_0 = input.LA(1);

if ( (LA16_0 == T_EQUAL) )
{
alt16 = 1;
}
switch (alt16)
{
case 1 :
// ooa.g:262:43: T_EQUAL otherOptVal= T_INTNUMBER
{
Match(input,T_EQUAL,FOLLOW_T_EQUAL_in_simpleType780);
otherOptVal=(IToken)Match(input,T_INTNUMBER,FOLLOW_T_INTNUMBER_in_simpleType784);

}
break;

}

addToEnumType(aTypeSymbol,otherRangeValue,otherOptVal); otherOptVal=null;

}
break;

default:
goto loop17;
}
} while (true);

loop17:
; // Stops C# compiler whining that label 'loop17' has no statements

Match(input,T_CBRR,FOLLOW_T_CBRR_in_simpleType792);

}
break;
case 6 :
// ooa.g:264:4: aType= T_IDENTIFIER
{
aType=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_simpleType803);
aTypeSymbol = getNamedType(aType);

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
fixupSimpleType(aTypeSymbol);
}
return aTypeSymbol;
}
// $ANTLR end "simpleType"


// $ANTLR start "ooActionSystem"
// ooa.g:274:1: ooActionSystem returns [OoActionSystemType aTypeSymbol] : ( T_AUTOCONS )? T_SYSTEM ( T_LPAREN refinesSystemName= T_IDENTIFIER T_RPAREN )? '|[' ( T_VAR attrList )? ( T_METHODS methodList )? ( T_ACTIONS namedActionList )? ( T_DO (bl= actionBlock[null] )? T_OD )? ']|' ;
public OoActionSystemType ooActionSystem() // throws RecognitionException [1]
{
OoActionSystemType aTypeSymbol = default(OoActionSystemType);

IToken refinesSystemName = null;
Block bl = default(Block);


bool autoCons = false;
aTypeSymbol = null;
refinesSystemName = null;
try
{
// ooa.g:281:2: ( ( T_AUTOCONS )? T_SYSTEM ( T_LPAREN refinesSystemName= T_IDENTIFIER T_RPAREN )? '|[' ( T_VAR attrList )? ( T_METHODS methodList )? ( T_ACTIONS namedActionList )? ( T_DO (bl= actionBlock[null] )? T_OD )? ']|' )
// ooa.g:281:9: ( T_AUTOCONS )? T_SYSTEM ( T_LPAREN refinesSystemName= T_IDENTIFIER T_RPAREN )? '|[' ( T_VAR attrList )? ( T_METHODS methodList )? ( T_ACTIONS namedActionList )? ( T_DO (bl= actionBlock[null] )? T_OD )? ']|'
{
// ooa.g:281:9: ( T_AUTOCONS )?
int alt19 = 2;
int LA19_0 = input.LA(1);

if ( (LA19_0 == T_AUTOCONS) )
{
alt19 = 1;
}
switch (alt19)
{
case 1 :
// ooa.g:281:10: T_AUTOCONS
{
Match(input,T_AUTOCONS,FOLLOW_T_AUTOCONS_in_ooActionSystem846);
autoCons = true;

}
break;

}

Match(input,T_SYSTEM,FOLLOW_T_SYSTEM_in_ooActionSystem855);
// ooa.g:282:12: ( T_LPAREN refinesSystemName= T_IDENTIFIER T_RPAREN )?
int alt20 = 2;
int LA20_0 = input.LA(1);

if ( (LA20_0 == T_LPAREN) )
{
alt20 = 1;
}
switch (alt20)
{
case 1 :
// ooa.g:282:13: T_LPAREN refinesSystemName= T_IDENTIFIER T_RPAREN
{
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_ooActionSystem858);
refinesSystemName=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_ooActionSystem862);
Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_ooActionSystem864);

}
break;

}

aTypeSymbol = createOoaType(refinesSystemName,autoCons);
Match(input,117,FOLLOW_117_in_ooActionSystem877);
// ooa.g:285:4: ( T_VAR attrList )?
int alt21 = 2;
int LA21_0 = input.LA(1);

if ( (LA21_0 == T_VAR) )
{
alt21 = 1;
}
switch (alt21)
{
case 1 :
// ooa.g:285:5: T_VAR attrList
{
Match(input,T_VAR,FOLLOW_T_VAR_in_ooActionSystem883);
PushFollow(FOLLOW_attrList_in_ooActionSystem885);
attrList();
state.followingStackPointer--;


}
break;

}

// ooa.g:286:4: ( T_METHODS methodList )?
int alt22 = 2;
int LA22_0 = input.LA(1);

if ( (LA22_0 == T_METHODS) )
{
alt22 = 1;
}
switch (alt22)
{
case 1 :
// ooa.g:286:5: T_METHODS methodList
{
Match(input,T_METHODS,FOLLOW_T_METHODS_in_ooActionSystem893);
PushFollow(FOLLOW_methodList_in_ooActionSystem895);
methodList();
state.followingStackPointer--;


}
break;

}

// ooa.g:287:4: ( T_ACTIONS namedActionList )?
int alt23 = 2;
int LA23_0 = input.LA(1);

if ( (LA23_0 == T_ACTIONS) )
{
alt23 = 1;
}
switch (alt23)
{
case 1 :
// ooa.g:287:5: T_ACTIONS namedActionList
{
Match(input,T_ACTIONS,FOLLOW_T_ACTIONS_in_ooActionSystem903);
PushFollow(FOLLOW_namedActionList_in_ooActionSystem905);
namedActionList();
state.followingStackPointer--;


}
break;

}

// ooa.g:288:4: ( T_DO (bl= actionBlock[null] )? T_OD )?
int alt25 = 2;
int LA25_0 = input.LA(1);

if ( (LA25_0 == T_DO) )
{
alt25 = 1;
}
switch (alt25)
{
case 1 :
// ooa.g:288:5: T_DO (bl= actionBlock[null] )? T_OD
{
Match(input,T_DO,FOLLOW_T_DO_in_ooActionSystem913);
// ooa.g:288:10: (bl= actionBlock[null] )?
int alt24 = 2;
int LA24_0 = input.LA(1);

if ( (LA24_0 == T_IDENTIFIER || LA24_0 == T_LPAREN || LA24_0 == T_VAR || (LA24_0 >= T_CONT && LA24_0 <= T_REQUIRES) || LA24_0 == T_SKIP) )
{
alt24 = 1;
}
switch (alt24)
{
case 1 :
// ooa.g:288:11: bl= actionBlock[null]
{
PushFollow(FOLLOW_actionBlock_in_ooActionSystem918);
bl = actionBlock(null);
state.followingStackPointer--;

addActionBlock(aTypeSymbol,bl);

}
break;

}

Match(input,T_OD,FOLLOW_T_OD_in_ooActionSystem925);

}
break;

}

Match(input,118,FOLLOW_118_in_ooActionSystem931);

}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
fixupOoaType(aTypeSymbol);
}
return aTypeSymbol;
}
// $ANTLR end "ooActionSystem"


// $ANTLR start "attrList"
// ooa.g:300:1: attrList : attr ( T_SEMICOLON attr )* ;
public void attrList() // throws RecognitionException [1]
{
try
{
// ooa.g:301:2: ( attr ( T_SEMICOLON attr )* )
// ooa.g:301:4: attr ( T_SEMICOLON attr )*
{
BeginParsingAttributes();
PushFollow(FOLLOW_attr_in_attrList962);
attr();
state.followingStackPointer--;

// ooa.g:302:9: ( T_SEMICOLON attr )*
do
{
int alt26 = 2;
int LA26_0 = input.LA(1);

if ( (LA26_0 == T_SEMICOLON) )
{
alt26 = 1;
}


switch (alt26)
{
case 1 :
// ooa.g:302:10: T_SEMICOLON attr
{
Match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_attrList965);
PushFollow(FOLLOW_attr_in_attrList967);
attr();
state.followingStackPointer--;


}
break;

default:
goto loop26;
}
} while (true);

loop26:
; // Stops C# compiler whining that label 'loop26' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{

EndParsingAttributes();
}
return ;
}
// $ANTLR end "attrList"


// $ANTLR start "attr"
// ooa.g:308:1: attr : ( T_STATIC )? ( T_OBS | T_CTRL )? varname= T_IDENTIFIER T_COLON aType= complexType ( T_EQUAL anExpr= expression )? ;
public void attr() // throws RecognitionException [1]
{
IToken varname = null;
UlyssesType aType = default(UlyssesType);

Expression anExpr = default(Expression);


bool isStatic = false;
bool isCtr = false;
bool isObs = false;
try
{
// ooa.g:315:2: ( ( T_STATIC )? ( T_OBS | T_CTRL )? varname= T_IDENTIFIER T_COLON aType= complexType ( T_EQUAL anExpr= expression )? )
// ooa.g:315:5: ( T_STATIC )? ( T_OBS | T_CTRL )? varname= T_IDENTIFIER T_COLON aType= complexType ( T_EQUAL anExpr= expression )?
{
// ooa.g:315:5: ( T_STATIC )?
int alt27 = 2;
int LA27_0 = input.LA(1);

if ( (LA27_0 == T_STATIC) )
{
alt27 = 1;
}
switch (alt27)
{
case 1 :
// ooa.g:315:6: T_STATIC
{
Match(input,T_STATIC,FOLLOW_T_STATIC_in_attr992);
isStatic = true;

}
break;

}

// ooa.g:315:36: ( T_OBS | T_CTRL )?
int alt28 = 3;
int LA28_0 = input.LA(1);

if ( (LA28_0 == T_OBS) )
{
alt28 = 1;
}
else if ( (LA28_0 == T_CTRL) )
{
alt28 = 2;
}
switch (alt28)
{
case 1 :
// ooa.g:315:37: T_OBS
{
Match(input,T_OBS,FOLLOW_T_OBS_in_attr999);
isObs = true;

}
break;
case 2 :
// ooa.g:315:61: T_CTRL
{
Match(input,T_CTRL,FOLLOW_T_CTRL_in_attr1005);
isCtr = true;

}
break;

}

varname=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_attr1016);
Match(input,T_COLON,FOLLOW_T_COLON_in_attr1019);
PushFollow(FOLLOW_complexType_in_attr1023);
aType = complexType();
state.followingStackPointer--;

// ooa.g:316:51: ( T_EQUAL anExpr= expression )?
int alt29 = 2;
int LA29_0 = input.LA(1);

if ( (LA29_0 == T_EQUAL) )
{
alt29 = 1;
}
switch (alt29)
{
case 1 :
// ooa.g:316:52: T_EQUAL anExpr= expression
{
Match(input,T_EQUAL,FOLLOW_T_EQUAL_in_attr1026);
PushFollow(FOLLOW_expression_in_attr1030);
anExpr = expression();
state.followingStackPointer--;


}
break;

}

createAttribute(varname, isStatic, isObs, isCtr, aType, anExpr);

}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "attr"


// $ANTLR start "methodList"
// ooa.g:323:1: methodList : method ( T_SEMICOLON method )* ;
public void methodList() // throws RecognitionException [1]
{
try
{
// ooa.g:324:2: ( method ( T_SEMICOLON method )* )
// ooa.g:324:5: method ( T_SEMICOLON method )*
{
PushFollow(FOLLOW_method_in_methodList1052);
method();
state.followingStackPointer--;

// ooa.g:324:12: ( T_SEMICOLON method )*
do
{
int alt30 = 2;
int LA30_0 = input.LA(1);

if ( (LA30_0 == T_SEMICOLON) )
{
alt30 = 1;
}


switch (alt30)
{
case 1 :
// ooa.g:324:13: T_SEMICOLON method
{
Match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_methodList1055);
PushFollow(FOLLOW_method_in_methodList1057);
method();
state.followingStackPointer--;


}
break;

default:
goto loop30;
}
} while (true);

loop30:
; // Stops C# compiler whining that label 'loop30' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "methodList"


// $ANTLR start "method"
// ooa.g:327:1: method : mname= T_IDENTIFIER ( T_LPAREN methodParameterList[newMethod] T_RPAREN )? ( T_COLON rt= complexType )? T_EQUAL ( T_VAR localActionVars[newMethod] 'begin' )? statements= actionBody[null] T_END ;
public void method() // throws RecognitionException [1]
{
IToken mname = null;
UlyssesType rt = default(UlyssesType);

Block statements = default(Block);


FunctionIdentifier newMethod = null;
try
{
// ooa.g:331:2: (mname= T_IDENTIFIER ( T_LPAREN methodParameterList[newMethod] T_RPAREN )? ( T_COLON rt= complexType )? T_EQUAL ( T_VAR localActionVars[newMethod] 'begin' )? statements= actionBody[null] T_END )
// ooa.g:331:4: mname= T_IDENTIFIER ( T_LPAREN methodParameterList[newMethod] T_RPAREN )? ( T_COLON rt= complexType )? T_EQUAL ( T_VAR localActionVars[newMethod] 'begin' )? statements= actionBody[null] T_END
{
mname=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_method1079);
newMethod = createMethodSymbol(mname);
// ooa.g:332:3: ( T_LPAREN methodParameterList[newMethod] T_RPAREN )?
int alt31 = 2;
int LA31_0 = input.LA(1);

if ( (LA31_0 == T_LPAREN) )
{
alt31 = 1;
}
switch (alt31)
{
case 1 :
// ooa.g:332:4: T_LPAREN methodParameterList[newMethod] T_RPAREN
{
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_method1087);
PushFollow(FOLLOW_methodParameterList_in_method1089);
methodParameterList(newMethod);
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_method1093);

}
break;

}

// ooa.g:333:3: ( T_COLON rt= complexType )?
int alt32 = 2;
int LA32_0 = input.LA(1);

if ( (LA32_0 == T_COLON) )
{
alt32 = 1;
}
switch (alt32)
{
case 1 :
// ooa.g:333:4: T_COLON rt= complexType
{
Match(input,T_COLON,FOLLOW_T_COLON_in_method1101);
PushFollow(FOLLOW_complexType_in_method1105);
rt = complexType();
state.followingStackPointer--;

setMethodReturnType(newMethod,rt);

}
break;

}

Match(input,T_EQUAL,FOLLOW_T_EQUAL_in_method1115);
// ooa.g:335:4: ( T_VAR localActionVars[newMethod] 'begin' )?
int alt33 = 2;
int LA33_0 = input.LA(1);

if ( (LA33_0 == T_VAR) )
{
alt33 = 1;
}
switch (alt33)
{
case 1 :
// ooa.g:335:5: T_VAR localActionVars[newMethod] 'begin'
{
Match(input,T_VAR,FOLLOW_T_VAR_in_method1122);
PushFollow(FOLLOW_localActionVars_in_method1124);
localActionVars(newMethod);
state.followingStackPointer--;

Match(input,119,FOLLOW_119_in_method1127);

}
break;

}

PushFollow(FOLLOW_actionBody_in_method1136);
statements = actionBody(null);
state.followingStackPointer--;

addMethodBody(newMethod,statements);
Match(input,T_END,FOLLOW_T_END_in_method1144);

}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
popResolveStack(newMethod);
}
return ;
}
// $ANTLR end "method"


// $ANTLR start "methodParameterList"
// ooa.g:342:1: methodParameterList[FunctionIdentifier newMethod] : paramName= T_IDENTIFIER T_COLON atype= complexType ( T_COMMA otherparam= T_IDENTIFIER T_COLON othertype= complexType )* ;
public void methodParameterList(FunctionIdentifier newMethod) // throws RecognitionException [1]
{
IToken paramName = null;
IToken otherparam = null;
UlyssesType atype = default(UlyssesType);

UlyssesType othertype = default(UlyssesType);


try
{
// ooa.g:343:2: (paramName= T_IDENTIFIER T_COLON atype= complexType ( T_COMMA otherparam= T_IDENTIFIER T_COLON othertype= complexType )* )
// ooa.g:343:5: paramName= T_IDENTIFIER T_COLON atype= complexType ( T_COMMA otherparam= T_IDENTIFIER T_COLON othertype= complexType )*
{
paramName=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_methodParameterList1168);
Match(input,T_COLON,FOLLOW_T_COLON_in_methodParameterList1170);
PushFollow(FOLLOW_complexType_in_methodParameterList1174);
atype = complexType();
state.followingStackPointer--;

addMethodParameter(newMethod,paramName,atype);
// ooa.g:344:4: ( T_COMMA otherparam= T_IDENTIFIER T_COLON othertype= complexType )*
do
{
int alt34 = 2;
int LA34_0 = input.LA(1);

if ( (LA34_0 == T_COMMA) )
{
alt34 = 1;
}


switch (alt34)
{
case 1 :
// ooa.g:344:5: T_COMMA otherparam= T_IDENTIFIER T_COLON othertype= complexType
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_methodParameterList1182);
otherparam=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_methodParameterList1186);
Match(input,T_COLON,FOLLOW_T_COLON_in_methodParameterList1188);
PushFollow(FOLLOW_complexType_in_methodParameterList1192);
othertype = complexType();
state.followingStackPointer--;

addMethodParameter(newMethod,otherparam,othertype);

}
break;

default:
goto loop34;
}
} while (true);

loop34:
; // Stops C# compiler whining that label 'loop34' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "methodParameterList"


// $ANTLR start "namedActionList"
// ooa.g:353:1: namedActionList : namedAction ( T_SEMICOLON namedAction )* ;
public void namedActionList() // throws RecognitionException [1]
{
try
{
// ooa.g:354:2: ( namedAction ( T_SEMICOLON namedAction )* )
// ooa.g:354:4: namedAction ( T_SEMICOLON namedAction )*
{
PushFollow(FOLLOW_namedAction_in_namedActionList1219);
namedAction();
state.followingStackPointer--;

// ooa.g:354:16: ( T_SEMICOLON namedAction )*
do
{
int alt35 = 2;
int LA35_0 = input.LA(1);

if ( (LA35_0 == T_SEMICOLON) )
{
alt35 = 1;
}


switch (alt35)
{
case 1 :
// ooa.g:354:17: T_SEMICOLON namedAction
{
Match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_namedActionList1222);
PushFollow(FOLLOW_namedAction_in_namedActionList1224);
namedAction();
state.followingStackPointer--;


}
break;

default:
goto loop35;
}
} while (true);

loop35:
; // Stops C# compiler whining that label 'loop35' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "namedActionList"


// $ANTLR start "namedAction"
// ooa.g:357:1: namedAction : ( T_CONT cactionname= T_IDENTIFIER ( T_LPAREN methodParameterList[newAction] T_RPAREN )? T_EQUAL constraints= continuousActionBody | ( T_CTRL | T_OBS | ) actionname= T_IDENTIFIER ( T_LPAREN methodParameterList[newAction] T_RPAREN )? T_EQUAL ( T_VAR localActionVars[newAction] )? body= discreteActionBody );
public void namedAction() // throws RecognitionException [1]
{
IToken cactionname = null;
IToken actionname = null;
GuardedCommand constraints = default(GuardedCommand);

GuardedCommand body = default(GuardedCommand);



FunctionTypeEnum actionType;
FunctionIdentifier newAction = null;
try
{
// ooa.g:362:2: ( T_CONT cactionname= T_IDENTIFIER ( T_LPAREN methodParameterList[newAction] T_RPAREN )? T_EQUAL constraints= continuousActionBody | ( T_CTRL | T_OBS | ) actionname= T_IDENTIFIER ( T_LPAREN methodParameterList[newAction] T_RPAREN )? T_EQUAL ( T_VAR localActionVars[newAction] )? body= discreteActionBody )
int alt40 = 2;
int LA40_0 = input.LA(1);

if ( (LA40_0 == T_CONT) )
{
alt40 = 1;
}
else if ( (LA40_0 == T_IDENTIFIER || (LA40_0 >= T_OBS && LA40_0 <= T_CTRL)) )
{
alt40 = 2;
}
else
{
NoViableAltException nvae_d40s0 =
new NoViableAltException("", 40, 0, input);

throw nvae_d40s0;
}
switch (alt40)
{
case 1 :
// ooa.g:362:4: T_CONT cactionname= T_IDENTIFIER ( T_LPAREN methodParameterList[newAction] T_RPAREN )? T_EQUAL constraints= continuousActionBody
{
Match(input,T_CONT,FOLLOW_T_CONT_in_namedAction1244);
cactionname=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_namedAction1248);
newAction = createNamedContinuousAction(cactionname, FunctionTypeEnum.Continuous);
// ooa.g:363:3: ( T_LPAREN methodParameterList[newAction] T_RPAREN )?
int alt36 = 2;
int LA36_0 = input.LA(1);

if ( (LA36_0 == T_LPAREN) )
{
alt36 = 1;
}
switch (alt36)
{
case 1 :
// ooa.g:363:4: T_LPAREN methodParameterList[newAction] T_RPAREN
{
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_namedAction1256);
PushFollow(FOLLOW_methodParameterList_in_namedAction1258);
methodParameterList(newAction);
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_namedAction1262);

}
break;

}

Match(input,T_EQUAL,FOLLOW_T_EQUAL_in_namedAction1269);
PushFollow(FOLLOW_continuousActionBody_in_namedAction1273);
constraints = continuousActionBody();
state.followingStackPointer--;

addContinuousActionBody(newAction,constraints);

}
break;
case 2 :
// ooa.g:366:4: ( T_CTRL | T_OBS | ) actionname= T_IDENTIFIER ( T_LPAREN methodParameterList[newAction] T_RPAREN )? T_EQUAL ( T_VAR localActionVars[newAction] )? body= discreteActionBody
{
actionType = FunctionTypeEnum.Internal;
// ooa.g:367:3: ( T_CTRL | T_OBS | )
int alt37 = 3;
switch ( input.LA(1) )
{
case T_CTRL:
{
alt37 = 1;
}
break;
case T_OBS:
{
alt37 = 2;
}
break;
case T_IDENTIFIER:
{
alt37 = 3;
}
break;
default:
NoViableAltException nvae_d37s0 =
new NoViableAltException("", 37, 0, input);

throw nvae_d37s0;
}

switch (alt37)
{
case 1 :
// ooa.g:367:4: T_CTRL
{
Match(input,T_CTRL,FOLLOW_T_CTRL_in_namedAction1288);
actionType = FunctionTypeEnum.Controllable;

}
break;
case 2 :
// ooa.g:367:58: T_OBS
{
Match(input,T_OBS,FOLLOW_T_OBS_in_namedAction1293);
actionType = FunctionTypeEnum.Observable;

}
break;
case 3 :
// ooa.g:367:109:
{
}
break;

}

actionname=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_namedAction1305);
newAction = createNamedAction(actionname,actionType);
// ooa.g:369:3: ( T_LPAREN methodParameterList[newAction] T_RPAREN )?
int alt38 = 2;
int LA38_0 = input.LA(1);

if ( (LA38_0 == T_LPAREN) )
{
alt38 = 1;
}
switch (alt38)
{
case 1 :
// ooa.g:369:4: T_LPAREN methodParameterList[newAction] T_RPAREN
{
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_namedAction1313);
PushFollow(FOLLOW_methodParameterList_in_namedAction1315);
methodParameterList(newAction);
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_namedAction1319);

}
break;

}

Match(input,T_EQUAL,FOLLOW_T_EQUAL_in_namedAction1326);
// ooa.g:371:3: ( T_VAR localActionVars[newAction] )?
int alt39 = 2;
int LA39_0 = input.LA(1);

if ( (LA39_0 == T_VAR) )
{
alt39 = 1;
}
switch (alt39)
{
case 1 :
// ooa.g:371:4: T_VAR localActionVars[newAction]
{
Match(input,T_VAR,FOLLOW_T_VAR_in_namedAction1332);
PushFollow(FOLLOW_localActionVars_in_namedAction1334);
localActionVars(newAction);
state.followingStackPointer--;


}
break;

}

PushFollow(FOLLOW_discreteActionBody_in_namedAction1345);
body = discreteActionBody();
state.followingStackPointer--;

addActionBody(newAction,body);

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
popResolveStack(newAction);
}
return ;
}
// $ANTLR end "namedAction"


// $ANTLR start "localActionVars"
// ooa.g:379:1: localActionVars[FunctionIdentifier newMethod] : id1= T_IDENTIFIER T_COLON t1= complexType ( T_SEMICOLON id2= T_IDENTIFIER T_COLON t2= complexType )* ;
public void localActionVars(FunctionIdentifier newMethod) // throws RecognitionException [1]
{
IToken id1 = null;
IToken id2 = null;
UlyssesType t1 = default(UlyssesType);

UlyssesType t2 = default(UlyssesType);


try
{
// ooa.g:380:2: (id1= T_IDENTIFIER T_COLON t1= complexType ( T_SEMICOLON id2= T_IDENTIFIER T_COLON t2= complexType )* )
// ooa.g:381:3: id1= T_IDENTIFIER T_COLON t1= complexType ( T_SEMICOLON id2= T_IDENTIFIER T_COLON t2= complexType )*
{
id1=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_localActionVars1377);
Match(input,T_COLON,FOLLOW_T_COLON_in_localActionVars1379);
PushFollow(FOLLOW_complexType_in_localActionVars1383);
t1 = complexType();
state.followingStackPointer--;

addLocalVariableToNamedAction(newMethod,id1,t1);
// ooa.g:382:4: ( T_SEMICOLON id2= T_IDENTIFIER T_COLON t2= complexType )*
do
{
int alt41 = 2;
int LA41_0 = input.LA(1);

if ( (LA41_0 == T_SEMICOLON) )
{
alt41 = 1;
}


switch (alt41)
{
case 1 :
// ooa.g:382:5: T_SEMICOLON id2= T_IDENTIFIER T_COLON t2= complexType
{
Match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_localActionVars1392);
id2=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_localActionVars1396);
Match(input,T_COLON,FOLLOW_T_COLON_in_localActionVars1398);
PushFollow(FOLLOW_complexType_in_localActionVars1402);
t2 = complexType();
state.followingStackPointer--;

addLocalVariableToNamedAction(newMethod,id2,t2);

}
break;

default:
goto loop41;
}
} while (true);

loop41:
; // Stops C# compiler whining that label 'loop41' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "localActionVars"


// $ANTLR start "anonymousAction"
// ooa.g:388:1: anonymousAction returns [GuardedCommand result] : (a= continuousActionBody | b= discreteActionBody );
public GuardedCommand anonymousAction() // throws RecognitionException [1]
{
GuardedCommand result = default(GuardedCommand);

GuardedCommand a = default(GuardedCommand);

GuardedCommand b = default(GuardedCommand);


try
{
// ooa.g:390:2: (a= continuousActionBody | b= discreteActionBody )
int alt42 = 2;
int LA42_0 = input.LA(1);

if ( (LA42_0 == T_CONT) )
{
alt42 = 1;
}
else if ( (LA42_0 == T_REQUIRES) )
{
alt42 = 2;
}
else
{
NoViableAltException nvae_d42s0 =
new NoViableAltException("", 42, 0, input);

throw nvae_d42s0;
}
switch (alt42)
{
case 1 :
// ooa.g:390:4: a= continuousActionBody
{
PushFollow(FOLLOW_continuousActionBody_in_anonymousAction1432);
a = continuousActionBody();
state.followingStackPointer--;

result = a;

}
break;
case 2 :
// ooa.g:391:4: b= discreteActionBody
{
PushFollow(FOLLOW_discreteActionBody_in_anonymousAction1441);
b = discreteActionBody();
state.followingStackPointer--;

result = b;

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "anonymousAction"


// $ANTLR start "continuousActionBody"
// ooa.g:394:1: continuousActionBody returns [GuardedCommand result] : T_CONT T_REQUIRES expr= expression T_COLON bdy= qualConstraintList T_END ;
public GuardedCommand continuousActionBody() // throws RecognitionException [1]
{
GuardedCommand result = default(GuardedCommand);

Expression expr = default(Expression);

Block bdy = default(Block);



result = null;
try
{
// ooa.g:399:2: ( T_CONT T_REQUIRES expr= expression T_COLON bdy= qualConstraintList T_END )
// ooa.g:399:4: T_CONT T_REQUIRES expr= expression T_COLON bdy= qualConstraintList T_END
{
Match(input,T_CONT,FOLLOW_T_CONT_in_continuousActionBody1466);
Match(input,T_REQUIRES,FOLLOW_T_REQUIRES_in_continuousActionBody1468);
PushFollow(FOLLOW_expression_in_continuousActionBody1472);
expr = expression();
state.followingStackPointer--;

Match(input,T_COLON,FOLLOW_T_COLON_in_continuousActionBody1474);
PushFollow(FOLLOW_qualConstraintList_in_continuousActionBody1481);
bdy = qualConstraintList();
state.followingStackPointer--;

Match(input,T_END,FOLLOW_T_END_in_continuousActionBody1486);
result = createGuardedCommandStatement(expr,bdy,true);

}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "continuousActionBody"


// $ANTLR start "qualConstraintList"
// ooa.g:405:1: qualConstraintList returns [Block result] : stmt= qualConstraint ( T_COMMA ostmt= qualConstraint )* ;
public Block qualConstraintList() // throws RecognitionException [1]
{
Block result = default(Block);

QualitativeConstraintStatement stmt = default(QualitativeConstraintStatement);

QualitativeConstraintStatement ostmt = default(QualitativeConstraintStatement);



result = createSeqBlock(null);
pushBlockToResolveStack(result);
try
{
// ooa.g:411:2: (stmt= qualConstraint ( T_COMMA ostmt= qualConstraint )* )
// ooa.g:411:4: stmt= qualConstraint ( T_COMMA ostmt= qualConstraint )*
{
PushFollow(FOLLOW_qualConstraint_in_qualConstraintList1514);
stmt = qualConstraint();
state.followingStackPointer--;

addToBlockList(result,stmt);
// ooa.g:412:3: ( T_COMMA ostmt= qualConstraint )*
do
{
int alt43 = 2;
int LA43_0 = input.LA(1);

if ( (LA43_0 == T_COMMA) )
{
alt43 = 1;
}


switch (alt43)
{
case 1 :
// ooa.g:412:4: T_COMMA ostmt= qualConstraint
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_qualConstraintList1521);
PushFollow(FOLLOW_qualConstraint_in_qualConstraintList1525);
ostmt = qualConstraint();
state.followingStackPointer--;

addToBlockList(result,ostmt);

}
break;

default:
goto loop43;
}
} while (true);

loop43:
; // Stops C# compiler whining that label 'loop43' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
popBlockFromResolveStack(result);
}
return result;
}
// $ANTLR end "qualConstraintList"


// $ANTLR start "qualConstraint"
// ooa.g:419:1: qualConstraint returns [QualitativeConstraintStatement result] : id1= T_IDENTIFIER T_EQUAL ( T_DERIV derivid= T_IDENTIFIER | id2= T_IDENTIFIER ( (op= T_SUM | op= T_DIFF | op= T_PROD ) id3= T_IDENTIFIER | ) ) ;
public QualitativeConstraintStatement qualConstraint() // throws RecognitionException [1]
{
QualitativeConstraintStatement result = default(QualitativeConstraintStatement);

IToken id1 = null;
IToken derivid = null;
IToken id2 = null;
IToken op = null;
IToken id3 = null;

try
{
// ooa.g:421:2: (id1= T_IDENTIFIER T_EQUAL ( T_DERIV derivid= T_IDENTIFIER | id2= T_IDENTIFIER ( (op= T_SUM | op= T_DIFF | op= T_PROD ) id3= T_IDENTIFIER | ) ) )
// ooa.g:421:4: id1= T_IDENTIFIER T_EQUAL ( T_DERIV derivid= T_IDENTIFIER | id2= T_IDENTIFIER ( (op= T_SUM | op= T_DIFF | op= T_PROD ) id3= T_IDENTIFIER | ) )
{
id1=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_qualConstraint1556);
Match(input,T_EQUAL,FOLLOW_T_EQUAL_in_qualConstraint1558);
// ooa.g:422:3: ( T_DERIV derivid= T_IDENTIFIER | id2= T_IDENTIFIER ( (op= T_SUM | op= T_DIFF | op= T_PROD ) id3= T_IDENTIFIER | ) )
int alt46 = 2;
int LA46_0 = input.LA(1);

if ( (LA46_0 == T_DERIV) )
{
alt46 = 1;
}
else if ( (LA46_0 == T_IDENTIFIER) )
{
alt46 = 2;
}
else
{
NoViableAltException nvae_d46s0 =
new NoViableAltException("", 46, 0, input);

throw nvae_d46s0;
}
switch (alt46)
{
case 1 :
// ooa.g:422:5: T_DERIV derivid= T_IDENTIFIER
{
Match(input,T_DERIV,FOLLOW_T_DERIV_in_qualConstraint1565);
derivid=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_qualConstraint1569);
result = createQualDerivConstraintStatement(id1,derivid);

}
break;
case 2 :
// ooa.g:426:11: id2= T_IDENTIFIER ( (op= T_SUM | op= T_DIFF | op= T_PROD ) id3= T_IDENTIFIER | )
{
id2=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_qualConstraint1604);
// ooa.g:427:11: ( (op= T_SUM | op= T_DIFF | op= T_PROD ) id3= T_IDENTIFIER | )
int alt45 = 2;
int LA45_0 = input.LA(1);

if ( ((LA45_0 >= T_SUM && LA45_0 <= T_PROD)) )
{
alt45 = 1;
}
else if ( (LA45_0 == T_COMMA || LA45_0 == T_END) )
{
alt45 = 2;
}
else
{
NoViableAltException nvae_d45s0 =
new NoViableAltException("", 45, 0, input);

throw nvae_d45s0;
}
switch (alt45)
{
case 1 :
// ooa.g:428:12: (op= T_SUM | op= T_DIFF | op= T_PROD ) id3= T_IDENTIFIER
{
// ooa.g:428:12: (op= T_SUM | op= T_DIFF | op= T_PROD )
int alt44 = 3;
switch ( input.LA(1) )
{
case T_SUM:
{
alt44 = 1;
}
break;
case T_DIFF:
{
alt44 = 2;
}
break;
case T_PROD:
{
alt44 = 3;
}
break;
default:
NoViableAltException nvae_d44s0 =
new NoViableAltException("", 44, 0, input);

throw nvae_d44s0;
}

switch (alt44)
{
case 1 :
// ooa.g:428:14: op= T_SUM
{
op=(IToken)Match(input,T_SUM,FOLLOW_T_SUM_in_qualConstraint1635);

}
break;
case 2 :
// ooa.g:429:14: op= T_DIFF
{
op=(IToken)Match(input,T_DIFF,FOLLOW_T_DIFF_in_qualConstraint1652);

}
break;
case 3 :
// ooa.g:430:14: op= T_PROD
{
op=(IToken)Match(input,T_PROD,FOLLOW_T_PROD_in_qualConstraint1669);

}
break;

}

id3=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_qualConstraint1698);
result = createQualArithConstraintStatement(id1,id2,id3,op);

}
break;
case 2 :
// ooa.g:435:12:
{
result = createQualEqualConstraintStatement(id1,id2);

}
break;

}


}
break;

}


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "qualConstraint"


// $ANTLR start "discreteActionBody"
// ooa.g:443:1: discreteActionBody returns [GuardedCommand result] : T_REQUIRES expr= expression T_COLON bdy= actionBody[null] T_END ;
public GuardedCommand discreteActionBody() // throws RecognitionException [1]
{
GuardedCommand result = default(GuardedCommand);

Expression expr = default(Expression);

Block bdy = default(Block);



result = null;
try
{
// ooa.g:448:2: ( T_REQUIRES expr= expression T_COLON bdy= actionBody[null] T_END )
// ooa.g:449:3: T_REQUIRES expr= expression T_COLON bdy= actionBody[null] T_END
{
Match(input,T_REQUIRES,FOLLOW_T_REQUIRES_in_discreteActionBody1788);
PushFollow(FOLLOW_expression_in_discreteActionBody1792);
expr = expression();
state.followingStackPointer--;

Match(input,T_COLON,FOLLOW_T_COLON_in_discreteActionBody1794);
PushFollow(FOLLOW_actionBody_in_discreteActionBody1801);
bdy = actionBody(null);
state.followingStackPointer--;

Match(input,T_END,FOLLOW_T_END_in_discreteActionBody1806);
result = createGuardedCommandStatement(expr,bdy);

}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "discreteActionBody"


// $ANTLR start "actionBlock"
// ooa.g:460:1: actionBlock[Block top] returns [Block prioList] : actionBlockParallel[prioList] ( T_PRIO actionBlockParallel[prioList] )* ;
public Block actionBlock(Block top) // throws RecognitionException [1]
{
Block prioList = default(Block);

try
{
// ooa.g:462:2: ( actionBlockParallel[prioList] ( T_PRIO actionBlockParallel[prioList] )* )
// ooa.g:462:6: actionBlockParallel[prioList] ( T_PRIO actionBlockParallel[prioList] )*
{
prioList = createPrioBlock(top);
PushFollow(FOLLOW_actionBlockParallel_in_actionBlock1842);
actionBlockParallel(prioList);
state.followingStackPointer--;

// ooa.g:463:34: ( T_PRIO actionBlockParallel[prioList] )*
do
{
int alt47 = 2;
int LA47_0 = input.LA(1);

if ( (LA47_0 == T_PRIO) )
{
alt47 = 1;
}


switch (alt47)
{
case 1 :
// ooa.g:463:35: T_PRIO actionBlockParallel[prioList]
{
Match(input,T_PRIO,FOLLOW_T_PRIO_in_actionBlock1846);
PushFollow(FOLLOW_actionBlockParallel_in_actionBlock1848);
actionBlockParallel(prioList);
state.followingStackPointer--;


}
break;

default:
goto loop47;
}
} while (true);

loop47:
; // Stops C# compiler whining that label 'loop47' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return prioList;
}
// $ANTLR end "actionBlock"


// $ANTLR start "actionBlockParallel"
// ooa.g:466:1: actionBlockParallel[Block top] : actionBlockSequential[parList] ( T_NONDET actionBlockSequential[parList] )* ;
public void actionBlockParallel(Block top) // throws RecognitionException [1]
{
try
{
// ooa.g:467:2: ( actionBlockSequential[parList] ( T_NONDET actionBlockSequential[parList] )* )
// ooa.g:467:6: actionBlockSequential[parList] ( T_NONDET actionBlockSequential[parList] )*
{
Block parList = createNondetBlock(top);
PushFollow(FOLLOW_actionBlockSequential_in_actionBlockParallel1873);
actionBlockSequential(parList);
state.followingStackPointer--;

// ooa.g:468:34: ( T_NONDET actionBlockSequential[parList] )*
do
{
int alt48 = 2;
int LA48_0 = input.LA(1);

if ( (LA48_0 == T_NONDET) )
{
alt48 = 1;
}


switch (alt48)
{
case 1 :
// ooa.g:468:35: T_NONDET actionBlockSequential[parList]
{
Match(input,T_NONDET,FOLLOW_T_NONDET_in_actionBlockParallel1877);
PushFollow(FOLLOW_actionBlockSequential_in_actionBlockParallel1879);
actionBlockSequential(parList);
state.followingStackPointer--;


}
break;

default:
goto loop48;
}
} while (true);

loop48:
; // Stops C# compiler whining that label 'loop48' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "actionBlockParallel"


// $ANTLR start "actionBlockSequential"
// ooa.g:472:1: actionBlockSequential[Block top] : ( T_VAR syms= blockvarlist[seqList] ( '&' sexpr= expression )? T_COLON )? actionBlockParen[seqList] ( T_SEMICOLON actionBlockParen[seqList] )* ;
public void actionBlockSequential(Block top) // throws RecognitionException [1]
{
Expression sexpr = default(Expression);



Block seqList = createSeqBlock(top);
pushBlockToResolveStack(seqList);
try
{
// ooa.g:477:2: ( ( T_VAR syms= blockvarlist[seqList] ( '&' sexpr= expression )? T_COLON )? actionBlockParen[seqList] ( T_SEMICOLON actionBlockParen[seqList] )* )
// ooa.g:477:5: ( T_VAR syms= blockvarlist[seqList] ( '&' sexpr= expression )? T_COLON )? actionBlockParen[seqList] ( T_SEMICOLON actionBlockParen[seqList] )*
{
// ooa.g:477:5: ( T_VAR syms= blockvarlist[seqList] ( '&' sexpr= expression )? T_COLON )?
int alt50 = 2;
int LA50_0 = input.LA(1);

if ( (LA50_0 == T_VAR) )
{
alt50 = 1;
}
switch (alt50)
{
case 1 :
// ooa.g:477:6: T_VAR syms= blockvarlist[seqList] ( '&' sexpr= expression )? T_COLON
{
Match(input,T_VAR,FOLLOW_T_VAR_in_actionBlockSequential1908);
PushFollow(FOLLOW_blockvarlist_in_actionBlockSequential1912);
blockvarlist(seqList);
state.followingStackPointer--;

// ooa.g:477:39: ( '&' sexpr= expression )?
int alt49 = 2;
int LA49_0 = input.LA(1);

if ( (LA49_0 == 120) )
{
alt49 = 1;
}
switch (alt49)
{
case 1 :
// ooa.g:477:40: '&' sexpr= expression
{
Match(input,120,FOLLOW_120_in_actionBlockSequential1916);
PushFollow(FOLLOW_expression_in_actionBlockSequential1920);
sexpr = expression();
state.followingStackPointer--;

addSeqBlockExpression(seqList,sexpr);

}
break;

}

Match(input,T_COLON,FOLLOW_T_COLON_in_actionBlockSequential1927);

}
break;

}

PushFollow(FOLLOW_actionBlockParen_in_actionBlockSequential1936);
actionBlockParen(seqList);
state.followingStackPointer--;

// ooa.g:478:30: ( T_SEMICOLON actionBlockParen[seqList] )*
do
{
int alt51 = 2;
int LA51_0 = input.LA(1);

if ( (LA51_0 == T_SEMICOLON) )
{
alt51 = 1;
}


switch (alt51)
{
case 1 :
// ooa.g:478:31: T_SEMICOLON actionBlockParen[seqList]
{
Match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_actionBlockSequential1940);
PushFollow(FOLLOW_actionBlockParen_in_actionBlockSequential1942);
actionBlockParen(seqList);
state.followingStackPointer--;


}
break;

default:
goto loop51;
}
} while (true);

loop51:
; // Stops C# compiler whining that label 'loop51' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
popBlockFromResolveStack(seqList);
}
return ;
}
// $ANTLR end "actionBlockSequential"


// $ANTLR start "actionBlockParen"
// ooa.g:483:1: actionBlockParen[Block top] : ( T_LPAREN actionBlock[top] T_RPAREN | anonymousOrNamedAction[top] );
public void actionBlockParen(Block top) // throws RecognitionException [1]
{
try
{
// ooa.g:484:2: ( T_LPAREN actionBlock[top] T_RPAREN | anonymousOrNamedAction[top] )
int alt52 = 2;
int LA52_0 = input.LA(1);

if ( (LA52_0 == T_LPAREN) )
{
alt52 = 1;
}
else if ( (LA52_0 == T_IDENTIFIER || (LA52_0 >= T_CONT && LA52_0 <= T_REQUIRES) || LA52_0 == T_SKIP) )
{
alt52 = 2;
}
else
{
NoViableAltException nvae_d52s0 =
new NoViableAltException("", 52, 0, input);

throw nvae_d52s0;
}
switch (alt52)
{
case 1 :
// ooa.g:484:4: T_LPAREN actionBlock[top] T_RPAREN
{
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_actionBlockParen1966);
PushFollow(FOLLOW_actionBlock_in_actionBlockParen1968);
actionBlock(top);
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_actionBlockParen1971);

}
break;
case 2 :
// ooa.g:485:4: anonymousOrNamedAction[top]
{
PushFollow(FOLLOW_anonymousOrNamedAction_in_actionBlockParen1976);
anonymousOrNamedAction(top);
state.followingStackPointer--;


}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "actionBlockParen"


// $ANTLR start "anonymousOrNamedAction"
// ooa.g:488:1: anonymousOrNamedAction[Block top] : (gcmd= anonymousAction | aname= T_IDENTIFIER ( T_LPAREN m_params= methodCallParams T_RPAREN )? (amap= ( T_FOLDLR | T_FOLDRL ) '(' amapexpr= expression ')' )? | T_SKIP );
public void anonymousOrNamedAction(Block top) // throws RecognitionException [1]
{
IToken aname = null;
IToken amap = null;
GuardedCommand gcmd = default(GuardedCommand);

System.Collections.Generic.List<Expression> m_params = default(System.Collections.Generic.List<Expression>);

Expression amapexpr = default(Expression);


try
{
// ooa.g:489:2: (gcmd= anonymousAction | aname= T_IDENTIFIER ( T_LPAREN m_params= methodCallParams T_RPAREN )? (amap= ( T_FOLDLR | T_FOLDRL ) '(' amapexpr= expression ')' )? | T_SKIP )
int alt55 = 3;
switch ( input.LA(1) )
{
case T_CONT:
case T_REQUIRES:
{
alt55 = 1;
}
break;
case T_IDENTIFIER:
{
alt55 = 2;
}
break;
case T_SKIP:
{
alt55 = 3;
}
break;
default:
NoViableAltException nvae_d55s0 =
new NoViableAltException("", 55, 0, input);

throw nvae_d55s0;
}

switch (alt55)
{
case 1 :
// ooa.g:489:4: gcmd= anonymousAction
{
PushFollow(FOLLOW_anonymousAction_in_anonymousOrNamedAction1993);
gcmd = anonymousAction();
state.followingStackPointer--;

addToBlockList(top,gcmd);

}
break;
case 2 :
// ooa.g:490:4: aname= T_IDENTIFIER ( T_LPAREN m_params= methodCallParams T_RPAREN )? (amap= ( T_FOLDLR | T_FOLDRL ) '(' amapexpr= expression ')' )?
{
aname=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_anonymousOrNamedAction2002);
// ooa.g:491:11: ( T_LPAREN m_params= methodCallParams T_RPAREN )?
int alt53 = 2;
int LA53_0 = input.LA(1);

if ( (LA53_0 == T_LPAREN) )
{
alt53 = 1;
}
switch (alt53)
{
case 1 :
// ooa.g:491:12: T_LPAREN m_params= methodCallParams T_RPAREN
{
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_anonymousOrNamedAction2016);
PushFollow(FOLLOW_methodCallParams_in_anonymousOrNamedAction2021);
m_params = methodCallParams();
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_anonymousOrNamedAction2023);

}
break;

}

// ooa.g:492:11: (amap= ( T_FOLDLR | T_FOLDRL ) '(' amapexpr= expression ')' )?
int alt54 = 2;
int LA54_0 = input.LA(1);

if ( ((LA54_0 >= T_FOLDLR && LA54_0 <= T_FOLDRL)) )
{
alt54 = 1;
}
switch (alt54)
{
case 1 :
// ooa.g:492:12: amap= ( T_FOLDLR | T_FOLDRL ) '(' amapexpr= expression ')'
{
amap = (IToken)input.LT(1);
if ( (input.LA(1) >= T_FOLDLR && input.LA(1) <= T_FOLDRL) )
{
input.Consume();
state.errorRecovery = false;
}
else
{
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}

Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_anonymousOrNamedAction2047);
PushFollow(FOLLOW_expression_in_anonymousOrNamedAction2051);
amapexpr = expression();
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_anonymousOrNamedAction2053);

}
break;

}

addNamedActionCallToBlockList(top,aname,m_params,amap,amapexpr);

}
break;
case 3 :
// ooa.g:494:4: T_SKIP
{
Match(input,T_SKIP,FOLLOW_T_SKIP_in_anonymousOrNamedAction2064);
addSkipStatementToBlockList(top);

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "anonymousOrNamedAction"


// $ANTLR start "blockvarlist"
// ooa.g:498:1: blockvarlist[Block seqList] : blockvar[seqList] ( T_SEMICOLON blockvar[seqList] )* ;
public void blockvarlist(Block seqList) // throws RecognitionException [1]
{
try
{
// ooa.g:499:2: ( blockvar[seqList] ( T_SEMICOLON blockvar[seqList] )* )
// ooa.g:499:4: blockvar[seqList] ( T_SEMICOLON blockvar[seqList] )*
{
PushFollow(FOLLOW_blockvar_in_blockvarlist2080);
blockvar(seqList);
state.followingStackPointer--;

// ooa.g:499:23: ( T_SEMICOLON blockvar[seqList] )*
do
{
int alt56 = 2;
int LA56_0 = input.LA(1);

if ( (LA56_0 == T_SEMICOLON) )
{
alt56 = 1;
}


switch (alt56)
{
case 1 :
// ooa.g:499:24: T_SEMICOLON blockvar[seqList]
{
Match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_blockvarlist2085);
PushFollow(FOLLOW_blockvar_in_blockvarlist2087);
blockvar(seqList);
state.followingStackPointer--;


}
break;

default:
goto loop56;
}
} while (true);

loop56:
; // Stops C# compiler whining that label 'loop56' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "blockvarlist"


// $ANTLR start "blockvar"
// ooa.g:502:1: blockvar[Block seqList] : varname= T_IDENTIFIER T_COLON aType= complexType ;
public void blockvar(Block seqList) // throws RecognitionException [1]
{
IToken varname = null;
UlyssesType aType = default(UlyssesType);


try
{
// ooa.g:503:2: (varname= T_IDENTIFIER T_COLON aType= complexType )
// ooa.g:503:5: varname= T_IDENTIFIER T_COLON aType= complexType
{
varname=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_blockvar2107);
Match(input,T_COLON,FOLLOW_T_COLON_in_blockvar2110);
PushFollow(FOLLOW_complexType_in_blockvar2114);
aType = complexType();
state.followingStackPointer--;

addBlockVariable(seqList,varname,aType);

}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "blockvar"


// $ANTLR start "actionBody"
// ooa.g:513:1: actionBody[Block top] returns [Block result] : actionBodyParallel[result] ( T_PRIO actionBodyParallel[result] )? ;
public Block actionBody(Block top) // throws RecognitionException [1]
{
Block result = default(Block);

try
{
// ooa.g:515:2: ( actionBodyParallel[result] ( T_PRIO actionBodyParallel[result] )? )
// ooa.g:515:4: actionBodyParallel[result] ( T_PRIO actionBodyParallel[result] )?
{
result = createPrioBlock(top);
PushFollow(FOLLOW_actionBodyParallel_in_actionBody2149);
actionBodyParallel(result);
state.followingStackPointer--;

// ooa.g:516:30: ( T_PRIO actionBodyParallel[result] )?
int alt57 = 2;
int LA57_0 = input.LA(1);

if ( (LA57_0 == T_PRIO) )
{
alt57 = 1;
}
switch (alt57)
{
case 1 :
// ooa.g:516:31: T_PRIO actionBodyParallel[result]
{
Match(input,T_PRIO,FOLLOW_T_PRIO_in_actionBody2153);
PushFollow(FOLLOW_actionBodyParallel_in_actionBody2155);
actionBodyParallel(result);
state.followingStackPointer--;


}
break;

}


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "actionBody"


// $ANTLR start "actionBodyParallel"
// ooa.g:519:1: actionBodyParallel[Block top] returns [Block result] : actionBodySequential[result] ( T_NONDET olst= actionBodySequential[result] )* ;
public Block actionBodyParallel(Block top) // throws RecognitionException [1]
{
Block result = default(Block);

Block olst = default(Block);


try
{
// ooa.g:521:2: ( actionBodySequential[result] ( T_NONDET olst= actionBodySequential[result] )* )
// ooa.g:521:4: actionBodySequential[result] ( T_NONDET olst= actionBodySequential[result] )*
{
result = createNondetBlock(top);
PushFollow(FOLLOW_actionBodySequential_in_actionBodyParallel2183);
actionBodySequential(result);
state.followingStackPointer--;

// ooa.g:523:3: ( T_NONDET olst= actionBodySequential[result] )*
do
{
int alt58 = 2;
int LA58_0 = input.LA(1);

if ( (LA58_0 == T_NONDET) )
{
alt58 = 1;
}


switch (alt58)
{
case 1 :
// ooa.g:523:4: T_NONDET olst= actionBodySequential[result]
{
Match(input,T_NONDET,FOLLOW_T_NONDET_in_actionBodyParallel2189);
PushFollow(FOLLOW_actionBodySequential_in_actionBodyParallel2193);
olst = actionBodySequential(result);
state.followingStackPointer--;


}
break;

default:
goto loop58;
}
} while (true);

loop58:
; // Stops C# compiler whining that label 'loop58' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "actionBodyParallel"


// $ANTLR start "actionBodySequential"
// ooa.g:527:1: actionBodySequential[Block top] returns [Block result] : actionBodyParen[result] ( T_SEMICOLON actionBodyParen[result] )* ;
public Block actionBodySequential(Block top) // throws RecognitionException [1]
{
Block result = default(Block);

try
{
// ooa.g:529:2: ( actionBodyParen[result] ( T_SEMICOLON actionBodyParen[result] )* )
// ooa.g:529:4: actionBodyParen[result] ( T_SEMICOLON actionBodyParen[result] )*
{
result = createSeqBlock(top);
PushFollow(FOLLOW_actionBodyParen_in_actionBodySequential2220);
actionBodyParen(result);
state.followingStackPointer--;

// ooa.g:530:27: ( T_SEMICOLON actionBodyParen[result] )*
do
{
int alt59 = 2;
int LA59_0 = input.LA(1);

if ( (LA59_0 == T_SEMICOLON) )
{
alt59 = 1;
}


switch (alt59)
{
case 1 :
// ooa.g:530:28: T_SEMICOLON actionBodyParen[result]
{
Match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_actionBodySequential2224);
PushFollow(FOLLOW_actionBodyParen_in_actionBodySequential2226);
actionBodyParen(result);
state.followingStackPointer--;


}
break;

default:
goto loop59;
}
} while (true);

loop59:
; // Stops C# compiler whining that label 'loop59' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "actionBodySequential"


// $ANTLR start "actionBodyParen"
// ooa.g:533:1: actionBodyParen[Block top] : ( T_LPAREN actionBody[top] T_RPAREN | stmt= statement );
public void actionBodyParen(Block top) // throws RecognitionException [1]
{
Statement stmt = default(Statement);


try
{
// ooa.g:534:2: ( T_LPAREN actionBody[top] T_RPAREN | stmt= statement )
int alt60 = 2;
int LA60_0 = input.LA(1);

if ( (LA60_0 == T_LPAREN) )
{
alt60 = 1;
}
else if ( (LA60_0 == T_IDENTIFIER || LA60_0 == T_REQUIRES || (LA60_0 >= T_SKIP && LA60_0 <= T_SELF)) )
{
alt60 = 2;
}
else
{
NoViableAltException nvae_d60s0 =
new NoViableAltException("", 60, 0, input);

throw nvae_d60s0;
}
switch (alt60)
{
case 1 :
// ooa.g:534:4: T_LPAREN actionBody[top] T_RPAREN
{
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_actionBodyParen2244);
PushFollow(FOLLOW_actionBody_in_actionBodyParen2246);
actionBody(top);
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_actionBodyParen2249);

}
break;
case 2 :
// ooa.g:535:4: stmt= statement
{
PushFollow(FOLLOW_statement_in_actionBodyParen2256);
stmt = statement();
state.followingStackPointer--;

addToStatementList(top,stmt);

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "actionBodyParen"


// $ANTLR start "statement"
// ooa.g:540:1: statement returns [Statement result] : ( T_ABORT | T_SKIP | T_KILL T_LPAREN aname= ( T_IDENTIFIER | T_SELF ) T_RPAREN | gc= discreteActionBody | aqname= reference ( T_ASSIGNMENT aexp= expression ( T_WITH ndexp= expression )? | ( T_COMMA malhs= reference )+ T_ASSIGNMENT mexp= expression ( T_COMMA mexp2= expression )+ ( T_WITH ndex2= expression )? | ) );
public Statement statement() // throws RecognitionException [1]
{
Statement result = default(Statement);

IToken aname = null;
GuardedCommand gc = default(GuardedCommand);

Expression aqname = default(Expression);

Expression aexp = default(Expression);

Expression ndexp = default(Expression);

Expression malhs = default(Expression);

Expression mexp = default(Expression);

Expression mexp2 = default(Expression);

Expression ndex2 = default(Expression);



bool popFromResolveStack = false;
result = null;
try
{
// ooa.g:546:2: ( T_ABORT | T_SKIP | T_KILL T_LPAREN aname= ( T_IDENTIFIER | T_SELF ) T_RPAREN | gc= discreteActionBody | aqname= reference ( T_ASSIGNMENT aexp= expression ( T_WITH ndexp= expression )? | ( T_COMMA malhs= reference )+ T_ASSIGNMENT mexp= expression ( T_COMMA mexp2= expression )+ ( T_WITH ndex2= expression )? | ) )
int alt66 = 5;
switch ( input.LA(1) )
{
case T_ABORT:
{
alt66 = 1;
}
break;
case T_SKIP:
{
alt66 = 2;
}
break;
case T_KILL:
{
alt66 = 3;
}
break;
case T_REQUIRES:
{
alt66 = 4;
}
break;
case T_IDENTIFIER:
case T_SELF:
{
alt66 = 5;
}
break;
default:
NoViableAltException nvae_d66s0 =
new NoViableAltException("", 66, 0, input);

throw nvae_d66s0;
}

switch (alt66)
{
case 1 :
// ooa.g:546:4: T_ABORT
{
Match(input,T_ABORT,FOLLOW_T_ABORT_in_statement2284);
result = createAbortStatement();

}
break;
case 2 :
// ooa.g:547:4: T_SKIP
{
Match(input,T_SKIP,FOLLOW_T_SKIP_in_statement2291);
result = createSkipStatement();

}
break;
case 3 :
// ooa.g:548:4: T_KILL T_LPAREN aname= ( T_IDENTIFIER | T_SELF ) T_RPAREN
{
Match(input,T_KILL,FOLLOW_T_KILL_in_statement2298);
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_statement2300);
aname = (IToken)input.LT(1);
if ( input.LA(1) == T_IDENTIFIER || input.LA(1) == T_SELF )
{
input.Consume();
state.errorRecovery = false;
}
else
{
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_statement2312);
result = createKillStatement(aname);

}
break;
case 4 :
// ooa.g:549:5: gc= discreteActionBody
{
PushFollow(FOLLOW_discreteActionBody_in_statement2322);
gc = discreteActionBody();
state.followingStackPointer--;

result = gc;

}
break;
case 5 :
// ooa.g:550:4: aqname= reference ( T_ASSIGNMENT aexp= expression ( T_WITH ndexp= expression )? | ( T_COMMA malhs= reference )+ T_ASSIGNMENT mexp= expression ( T_COMMA mexp2= expression )+ ( T_WITH ndex2= expression )? | )
{
PushFollow(FOLLOW_reference_in_statement2331);
aqname = reference();
state.followingStackPointer--;

// ooa.g:551:7: ( T_ASSIGNMENT aexp= expression ( T_WITH ndexp= expression )? | ( T_COMMA malhs= reference )+ T_ASSIGNMENT mexp= expression ( T_COMMA mexp2= expression )+ ( T_WITH ndex2= expression )? | )
int alt65 = 3;
switch ( input.LA(1) )
{
case T_ASSIGNMENT:
{
alt65 = 1;
}
break;
case T_COMMA:
{
alt65 = 2;
}
break;
case T_SEMICOLON:
case T_PRIO:
case T_NONDET:
case T_RPAREN:
case T_END:
{
alt65 = 3;
}
break;
default:
NoViableAltException nvae_d65s0 =
new NoViableAltException("", 65, 0, input);

throw nvae_d65s0;
}

switch (alt65)
{
case 1 :
// ooa.g:552:12: T_ASSIGNMENT aexp= expression ( T_WITH ndexp= expression )?
{
Match(input,T_ASSIGNMENT,FOLLOW_T_ASSIGNMENT_in_statement2359);
PushFollow(FOLLOW_expression_in_statement2364);
aexp = expression();
state.followingStackPointer--;

result = createSingleAssignmentStatement(aqname,aexp);
// ooa.g:553:15: ( T_WITH ndexp= expression )?
int alt61 = 2;
int LA61_0 = input.LA(1);

if ( (LA61_0 == T_WITH) )
{
alt61 = 1;
}
switch (alt61)
{
case 1 :
// ooa.g:553:16: T_WITH ndexp= expression
{
Match(input,T_WITH,FOLLOW_T_WITH_in_statement2384);
PushFollow(FOLLOW_expression_in_statement2388);
ndexp = expression();
state.followingStackPointer--;

addConstraintToAssignment(result,ndexp);

}
break;

}


}
break;
case 2 :
// ooa.g:556:8: ( T_COMMA malhs= reference )+ T_ASSIGNMENT mexp= expression ( T_COMMA mexp2= expression )+ ( T_WITH ndex2= expression )?
{
result = createMultipleAssignmentStatementLHS(aqname);
// ooa.g:557:7: ( T_COMMA malhs= reference )+
int cnt62 = 0;
do
{
int alt62 = 2;
int LA62_0 = input.LA(1);

if ( (LA62_0 == T_COMMA) )
{
alt62 = 1;
}


switch (alt62)
{
case 1 :
// ooa.g:557:8: T_COMMA malhs= reference
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_statement2441);
PushFollow(FOLLOW_reference_in_statement2445);
malhs = reference();
state.followingStackPointer--;

addMultipleAssignmentStatementLHS(result,malhs);

}
break;

default:
if ( cnt62 >= 1 ) goto loop62;
EarlyExitException eee62 =
new EarlyExitException(62, input);
throw eee62;
}
cnt62++;
} while (true);

loop62:
; // Stops C# compiler whining that label 'loop62' has no statements

Match(input,T_ASSIGNMENT,FOLLOW_T_ASSIGNMENT_in_statement2460);
pushAssignmentOnResolveStack(result); popFromResolveStack = true;
PushFollow(FOLLOW_expression_in_statement2482);
mexp = expression();
state.followingStackPointer--;

addMutlipleAssignmentStatementRHS(result,mexp);
// ooa.g:562:8: ( T_COMMA mexp2= expression )+
int cnt63 = 0;
do
{
int alt63 = 2;
int LA63_0 = input.LA(1);

if ( (LA63_0 == T_COMMA) )
{
alt63 = 1;
}


switch (alt63)
{
case 1 :
// ooa.g:562:9: T_COMMA mexp2= expression
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_statement2501);
PushFollow(FOLLOW_expression_in_statement2505);
mexp2 = expression();
state.followingStackPointer--;

addMutlipleAssignmentStatementRHS(result,mexp2);

}
break;

default:
if ( cnt63 >= 1 ) goto loop63;
EarlyExitException eee63 =
new EarlyExitException(63, input);
throw eee63;
}
cnt63++;
} while (true);

loop63:
; // Stops C# compiler whining that label 'loop63' has no statements

// ooa.g:563:8: ( T_WITH ndex2= expression )?
int alt64 = 2;
int LA64_0 = input.LA(1);

if ( (LA64_0 == T_WITH) )
{
alt64 = 1;
}
switch (alt64)
{
case 1 :
// ooa.g:563:9: T_WITH ndex2= expression
{
Match(input,T_WITH,FOLLOW_T_WITH_in_statement2519);
PushFollow(FOLLOW_expression_in_statement2523);
ndex2 = expression();
state.followingStackPointer--;

addConstraintToAssignment(result,ndex2);

}
break;

}


}
break;
case 3 :
// ooa.g:566:7:
{
result = createCallStatement(aqname);

}
break;

}


}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{

if (popFromResolveStack == true)
popAssignmentOffResolveStack(result);
}
return result;
}
// $ANTLR end "statement"


// $ANTLR start "expression"
// ooa.g:577:1: expression returns [Expression expr] : left= atomExpression (op= binoperator right= atomExpression )* ;
public Expression expression() // throws RecognitionException [1]
{
Expression expr = default(Expression);

Expression left = default(Expression);

BinaryOperator op = default(BinaryOperator);

Expression right = default(Expression);



System.Collections.Generic.List<BinaryOperator> operators = new System.Collections.Generic.List<BinaryOperator>();
System.Collections.Generic.List<Expression> expressions = new System.Collections.Generic.List<Expression>();
try
{
// ooa.g:583:2: (left= atomExpression (op= binoperator right= atomExpression )* )
// ooa.g:583:4: left= atomExpression (op= binoperator right= atomExpression )*
{
PushFollow(FOLLOW_atomExpression_in_expression2598);
left = atomExpression();
state.followingStackPointer--;

expressions.Add(left);
// ooa.g:585:3: (op= binoperator right= atomExpression )*
do
{
int alt67 = 2;
alt67 = dfa67.Predict(input);
switch (alt67)
{
case 1 :
// ooa.g:585:5: op= binoperator right= atomExpression
{
PushFollow(FOLLOW_binoperator_in_expression2611);
op = binoperator();
state.followingStackPointer--;

PushFollow(FOLLOW_atomExpression_in_expression2619);
right = atomExpression();
state.followingStackPointer--;


operators.Add(op);
expressions.Add(right);

}
break;

default:
goto loop67;
}
} while (true);

loop67:
; // Stops C# compiler whining that label 'loop67' has no statements

expr = createPrecedenceTree(expressions,operators);

}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return expr;
}
// $ANTLR end "expression"


// $ANTLR start "binoperator"
// ooa.g:596:1: binoperator returns [BinaryOperator binop] : ( T_BIIMPLIES | T_GREATER | T_GREATEREQUAL | T_LESS | T_LESSEQUAL | T_EQUAL | T_NOTEQUAL | T_IMPLIES | T_MINUS | T_SUM | T_IN ( T_SET )? | T_NOT T_IN ( T_SET )? | T_SUBSET | T_OR | T_DIV | T_PROD | T_IDIV | T_MOD | T_UNION | T_DIFF | T_INTER | T_AND | T_POW | T_CONC | T_DOMRESBY | T_DOMRESTO | T_RNGRESBY | T_RNGRESTO | T_MUNION | T_SEQMOD_MAPOVERRIDE );
public BinaryOperator binoperator() // throws RecognitionException [1]
{
BinaryOperator binop = default(BinaryOperator);

try
{
// ooa.g:598:2: ( T_BIIMPLIES | T_GREATER | T_GREATEREQUAL | T_LESS | T_LESSEQUAL | T_EQUAL | T_NOTEQUAL | T_IMPLIES | T_MINUS | T_SUM | T_IN ( T_SET )? | T_NOT T_IN ( T_SET )? | T_SUBSET | T_OR | T_DIV | T_PROD | T_IDIV | T_MOD | T_UNION | T_DIFF | T_INTER | T_AND | T_POW | T_CONC | T_DOMRESBY | T_DOMRESTO | T_RNGRESBY | T_RNGRESTO | T_MUNION | T_SEQMOD_MAPOVERRIDE )
int alt70 = 30;
alt70 = dfa70.Predict(input);
switch (alt70)
{
case 1 :
// ooa.g:598:4: T_BIIMPLIES
{
Match(input,T_BIIMPLIES,FOLLOW_T_BIIMPLIES_in_binoperator2652);
binop = createBinaryOperator(ExpressionKind.biimplies);

}
break;
case 2 :
// ooa.g:600:4: T_GREATER
{
Match(input,T_GREATER,FOLLOW_T_GREATER_in_binoperator2661);
binop = createBinaryOperator(ExpressionKind.greater);

}
break;
case 3 :
// ooa.g:602:4: T_GREATEREQUAL
{
Match(input,T_GREATEREQUAL,FOLLOW_T_GREATEREQUAL_in_binoperator2671);
binop = createBinaryOperator(ExpressionKind.greaterequal);

}
break;
case 4 :
// ooa.g:604:4: T_LESS
{
Match(input,T_LESS,FOLLOW_T_LESS_in_binoperator2680);
binop = createBinaryOperator(ExpressionKind.less);

}
break;
case 5 :
// ooa.g:606:4: T_LESSEQUAL
{
Match(input,T_LESSEQUAL,FOLLOW_T_LESSEQUAL_in_binoperator2690);
binop = createBinaryOperator(ExpressionKind.lessequal);

}
break;
case 6 :
// ooa.g:608:4: T_EQUAL
{
Match(input,T_EQUAL,FOLLOW_T_EQUAL_in_binoperator2699);
binop = createBinaryOperator(ExpressionKind.equal);

}
break;
case 7 :
// ooa.g:610:4: T_NOTEQUAL
{
Match(input,T_NOTEQUAL,FOLLOW_T_NOTEQUAL_in_binoperator2711);
binop = createBinaryOperator(ExpressionKind.notequal);

}
break;
case 8 :
// ooa.g:612:4: T_IMPLIES
{
Match(input,T_IMPLIES,FOLLOW_T_IMPLIES_in_binoperator2722);
binop = createBinaryOperator(ExpressionKind.implies);

}
break;
case 9 :
// ooa.g:614:4: T_MINUS
{
Match(input,T_MINUS,FOLLOW_T_MINUS_in_binoperator2731);
binop = createBinaryOperator(ExpressionKind.minus);

}
break;
case 10 :
// ooa.g:616:4: T_SUM
{
Match(input,T_SUM,FOLLOW_T_SUM_in_binoperator2741);
binop = createBinaryOperator(ExpressionKind.sum);

}
break;
case 11 :
// ooa.g:618:4: T_IN ( T_SET )?
{
Match(input,T_IN,FOLLOW_T_IN_in_binoperator2751);
// ooa.g:618:9: ( T_SET )?
int alt68 = 2;
alt68 = dfa68.Predict(input);
switch (alt68)
{
case 1 :
// ooa.g:618:9: T_SET
{
Match(input,T_SET,FOLLOW_T_SET_in_binoperator2753);

}
break;

}

binop = createBinaryOperator(ExpressionKind.elemin);

}
break;
case 12 :
// ooa.g:620:4: T_NOT T_IN ( T_SET )?
{
Match(input,T_NOT,FOLLOW_T_NOT_in_binoperator2764);
Match(input,T_IN,FOLLOW_T_IN_in_binoperator2766);
// ooa.g:620:15: ( T_SET )?
int alt69 = 2;
alt69 = dfa69.Predict(input);
switch (alt69)
{
case 1 :
// ooa.g:620:15: T_SET
{
Match(input,T_SET,FOLLOW_T_SET_in_binoperator2768);

}
break;

}

binop = createBinaryOperator(ExpressionKind.notelemin);

}
break;
case 13 :
// ooa.g:622:4: T_SUBSET
{
Match(input,T_SUBSET,FOLLOW_T_SUBSET_in_binoperator2779);
binop = createBinaryOperator(ExpressionKind.subset);

}
break;
case 14 :
// ooa.g:624:4: T_OR
{
Match(input,T_OR,FOLLOW_T_OR_in_binoperator2789);
binop = createBinaryOperator(ExpressionKind.or);

}
break;
case 15 :
// ooa.g:626:4: T_DIV
{
Match(input,T_DIV,FOLLOW_T_DIV_in_binoperator2798);
binop = createBinaryOperator(ExpressionKind.div);

}
break;
case 16 :
// ooa.g:628:4: T_PROD
{
Match(input,T_PROD,FOLLOW_T_PROD_in_binoperator2807);
binop = createBinaryOperator(ExpressionKind.prod);

}
break;
case 17 :
// ooa.g:630:4: T_IDIV
{
Match(input,T_IDIV,FOLLOW_T_IDIV_in_binoperator2817);
binop = createBinaryOperator(ExpressionKind.idiv);

}
break;
case 18 :
// ooa.g:632:4: T_MOD
{
Match(input,T_MOD,FOLLOW_T_MOD_in_binoperator2827);
binop = createBinaryOperator(ExpressionKind.mod);

}
break;
case 19 :
// ooa.g:634:4: T_UNION
{
Match(input,T_UNION,FOLLOW_T_UNION_in_binoperator2837);
binop = createBinaryOperator(ExpressionKind.union);

}
break;
case 20 :
// ooa.g:636:4: T_DIFF
{
Match(input,T_DIFF,FOLLOW_T_DIFF_in_binoperator2848);
binop = createBinaryOperator(ExpressionKind.diff);

}
break;
case 21 :
// ooa.g:638:4: T_INTER
{
Match(input,T_INTER,FOLLOW_T_INTER_in_binoperator2859);
binop = createBinaryOperator(ExpressionKind.inter);

}
break;
case 22 :
// ooa.g:640:4: T_AND
{
Match(input,T_AND,FOLLOW_T_AND_in_binoperator2870);
binop = createBinaryOperator(ExpressionKind.and);

}
break;
case 23 :
// ooa.g:642:4: T_POW
{
Match(input,T_POW,FOLLOW_T_POW_in_binoperator2885);
binop = createBinaryOperator(ExpressionKind.pow);

}
break;
case 24 :
// ooa.g:644:4: T_CONC
{
Match(input,T_CONC,FOLLOW_T_CONC_in_binoperator2900);
binop = createBinaryOperator(ExpressionKind.conc);

}
break;
case 25 :
// ooa.g:646:4: T_DOMRESBY
{
Match(input,T_DOMRESBY,FOLLOW_T_DOMRESBY_in_binoperator2913);
binop = createBinaryOperator(ExpressionKind.domresby);

}
break;
case 26 :
// ooa.g:648:4: T_DOMRESTO
{
Match(input,T_DOMRESTO,FOLLOW_T_DOMRESTO_in_binoperator2923);
binop = createBinaryOperator(ExpressionKind.domresto);

}
break;
case 27 :
// ooa.g:650:4: T_RNGRESBY
{
Match(input,T_RNGRESBY,FOLLOW_T_RNGRESBY_in_binoperator2933);
binop = createBinaryOperator(ExpressionKind.rngresby);

}
break;
case 28 :
// ooa.g:652:4: T_RNGRESTO
{
Match(input,T_RNGRESTO,FOLLOW_T_RNGRESTO_in_binoperator2943);
binop = createBinaryOperator(ExpressionKind.rngresto);

}
break;
case 29 :
// ooa.g:654:4: T_MUNION
{
Match(input,T_MUNION,FOLLOW_T_MUNION_in_binoperator2953);
binop = createBinaryOperator(ExpressionKind.munion);

}
break;
case 30 :
// ooa.g:656:4: T_SEQMOD_MAPOVERRIDE
{
Match(input,T_SEQMOD_MAPOVERRIDE,FOLLOW_T_SEQMOD_MAPOVERRIDE_in_binoperator2963);
binop = createBinaryOperator(ExpressionKind.seqmod_mapoverride);

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return binop;
}
// $ANTLR end "binoperator"


// $ANTLR start "atomExpression"
// ooa.g:662:1: atomExpression returns [Expression expr] : ( ( (unexpr= op_un )? (e= identifierExpression | e= qvalExpression | e= constant | e= initializedComplexType | e= quantifierExpression | T_LPAREN e= expression T_RPAREN ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[e] )? | e= accessExpression[e] )? ) ( 'as' cid= T_IDENTIFIER )? ) | ie= T_IF ce= expression T_THEN te= expression T_ELSE ee= expression T_END );
public Expression atomExpression() // throws RecognitionException [1]
{
Expression expr = default(Expression);

IToken idn = null;
IToken cid = null;
IToken ie = null;
UnaryOperator unexpr = default(UnaryOperator);

Expression e = default(Expression);

Expression res = default(Expression);

Expression ce = default(Expression);

Expression te = default(Expression);

Expression ee = default(Expression);



expr = null;
try
{
// ooa.g:667:2: ( ( (unexpr= op_un )? (e= identifierExpression | e= qvalExpression | e= constant | e= initializedComplexType | e= quantifierExpression | T_LPAREN e= expression T_RPAREN ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[e] )? | e= accessExpression[e] )? ) ( 'as' cid= T_IDENTIFIER )? ) | ie= T_IF ce= expression T_THEN te= expression T_ELSE ee= expression T_END )
int alt77 = 2;
alt77 = dfa77.Predict(input);
switch (alt77)
{
case 1 :
// ooa.g:667:4: ( (unexpr= op_un )? (e= identifierExpression | e= qvalExpression | e= constant | e= initializedComplexType | e= quantifierExpression | T_LPAREN e= expression T_RPAREN ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[e] )? | e= accessExpression[e] )? ) ( 'as' cid= T_IDENTIFIER )? )
{
// ooa.g:667:4: ( (unexpr= op_un )? (e= identifierExpression | e= qvalExpression | e= constant | e= initializedComplexType | e= quantifierExpression | T_LPAREN e= expression T_RPAREN ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[e] )? | e= accessExpression[e] )? ) ( 'as' cid= T_IDENTIFIER )? )
// ooa.g:667:5: (unexpr= op_un )? (e= identifierExpression | e= qvalExpression | e= constant | e= initializedComplexType | e= quantifierExpression | T_LPAREN e= expression T_RPAREN ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[e] )? | e= accessExpression[e] )? ) ( 'as' cid= T_IDENTIFIER )?
{
// ooa.g:667:11: (unexpr= op_un )?
int alt71 = 2;
alt71 = dfa71.Predict(input);
switch (alt71)
{
case 1 :
// ooa.g:667:11: unexpr= op_un
{
PushFollow(FOLLOW_op_un_in_atomExpression3001);
unexpr = op_un();
state.followingStackPointer--;


}
break;

}

// ooa.g:667:19: (e= identifierExpression | e= qvalExpression | e= constant | e= initializedComplexType | e= quantifierExpression | T_LPAREN e= expression T_RPAREN ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[e] )? | e= accessExpression[e] )? )
int alt75 = 6;
alt75 = dfa75.Predict(input);
switch (alt75)
{
case 1 :
// ooa.g:668:8: e= identifierExpression
{
PushFollow(FOLLOW_identifierExpression_in_atomExpression3018);
e = identifierExpression();
state.followingStackPointer--;


}
break;
case 2 :
// ooa.g:669:8: e= qvalExpression
{
PushFollow(FOLLOW_qvalExpression_in_atomExpression3029);
e = qvalExpression();
state.followingStackPointer--;


}
break;
case 3 :
// ooa.g:670:8: e= constant
{
PushFollow(FOLLOW_constant_in_atomExpression3040);
e = constant();
state.followingStackPointer--;


}
break;
case 4 :
// ooa.g:671:8: e= initializedComplexType
{
PushFollow(FOLLOW_initializedComplexType_in_atomExpression3051);
e = initializedComplexType();
state.followingStackPointer--;


}
break;
case 5 :
// ooa.g:672:8: e= quantifierExpression
{
PushFollow(FOLLOW_quantifierExpression_in_atomExpression3063);
e = quantifierExpression();
state.followingStackPointer--;


}
break;
case 6 :
// ooa.g:673:8: T_LPAREN e= expression T_RPAREN ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[e] )? | e= accessExpression[e] )?
{
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_atomExpression3072);
PushFollow(FOLLOW_expression_in_atomExpression3076);
e = expression();
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_atomExpression3078);
// ooa.g:674:8: ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[e] )? | e= accessExpression[e] )?
int alt74 = 3;
alt74 = dfa74.Predict(input);
switch (alt74)
{
case 1 :
// ooa.g:675:6: ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[e] )?
{
// ooa.g:675:6: ( T_POINT idn= T_IDENTIFIER )+
int cnt72 = 0;
do
{
int alt72 = 2;
alt72 = dfa72.Predict(input);
switch (alt72)
{
case 1 :
// ooa.g:675:7: T_POINT idn= T_IDENTIFIER
{
Match(input,T_POINT,FOLLOW_T_POINT_in_atomExpression3101);
idn=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_atomExpression3113);
e = addIdentifierAccessExpression(e,idn);

}
break;

default:
if ( cnt72 >= 1 ) goto loop72;
EarlyExitException eee72 =
new EarlyExitException(72, input);
throw eee72;
}
cnt72++;
} while (true);

loop72:
; // Stops C# compiler whining that label 'loop72' has no statements

// ooa.g:678:8: (res= accessExpression[e] )?
int alt73 = 2;
alt73 = dfa73.Predict(input);
switch (alt73)
{
case 1 :
// ooa.g:678:9: res= accessExpression[e]
{
PushFollow(FOLLOW_accessExpression_in_atomExpression3137);
res = accessExpression(e);
state.followingStackPointer--;

e=res;

}
break;

}


}
break;
case 2 :
// ooa.g:680:6: e= accessExpression[e]
{
PushFollow(FOLLOW_accessExpression_in_atomExpression3157);
e = accessExpression(e);
state.followingStackPointer--;


}
break;

}


}
break;

}

// ooa.g:682:5: ( 'as' cid= T_IDENTIFIER )?
int alt76 = 2;
alt76 = dfa76.Predict(input);
switch (alt76)
{
case 1 :
// ooa.g:682:6: 'as' cid= T_IDENTIFIER
{
Match(input,121,FOLLOW_121_in_atomExpression3176);
cid=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_atomExpression3180);
e=addCastExpression(e,cid);

}
break;

}

expr = addUnaryExpression(unexpr,e);

}


}
break;
case 2 :
// ooa.g:685:6: ie= T_IF ce= expression T_THEN te= expression T_ELSE ee= expression T_END
{
ie=(IToken)Match(input,T_IF,FOLLOW_T_IF_in_atomExpression3201);
PushFollow(FOLLOW_expression_in_atomExpression3205);
ce = expression();
state.followingStackPointer--;

Match(input,T_THEN,FOLLOW_T_THEN_in_atomExpression3207);
PushFollow(FOLLOW_expression_in_atomExpression3211);
te = expression();
state.followingStackPointer--;

Match(input,T_ELSE,FOLLOW_T_ELSE_in_atomExpression3213);
PushFollow(FOLLOW_expression_in_atomExpression3217);
ee = expression();
state.followingStackPointer--;

Match(input,T_END,FOLLOW_T_END_in_atomExpression3219);
expr = createConditionalExpression(ce,te,ee,ie);

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return expr;
}
// $ANTLR end "atomExpression"


// $ANTLR start "quantifierExpression"
// ooa.g:690:1: quantifierExpression returns [Quantifier result] : t= ( T_FORALL | T_EXISTS ) (id= T_IDENTIFIER ( T_COLON id_type= simpleType ) ( T_COMMA id2= T_IDENTIFIER ( T_COLON id_type2= simpleType ) )* ) T_COLON T_LPAREN e= expression T_RPAREN ;
public Quantifier quantifierExpression() // throws RecognitionException [1]
{
Quantifier result = default(Quantifier);

IToken t = null;
IToken id = null;
IToken id2 = null;
UlyssesType id_type = default(UlyssesType);

UlyssesType id_type2 = default(UlyssesType);

Expression e = default(Expression);



result = null;
try
{
// ooa.g:695:2: (t= ( T_FORALL | T_EXISTS ) (id= T_IDENTIFIER ( T_COLON id_type= simpleType ) ( T_COMMA id2= T_IDENTIFIER ( T_COLON id_type2= simpleType ) )* ) T_COLON T_LPAREN e= expression T_RPAREN )
// ooa.g:695:5: t= ( T_FORALL | T_EXISTS ) (id= T_IDENTIFIER ( T_COLON id_type= simpleType ) ( T_COMMA id2= T_IDENTIFIER ( T_COLON id_type2= simpleType ) )* ) T_COLON T_LPAREN e= expression T_RPAREN
{
t = (IToken)input.LT(1);
if ( (input.LA(1) >= T_FORALL && input.LA(1) <= T_EXISTS) )
{
input.Consume();
state.errorRecovery = false;
}
else
{
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}

result = createQuantifierExpression(t);
// ooa.g:697:3: (id= T_IDENTIFIER ( T_COLON id_type= simpleType ) ( T_COMMA id2= T_IDENTIFIER ( T_COLON id_type2= simpleType ) )* )
// ooa.g:697:4: id= T_IDENTIFIER ( T_COLON id_type= simpleType ) ( T_COMMA id2= T_IDENTIFIER ( T_COLON id_type2= simpleType ) )*
{
id=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_quantifierExpression3268);
// ooa.g:697:20: ( T_COLON id_type= simpleType )
// ooa.g:697:21: T_COLON id_type= simpleType
{
Match(input,T_COLON,FOLLOW_T_COLON_in_quantifierExpression3271);
PushFollow(FOLLOW_simpleType_in_quantifierExpression3275);
id_type = simpleType();
state.followingStackPointer--;

addBoundVarToQuantifierExpression(result,id,id_type);

}

// ooa.g:698:5: ( T_COMMA id2= T_IDENTIFIER ( T_COLON id_type2= simpleType ) )*
do
{
int alt78 = 2;
int LA78_0 = input.LA(1);

if ( (LA78_0 == T_COMMA) )
{
alt78 = 1;
}


switch (alt78)
{
case 1 :
// ooa.g:698:6: T_COMMA id2= T_IDENTIFIER ( T_COLON id_type2= simpleType )
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_quantifierExpression3286);
id2=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_quantifierExpression3290);
// ooa.g:698:31: ( T_COLON id_type2= simpleType )
// ooa.g:698:32: T_COLON id_type2= simpleType
{
Match(input,T_COLON,FOLLOW_T_COLON_in_quantifierExpression3293);
PushFollow(FOLLOW_simpleType_in_quantifierExpression3297);
id_type2 = simpleType();
state.followingStackPointer--;


}

addBoundVarToQuantifierExpression(result,id2,id_type2);

}
break;

default:
goto loop78;
}
} while (true);

loop78:
; // Stops C# compiler whining that label 'loop78' has no statements


}

Match(input,T_COLON,FOLLOW_T_COLON_in_quantifierExpression3307);
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_quantifierExpression3309);
PushFollow(FOLLOW_expression_in_quantifierExpression3313);
e = expression();
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_quantifierExpression3315);
addExpressionToQuantifier(result,e);

}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
removeBoundVarsFromResolveStack(result);
}
return result;
}
// $ANTLR end "quantifierExpression"


// $ANTLR start "constant"
// ooa.g:705:1: constant returns [LeafExpression result] : ( T_TRUE | T_FALSE | T_NIL | T_SELF | t_fl= T_FLOATNUMBER | t_in= T_INTNUMBER | t_l= T_STRINGLITERAL );
public LeafExpression constant() // throws RecognitionException [1]
{
LeafExpression result = default(LeafExpression);

IToken t_fl = null;
IToken t_in = null;
IToken t_l = null;


result = null;
try
{
// ooa.g:710:2: ( T_TRUE | T_FALSE | T_NIL | T_SELF | t_fl= T_FLOATNUMBER | t_in= T_INTNUMBER | t_l= T_STRINGLITERAL )
int alt79 = 7;
switch ( input.LA(1) )
{
case T_TRUE:
{
alt79 = 1;
}
break;
case T_FALSE:
{
alt79 = 2;
}
break;
case T_NIL:
{
alt79 = 3;
}
break;
case T_SELF:
{
alt79 = 4;
}
break;
case T_FLOATNUMBER:
{
alt79 = 5;
}
break;
case T_INTNUMBER:
{
alt79 = 6;
}
break;
case T_STRINGLITERAL:
{
alt79 = 7;
}
break;
default:
NoViableAltException nvae_d79s0 =
new NoViableAltException("", 79, 0, input);

throw nvae_d79s0;
}

switch (alt79)
{
case 1 :
// ooa.g:710:5: T_TRUE
{
Match(input,T_TRUE,FOLLOW_T_TRUE_in_constant3349);
result = createBoolConstant(true);

}
break;
case 2 :
// ooa.g:711:4: T_FALSE
{
Match(input,T_FALSE,FOLLOW_T_FALSE_in_constant3357);
result = createBoolConstant(false);

}
break;
case 3 :
// ooa.g:712:4: T_NIL
{
Match(input,T_NIL,FOLLOW_T_NIL_in_constant3364);
result = createNullPointerConstant();

}
break;
case 4 :
// ooa.g:713:4: T_SELF
{
Match(input,T_SELF,FOLLOW_T_SELF_in_constant3372);
result = createSelfPointer();

}
break;
case 5 :
// ooa.g:714:5: t_fl= T_FLOATNUMBER
{
t_fl=(IToken)Match(input,T_FLOATNUMBER,FOLLOW_T_FLOATNUMBER_in_constant3383);
result = createFloatConstant(t_fl);

}
break;
case 6 :
// ooa.g:715:4: t_in= T_INTNUMBER
{
t_in=(IToken)Match(input,T_INTNUMBER,FOLLOW_T_INTNUMBER_in_constant3392);
result = createIntConstant(t_in);

}
break;
case 7 :
// ooa.g:716:4: t_l= T_STRINGLITERAL
{
t_l=(IToken)Match(input,T_STRINGLITERAL,FOLLOW_T_STRINGLITERAL_in_constant3401);
result = createStringConstant(t_l);

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "constant"


// $ANTLR start "initializedComplexType"
// ooa.g:719:1: initializedComplexType returns [Expression result] : (res= initializedListType | res= initializedSetType | T_NEW T_LPAREN anid= T_IDENTIFIER ( T_COMMA aname= T_STRINGLITERAL T_RPAREN | T_RPAREN ) );
public Expression initializedComplexType() // throws RecognitionException [1]
{
Expression result = default(Expression);

IToken anid = null;
IToken aname = null;
Expression res = default(Expression);



result = null;
try
{
// ooa.g:724:2: (res= initializedListType | res= initializedSetType | T_NEW T_LPAREN anid= T_IDENTIFIER ( T_COMMA aname= T_STRINGLITERAL T_RPAREN | T_RPAREN ) )
int alt81 = 3;
switch ( input.LA(1) )
{
case T_LSQPAREN:
{
alt81 = 1;
}
break;
case T_CBRL:
{
alt81 = 2;
}
break;
case T_NEW:
{
alt81 = 3;
}
break;
default:
NoViableAltException nvae_d81s0 =
new NoViableAltException("", 81, 0, input);

throw nvae_d81s0;
}

switch (alt81)
{
case 1 :
// ooa.g:724:4: res= initializedListType
{
PushFollow(FOLLOW_initializedListType_in_initializedComplexType3428);
res = initializedListType();
state.followingStackPointer--;

result = res;

}
break;
case 2 :
// ooa.g:725:4: res= initializedSetType
{
PushFollow(FOLLOW_initializedSetType_in_initializedComplexType3437);
res = initializedSetType();
state.followingStackPointer--;

result = res;

}
break;
case 3 :
// ooa.g:726:5: T_NEW T_LPAREN anid= T_IDENTIFIER ( T_COMMA aname= T_STRINGLITERAL T_RPAREN | T_RPAREN )
{
Match(input,T_NEW,FOLLOW_T_NEW_in_initializedComplexType3445);
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_initializedComplexType3447);
anid=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_initializedComplexType3451);
// ooa.g:727:4: ( T_COMMA aname= T_STRINGLITERAL T_RPAREN | T_RPAREN )
int alt80 = 2;
int LA80_0 = input.LA(1);

if ( (LA80_0 == T_COMMA) )
{
alt80 = 1;
}
else if ( (LA80_0 == T_RPAREN) )
{
alt80 = 2;
}
else
{
NoViableAltException nvae_d80s0 =
new NoViableAltException("", 80, 0, input);

throw nvae_d80s0;
}
switch (alt80)
{
case 1 :
// ooa.g:728:5: T_COMMA aname= T_STRINGLITERAL T_RPAREN
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_initializedComplexType3463);
aname=(IToken)Match(input,T_STRINGLITERAL,FOLLOW_T_STRINGLITERAL_in_initializedComplexType3468);
Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_initializedComplexType3470);
result = createNamedObject(anid, aname);

}
break;
case 2 :
// ooa.g:729:6: T_RPAREN
{
Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_initializedComplexType3479);
result = createObject(anid);

}
break;

}


}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "initializedComplexType"


// $ANTLR start "initializedListType"
// ooa.g:733:1: initializedListType returns [ListConstructor result] : T_LSQPAREN e= expression ( ( T_COMMA e2= expression )+ | listComprehension[result] )? T_RSQPAREN ;
public ListConstructor initializedListType() // throws RecognitionException [1]
{
ListConstructor result = default(ListConstructor);

Expression e = default(Expression);

Expression e2 = default(Expression);



result = createInitializedList();
pushListVarsOnResolveStack(result); // need this here for list comprehension
try
{
// ooa.g:739:2: ( T_LSQPAREN e= expression ( ( T_COMMA e2= expression )+ | listComprehension[result] )? T_RSQPAREN )
// ooa.g:739:4: T_LSQPAREN e= expression ( ( T_COMMA e2= expression )+ | listComprehension[result] )? T_RSQPAREN
{
Match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_initializedListType3510);
PushFollow(FOLLOW_expression_in_initializedListType3514);
e = expression();
state.followingStackPointer--;

addListElement(result,e);
// ooa.g:739:56: ( ( T_COMMA e2= expression )+ | listComprehension[result] )?
int alt83 = 3;
int LA83_0 = input.LA(1);

if ( (LA83_0 == T_COMMA) )
{
alt83 = 1;
}
else if ( (LA83_0 == T_BAR) )
{
alt83 = 2;
}
switch (alt83)
{
case 1 :
// ooa.g:740:4: ( T_COMMA e2= expression )+
{
// ooa.g:740:4: ( T_COMMA e2= expression )+
int cnt82 = 0;
do
{
int alt82 = 2;
int LA82_0 = input.LA(1);

if ( (LA82_0 == T_COMMA) )
{
alt82 = 1;
}


switch (alt82)
{
case 1 :
// ooa.g:740:5: T_COMMA e2= expression
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_initializedListType3525);
PushFollow(FOLLOW_expression_in_initializedListType3529);
e2 = expression();
state.followingStackPointer--;

addListElement(result,e2);

}
break;

default:
if ( cnt82 >= 1 ) goto loop82;
EarlyExitException eee82 =
new EarlyExitException(82, input);
throw eee82;
}
cnt82++;
} while (true);

loop82:
; // Stops C# compiler whining that label 'loop82' has no statements


}
break;
case 2 :
// ooa.g:741:6: listComprehension[result]
{
PushFollow(FOLLOW_listComprehension_in_initializedListType3541);
listComprehension(result);
state.followingStackPointer--;


}
break;

}

Match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_initializedListType3549);

}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
popListVarsFromResolveStack(result);
}
return result;
}
// $ANTLR end "initializedListType"


// $ANTLR start "listComprehension"
// ooa.g:747:1: listComprehension[ListConstructor result] : T_BAR T_VAR id= T_IDENTIFIER T_COLON t1= complexType ( T_SEMICOLON id2= T_IDENTIFIER t2= complexType )* ( '&' e= expression )? ;
public void listComprehension(ListConstructor result) // throws RecognitionException [1]
{
IToken id = null;
IToken id2 = null;
UlyssesType t1 = default(UlyssesType);

UlyssesType t2 = default(UlyssesType);

Expression e = default(Expression);


result.SetHasComprehension(true);
try
{
// ooa.g:751:2: ( T_BAR T_VAR id= T_IDENTIFIER T_COLON t1= complexType ( T_SEMICOLON id2= T_IDENTIFIER t2= complexType )* ( '&' e= expression )? )
// ooa.g:752:3: T_BAR T_VAR id= T_IDENTIFIER T_COLON t1= complexType ( T_SEMICOLON id2= T_IDENTIFIER t2= complexType )* ( '&' e= expression )?
{
Match(input,T_BAR,FOLLOW_T_BAR_in_listComprehension3580);
Match(input,T_VAR,FOLLOW_T_VAR_in_listComprehension3582);
id=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_listComprehension3588);
Match(input,T_COLON,FOLLOW_T_COLON_in_listComprehension3591);
PushFollow(FOLLOW_complexType_in_listComprehension3595);
t1 = complexType();
state.followingStackPointer--;

addListComprVar(result,id,t1);
// ooa.g:754:4: ( T_SEMICOLON id2= T_IDENTIFIER t2= complexType )*
do
{
int alt84 = 2;
int LA84_0 = input.LA(1);

if ( (LA84_0 == T_SEMICOLON) )
{
alt84 = 1;
}


switch (alt84)
{
case 1 :
// ooa.g:754:5: T_SEMICOLON id2= T_IDENTIFIER t2= complexType
{
Match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_listComprehension3604);
id2=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_listComprehension3608);
PushFollow(FOLLOW_complexType_in_listComprehension3613);
t2 = complexType();
state.followingStackPointer--;

addListComprVar(result,id2,t2);

}
break;

default:
goto loop84;
}
} while (true);

loop84:
; // Stops C# compiler whining that label 'loop84' has no statements

// ooa.g:755:3: ( '&' e= expression )?
int alt85 = 2;
int LA85_0 = input.LA(1);

if ( (LA85_0 == 120) )
{
alt85 = 1;
}
switch (alt85)
{
case 1 :
// ooa.g:755:4: '&' e= expression
{
Match(input,120,FOLLOW_120_in_listComprehension3623);
PushFollow(FOLLOW_expression_in_listComprehension3629);
e = expression();
state.followingStackPointer--;

addListComprExpr(result,e);

}
break;

}


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "listComprehension"


// $ANTLR start "initializedSetType"
// ooa.g:759:1: initializedSetType returns [Expression result] : ( T_CBRL T_MAPS T_CBRR | res= initializedSet );
public Expression initializedSetType() // throws RecognitionException [1]
{
Expression result = default(Expression);

Expression res = default(Expression);



result = null;
try
{
// ooa.g:764:2: ( T_CBRL T_MAPS T_CBRR | res= initializedSet )
int alt86 = 2;
alt86 = dfa86.Predict(input);
switch (alt86)
{
case 1 :
// ooa.g:764:4: T_CBRL T_MAPS T_CBRR
{
Match(input,T_CBRL,FOLLOW_T_CBRL_in_initializedSetType3655);
Match(input,T_MAPS,FOLLOW_T_MAPS_in_initializedSetType3657);
Match(input,T_CBRR,FOLLOW_T_CBRR_in_initializedSetType3659);
result = createEmptyMap();

}
break;
case 2 :
// ooa.g:765:4: res= initializedSet
{
PushFollow(FOLLOW_initializedSet_in_initializedSetType3670);
res = initializedSet();
state.followingStackPointer--;

result = res;

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "initializedSetType"


// $ANTLR start "initializedSet"
// ooa.g:768:1: initializedSet returns [Expression result] : T_CBRL e1= expression ( ( T_COMMA e2= expression )* | m= map[result, e1] | setComprehension[(SetConstructor)result] ) T_CBRR ;
public Expression initializedSet() // throws RecognitionException [1]
{
Expression result = default(Expression);

Expression e1 = default(Expression);

Expression e2 = default(Expression);

Expression m = default(Expression);



SetConstructor theset = createSet();
pushSetVarsOnResolveStack(theset); // need this here for set comprehension
result = theset;
try
{
// ooa.g:775:2: ( T_CBRL e1= expression ( ( T_COMMA e2= expression )* | m= map[result, e1] | setComprehension[(SetConstructor)result] ) T_CBRR )
// ooa.g:775:4: T_CBRL e1= expression ( ( T_COMMA e2= expression )* | m= map[result, e1] | setComprehension[(SetConstructor)result] ) T_CBRR
{
Match(input,T_CBRL,FOLLOW_T_CBRL_in_initializedSet3696);
PushFollow(FOLLOW_expression_in_initializedSet3700);
e1 = expression();
state.followingStackPointer--;

// ooa.g:776:10: ( ( T_COMMA e2= expression )* | m= map[result, e1] | setComprehension[(SetConstructor)result] )
int alt88 = 3;
switch ( input.LA(1) )
{
case T_COMMA:
case T_CBRR:
{
alt88 = 1;
}
break;
case T_MAPS:
{
alt88 = 2;
}
break;
case T_BAR:
{
alt88 = 3;
}
break;
default:
NoViableAltException nvae_d88s0 =
new NoViableAltException("", 88, 0, input);

throw nvae_d88s0;
}

switch (alt88)
{
case 1 :
// ooa.g:777:4: ( T_COMMA e2= expression )*
{
addToSet(result,e1);
// ooa.g:778:4: ( T_COMMA e2= expression )*
do
{
int alt87 = 2;
int LA87_0 = input.LA(1);

if ( (LA87_0 == T_COMMA) )
{
alt87 = 1;
}


switch (alt87)
{
case 1 :
// ooa.g:778:5: T_COMMA e2= expression
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_initializedSet3730);
PushFollow(FOLLOW_expression_in_initializedSet3734);
e2 = expression();
state.followingStackPointer--;

addToSet(result,e2);

}
break;

default:
goto loop87;
}
} while (true);

loop87:
; // Stops C# compiler whining that label 'loop87' has no statements


}
break;
case 2 :
// ooa.g:779:6: m= map[result, e1]
{
PushFollow(FOLLOW_map_in_initializedSet3752);
m = map(result, e1);
state.followingStackPointer--;

result = m;

}
break;
case 3 :
// ooa.g:780:5: setComprehension[(SetConstructor)result]
{
addToSet(result,e1);
PushFollow(FOLLOW_setComprehension_in_initializedSet3765);
setComprehension((SetConstructor)result);
state.followingStackPointer--;


}
break;

}

Match(input,T_CBRR,FOLLOW_T_CBRR_in_initializedSet3775);

}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
popSetVarsFromResolveStack(theset);
}
return result;
}
// $ANTLR end "initializedSet"


// $ANTLR start "map"
// ooa.g:787:1: map[Expression _map, Expression e1] returns [Expression result] : am= T_MAPS e2= expression ( T_COMMA e3= expression T_MAPS e4= expression )* ;
public Expression map(Expression _map, Expression e1) // throws RecognitionException [1]
{
Expression result = default(Expression);

IToken am = null;
Expression e2 = default(Expression);

Expression e3 = default(Expression);

Expression e4 = default(Expression);



result = null;
try
{
// ooa.g:792:2: (am= T_MAPS e2= expression ( T_COMMA e3= expression T_MAPS e4= expression )* )
// ooa.g:792:4: am= T_MAPS e2= expression ( T_COMMA e3= expression T_MAPS e4= expression )*
{
am=(IToken)Match(input,T_MAPS,FOLLOW_T_MAPS_in_map3813);
PushFollow(FOLLOW_expression_in_map3817);
e2 = expression();
state.followingStackPointer--;

result = createMap(e1,e2,am);
// ooa.g:792:63: ( T_COMMA e3= expression T_MAPS e4= expression )*
do
{
int alt89 = 2;
int LA89_0 = input.LA(1);

if ( (LA89_0 == T_COMMA) )
{
alt89 = 1;
}


switch (alt89)
{
case 1 :
// ooa.g:792:64: T_COMMA e3= expression T_MAPS e4= expression
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_map3825);
PushFollow(FOLLOW_expression_in_map3829);
e3 = expression();
state.followingStackPointer--;

Match(input,T_MAPS,FOLLOW_T_MAPS_in_map3831);
PushFollow(FOLLOW_expression_in_map3835);
e4 = expression();
state.followingStackPointer--;

addToMap(result,e3,e4);

}
break;

default:
goto loop89;
}
} while (true);

loop89:
; // Stops C# compiler whining that label 'loop89' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "map"


// $ANTLR start "setComprehension"
// ooa.g:795:1: setComprehension[SetConstructor _set] : T_BAR T_VAR (id1= T_IDENTIFIER T_COLON t1= complexType T_SEMICOLON id2= T_IDENTIFIER T_COLON t2= complexType )* ( '&' epx= expression )? ;
public void setComprehension(SetConstructor _set) // throws RecognitionException [1]
{
IToken id1 = null;
IToken id2 = null;
UlyssesType t1 = default(UlyssesType);

UlyssesType t2 = default(UlyssesType);

Expression epx = default(Expression);



_set.SetHasComprehension(true);
try
{
// ooa.g:799:2: ( T_BAR T_VAR (id1= T_IDENTIFIER T_COLON t1= complexType T_SEMICOLON id2= T_IDENTIFIER T_COLON t2= complexType )* ( '&' epx= expression )? )
// ooa.g:799:4: T_BAR T_VAR (id1= T_IDENTIFIER T_COLON t1= complexType T_SEMICOLON id2= T_IDENTIFIER T_COLON t2= complexType )* ( '&' epx= expression )?
{
Match(input,T_BAR,FOLLOW_T_BAR_in_setComprehension3857);
Match(input,T_VAR,FOLLOW_T_VAR_in_setComprehension3859);
// ooa.g:799:16: (id1= T_IDENTIFIER T_COLON t1= complexType T_SEMICOLON id2= T_IDENTIFIER T_COLON t2= complexType )*
do
{
int alt90 = 2;
int LA90_0 = input.LA(1);

if ( (LA90_0 == T_IDENTIFIER) )
{
alt90 = 1;
}


switch (alt90)
{
case 1 :
// ooa.g:799:17: id1= T_IDENTIFIER T_COLON t1= complexType T_SEMICOLON id2= T_IDENTIFIER T_COLON t2= complexType
{
id1=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_setComprehension3864);
Match(input,T_COLON,FOLLOW_T_COLON_in_setComprehension3867);
PushFollow(FOLLOW_complexType_in_setComprehension3871);
t1 = complexType();
state.followingStackPointer--;

addSetComprVar(_set, id1, t1);
Match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_setComprehension3880);
id2=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_setComprehension3884);
Match(input,T_COLON,FOLLOW_T_COLON_in_setComprehension3886);
PushFollow(FOLLOW_complexType_in_setComprehension3890);
t2 = complexType();
state.followingStackPointer--;

addSetComprVar(_set, id2, t2);

}
break;

default:
goto loop90;
}
} while (true);

loop90:
; // Stops C# compiler whining that label 'loop90' has no statements

// ooa.g:803:3: ( '&' epx= expression )?
int alt91 = 2;
int LA91_0 = input.LA(1);

if ( (LA91_0 == 120) )
{
alt91 = 1;
}
switch (alt91)
{
case 1 :
// ooa.g:803:4: '&' epx= expression
{
Match(input,120,FOLLOW_120_in_setComprehension3904);
PushFollow(FOLLOW_expression_in_setComprehension3910);
epx = expression();
state.followingStackPointer--;

addSetComprExpr(_set,epx);

}
break;

}


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return ;
}
// $ANTLR end "setComprehension"


// $ANTLR start "qvalExpression"
// ooa.g:809:1: qvalExpression returns [QValConstructor result] : aval= 'qval' T_LPAREN ( T_NIL | (expr= qualifiedIdentifier | ( '-' )? T_INFTY ) ( T_RANGETO (expr2= qualifiedIdentifier | T_INFTY ) )? ) T_COMMA ( T_NIL | ( 'steady' | 'inc' | 'dec' ) ) T_RPAREN ;
public QValConstructor qvalExpression() // throws RecognitionException [1]
{
QValConstructor result = default(QValConstructor);

IToken aval = null;
Expression expr = default(Expression);

Expression expr2 = default(Expression);



bool minus = false;
result = null;
try
{
// ooa.g:815:2: (aval= 'qval' T_LPAREN ( T_NIL | (expr= qualifiedIdentifier | ( '-' )? T_INFTY ) ( T_RANGETO (expr2= qualifiedIdentifier | T_INFTY ) )? ) T_COMMA ( T_NIL | ( 'steady' | 'inc' | 'dec' ) ) T_RPAREN )
// ooa.g:816:3: aval= 'qval' T_LPAREN ( T_NIL | (expr= qualifiedIdentifier | ( '-' )? T_INFTY ) ( T_RANGETO (expr2= qualifiedIdentifier | T_INFTY ) )? ) T_COMMA ( T_NIL | ( 'steady' | 'inc' | 'dec' ) ) T_RPAREN
{
aval=(IToken)Match(input,122,FOLLOW_122_in_qvalExpression3945);
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_qvalExpression3947);
result = createQualitativeValue(aval);
// ooa.g:818:3: ( T_NIL | (expr= qualifiedIdentifier | ( '-' )? T_INFTY ) ( T_RANGETO (expr2= qualifiedIdentifier | T_INFTY ) )? )
int alt96 = 2;
int LA96_0 = input.LA(1);

if ( (LA96_0 == T_NIL) )
{
alt96 = 1;
}
else if ( (LA96_0 == T_IDENTIFIER || (LA96_0 >= T_MINUS && LA96_0 <= T_INFTY) || LA96_0 == T_SELF) )
{
alt96 = 2;
}
else
{
NoViableAltException nvae_d96s0 =
new NoViableAltException("", 96, 0, input);

throw nvae_d96s0;
}
switch (alt96)
{
case 1 :
// ooa.g:819:4: T_NIL
{
Match(input,T_NIL,FOLLOW_T_NIL_in_qvalExpression3961);
setQualitativeValueDontCare(result);

}
break;
case 2 :
// ooa.g:822:4: (expr= qualifiedIdentifier | ( '-' )? T_INFTY ) ( T_RANGETO (expr2= qualifiedIdentifier | T_INFTY ) )?
{
// ooa.g:822:4: (expr= qualifiedIdentifier | ( '-' )? T_INFTY )
int alt93 = 2;
int LA93_0 = input.LA(1);

if ( (LA93_0 == T_IDENTIFIER || LA93_0 == T_SELF) )
{
alt93 = 1;
}
else if ( ((LA93_0 >= T_MINUS && LA93_0 <= T_INFTY)) )
{
alt93 = 2;
}
else
{
NoViableAltException nvae_d93s0 =
new NoViableAltException("", 93, 0, input);

throw nvae_d93s0;
}
switch (alt93)
{
case 1 :
// ooa.g:822:6: expr= qualifiedIdentifier
{
PushFollow(FOLLOW_qualifiedIdentifier_in_qvalExpression3982);
expr = qualifiedIdentifier();
state.followingStackPointer--;

setQualitativeValueLandmark(result,expr);

}
break;
case 2 :
// ooa.g:825:5: ( '-' )? T_INFTY
{
// ooa.g:825:5: ( '-' )?
int alt92 = 2;
int LA92_0 = input.LA(1);

if ( (LA92_0 == T_MINUS) )
{
alt92 = 1;
}
switch (alt92)
{
case 1 :
// ooa.g:825:6: '-'
{
Match(input,T_MINUS,FOLLOW_T_MINUS_in_qvalExpression4001);
minus = true;

}
break;

}

Match(input,T_INFTY,FOLLOW_T_INFTY_in_qvalExpression4007);
setQualitativeValueInfinity(result,minus);

}
break;

}

// ooa.g:828:4: ( T_RANGETO (expr2= qualifiedIdentifier | T_INFTY ) )?
int alt95 = 2;
int LA95_0 = input.LA(1);

if ( (LA95_0 == T_RANGETO) )
{
alt95 = 1;
}
switch (alt95)
{
case 1 :
// ooa.g:828:5: T_RANGETO (expr2= qualifiedIdentifier | T_INFTY )
{
Match(input,T_RANGETO,FOLLOW_T_RANGETO_in_qvalExpression4025);
// ooa.g:829:4: (expr2= qualifiedIdentifier | T_INFTY )
int alt94 = 2;
int LA94_0 = input.LA(1);

if ( (LA94_0 == T_IDENTIFIER || LA94_0 == T_SELF) )
{
alt94 = 1;
}
else if ( (LA94_0 == T_INFTY) )
{
alt94 = 2;
}
else
{
NoViableAltException nvae_d94s0 =
new NoViableAltException("", 94, 0, input);

throw nvae_d94s0;
}
switch (alt94)
{
case 1 :
// ooa.g:829:6: expr2= qualifiedIdentifier
{
PushFollow(FOLLOW_qualifiedIdentifier_in_qvalExpression4035);
expr2 = qualifiedIdentifier();
state.followingStackPointer--;

setQualitativeValueRange(result,expr2);

}
break;
case 2 :
// ooa.g:832:5: T_INFTY
{
Match(input,T_INFTY,FOLLOW_T_INFTY_in_qvalExpression4053);
setQualitativeValueRangeInfinity(result,false);

}
break;

}


}
break;

}


}
break;

}

Match(input,T_COMMA,FOLLOW_T_COMMA_in_qvalExpression4077);
// ooa.g:837:3: ( T_NIL | ( 'steady' | 'inc' | 'dec' ) )
int alt98 = 2;
int LA98_0 = input.LA(1);

if ( (LA98_0 == T_NIL) )
{
alt98 = 1;
}
else if ( ((LA98_0 >= 123 && LA98_0 <= 125)) )
{
alt98 = 2;
}
else
{
NoViableAltException nvae_d98s0 =
new NoViableAltException("", 98, 0, input);

throw nvae_d98s0;
}
switch (alt98)
{
case 1 :
// ooa.g:838:4: T_NIL
{
Match(input,T_NIL,FOLLOW_T_NIL_in_qvalExpression4087);
setQualitativeDerivDontCare(result);

}
break;
case 2 :
// ooa.g:841:4: ( 'steady' | 'inc' | 'dec' )
{
// ooa.g:841:4: ( 'steady' | 'inc' | 'dec' )
int alt97 = 3;
switch ( input.LA(1) )
{
case 123:
{
alt97 = 1;
}
break;
case 124:
{
alt97 = 2;
}
break;
case 125:
{
alt97 = 3;
}
break;
default:
NoViableAltException nvae_d97s0 =
new NoViableAltException("", 97, 0, input);

throw nvae_d97s0;
}

switch (alt97)
{
case 1 :
// ooa.g:841:6: 'steady'
{
Match(input,123,FOLLOW_123_in_qvalExpression4103);
setQualitativeDerivSteady(result);

}
break;
case 2 :
// ooa.g:843:6: 'inc'
{
Match(input,124,FOLLOW_124_in_qvalExpression4116);
setQualitativeDerivInc(result);

}
break;
case 3 :
// ooa.g:845:6: 'dec'
{
Match(input,125,FOLLOW_125_in_qvalExpression4129);
setQualitativeDerivDec(result);

}
break;

}


}
break;

}

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_qvalExpression4151);

}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "qvalExpression"


// $ANTLR start "identifierExpression"
// ooa.g:853:1: identifierExpression returns [Expression result] : ({...}?aName= T_IDENTIFIER T_LPAREN m_params= methodCallParams T_RPAREN | res= reference );
public Expression identifierExpression() // throws RecognitionException [1]
{
Expression result = default(Expression);

IToken aName = null;
System.Collections.Generic.List<Expression> m_params = default(System.Collections.Generic.List<Expression>);

Expression res = default(Expression);


try
{
// ooa.g:855:2: ({...}?aName= T_IDENTIFIER T_LPAREN m_params= methodCallParams T_RPAREN | res= reference )
int alt99 = 2;
alt99 = dfa99.Predict(input);
switch (alt99)
{
case 1 :
// ooa.g:856:3: {...}?aName= T_IDENTIFIER T_LPAREN m_params= methodCallParams T_RPAREN
{
if ( !((isTuple(input.LT(1).Text))) )
{
throw new FailedPredicateException(input, "identifierExpression", "isTuple(input.LT(1).Text)");
}
aName=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_identifierExpression4184);
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_identifierExpression4186);
PushFollow(FOLLOW_methodCallParams_in_identifierExpression4190);
m_params = methodCallParams();
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_identifierExpression4192);
result = createInitializedTuple(aName,m_params);

}
break;
case 2 :
// ooa.g:860:3: res= reference
{
PushFollow(FOLLOW_reference_in_identifierExpression4207);
res = reference();
state.followingStackPointer--;

result = res;

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "identifierExpression"


// $ANTLR start "reference"
// ooa.g:865:1: reference returns [Expression result] : {...}?aName= qualifiedIdentifier (output= accessExpression[result] | ) (pr= T_PRIMED | ( '::' T_LPAREN init= expression T_RPAREN )? afold= ( T_FOLDLR | T_FOLDRL ) T_LPAREN anexpr= expression T_RPAREN )? ;
public Expression reference() // throws RecognitionException [1]
{
Expression result = default(Expression);

IToken pr = null;
IToken afold = null;
Expression aName = default(Expression);

Expression output = default(Expression);

Expression init = default(Expression);

Expression anexpr = default(Expression);



result = null;
init = null;
try
{
// ooa.g:871:2: ({...}?aName= qualifiedIdentifier (output= accessExpression[result] | ) (pr= T_PRIMED | ( '::' T_LPAREN init= expression T_RPAREN )? afold= ( T_FOLDLR | T_FOLDRL ) T_LPAREN anexpr= expression T_RPAREN )? )
// ooa.g:871:4: {...}?aName= qualifiedIdentifier (output= accessExpression[result] | ) (pr= T_PRIMED | ( '::' T_LPAREN init= expression T_RPAREN )? afold= ( T_FOLDLR | T_FOLDRL ) T_LPAREN anexpr= expression T_RPAREN )?
{
if ( !((!isTuple(input.LT(1).Text))) )
{
throw new FailedPredicateException(input, "reference", "!isTuple(input.LT(1).Text)");
}
PushFollow(FOLLOW_qualifiedIdentifier_in_reference4245);
aName = qualifiedIdentifier();
state.followingStackPointer--;

result = aName;
// ooa.g:873:3: (output= accessExpression[result] | )
int alt100 = 2;
alt100 = dfa100.Predict(input);
switch (alt100)
{
case 1 :
// ooa.g:873:5: output= accessExpression[result]
{
PushFollow(FOLLOW_accessExpression_in_reference4257);
output = accessExpression(result);
state.followingStackPointer--;

result = output;

}
break;
case 2 :
// ooa.g:876:3:
{
}
break;

}

// ooa.g:877:3: (pr= T_PRIMED | ( '::' T_LPAREN init= expression T_RPAREN )? afold= ( T_FOLDLR | T_FOLDRL ) T_LPAREN anexpr= expression T_RPAREN )?
int alt102 = 3;
alt102 = dfa102.Predict(input);
switch (alt102)
{
case 1 :
// ooa.g:877:6: pr= T_PRIMED
{
pr=(IToken)Match(input,T_PRIMED,FOLLOW_T_PRIMED_in_reference4282);
setIdentifierExpressionPrimed(ref result,pr);

}
break;
case 2 :
// ooa.g:879:5: ( '::' T_LPAREN init= expression T_RPAREN )? afold= ( T_FOLDLR | T_FOLDRL ) T_LPAREN anexpr= expression T_RPAREN
{
// ooa.g:879:5: ( '::' T_LPAREN init= expression T_RPAREN )?
int alt101 = 2;
int LA101_0 = input.LA(1);

if ( (LA101_0 == 126) )
{
alt101 = 1;
}
switch (alt101)
{
case 1 :
// ooa.g:879:6: '::' T_LPAREN init= expression T_RPAREN
{
Match(input,126,FOLLOW_126_in_reference4298);
Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_reference4300);
PushFollow(FOLLOW_expression_in_reference4304);
init = expression();
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_reference4306);

}
break;

}

afold = (IToken)input.LT(1);
if ( (input.LA(1) >= T_FOLDLR && input.LA(1) <= T_FOLDRL) )
{
input.Consume();
state.errorRecovery = false;
}
else
{
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}

Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_reference4318);
PushFollow(FOLLOW_expression_in_reference4322);
anexpr = expression();
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_reference4324);
result = createFoldExpression(result,afold,init,anexpr);

}
break;

}


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "reference"


// $ANTLR start "accessExpression"
// ooa.g:884:1: accessExpression[Expression subexpr] returns [Expression result] : (tcall= T_LSQPAREN ac= expression T_RSQPAREN | bcall= T_LPAREN m_params= methodCallParams T_RPAREN )+ ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[result] )? )? ;
public Expression accessExpression(Expression subexpr) // throws RecognitionException [1]
{
Expression result = default(Expression);

IToken tcall = null;
IToken bcall = null;
IToken idn = null;
Expression ac = default(Expression);

System.Collections.Generic.List<Expression> m_params = default(System.Collections.Generic.List<Expression>);

Expression res = default(Expression);



UnaryOperator newExpr = null;
result = subexpr;
try
{
// ooa.g:890:2: ( (tcall= T_LSQPAREN ac= expression T_RSQPAREN | bcall= T_LPAREN m_params= methodCallParams T_RPAREN )+ ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[result] )? )? )
// ooa.g:891:7: (tcall= T_LSQPAREN ac= expression T_RSQPAREN | bcall= T_LPAREN m_params= methodCallParams T_RPAREN )+ ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[result] )? )?
{
// ooa.g:891:7: (tcall= T_LSQPAREN ac= expression T_RSQPAREN | bcall= T_LPAREN m_params= methodCallParams T_RPAREN )+
int cnt103 = 0;
do
{
int alt103 = 3;
alt103 = dfa103.Predict(input);
switch (alt103)
{
case 1 :
// ooa.g:891:9: tcall= T_LSQPAREN ac= expression T_RSQPAREN
{
tcall=(IToken)Match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_accessExpression4369);
PushFollow(FOLLOW_expression_in_accessExpression4373);
ac = expression();
state.followingStackPointer--;

Match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_accessExpression4375);
result = createTupleMapAccessExpression(result,ac,tcall);

}
break;
case 2 :
// ooa.g:893:10: bcall= T_LPAREN m_params= methodCallParams T_RPAREN
{
bcall=(IToken)Match(input,T_LPAREN,FOLLOW_T_LPAREN_in_accessExpression4402);
PushFollow(FOLLOW_methodCallParams_in_accessExpression4406);
m_params = methodCallParams();
state.followingStackPointer--;

Match(input,T_RPAREN,FOLLOW_T_RPAREN_in_accessExpression4408);
result = createMethodAccessExpression(result,m_params,bcall);

}
break;

default:
if ( cnt103 >= 1 ) goto loop103;
EarlyExitException eee103 =
new EarlyExitException(103, input);
throw eee103;
}
cnt103++;
} while (true);

loop103:
; // Stops C# compiler whining that label 'loop103' has no statements

// ooa.g:896:3: ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[result] )? )?
int alt106 = 2;
alt106 = dfa106.Predict(input);
switch (alt106)
{
case 1 :
// ooa.g:897:4: ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[result] )?
{
// ooa.g:897:4: ( T_POINT idn= T_IDENTIFIER )+
int cnt104 = 0;
do
{
int alt104 = 2;
alt104 = dfa104.Predict(input);
switch (alt104)
{
case 1 :
// ooa.g:897:5: T_POINT idn= T_IDENTIFIER
{
Match(input,T_POINT,FOLLOW_T_POINT_in_accessExpression4430);
idn=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_accessExpression4438);
result = addIdentifierAccessExpression(result,idn);

}
break;

default:
if ( cnt104 >= 1 ) goto loop104;
EarlyExitException eee104 =
new EarlyExitException(104, input);
throw eee104;
}
cnt104++;
} while (true);

loop104:
; // Stops C# compiler whining that label 'loop104' has no statements

// ooa.g:900:4: (res= accessExpression[result] )?
int alt105 = 2;
alt105 = dfa105.Predict(input);
switch (alt105)
{
case 1 :
// ooa.g:900:5: res= accessExpression[result]
{
PushFollow(FOLLOW_accessExpression_in_accessExpression4454);
res = accessExpression(result);
state.followingStackPointer--;

result=res;

}
break;

}


}
break;

}


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "accessExpression"


// $ANTLR start "qualifiedIdentifier"
// ooa.g:904:1: qualifiedIdentifier returns [Expression top] : (self= T_SELF T_POINT )? idb= T_IDENTIFIER ( T_POINT idd= T_IDENTIFIER )* ;
public Expression qualifiedIdentifier() // throws RecognitionException [1]
{
Expression top = default(Expression);

IToken self = null;
IToken idb = null;
IToken idd = null;


IdentifierExpression selfexpr = null;
top = null;
try
{
// ooa.g:910:2: ( (self= T_SELF T_POINT )? idb= T_IDENTIFIER ( T_POINT idd= T_IDENTIFIER )* )
// ooa.g:911:3: (self= T_SELF T_POINT )? idb= T_IDENTIFIER ( T_POINT idd= T_IDENTIFIER )*
{
// ooa.g:911:3: (self= T_SELF T_POINT )?
int alt107 = 2;
int LA107_0 = input.LA(1);

if ( (LA107_0 == T_SELF) )
{
alt107 = 1;
}
switch (alt107)
{
case 1 :
// ooa.g:911:4: self= T_SELF T_POINT
{
self=(IToken)Match(input,T_SELF,FOLLOW_T_SELF_in_qualifiedIdentifier4493);
Match(input,T_POINT,FOLLOW_T_POINT_in_qualifiedIdentifier4495);
selfexpr = createSelfIdentifierExpression(self);

}
break;

}

idb=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_qualifiedIdentifier4507);
top = createIdentifierAccessExpression(selfexpr,idb);
// ooa.g:913:3: ( T_POINT idd= T_IDENTIFIER )*
do
{
int alt108 = 2;
alt108 = dfa108.Predict(input);
switch (alt108)
{
case 1 :
// ooa.g:913:4: T_POINT idd= T_IDENTIFIER
{
Match(input,T_POINT,FOLLOW_T_POINT_in_qualifiedIdentifier4516);
idd=(IToken)Match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_qualifiedIdentifier4520);
top = addIdentifierAccessExpression(top,idd);

}
break;

default:
goto loop108;
}
} while (true);

loop108:
; // Stops C# compiler whining that label 'loop108' has no statements


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return top;
}
// $ANTLR end "qualifiedIdentifier"


// $ANTLR start "methodCallParams"
// ooa.g:917:1: methodCallParams returns [System.Collections.Generic.List<Expression> result] : (expa= expression ( T_COMMA expb= expression )* )? ;
public System.Collections.Generic.List<Expression> methodCallParams() // throws RecognitionException [1]
{
System.Collections.Generic.List<Expression> result = default(System.Collections.Generic.List<Expression>);

Expression expa = default(Expression);

Expression expb = default(Expression);



result = new System.Collections.Generic.List<Expression>();
try
{
// ooa.g:922:2: ( (expa= expression ( T_COMMA expb= expression )* )? )
// ooa.g:922:4: (expa= expression ( T_COMMA expb= expression )* )?
{
// ooa.g:922:4: (expa= expression ( T_COMMA expb= expression )* )?
int alt110 = 2;
alt110 = dfa110.Predict(input);
switch (alt110)
{
case 1 :
// ooa.g:922:5: expa= expression ( T_COMMA expb= expression )*
{
PushFollow(FOLLOW_expression_in_methodCallParams4553);
expa = expression();
state.followingStackPointer--;

result.Add(expa);
// ooa.g:922:41: ( T_COMMA expb= expression )*
do
{
int alt109 = 2;
int LA109_0 = input.LA(1);

if ( (LA109_0 == T_COMMA) )
{
alt109 = 1;
}


switch (alt109)
{
case 1 :
// ooa.g:922:42: T_COMMA expb= expression
{
Match(input,T_COMMA,FOLLOW_T_COMMA_in_methodCallParams4558);
PushFollow(FOLLOW_expression_in_methodCallParams4562);
expb = expression();
state.followingStackPointer--;

result.Add(expb);

}
break;

default:
goto loop109;
}
} while (true);

loop109:
; // Stops C# compiler whining that label 'loop109' has no statements


}
break;

}


}

}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return result;
}
// $ANTLR end "methodCallParams"


// $ANTLR start "op_un"
// ooa.g:932:1: op_un returns [UnaryOperator expr] : (r= op_un_set_list | r2= op_un_map | T_MINUS | T_NOT | T_ABS );
public UnaryOperator op_un() // throws RecognitionException [1]
{
UnaryOperator expr = default(UnaryOperator);

UnaryOperator r = default(UnaryOperator);

UnaryOperator r2 = default(UnaryOperator);



expr = null;
try
{
// ooa.g:937:2: (r= op_un_set_list | r2= op_un_map | T_MINUS | T_NOT | T_ABS )
int alt111 = 5;
alt111 = dfa111.Predict(input);
switch (alt111)
{
case 1 :
// ooa.g:937:4: r= op_un_set_list
{
PushFollow(FOLLOW_op_un_set_list_in_op_un4601);
r = op_un_set_list();
state.followingStackPointer--;

expr = r;

}
break;
case 2 :
// ooa.g:938:4: r2= op_un_map
{
PushFollow(FOLLOW_op_un_map_in_op_un4610);
r2 = op_un_map();
state.followingStackPointer--;

expr = r2;

}
break;
case 3 :
// ooa.g:939:4: T_MINUS
{
Match(input,T_MINUS,FOLLOW_T_MINUS_in_op_un4618);
expr = createUnaryOperator(ExpressionKind.unminus);

}
break;
case 4 :
// ooa.g:940:4: T_NOT
{
Match(input,T_NOT,FOLLOW_T_NOT_in_op_un4626);
expr = createUnaryOperator(ExpressionKind.not);

}
break;
case 5 :
// ooa.g:941:4: T_ABS
{
Match(input,T_ABS,FOLLOW_T_ABS_in_op_un4634);
expr = createUnaryOperator(ExpressionKind.abs);

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return expr;
}
// $ANTLR end "op_un"


// $ANTLR start "op_un_set_list"
// ooa.g:945:1: op_un_set_list returns [UnaryOperator expr] : ( T_CARD | T_DCONC | T_DINTER | T_DUNION | T_ELEMS | T_HEAD | T_INDS | T_LEN | T_TAIL );
public UnaryOperator op_un_set_list() // throws RecognitionException [1]
{
UnaryOperator expr = default(UnaryOperator);


expr = null;
try
{
// ooa.g:950:2: ( T_CARD | T_DCONC | T_DINTER | T_DUNION | T_ELEMS | T_HEAD | T_INDS | T_LEN | T_TAIL )
int alt112 = 9;
alt112 = dfa112.Predict(input);
switch (alt112)
{
case 1 :
// ooa.g:950:4: T_CARD
{
Match(input,T_CARD,FOLLOW_T_CARD_in_op_un_set_list4661);
expr = createUnaryOperator(ExpressionKind.card);

}
break;
case 2 :
// ooa.g:952:4: T_DCONC
{
Match(input,T_DCONC,FOLLOW_T_DCONC_in_op_un_set_list4672);
expr = createUnaryOperator(ExpressionKind.dconc);

}
break;
case 3 :
// ooa.g:954:4: T_DINTER
{
Match(input,T_DINTER,FOLLOW_T_DINTER_in_op_un_set_list4683);
expr = createUnaryOperator(ExpressionKind.dinter);

}
break;
case 4 :
// ooa.g:956:4: T_DUNION
{
Match(input,T_DUNION,FOLLOW_T_DUNION_in_op_un_set_list4693);
expr = createUnaryOperator(ExpressionKind.dunion);

}
break;
case 5 :
// ooa.g:958:4: T_ELEMS
{
Match(input,T_ELEMS,FOLLOW_T_ELEMS_in_op_un_set_list4703);
expr = createUnaryOperator(ExpressionKind.elems);

}
break;
case 6 :
// ooa.g:960:4: T_HEAD
{
Match(input,T_HEAD,FOLLOW_T_HEAD_in_op_un_set_list4714);
expr = createUnaryOperator(ExpressionKind.head);

}
break;
case 7 :
// ooa.g:962:4: T_INDS
{
Match(input,T_INDS,FOLLOW_T_INDS_in_op_un_set_list4725);
expr = createUnaryOperator(ExpressionKind.inds);

}
break;
case 8 :
// ooa.g:964:4: T_LEN
{
Match(input,T_LEN,FOLLOW_T_LEN_in_op_un_set_list4736);
expr = createUnaryOperator(ExpressionKind.len);

}
break;
case 9 :
// ooa.g:966:4: T_TAIL
{
Match(input,T_TAIL,FOLLOW_T_TAIL_in_op_un_set_list4747);
expr = createUnaryOperator(ExpressionKind.tail);

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return expr;
}
// $ANTLR end "op_un_set_list"


// $ANTLR start "op_un_map"
// ooa.g:971:1: op_un_map returns [UnaryOperator expr] : ( T_DOM | T_RNG | T_MERGE );
public UnaryOperator op_un_map() // throws RecognitionException [1]
{
UnaryOperator expr = default(UnaryOperator);


expr = null;
try
{
// ooa.g:976:2: ( T_DOM | T_RNG | T_MERGE )
int alt113 = 3;
switch ( input.LA(1) )
{
case T_DOM:
{
alt113 = 1;
}
break;
case T_RNG:
{
alt113 = 2;
}
break;
case T_MERGE:
{
alt113 = 3;
}
break;
default:
NoViableAltException nvae_d113s0 =
new NoViableAltException("", 113, 0, input);

throw nvae_d113s0;
}

switch (alt113)
{
case 1 :
// ooa.g:976:4: T_DOM
{
Match(input,T_DOM,FOLLOW_T_DOM_in_op_un_map4776);
expr = createUnaryOperator(ExpressionKind.dom);

}
break;
case 2 :
// ooa.g:978:4: T_RNG
{
Match(input,T_RNG,FOLLOW_T_RNG_in_op_un_map4787);
expr = createUnaryOperator(ExpressionKind.range);

}
break;
case 3 :
// ooa.g:980:4: T_MERGE
{
Match(input,T_MERGE,FOLLOW_T_MERGE_in_op_un_map4798);
expr = createUnaryOperator(ExpressionKind.merge);

}
break;

}
}
catch (RecognitionException re)
{
ReportError(re);
Recover(input,re);
}
finally
{
}
return expr;
}
// $ANTLR end "op_un_map"

// Delegated rules


protected DFA4 dfa4;
protected DFA14 dfa14;
protected DFA67 dfa67;
protected DFA70 dfa70;
protected DFA68 dfa68;
protected DFA69 dfa69;
protected DFA77 dfa77;
protected DFA71 dfa71;
protected DFA75 dfa75;
protected DFA74 dfa74;
protected DFA72 dfa72;
protected DFA73 dfa73;
protected DFA76 dfa76;
protected DFA86 dfa86;
protected DFA99 dfa99;
protected DFA100 dfa100;
protected DFA102 dfa102;
protected DFA103 dfa103;
protected DFA106 dfa106;
protected DFA104 dfa104;
protected DFA105 dfa105;
protected DFA108 dfa108;
protected DFA110 dfa110;
protected DFA111 dfa111;
protected DFA112 dfa112;
private void InitializeCyclicDFAs()
{
this.dfa4 = new DFA4(this);
this.dfa14 = new DFA14(this);
this.dfa67 = new DFA67(this);
this.dfa70 = new DFA70(this);
this.dfa68 = new DFA68(this);
this.dfa69 = new DFA69(this);
this.dfa77 = new DFA77(this);
this.dfa71 = new DFA71(this);
this.dfa75 = new DFA75(this);
this.dfa74 = new DFA74(this);
this.dfa72 = new DFA72(this);
this.dfa73 = new DFA73(this);
this.dfa76 = new DFA76(this);
this.dfa86 = new DFA86(this);
this.dfa99 = new DFA99(this);
this.dfa100 = new DFA100(this);
this.dfa102 = new DFA102(this);
this.dfa103 = new DFA103(this);
this.dfa106 = new DFA106(this);
this.dfa104 = new DFA104(this);
this.dfa105 = new DFA105(this);
this.dfa108 = new DFA108(this);
this.dfa110 = new DFA110(this);
this.dfa111 = new DFA111(this);
this.dfa112 = new DFA112(this);
this.dfa99.specialStateTransitionHandler = new DFA.SpecialStateTransitionHandler(DFA99_SpecialStateTransition);
}

const string DFA4_eotS =
"\x0e\uffff";
const string DFA4_eofS =
"\x0e\uffff";
const string DFA4_minS =
"\x01\x06\x0d\uffff";
const string DFA4_maxS =
"\x01\x21\x0d\uffff";
const string DFA4_acceptS =
"\x01\uffff\x01\x01\x0a\uffff\x01\x02\x01\uffff";
const string DFA4_specialS =
"\x0e\uffff}>";
static readonly string[] DFA4_transitionS = {
"\x01\x0c\x01\uffff\x01\x01\x03\uffff\x01\x01\x01\uffff\x02"+
"\x01\x04\uffff\x01\x01\x01\uffff\x01\x01\x02\uffff\x02\x01\x01"+
"\uffff\x01\x01\x01\uffff\x02\x01\x01\uffff\x01\x0c",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA4_eot = DFA.UnpackEncodedString(DFA4_eotS);
static readonly short[] DFA4_eof = DFA.UnpackEncodedString(DFA4_eofS);
static readonly char[] DFA4_min = DFA.UnpackEncodedStringToUnsignedChars(DFA4_minS);
static readonly char[] DFA4_max = DFA.UnpackEncodedStringToUnsignedChars(DFA4_maxS);
static readonly short[] DFA4_accept = DFA.UnpackEncodedString(DFA4_acceptS);
static readonly short[] DFA4_special = DFA.UnpackEncodedString(DFA4_specialS);
static readonly short[][] DFA4_transition = DFA.UnpackEncodedStringArray(DFA4_transitionS);

protected class DFA4 : DFA
{
public DFA4(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 4;
this.eot = DFA4_eot;
this.eof = DFA4_eof;
this.min = DFA4_min;
this.max = DFA4_max;
this.accept = DFA4_accept;
this.special = DFA4_special;
this.transition = DFA4_transition;

}

override public string Description
{
get { return "177:3: (aType= complexType | anOoaType= ooActionSystem )"; }
}

}

const string DFA14_eotS =
"\x0c\uffff";
const string DFA14_eofS =
"\x0c\uffff";
const string DFA14_minS =
"\x01\x08\x0b\uffff";
const string DFA14_maxS =
"\x01\x1f\x0b\uffff";
const string DFA14_acceptS =
"\x01\uffff\x01\x01\x01\x02\x01\x03\x01\x04\x01\x05\x01\x06\x05"+
"\uffff";
const string DFA14_specialS =
"\x0c\uffff}>";
static readonly string[] DFA14_transitionS = {
"\x01\x06\x03\uffff\x01\x05\x01\uffff\x01\x01\x01\x02\x04\uffff"+
"\x01\x03\x01\uffff\x01\x04\x02\uffff\x02\x06\x01\uffff\x01\x06"+
"\x01\uffff\x02\x06",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA14_eot = DFA.UnpackEncodedString(DFA14_eotS);
static readonly short[] DFA14_eof = DFA.UnpackEncodedString(DFA14_eofS);
static readonly char[] DFA14_min = DFA.UnpackEncodedStringToUnsignedChars(DFA14_minS);
static readonly char[] DFA14_max = DFA.UnpackEncodedStringToUnsignedChars(DFA14_maxS);
static readonly short[] DFA14_accept = DFA.UnpackEncodedString(DFA14_acceptS);
static readonly short[] DFA14_special = DFA.UnpackEncodedString(DFA14_specialS);
static readonly short[][] DFA14_transition = DFA.UnpackEncodedStringArray(DFA14_transitionS);

protected class DFA14 : DFA
{
public DFA14(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 14;
this.eot = DFA14_eot;
this.eof = DFA14_eof;
this.min = DFA14_min;
this.max = DFA14_max;
this.accept = DFA14_accept;
this.special = DFA14_special;
this.transition = DFA14_transition;

}

override public string Description
{
get { return "211:1: complexType returns [UlyssesType aTypeSymbol] : ( T_LIST T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN T_OF innertype= complexType | T_LSQPAREN alistelem= T_IDENTIFIER ( T_COMMA otherlistelem= T_IDENTIFIER )* T_RSQPAREN | T_MAP ( T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN )? mapfromtype= simpleType T_TO maptotype= complexType | T_QUANTITY T_OF T_LSQPAREN (alandmark= T_IDENTIFIER | alandmark= T_MINUS T_INFTY ) ( T_COMMA (otherlandmark= T_IDENTIFIER | otherlandmark= T_INFTY ) )* T_RSQPAREN | T_LPAREN aType= complexType ( T_COMMA anotherType= complexType )* T_RPAREN | r= simpleType );"; }
}

}

const string DFA67_eotS =
"\x32\uffff";
const string DFA67_eofS =
"\x32\uffff";
const string DFA67_minS =
"\x01\x05\x31\uffff";
const string DFA67_maxS =
"\x01\x76\x31\uffff";
const string DFA67_acceptS =
"\x01\uffff\x01\x02\x12\uffff\x01\x01\x1d\uffff";
const string DFA67_specialS =
"\x32\uffff}>";
static readonly string[] DFA67_transitionS = {
"\x01\x01\x01\uffff\x01\x01\x01\uffff\x01\x14\x02\x01\x01\uffff"+
"\x01\x01\x03\uffff\x01\x01\x01\uffff\x01\x01\x03\uffff\x01\x14"+
"\x08\uffff\x01\x01\x02\uffff\x03\x01\x04\uffff\x02\x01\x03\uffff"+
"\x03\x14\x07\uffff\x01\x01\x08\x14\x01\uffff\x11\x14\x02\uffff"+
"\x02\x01\x07\uffff\x02\x01\x15\uffff\x01\x01",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA67_eot = DFA.UnpackEncodedString(DFA67_eotS);
static readonly short[] DFA67_eof = DFA.UnpackEncodedString(DFA67_eofS);
static readonly char[] DFA67_min = DFA.UnpackEncodedStringToUnsignedChars(DFA67_minS);
static readonly char[] DFA67_max = DFA.UnpackEncodedStringToUnsignedChars(DFA67_maxS);
static readonly short[] DFA67_accept = DFA.UnpackEncodedString(DFA67_acceptS);
static readonly short[] DFA67_special = DFA.UnpackEncodedString(DFA67_specialS);
static readonly short[][] DFA67_transition = DFA.UnpackEncodedStringArray(DFA67_transitionS);

protected class DFA67 : DFA
{
public DFA67(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 67;
this.eot = DFA67_eot;
this.eof = DFA67_eof;
this.min = DFA67_min;
this.max = DFA67_max;
this.accept = DFA67_accept;
this.special = DFA67_special;
this.transition = DFA67_transition;

}

override public string Description
{
get { return "()* loopback of 585:3: (op= binoperator right= atomExpression )*"; }
}

}

const string DFA70_eotS =
"\x1f\uffff";
const string DFA70_eofS =
"\x1f\uffff";
const string DFA70_minS =
"\x01\x09\x1e\uffff";
const string DFA70_maxS =
"\x01\x53\x1e\uffff";
const string DFA70_acceptS =
"\x01\uffff\x01\x01\x01\x02\x01\x03\x01\x04\x01\x05\x01\x06\x01"+
"\x07\x01\x08\x01\x09\x01\x0a\x01\x0b\x01\x0c\x01\x0d\x01\x0e\x01"+
"\x0f\x01\x10\x01\x11\x01\x12\x01\x13\x01\x14\x01\x15\x01\x16\x01"+
"\x17\x01\x18\x01\x19\x01\x1a\x01\x1b\x01\x1c\x01\x1d\x01\x1e";
const string DFA70_specialS =
"\x1f\uffff}>";
static readonly string[] DFA70_transitionS = {
"\x01\x06\x0d\uffff\x01\x09\x17\uffff\x01\x0a\x01\x14\x01\x10"+
"\x08\uffff\x01\x01\x01\x02\x01\x03\x01\x04\x01\x05\x01\x07\x01"+
"\x08\x01\x0b\x01\uffff\x01\x0c\x01\x0d\x01\x0e\x01\x0f\x01\x11"+
"\x01\x12\x01\x13\x01\x15\x01\x16\x01\x17\x01\x18\x01\x19\x01"+
"\x1a\x01\x1b\x01\x1c\x01\x1d\x01\x1e",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA70_eot = DFA.UnpackEncodedString(DFA70_eotS);
static readonly short[] DFA70_eof = DFA.UnpackEncodedString(DFA70_eofS);
static readonly char[] DFA70_min = DFA.UnpackEncodedStringToUnsignedChars(DFA70_minS);
static readonly char[] DFA70_max = DFA.UnpackEncodedStringToUnsignedChars(DFA70_maxS);
static readonly short[] DFA70_accept = DFA.UnpackEncodedString(DFA70_acceptS);
static readonly short[] DFA70_special = DFA.UnpackEncodedString(DFA70_specialS);
static readonly short[][] DFA70_transition = DFA.UnpackEncodedStringArray(DFA70_transitionS);

protected class DFA70 : DFA
{
public DFA70(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 70;
this.eot = DFA70_eot;
this.eof = DFA70_eof;
this.min = DFA70_min;
this.max = DFA70_max;
this.accept = DFA70_accept;
this.special = DFA70_special;
this.transition = DFA70_transition;

}

override public string Description
{
get { return "596:1: binoperator returns [BinaryOperator binop] : ( T_BIIMPLIES | T_GREATER | T_GREATEREQUAL | T_LESS | T_LESSEQUAL | T_EQUAL | T_NOTEQUAL | T_IMPLIES | T_MINUS | T_SUM | T_IN ( T_SET )? | T_NOT T_IN ( T_SET )? | T_SUBSET | T_OR | T_DIV | T_PROD | T_IDIV | T_MOD | T_UNION | T_DIFF | T_INTER | T_AND | T_POW | T_CONC | T_DOMRESBY | T_DOMRESTO | T_RNGRESBY | T_RNGRESTO | T_MUNION | T_SEQMOD_MAPOVERRIDE );"; }
}

}

const string DFA68_eotS =
"\x20\uffff";
const string DFA68_eofS =
"\x20\uffff";
const string DFA68_minS =
"\x01\x08\x1f\uffff";
const string DFA68_maxS =
"\x01\x7a\x1f\uffff";
const string DFA68_acceptS =
"\x01\uffff\x01\x01\x01\x02\x1d\uffff";
const string DFA68_specialS =
"\x20\uffff}>";
static readonly string[] DFA68_transitionS = {
"\x01\x02\x03\uffff\x01\x02\x02\uffff\x02\x02\x06\uffff\x01"+
"\x02\x05\uffff\x01\x02\x01\uffff\x01\x02\x17\uffff\x01\x02\x0a"+
"\uffff\x01\x01\x01\x02\x11\uffff\x01\x02\x02\uffff\x07\x02\x03"+
"\uffff\x0d\x02\x0b\uffff\x01\x02",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA68_eot = DFA.UnpackEncodedString(DFA68_eotS);
static readonly short[] DFA68_eof = DFA.UnpackEncodedString(DFA68_eofS);
static readonly char[] DFA68_min = DFA.UnpackEncodedStringToUnsignedChars(DFA68_minS);
static readonly char[] DFA68_max = DFA.UnpackEncodedStringToUnsignedChars(DFA68_maxS);
static readonly short[] DFA68_accept = DFA.UnpackEncodedString(DFA68_acceptS);
static readonly short[] DFA68_special = DFA.UnpackEncodedString(DFA68_specialS);
static readonly short[][] DFA68_transition = DFA.UnpackEncodedStringArray(DFA68_transitionS);

protected class DFA68 : DFA
{
public DFA68(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 68;
this.eot = DFA68_eot;
this.eof = DFA68_eof;
this.min = DFA68_min;
this.max = DFA68_max;
this.accept = DFA68_accept;
this.special = DFA68_special;
this.transition = DFA68_transition;

}

override public string Description
{
get { return "618:9: ( T_SET )?"; }
}

}

const string DFA69_eotS =
"\x20\uffff";
const string DFA69_eofS =
"\x20\uffff";
const string DFA69_minS =
"\x01\x08\x1f\uffff";
const string DFA69_maxS =
"\x01\x7a\x1f\uffff";
const string DFA69_acceptS =
"\x01\uffff\x01\x01\x01\x02\x1d\uffff";
const string DFA69_specialS =
"\x20\uffff}>";
static readonly string[] DFA69_transitionS = {
"\x01\x02\x03\uffff\x01\x02\x02\uffff\x02\x02\x06\uffff\x01"+
"\x02\x05\uffff\x01\x02\x01\uffff\x01\x02\x17\uffff\x01\x02\x0a"+
"\uffff\x01\x01\x01\x02\x11\uffff\x01\x02\x02\uffff\x07\x02\x03"+
"\uffff\x0d\x02\x0b\uffff\x01\x02",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA69_eot = DFA.UnpackEncodedString(DFA69_eotS);
static readonly short[] DFA69_eof = DFA.UnpackEncodedString(DFA69_eofS);
static readonly char[] DFA69_min = DFA.UnpackEncodedStringToUnsignedChars(DFA69_minS);
static readonly char[] DFA69_max = DFA.UnpackEncodedStringToUnsignedChars(DFA69_maxS);
static readonly short[] DFA69_accept = DFA.UnpackEncodedString(DFA69_acceptS);
static readonly short[] DFA69_special = DFA.UnpackEncodedString(DFA69_specialS);
static readonly short[][] DFA69_transition = DFA.UnpackEncodedStringArray(DFA69_transitionS);

protected class DFA69 : DFA
{
public DFA69(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 69;
this.eot = DFA69_eot;
this.eof = DFA69_eof;
this.min = DFA69_min;
this.max = DFA69_max;
this.accept = DFA69_accept;
this.special = DFA69_special;
this.transition = DFA69_transition;

}

override public string Description
{
get { return "620:15: ( T_SET )?"; }
}

}

const string DFA77_eotS =
"\x1f\uffff";
const string DFA77_eofS =
"\x1f\uffff";
const string DFA77_minS =
"\x01\x08\x1e\uffff";
const string DFA77_maxS =
"\x01\x7a\x1e\uffff";
const string DFA77_acceptS =
"\x01\uffff\x01\x01\x1c\uffff\x01\x02";
const string DFA77_specialS =
"\x1f\uffff}>";
static readonly string[] DFA77_transitionS = {
"\x01\x01\x03\uffff\x01\x01\x02\uffff\x02\x01\x06\uffff\x01"+
"\x01\x05\uffff\x01\x01\x01\uffff\x01\x01\x17\uffff\x01\x01\x0b"+
"\uffff\x01\x01\x11\uffff\x01\x1e\x02\uffff\x07\x01\x03\uffff"+
"\x0d\x01\x0b\uffff\x01\x01",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA77_eot = DFA.UnpackEncodedString(DFA77_eotS);
static readonly short[] DFA77_eof = DFA.UnpackEncodedString(DFA77_eofS);
static readonly char[] DFA77_min = DFA.UnpackEncodedStringToUnsignedChars(DFA77_minS);
static readonly char[] DFA77_max = DFA.UnpackEncodedStringToUnsignedChars(DFA77_maxS);
static readonly short[] DFA77_accept = DFA.UnpackEncodedString(DFA77_acceptS);
static readonly short[] DFA77_special = DFA.UnpackEncodedString(DFA77_specialS);
static readonly short[][] DFA77_transition = DFA.UnpackEncodedStringArray(DFA77_transitionS);

protected class DFA77 : DFA
{
public DFA77(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 77;
this.eot = DFA77_eot;
this.eof = DFA77_eof;
this.min = DFA77_min;
this.max = DFA77_max;
this.accept = DFA77_accept;
this.special = DFA77_special;
this.transition = DFA77_transition;

}

override public string Description
{
get { return "662:1: atomExpression returns [Expression expr] : ( ( (unexpr= op_un )? (e= identifierExpression | e= qvalExpression | e= constant | e= initializedComplexType | e= quantifierExpression | T_LPAREN e= expression T_RPAREN ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[e] )? | e= accessExpression[e] )? ) ( 'as' cid= T_IDENTIFIER )? ) | ie= T_IF ce= expression T_THEN te= expression T_ELSE ee= expression T_END );"; }
}

}

const string DFA71_eotS =
"\x1e\uffff";
const string DFA71_eofS =
"\x1e\uffff";
const string DFA71_minS =
"\x01\x08\x1d\uffff";
const string DFA71_maxS =
"\x01\x7a\x1d\uffff";
const string DFA71_acceptS =
"\x01\uffff\x01\x01\x0e\uffff\x01\x02\x0d\uffff";
const string DFA71_specialS =
"\x1e\uffff}>";
static readonly string[] DFA71_transitionS = {
"\x01\x10\x03\uffff\x01\x10\x02\uffff\x02\x10\x06\uffff\x01"+
"\x01\x05\uffff\x01\x10\x01\uffff\x01\x10\x17\uffff\x01\x10\x0b"+
"\uffff\x01\x01\x14\uffff\x07\x10\x03\uffff\x0d\x01\x0b\uffff"+
"\x01\x10",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA71_eot = DFA.UnpackEncodedString(DFA71_eotS);
static readonly short[] DFA71_eof = DFA.UnpackEncodedString(DFA71_eofS);
static readonly char[] DFA71_min = DFA.UnpackEncodedStringToUnsignedChars(DFA71_minS);
static readonly char[] DFA71_max = DFA.UnpackEncodedStringToUnsignedChars(DFA71_maxS);
static readonly short[] DFA71_accept = DFA.UnpackEncodedString(DFA71_acceptS);
static readonly short[] DFA71_special = DFA.UnpackEncodedString(DFA71_specialS);
static readonly short[][] DFA71_transition = DFA.UnpackEncodedStringArray(DFA71_transitionS);

protected class DFA71 : DFA
{
public DFA71(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 71;
this.eot = DFA71_eot;
this.eof = DFA71_eof;
this.min = DFA71_min;
this.max = DFA71_max;
this.accept = DFA71_accept;
this.special = DFA71_special;
this.transition = DFA71_transition;

}

override public string Description
{
get { return "667:11: (unexpr= op_un )?"; }
}

}

const string DFA75_eotS =
"\x42\uffff";
const string DFA75_eofS =
"\x42\uffff";
const string DFA75_minS =
"\x01\x08\x01\uffff\x01\x05\x3f\uffff";
const string DFA75_maxS =
"\x01\x7a\x01\uffff\x01\x79\x3f\uffff";
const string DFA75_acceptS =
"\x01\uffff\x01\x01\x01\uffff\x01\x02\x01\x03\x05\uffff\x01\x04"+
"\x02\uffff\x01\x05\x01\x06\x33\uffff";
const string DFA75_specialS =
"\x42\uffff}>";
static readonly string[] DFA75_transitionS = {
"\x01\x01\x03\uffff\x01\x0e\x02\uffff\x01\x0a\x01\x04\x0c\uffff"+
"\x01\x04\x01\uffff\x01\x0a\x17\uffff\x01\x02\x20\uffff\x02\x0d"+
"\x04\x04\x01\x0a\x1b\uffff\x01\x03",
"",
"\x01\x04\x01\uffff\x01\x04\x01\uffff\x03\x04\x01\uffff\x01"+
"\x04\x03\uffff\x01\x04\x01\uffff\x01\x04\x03\uffff\x01\x04\x08"+
"\uffff\x01\x04\x02\uffff\x03\x04\x04\uffff\x02\x04\x03\uffff"+
"\x03\x04\x07\uffff\x09\x04\x01\uffff\x11\x04\x01\x01\x01\uffff"+
"\x02\x04\x07\uffff\x02\x04\x15\uffff\x01\x04\x02\uffff\x01\x04",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA75_eot = DFA.UnpackEncodedString(DFA75_eotS);
static readonly short[] DFA75_eof = DFA.UnpackEncodedString(DFA75_eofS);
static readonly char[] DFA75_min = DFA.UnpackEncodedStringToUnsignedChars(DFA75_minS);
static readonly char[] DFA75_max = DFA.UnpackEncodedStringToUnsignedChars(DFA75_maxS);
static readonly short[] DFA75_accept = DFA.UnpackEncodedString(DFA75_acceptS);
static readonly short[] DFA75_special = DFA.UnpackEncodedString(DFA75_specialS);
static readonly short[][] DFA75_transition = DFA.UnpackEncodedStringArray(DFA75_transitionS);

protected class DFA75 : DFA
{
public DFA75(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 75;
this.eot = DFA75_eot;
this.eof = DFA75_eof;
this.min = DFA75_min;
this.max = DFA75_max;
this.accept = DFA75_accept;
this.special = DFA75_special;
this.transition = DFA75_transition;

}

override public string Description
{
get { return "667:19: (e= identifierExpression | e= qvalExpression | e= constant | e= initializedComplexType | e= quantifierExpression | T_LPAREN e= expression T_RPAREN ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[e] )? | e= accessExpression[e] )? )"; }
}

}

const string DFA74_eotS =
"\x36\uffff";
const string DFA74_eofS =
"\x36\uffff";
const string DFA74_minS =
"\x01\x05\x35\uffff";
const string DFA74_maxS =
"\x01\x79\x35\uffff";
const string DFA74_acceptS =
"\x01\uffff\x01\x01\x01\x02\x01\uffff\x01\x03\x31\uffff";
const string DFA74_specialS =
"\x36\uffff}>";
static readonly string[] DFA74_transitionS = {
"\x01\x04\x01\uffff\x01\x04\x01\uffff\x03\x04\x01\x02\x01\x04"+
"\x01\uffff\x01\x02\x01\uffff\x01\x04\x01\uffff\x01\x04\x03\uffff"+
"\x01\x04\x08\uffff\x01\x04\x02\uffff\x03\x04\x04\uffff\x02\x04"+
"\x03\uffff\x03\x04\x07\uffff\x09\x04\x01\uffff\x11\x04\x01\x01"+
"\x01\uffff\x02\x04\x07\uffff\x02\x04\x15\uffff\x01\x04\x02\uffff"+
"\x01\x04",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA74_eot = DFA.UnpackEncodedString(DFA74_eotS);
static readonly short[] DFA74_eof = DFA.UnpackEncodedString(DFA74_eofS);
static readonly char[] DFA74_min = DFA.UnpackEncodedStringToUnsignedChars(DFA74_minS);
static readonly char[] DFA74_max = DFA.UnpackEncodedStringToUnsignedChars(DFA74_maxS);
static readonly short[] DFA74_accept = DFA.UnpackEncodedString(DFA74_acceptS);
static readonly short[] DFA74_special = DFA.UnpackEncodedString(DFA74_specialS);
static readonly short[][] DFA74_transition = DFA.UnpackEncodedStringArray(DFA74_transitionS);

protected class DFA74 : DFA
{
public DFA74(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 74;
this.eot = DFA74_eot;
this.eof = DFA74_eof;
this.min = DFA74_min;
this.max = DFA74_max;
this.accept = DFA74_accept;
this.special = DFA74_special;
this.transition = DFA74_transition;

}

override public string Description
{
get { return "674:8: ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[e] )? | e= accessExpression[e] )?"; }
}

}

const string DFA72_eotS =
"\x36\uffff";
const string DFA72_eofS =
"\x36\uffff";
const string DFA72_minS =
"\x01\x05\x35\uffff";
const string DFA72_maxS =
"\x01\x79\x35\uffff";
const string DFA72_acceptS =
"\x01\uffff\x01\x02\x33\uffff\x01\x01";
const string DFA72_specialS =
"\x36\uffff}>";
static readonly string[] DFA72_transitionS = {
"\x01\x01\x01\uffff\x01\x01\x01\uffff\x05\x01\x01\uffff\x01"+
"\x01\x01\uffff\x01\x01\x01\uffff\x01\x01\x03\uffff\x01\x01\x08"+
"\uffff\x01\x01\x02\uffff\x03\x01\x04\uffff\x02\x01\x03\uffff"+
"\x03\x01\x07\uffff\x09\x01\x01\uffff\x11\x01\x01\x35\x01\uffff"+
"\x02\x01\x07\uffff\x02\x01\x15\uffff\x01\x01\x02\uffff\x01\x01",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA72_eot = DFA.UnpackEncodedString(DFA72_eotS);
static readonly short[] DFA72_eof = DFA.UnpackEncodedString(DFA72_eofS);
static readonly char[] DFA72_min = DFA.UnpackEncodedStringToUnsignedChars(DFA72_minS);
static readonly char[] DFA72_max = DFA.UnpackEncodedStringToUnsignedChars(DFA72_maxS);
static readonly short[] DFA72_accept = DFA.UnpackEncodedString(DFA72_acceptS);
static readonly short[] DFA72_special = DFA.UnpackEncodedString(DFA72_specialS);
static readonly short[][] DFA72_transition = DFA.UnpackEncodedStringArray(DFA72_transitionS);

protected class DFA72 : DFA
{
public DFA72(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 72;
this.eot = DFA72_eot;
this.eof = DFA72_eof;
this.min = DFA72_min;
this.max = DFA72_max;
this.accept = DFA72_accept;
this.special = DFA72_special;
this.transition = DFA72_transition;

}

override public string Description
{
get { return "()+ loopback of 675:6: ( T_POINT idn= T_IDENTIFIER )+"; }
}

}

const string DFA73_eotS =
"\x35\uffff";
const string DFA73_eofS =
"\x35\uffff";
const string DFA73_minS =
"\x01\x05\x34\uffff";
const string DFA73_maxS =
"\x01\x79\x34\uffff";
const string DFA73_acceptS =
"\x01\uffff\x01\x01\x01\uffff\x01\x02\x31\uffff";
const string DFA73_specialS =
"\x35\uffff}>";
static readonly string[] DFA73_transitionS = {
"\x01\x03\x01\uffff\x01\x03\x01\uffff\x03\x03\x01\x01\x01\x03"+
"\x01\uffff\x01\x01\x01\uffff\x01\x03\x01\uffff\x01\x03\x03\uffff"+
"\x01\x03\x08\uffff\x01\x03\x02\uffff\x03\x03\x04\uffff\x02\x03"+
"\x03\uffff\x03\x03\x07\uffff\x09\x03\x01\uffff\x11\x03\x02\uffff"+
"\x02\x03\x07\uffff\x02\x03\x15\uffff\x01\x03\x02\uffff\x01\x03",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA73_eot = DFA.UnpackEncodedString(DFA73_eotS);
static readonly short[] DFA73_eof = DFA.UnpackEncodedString(DFA73_eofS);
static readonly char[] DFA73_min = DFA.UnpackEncodedStringToUnsignedChars(DFA73_minS);
static readonly char[] DFA73_max = DFA.UnpackEncodedStringToUnsignedChars(DFA73_maxS);
static readonly short[] DFA73_accept = DFA.UnpackEncodedString(DFA73_acceptS);
static readonly short[] DFA73_special = DFA.UnpackEncodedString(DFA73_specialS);
static readonly short[][] DFA73_transition = DFA.UnpackEncodedStringArray(DFA73_transitionS);

protected class DFA73 : DFA
{
public DFA73(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 73;
this.eot = DFA73_eot;
this.eof = DFA73_eof;
this.min = DFA73_min;
this.max = DFA73_max;
this.accept = DFA73_accept;
this.special = DFA73_special;
this.transition = DFA73_transition;

}

override public string Description
{
get { return "678:8: (res= accessExpression[e] )?"; }
}

}

const string DFA76_eotS =
"\x33\uffff";
const string DFA76_eofS =
"\x33\uffff";
const string DFA76_minS =
"\x01\x05\x32\uffff";
const string DFA76_maxS =
"\x01\x79\x32\uffff";
const string DFA76_acceptS =
"\x01\uffff\x01\x01\x01\x02\x30\uffff";
const string DFA76_specialS =
"\x33\uffff}>";
static readonly string[] DFA76_transitionS = {
"\x01\x02\x01\uffff\x01\x02\x01\uffff\x03\x02\x01\uffff\x01"+
"\x02\x03\uffff\x01\x02\x01\uffff\x01\x02\x03\uffff\x01\x02\x08"+
"\uffff\x01\x02\x02\uffff\x03\x02\x04\uffff\x02\x02\x03\uffff"+
"\x03\x02\x07\uffff\x09\x02\x01\uffff\x11\x02\x02\uffff\x02\x02"+
"\x07\uffff\x02\x02\x15\uffff\x01\x02\x02\uffff\x01\x01",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA76_eot = DFA.UnpackEncodedString(DFA76_eotS);
static readonly short[] DFA76_eof = DFA.UnpackEncodedString(DFA76_eofS);
static readonly char[] DFA76_min = DFA.UnpackEncodedStringToUnsignedChars(DFA76_minS);
static readonly char[] DFA76_max = DFA.UnpackEncodedStringToUnsignedChars(DFA76_maxS);
static readonly short[] DFA76_accept = DFA.UnpackEncodedString(DFA76_acceptS);
static readonly short[] DFA76_special = DFA.UnpackEncodedString(DFA76_specialS);
static readonly short[][] DFA76_transition = DFA.UnpackEncodedStringArray(DFA76_transitionS);

protected class DFA76 : DFA
{
public DFA76(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 76;
this.eot = DFA76_eot;
this.eof = DFA76_eof;
this.min = DFA76_min;
this.max = DFA76_max;
this.accept = DFA76_accept;
this.special = DFA76_special;
this.transition = DFA76_transition;

}

override public string Description
{
get { return "682:5: ( 'as' cid= T_IDENTIFIER )?"; }
}

}

const string DFA86_eotS =
"\x21\uffff";
const string DFA86_eofS =
"\x21\uffff";
const string DFA86_minS =
"\x01\x1f\x01\x08\x1f\uffff";
const string DFA86_maxS =
"\x01\x1f\x01\x7a\x1f\uffff";
const string DFA86_acceptS =
"\x02\uffff\x01\x01\x01\x02\x1d\uffff";
const string DFA86_specialS =
"\x21\uffff}>";
static readonly string[] DFA86_transitionS = {
"\x01\x01",
"\x01\x03\x03\uffff\x01\x03\x02\uffff\x02\x03\x06\uffff\x01"+
"\x03\x05\uffff\x01\x03\x01\uffff\x01\x03\x17\uffff\x01\x03\x0b"+
"\uffff\x01\x03\x11\uffff\x01\x03\x02\uffff\x07\x03\x01\uffff"+
"\x01\x02\x01\uffff\x0d\x03\x0b\uffff\x01\x03",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA86_eot = DFA.UnpackEncodedString(DFA86_eotS);
static readonly short[] DFA86_eof = DFA.UnpackEncodedString(DFA86_eofS);
static readonly char[] DFA86_min = DFA.UnpackEncodedStringToUnsignedChars(DFA86_minS);
static readonly char[] DFA86_max = DFA.UnpackEncodedStringToUnsignedChars(DFA86_maxS);
static readonly short[] DFA86_accept = DFA.UnpackEncodedString(DFA86_acceptS);
static readonly short[] DFA86_special = DFA.UnpackEncodedString(DFA86_specialS);
static readonly short[][] DFA86_transition = DFA.UnpackEncodedStringArray(DFA86_transitionS);

protected class DFA86 : DFA
{
public DFA86(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 86;
this.eot = DFA86_eot;
this.eof = DFA86_eof;
this.min = DFA86_min;
this.max = DFA86_max;
this.accept = DFA86_accept;
this.special = DFA86_special;
this.transition = DFA86_transition;

}

override public string Description
{
get { return "759:1: initializedSetType returns [Expression result] : ( T_CBRL T_MAPS T_CBRR | res= initializedSet );"; }
}

}

const string DFA99_eotS =
"\x3c\uffff";
const string DFA99_eofS =
"\x3c\uffff";
const string DFA99_minS =
"\x01\x08\x01\x05\x01\uffff\x01\x00\x38\uffff";
const string DFA99_maxS =
"\x01\x37\x01\x7e\x01\uffff\x01\x00\x38\uffff";
const string DFA99_acceptS =
"\x02\uffff\x01\x02\x38\uffff\x01\x01";
const string DFA99_specialS =
"\x03\uffff\x01\x00\x38\uffff}>";
static readonly string[] DFA99_transitionS = {
"\x01\x01\x2e\uffff\x01\x02",
"\x01\x02\x01\uffff\x01\x02\x01\uffff\x03\x02\x01\x03\x01\x02"+
"\x01\uffff\x01\x02\x01\uffff\x01\x02\x01\uffff\x01\x02\x03\uffff"+
"\x01\x02\x08\uffff\x01\x02\x02\uffff\x03\x02\x04\uffff\x02\x02"+
"\x03\uffff\x05\x02\x05\uffff\x09\x02\x01\uffff\x12\x02\x01\uffff"+
"\x02\x02\x07\uffff\x03\x02\x14\uffff\x01\x02\x02\uffff\x01\x02"+
"\x04\uffff\x01\x02",
"",
"\x01\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA99_eot = DFA.UnpackEncodedString(DFA99_eotS);
static readonly short[] DFA99_eof = DFA.UnpackEncodedString(DFA99_eofS);
static readonly char[] DFA99_min = DFA.UnpackEncodedStringToUnsignedChars(DFA99_minS);
static readonly char[] DFA99_max = DFA.UnpackEncodedStringToUnsignedChars(DFA99_maxS);
static readonly short[] DFA99_accept = DFA.UnpackEncodedString(DFA99_acceptS);
static readonly short[] DFA99_special = DFA.UnpackEncodedString(DFA99_specialS);
static readonly short[][] DFA99_transition = DFA.UnpackEncodedStringArray(DFA99_transitionS);

protected class DFA99 : DFA
{
public DFA99(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 99;
this.eot = DFA99_eot;
this.eof = DFA99_eof;
this.min = DFA99_min;
this.max = DFA99_max;
this.accept = DFA99_accept;
this.special = DFA99_special;
this.transition = DFA99_transition;

}

override public string Description
{
get { return "853:1: identifierExpression returns [Expression result] : ({...}?aName= T_IDENTIFIER T_LPAREN m_params= methodCallParams T_RPAREN | res= reference );"; }
}

}


protected internal int DFA99_SpecialStateTransition(DFA dfa, int s, IIntStream _input) //throws NoViableAltException
{
ITokenStream input = (ITokenStream)_input;
int _s = s;
switch ( s )
{
case 0 :
int LA99_3 = input.LA(1);

int index99_3 = input.Index();
input.Rewind();
s = -1;
if ( ((isTuple(input.LT(1).Text))) ) { s = 59; }

else if ( ((!isTuple(input.LT(1).Text))) ) { s = 2; }

input.Seek(index99_3);
if ( s >= 0 ) return s;
break;
}
NoViableAltException nvae99 =
new NoViableAltException(dfa.Description, 99, _s, input);
dfa.Error(nvae99);
throw nvae99;
}
const string DFA100_eotS =
"\x39\uffff";
const string DFA100_eofS =
"\x39\uffff";
const string DFA100_minS =
"\x01\x05\x38\uffff";
const string DFA100_maxS =
"\x01\x7e\x38\uffff";
const string DFA100_acceptS =
"\x01\uffff\x01\x01\x01\uffff\x01\x02\x35\uffff";
const string DFA100_specialS =
"\x39\uffff}>";
static readonly string[] DFA100_transitionS = {
"\x01\x03\x01\uffff\x01\x03\x01\uffff\x03\x03\x01\x01\x01\x03"+
"\x01\uffff\x01\x01\x01\uffff\x01\x03\x01\uffff\x01\x03\x03\uffff"+
"\x01\x03\x08\uffff\x01\x03\x02\uffff\x03\x03\x04\uffff\x02\x03"+
"\x03\uffff\x05\x03\x04\uffff\x0a\x03\x01\uffff\x11\x03\x02\uffff"+
"\x02\x03\x07\uffff\x03\x03\x14\uffff\x01\x03\x02\uffff\x01\x03"+
"\x04\uffff\x01\x03",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA100_eot = DFA.UnpackEncodedString(DFA100_eotS);
static readonly short[] DFA100_eof = DFA.UnpackEncodedString(DFA100_eofS);
static readonly char[] DFA100_min = DFA.UnpackEncodedStringToUnsignedChars(DFA100_minS);
static readonly char[] DFA100_max = DFA.UnpackEncodedStringToUnsignedChars(DFA100_maxS);
static readonly short[] DFA100_accept = DFA.UnpackEncodedString(DFA100_acceptS);
static readonly short[] DFA100_special = DFA.UnpackEncodedString(DFA100_specialS);
static readonly short[][] DFA100_transition = DFA.UnpackEncodedStringArray(DFA100_transitionS);

protected class DFA100 : DFA
{
public DFA100(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 100;
this.eot = DFA100_eot;
this.eof = DFA100_eof;
this.min = DFA100_min;
this.max = DFA100_max;
this.accept = DFA100_accept;
this.special = DFA100_special;
this.transition = DFA100_transition;

}

override public string Description
{
get { return "873:3: (output= accessExpression[result] | )"; }
}

}

const string DFA102_eotS =
"\x37\uffff";
const string DFA102_eofS =
"\x37\uffff";
const string DFA102_minS =
"\x01\x05\x36\uffff";
const string DFA102_maxS =
"\x01\x7e\x36\uffff";
const string DFA102_acceptS =
"\x01\uffff\x01\x01\x01\x02\x01\uffff\x01\x03\x32\uffff";
const string DFA102_specialS =
"\x37\uffff}>";
static readonly string[] DFA102_transitionS = {
"\x01\x04\x01\uffff\x01\x04\x01\uffff\x03\x04\x01\uffff\x01"+
"\x04\x03\uffff\x01\x04\x01\uffff\x01\x04\x03\uffff\x01\x04\x08"+
"\uffff\x01\x04\x02\uffff\x03\x04\x04\uffff\x02\x04\x03\uffff"+
"\x03\x04\x02\x02\x04\uffff\x0a\x04\x01\uffff\x11\x04\x02\uffff"+
"\x02\x04\x07\uffff\x02\x04\x01\x01\x14\uffff\x01\x04\x02\uffff"+
"\x01\x04\x04\uffff\x01\x02",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA102_eot = DFA.UnpackEncodedString(DFA102_eotS);
static readonly short[] DFA102_eof = DFA.UnpackEncodedString(DFA102_eofS);
static readonly char[] DFA102_min = DFA.UnpackEncodedStringToUnsignedChars(DFA102_minS);
static readonly char[] DFA102_max = DFA.UnpackEncodedStringToUnsignedChars(DFA102_maxS);
static readonly short[] DFA102_accept = DFA.UnpackEncodedString(DFA102_acceptS);
static readonly short[] DFA102_special = DFA.UnpackEncodedString(DFA102_specialS);
static readonly short[][] DFA102_transition = DFA.UnpackEncodedStringArray(DFA102_transitionS);

protected class DFA102 : DFA
{
public DFA102(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 102;
this.eot = DFA102_eot;
this.eof = DFA102_eof;
this.min = DFA102_min;
this.max = DFA102_max;
this.accept = DFA102_accept;
this.special = DFA102_special;
this.transition = DFA102_transition;

}

override public string Description
{
get { return "877:3: (pr= T_PRIMED | ( '::' T_LPAREN init= expression T_RPAREN )? afold= ( T_FOLDLR | T_FOLDRL ) T_LPAREN anexpr= expression T_RPAREN )?"; }
}

}

const string DFA103_eotS =
"\x3a\uffff";
const string DFA103_eofS =
"\x3a\uffff";
const string DFA103_minS =
"\x01\x05\x39\uffff";
const string DFA103_maxS =
"\x01\x7e\x39\uffff";
const string DFA103_acceptS =
"\x01\uffff\x01\x03\x36\uffff\x01\x01\x01\x02";
const string DFA103_specialS =
"\x3a\uffff}>";
static readonly string[] DFA103_transitionS = {
"\x01\x01\x01\uffff\x01\x01\x01\uffff\x03\x01\x01\x39\x01\x01"+
"\x01\uffff\x01\x38\x01\uffff\x01\x01\x01\uffff\x01\x01\x03\uffff"+
"\x01\x01\x08\uffff\x01\x01\x02\uffff\x03\x01\x04\uffff\x02\x01"+
"\x03\uffff\x05\x01\x04\uffff\x0a\x01\x01\uffff\x12\x01\x01\uffff"+
"\x02\x01\x07\uffff\x03\x01\x14\uffff\x01\x01\x02\uffff\x01\x01"+
"\x04\uffff\x01\x01",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA103_eot = DFA.UnpackEncodedString(DFA103_eotS);
static readonly short[] DFA103_eof = DFA.UnpackEncodedString(DFA103_eofS);
static readonly char[] DFA103_min = DFA.UnpackEncodedStringToUnsignedChars(DFA103_minS);
static readonly char[] DFA103_max = DFA.UnpackEncodedStringToUnsignedChars(DFA103_maxS);
static readonly short[] DFA103_accept = DFA.UnpackEncodedString(DFA103_acceptS);
static readonly short[] DFA103_special = DFA.UnpackEncodedString(DFA103_specialS);
static readonly short[][] DFA103_transition = DFA.UnpackEncodedStringArray(DFA103_transitionS);

protected class DFA103 : DFA
{
public DFA103(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 103;
this.eot = DFA103_eot;
this.eof = DFA103_eof;
this.min = DFA103_min;
this.max = DFA103_max;
this.accept = DFA103_accept;
this.special = DFA103_special;
this.transition = DFA103_transition;

}

override public string Description
{
get { return "()+ loopback of 891:7: (tcall= T_LSQPAREN ac= expression T_RSQPAREN | bcall= T_LPAREN m_params= methodCallParams T_RPAREN )+"; }
}

}

const string DFA106_eotS =
"\x38\uffff";
const string DFA106_eofS =
"\x38\uffff";
const string DFA106_minS =
"\x01\x05\x37\uffff";
const string DFA106_maxS =
"\x01\x7e\x37\uffff";
const string DFA106_acceptS =
"\x01\uffff\x01\x01\x01\x02\x35\uffff";
const string DFA106_specialS =
"\x38\uffff}>";
static readonly string[] DFA106_transitionS = {
"\x01\x02\x01\uffff\x01\x02\x01\uffff\x03\x02\x01\uffff\x01"+
"\x02\x03\uffff\x01\x02\x01\uffff\x01\x02\x03\uffff\x01\x02\x08"+
"\uffff\x01\x02\x02\uffff\x03\x02\x04\uffff\x02\x02\x03\uffff"+
"\x05\x02\x04\uffff\x0a\x02\x01\uffff\x11\x02\x01\x01\x01\uffff"+
"\x02\x02\x07\uffff\x03\x02\x14\uffff\x01\x02\x02\uffff\x01\x02"+
"\x04\uffff\x01\x02",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA106_eot = DFA.UnpackEncodedString(DFA106_eotS);
static readonly short[] DFA106_eof = DFA.UnpackEncodedString(DFA106_eofS);
static readonly char[] DFA106_min = DFA.UnpackEncodedStringToUnsignedChars(DFA106_minS);
static readonly char[] DFA106_max = DFA.UnpackEncodedStringToUnsignedChars(DFA106_maxS);
static readonly short[] DFA106_accept = DFA.UnpackEncodedString(DFA106_acceptS);
static readonly short[] DFA106_special = DFA.UnpackEncodedString(DFA106_specialS);
static readonly short[][] DFA106_transition = DFA.UnpackEncodedStringArray(DFA106_transitionS);

protected class DFA106 : DFA
{
public DFA106(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 106;
this.eot = DFA106_eot;
this.eof = DFA106_eof;
this.min = DFA106_min;
this.max = DFA106_max;
this.accept = DFA106_accept;
this.special = DFA106_special;
this.transition = DFA106_transition;

}

override public string Description
{
get { return "896:3: ( ( T_POINT idn= T_IDENTIFIER )+ (res= accessExpression[result] )? )?"; }
}

}

const string DFA104_eotS =
"\x3a\uffff";
const string DFA104_eofS =
"\x3a\uffff";
const string DFA104_minS =
"\x01\x05\x39\uffff";
const string DFA104_maxS =
"\x01\x7e\x39\uffff";
const string DFA104_acceptS =
"\x01\uffff\x01\x02\x37\uffff\x01\x01";
const string DFA104_specialS =
"\x3a\uffff}>";
static readonly string[] DFA104_transitionS = {
"\x01\x01\x01\uffff\x01\x01\x01\uffff\x05\x01\x01\uffff\x01"+
"\x01\x01\uffff\x01\x01\x01\uffff\x01\x01\x03\uffff\x01\x01\x08"+
"\uffff\x01\x01\x02\uffff\x03\x01\x04\uffff\x02\x01\x03\uffff"+
"\x05\x01\x04\uffff\x0a\x01\x01\uffff\x11\x01\x01\x39\x01\uffff"+
"\x02\x01\x07\uffff\x03\x01\x14\uffff\x01\x01\x02\uffff\x01\x01"+
"\x04\uffff\x01\x01",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA104_eot = DFA.UnpackEncodedString(DFA104_eotS);
static readonly short[] DFA104_eof = DFA.UnpackEncodedString(DFA104_eofS);
static readonly char[] DFA104_min = DFA.UnpackEncodedStringToUnsignedChars(DFA104_minS);
static readonly char[] DFA104_max = DFA.UnpackEncodedStringToUnsignedChars(DFA104_maxS);
static readonly short[] DFA104_accept = DFA.UnpackEncodedString(DFA104_acceptS);
static readonly short[] DFA104_special = DFA.UnpackEncodedString(DFA104_specialS);
static readonly short[][] DFA104_transition = DFA.UnpackEncodedStringArray(DFA104_transitionS);

protected class DFA104 : DFA
{
public DFA104(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 104;
this.eot = DFA104_eot;
this.eof = DFA104_eof;
this.min = DFA104_min;
this.max = DFA104_max;
this.accept = DFA104_accept;
this.special = DFA104_special;
this.transition = DFA104_transition;

}

override public string Description
{
get { return "()+ loopback of 897:4: ( T_POINT idn= T_IDENTIFIER )+"; }
}

}

const string DFA105_eotS =
"\x39\uffff";
const string DFA105_eofS =
"\x39\uffff";
const string DFA105_minS =
"\x01\x05\x38\uffff";
const string DFA105_maxS =
"\x01\x7e\x38\uffff";
const string DFA105_acceptS =
"\x01\uffff\x01\x01\x01\uffff\x01\x02\x35\uffff";
const string DFA105_specialS =
"\x39\uffff}>";
static readonly string[] DFA105_transitionS = {
"\x01\x03\x01\uffff\x01\x03\x01\uffff\x03\x03\x01\x01\x01\x03"+
"\x01\uffff\x01\x01\x01\uffff\x01\x03\x01\uffff\x01\x03\x03\uffff"+
"\x01\x03\x08\uffff\x01\x03\x02\uffff\x03\x03\x04\uffff\x02\x03"+
"\x03\uffff\x05\x03\x04\uffff\x0a\x03\x01\uffff\x11\x03\x02\uffff"+
"\x02\x03\x07\uffff\x03\x03\x14\uffff\x01\x03\x02\uffff\x01\x03"+
"\x04\uffff\x01\x03",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA105_eot = DFA.UnpackEncodedString(DFA105_eotS);
static readonly short[] DFA105_eof = DFA.UnpackEncodedString(DFA105_eofS);
static readonly char[] DFA105_min = DFA.UnpackEncodedStringToUnsignedChars(DFA105_minS);
static readonly char[] DFA105_max = DFA.UnpackEncodedStringToUnsignedChars(DFA105_maxS);
static readonly short[] DFA105_accept = DFA.UnpackEncodedString(DFA105_acceptS);
static readonly short[] DFA105_special = DFA.UnpackEncodedString(DFA105_specialS);
static readonly short[][] DFA105_transition = DFA.UnpackEncodedStringArray(DFA105_transitionS);

protected class DFA105 : DFA
{
public DFA105(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 105;
this.eot = DFA105_eot;
this.eof = DFA105_eof;
this.min = DFA105_min;
this.max = DFA105_max;
this.accept = DFA105_accept;
this.special = DFA105_special;
this.transition = DFA105_transition;

}

override public string Description
{
get { return "900:4: (res= accessExpression[result] )?"; }
}

}

const string DFA108_eotS =
"\x3b\uffff";
const string DFA108_eofS =
"\x3b\uffff";
const string DFA108_minS =
"\x01\x05\x3a\uffff";
const string DFA108_maxS =
"\x01\x7e\x3a\uffff";
const string DFA108_acceptS =
"\x01\uffff\x01\x02\x38\uffff\x01\x01";
const string DFA108_specialS =
"\x3b\uffff}>";
static readonly string[] DFA108_transitionS = {
"\x01\x01\x01\uffff\x01\x01\x01\uffff\x05\x01\x01\uffff\x01"+
"\x01\x01\uffff\x01\x01\x01\uffff\x01\x01\x03\uffff\x01\x01\x03"+
"\uffff\x01\x01\x04\uffff\x01\x01\x02\uffff\x03\x01\x04\uffff"+
"\x02\x01\x03\uffff\x05\x01\x04\uffff\x0a\x01\x01\uffff\x11\x01"+
"\x01\x3a\x01\uffff\x02\x01\x07\uffff\x03\x01\x14\uffff\x01\x01"+
"\x02\uffff\x01\x01\x04\uffff\x01\x01",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA108_eot = DFA.UnpackEncodedString(DFA108_eotS);
static readonly short[] DFA108_eof = DFA.UnpackEncodedString(DFA108_eofS);
static readonly char[] DFA108_min = DFA.UnpackEncodedStringToUnsignedChars(DFA108_minS);
static readonly char[] DFA108_max = DFA.UnpackEncodedStringToUnsignedChars(DFA108_maxS);
static readonly short[] DFA108_accept = DFA.UnpackEncodedString(DFA108_acceptS);
static readonly short[] DFA108_special = DFA.UnpackEncodedString(DFA108_specialS);
static readonly short[][] DFA108_transition = DFA.UnpackEncodedStringArray(DFA108_transitionS);

protected class DFA108 : DFA
{
public DFA108(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 108;
this.eot = DFA108_eot;
this.eof = DFA108_eof;
this.min = DFA108_min;
this.max = DFA108_max;
this.accept = DFA108_accept;
this.special = DFA108_special;
this.transition = DFA108_transition;

}

override public string Description
{
get { return "()* loopback of 913:3: ( T_POINT idd= T_IDENTIFIER )*"; }
}

}

const string DFA110_eotS =
"\x20\uffff";
const string DFA110_eofS =
"\x20\uffff";
const string DFA110_minS =
"\x01\x08\x1f\uffff";
const string DFA110_maxS =
"\x01\x7a\x1f\uffff";
const string DFA110_acceptS =
"\x01\uffff\x01\x01\x1d\uffff\x01\x02";
const string DFA110_specialS =
"\x20\uffff}>";
static readonly string[] DFA110_transitionS = {
"\x01\x01\x03\uffff\x01\x01\x01\x1f\x01\uffff\x02\x01\x06\uffff"+
"\x01\x01\x05\uffff\x01\x01\x01\uffff\x01\x01\x17\uffff\x01\x01"+
"\x0b\uffff\x01\x01\x11\uffff\x01\x01\x02\uffff\x07\x01\x03\uffff"+
"\x0d\x01\x0b\uffff\x01\x01",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA110_eot = DFA.UnpackEncodedString(DFA110_eotS);
static readonly short[] DFA110_eof = DFA.UnpackEncodedString(DFA110_eofS);
static readonly char[] DFA110_min = DFA.UnpackEncodedStringToUnsignedChars(DFA110_minS);
static readonly char[] DFA110_max = DFA.UnpackEncodedStringToUnsignedChars(DFA110_maxS);
static readonly short[] DFA110_accept = DFA.UnpackEncodedString(DFA110_acceptS);
static readonly short[] DFA110_special = DFA.UnpackEncodedString(DFA110_specialS);
static readonly short[][] DFA110_transition = DFA.UnpackEncodedStringArray(DFA110_transitionS);

protected class DFA110 : DFA
{
public DFA110(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 110;
this.eot = DFA110_eot;
this.eof = DFA110_eof;
this.min = DFA110_min;
this.max = DFA110_max;
this.accept = DFA110_accept;
this.special = DFA110_special;
this.transition = DFA110_transition;

}

override public string Description
{
get { return "922:4: (expa= expression ( T_COMMA expb= expression )* )?"; }
}

}

const string DFA111_eotS =
"\x10\uffff";
const string DFA111_eofS =
"\x10\uffff";
const string DFA111_minS =
"\x01\x17\x0f\uffff";
const string DFA111_maxS =
"\x01\x6e\x0f\uffff";
const string DFA111_acceptS =
"\x01\uffff\x01\x01\x08\uffff\x01\x02\x02\uffff\x01\x03\x01\x04"+
"\x01\x05";
const string DFA111_specialS =
"\x10\uffff}>";
static readonly string[] DFA111_transitionS = {
"\x01\x0d\x2b\uffff\x01\x0e\x1e\uffff\x01\x0f\x09\x01\x03\x0a",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA111_eot = DFA.UnpackEncodedString(DFA111_eotS);
static readonly short[] DFA111_eof = DFA.UnpackEncodedString(DFA111_eofS);
static readonly char[] DFA111_min = DFA.UnpackEncodedStringToUnsignedChars(DFA111_minS);
static readonly char[] DFA111_max = DFA.UnpackEncodedStringToUnsignedChars(DFA111_maxS);
static readonly short[] DFA111_accept = DFA.UnpackEncodedString(DFA111_acceptS);
static readonly short[] DFA111_special = DFA.UnpackEncodedString(DFA111_specialS);
static readonly short[][] DFA111_transition = DFA.UnpackEncodedStringArray(DFA111_transitionS);

protected class DFA111 : DFA
{
public DFA111(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 111;
this.eot = DFA111_eot;
this.eof = DFA111_eof;
this.min = DFA111_min;
this.max = DFA111_max;
this.accept = DFA111_accept;
this.special = DFA111_special;
this.transition = DFA111_transition;

}

override public string Description
{
get { return "932:1: op_un returns [UnaryOperator expr] : (r= op_un_set_list | r2= op_un_map | T_MINUS | T_NOT | T_ABS );"; }
}

}

const string DFA112_eotS =
"\x0a\uffff";
const string DFA112_eofS =
"\x0a\uffff";
const string DFA112_minS =
"\x01\x63\x09\uffff";
const string DFA112_maxS =
"\x01\x6b\x09\uffff";
const string DFA112_acceptS =
"\x01\uffff\x01\x01\x01\x02\x01\x03\x01\x04\x01\x05\x01\x06\x01"+
"\x07\x01\x08\x01\x09";
const string DFA112_specialS =
"\x0a\uffff}>";
static readonly string[] DFA112_transitionS = {
"\x01\x01\x01\x02\x01\x03\x01\x04\x01\x05\x01\x06\x01\x07\x01"+
"\x08\x01\x09",
"",
"",
"",
"",
"",
"",
"",
"",
""
};

static readonly short[] DFA112_eot = DFA.UnpackEncodedString(DFA112_eotS);
static readonly short[] DFA112_eof = DFA.UnpackEncodedString(DFA112_eofS);
static readonly char[] DFA112_min = DFA.UnpackEncodedStringToUnsignedChars(DFA112_minS);
static readonly char[] DFA112_max = DFA.UnpackEncodedStringToUnsignedChars(DFA112_maxS);
static readonly short[] DFA112_accept = DFA.UnpackEncodedString(DFA112_acceptS);
static readonly short[] DFA112_special = DFA.UnpackEncodedString(DFA112_specialS);
static readonly short[][] DFA112_transition = DFA.UnpackEncodedStringArray(DFA112_transitionS);

protected class DFA112 : DFA
{
public DFA112(BaseRecognizer recognizer)
{
this.recognizer = recognizer;
this.decisionNumber = 112;
this.eot = DFA112_eot;
this.eof = DFA112_eof;
this.min = DFA112_min;
this.max = DFA112_max;
this.accept = DFA112_accept;
this.special = DFA112_special;
this.transition = DFA112_transition;

}

override public string Description
{
get { return "945:1: op_un_set_list returns [UnaryOperator expr] : ( T_CARD | T_DCONC | T_DINTER | T_DUNION | T_ELEMS | T_HEAD | T_INDS | T_LEN | T_TAIL );"; }
}

}


public static readonly BitSet FOLLOW_T_CONSTS_in_ooActionSystems93 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_namedConstList_in_ooActionSystems95 = new BitSet(new ulong[]{0x0000000000000020UL});
public static readonly BitSet FOLLOW_T_TYPES_in_ooActionSystems105 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_namedTypeList_in_ooActionSystems113 = new BitSet(new ulong[]{0x0000000000000040UL});
public static readonly BitSet FOLLOW_T_SYSTEM_in_ooActionSystems118 = new BitSet(new ulong[]{0x0000000000001100UL});
public static readonly BitSet FOLLOW_asTypeComposition_in_ooActionSystems125 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_namedConst_in_namedConstList148 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_SEMICOLON_in_namedConstList151 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_namedConst_in_namedConstList153 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_namedConst169 = new BitSet(new ulong[]{0x0000000000000200UL});
public static readonly BitSet FOLLOW_T_EQUAL_in_namedConst173 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_namedConst179 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_namedType_in_namedTypeList199 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_SEMICOLON_in_namedTypeList202 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_namedType_in_namedTypeList204 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_namedType220 = new BitSet(new ulong[]{0x0000000000000200UL});
public static readonly BitSet FOLLOW_T_EQUAL_in_namedType225 = new BitSet(new ulong[]{0x00000002D650D140UL});
public static readonly BitSet FOLLOW_complexType_in_namedType237 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_ooActionSystem_in_namedType249 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_asTypeCompositionParallel_in_asTypeComposition285 = new BitSet(new ulong[]{0x0000000000000402UL});
public static readonly BitSet FOLLOW_T_PRIO_in_asTypeComposition290 = new BitSet(new ulong[]{0x0000000000001100UL});
public static readonly BitSet FOLLOW_asTypeCompositionParallel_in_asTypeComposition292 = new BitSet(new ulong[]{0x0000000000000402UL});
public static readonly BitSet FOLLOW_asTypeCompositionSequential_in_asTypeCompositionParallel315 = new BitSet(new ulong[]{0x0000000000000802UL});
public static readonly BitSet FOLLOW_T_NONDET_in_asTypeCompositionParallel319 = new BitSet(new ulong[]{0x0000000000001100UL});
public static readonly BitSet FOLLOW_asTypeCompositionSequential_in_asTypeCompositionParallel321 = new BitSet(new ulong[]{0x0000000000000802UL});
public static readonly BitSet FOLLOW_asTypeCompositionBlockParen_in_asTypeCompositionSequential343 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_asTypeCompositionBlockParen358 = new BitSet(new ulong[]{0x0000000000001100UL});
public static readonly BitSet FOLLOW_asTypeComposition_in_asTypeCompositionBlockParen360 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_asTypeCompositionBlockParen363 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_asTypeCompositionBlockParen370 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_LIST_in_complexType401 = new BitSet(new ulong[]{0x0000000000008000UL});
public static readonly BitSet FOLLOW_T_LSQPAREN_in_complexType404 = new BitSet(new ulong[]{0x0000000000010100UL});
public static readonly BitSet FOLLOW_set_in_complexType408 = new BitSet(new ulong[]{0x0000000000020000UL});
public static readonly BitSet FOLLOW_T_RSQPAREN_in_complexType414 = new BitSet(new ulong[]{0x0000000000040000UL});
public static readonly BitSet FOLLOW_T_OF_in_complexType416 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_complexType421 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_LSQPAREN_in_complexType436 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_complexType440 = new BitSet(new ulong[]{0x00000000000A0000UL});
public static readonly BitSet FOLLOW_T_COMMA_in_complexType449 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_complexType453 = new BitSet(new ulong[]{0x00000000000A0000UL});
public static readonly BitSet FOLLOW_T_RSQPAREN_in_complexType459 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_MAP_in_complexType469 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_T_LSQPAREN_in_complexType474 = new BitSet(new ulong[]{0x0000000000010100UL});
public static readonly BitSet FOLLOW_set_in_complexType478 = new BitSet(new ulong[]{0x0000000000020000UL});
public static readonly BitSet FOLLOW_T_RSQPAREN_in_complexType484 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_simpleType_in_complexType490 = new BitSet(new ulong[]{0x0000000000200000UL});
public static readonly BitSet FOLLOW_T_TO_in_complexType492 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_complexType496 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_QUANTITY_in_complexType510 = new BitSet(new ulong[]{0x0000000000040000UL});
public static readonly BitSet FOLLOW_T_OF_in_complexType512 = new BitSet(new ulong[]{0x0000000000008000UL});
public static readonly BitSet FOLLOW_T_LSQPAREN_in_complexType514 = new BitSet(new ulong[]{0x0000000000800100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_complexType519 = new BitSet(new ulong[]{0x00000000000A0000UL});
public static readonly BitSet FOLLOW_T_MINUS_in_complexType524 = new BitSet(new ulong[]{0x0000000001000000UL});
public static readonly BitSet FOLLOW_T_INFTY_in_complexType526 = new BitSet(new ulong[]{0x00000000000A0000UL});
public static readonly BitSet FOLLOW_T_COMMA_in_complexType536 = new BitSet(new ulong[]{0x0000000001000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_complexType541 = new BitSet(new ulong[]{0x00000000000A0000UL});
public static readonly BitSet FOLLOW_T_INFTY_in_complexType545 = new BitSet(new ulong[]{0x00000000000A0000UL});
public static readonly BitSet FOLLOW_T_RSQPAREN_in_complexType552 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_complexType562 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_complexType566 = new BitSet(new ulong[]{0x0000000000082000UL});
public static readonly BitSet FOLLOW_T_COMMA_in_complexType575 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_complexType579 = new BitSet(new ulong[]{0x0000000000082000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_complexType586 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_simpleType_in_complexType599 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_BOOL_in_simpleType632 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_INT_in_simpleType645 = new BitSet(new ulong[]{0x0000000000008000UL});
public static readonly BitSet FOLLOW_T_LSQPAREN_in_simpleType647 = new BitSet(new ulong[]{0x0000000001010100UL});
public static readonly BitSet FOLLOW_set_in_simpleType651 = new BitSet(new ulong[]{0x0000000008000000UL});
public static readonly BitSet FOLLOW_T_RANGETO_in_simpleType659 = new BitSet(new ulong[]{0x0000000001010100UL});
public static readonly BitSet FOLLOW_set_in_simpleType663 = new BitSet(new ulong[]{0x0000000000020000UL});
public static readonly BitSet FOLLOW_T_RSQPAREN_in_simpleType671 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_FLOAT_in_simpleType690 = new BitSet(new ulong[]{0x0000000000008000UL});
public static readonly BitSet FOLLOW_T_LSQPAREN_in_simpleType693 = new BitSet(new ulong[]{0x0000000021000100UL});
public static readonly BitSet FOLLOW_set_in_simpleType697 = new BitSet(new ulong[]{0x0000000008000000UL});
public static readonly BitSet FOLLOW_T_RANGETO_in_simpleType705 = new BitSet(new ulong[]{0x0000000021000100UL});
public static readonly BitSet FOLLOW_set_in_simpleType709 = new BitSet(new ulong[]{0x0000000000020000UL});
public static readonly BitSet FOLLOW_T_RSQPAREN_in_simpleType717 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_CHAR_in_simpleType735 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_CBRL_in_simpleType751 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_simpleType755 = new BitSet(new ulong[]{0x0000000100080200UL});
public static readonly BitSet FOLLOW_T_EQUAL_in_simpleType758 = new BitSet(new ulong[]{0x0000000000010000UL});
public static readonly BitSet FOLLOW_T_INTNUMBER_in_simpleType762 = new BitSet(new ulong[]{0x0000000100080000UL});
public static readonly BitSet FOLLOW_T_COMMA_in_simpleType773 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_simpleType777 = new BitSet(new ulong[]{0x0000000100080200UL});
public static readonly BitSet FOLLOW_T_EQUAL_in_simpleType780 = new BitSet(new ulong[]{0x0000000000010000UL});
public static readonly BitSet FOLLOW_T_INTNUMBER_in_simpleType784 = new BitSet(new ulong[]{0x0000000100080000UL});
public static readonly BitSet FOLLOW_T_CBRR_in_simpleType792 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_simpleType803 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_AUTOCONS_in_ooActionSystem846 = new BitSet(new ulong[]{0x0000000000000040UL});
public static readonly BitSet FOLLOW_T_SYSTEM_in_ooActionSystem855 = new BitSet(new ulong[]{0x0000000000001000UL,0x0020000000000000UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_ooActionSystem858 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_ooActionSystem862 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_ooActionSystem864 = new BitSet(new ulong[]{0x0000000000000000UL,0x0020000000000000UL});
public static readonly BitSet FOLLOW_117_in_ooActionSystem877 = new BitSet(new ulong[]{0x0000003C00000000UL,0x0040000000000000UL});
public static readonly BitSet FOLLOW_T_VAR_in_ooActionSystem883 = new BitSet(new ulong[]{0x0000038000000100UL});
public static readonly BitSet FOLLOW_attrList_in_ooActionSystem885 = new BitSet(new ulong[]{0x0000003800000000UL,0x0040000000000000UL});
public static readonly BitSet FOLLOW_T_METHODS_in_ooActionSystem893 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_methodList_in_ooActionSystem895 = new BitSet(new ulong[]{0x0000003000000000UL,0x0040000000000000UL});
public static readonly BitSet FOLLOW_T_ACTIONS_in_ooActionSystem903 = new BitSet(new ulong[]{0x0000130000000100UL});
public static readonly BitSet FOLLOW_namedActionList_in_ooActionSystem905 = new BitSet(new ulong[]{0x0000002000000000UL,0x0040000000000000UL});
public static readonly BitSet FOLLOW_T_DO_in_ooActionSystem913 = new BitSet(new ulong[]{0x0010304400001100UL});
public static readonly BitSet FOLLOW_actionBlock_in_ooActionSystem918 = new BitSet(new ulong[]{0x0000004000000000UL});
public static readonly BitSet FOLLOW_T_OD_in_ooActionSystem925 = new BitSet(new ulong[]{0x0000000000000000UL,0x0040000000000000UL});
public static readonly BitSet FOLLOW_118_in_ooActionSystem931 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_attr_in_attrList962 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_SEMICOLON_in_attrList965 = new BitSet(new ulong[]{0x0000038000000100UL});
public static readonly BitSet FOLLOW_attr_in_attrList967 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_STATIC_in_attr992 = new BitSet(new ulong[]{0x0000030000000100UL});
public static readonly BitSet FOLLOW_T_OBS_in_attr999 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_CTRL_in_attr1005 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_attr1016 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_attr1019 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_attr1023 = new BitSet(new ulong[]{0x0000000000000202UL});
public static readonly BitSet FOLLOW_T_EQUAL_in_attr1026 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_attr1030 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_method_in_methodList1052 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_SEMICOLON_in_methodList1055 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_method_in_methodList1057 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_method1079 = new BitSet(new ulong[]{0x0000040000001200UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_method1087 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_methodParameterList_in_method1089 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_method1093 = new BitSet(new ulong[]{0x0000040000000200UL});
public static readonly BitSet FOLLOW_T_COLON_in_method1101 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_method1105 = new BitSet(new ulong[]{0x0000000000000200UL});
public static readonly BitSet FOLLOW_T_EQUAL_in_method1115 = new BitSet(new ulong[]{0x00F0300400001100UL});
public static readonly BitSet FOLLOW_T_VAR_in_method1122 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_localActionVars_in_method1124 = new BitSet(new ulong[]{0x0000000000000000UL,0x0080000000000000UL});
public static readonly BitSet FOLLOW_119_in_method1127 = new BitSet(new ulong[]{0x00F0300400001100UL});
public static readonly BitSet FOLLOW_actionBody_in_method1136 = new BitSet(new ulong[]{0x0000080000000000UL});
public static readonly BitSet FOLLOW_T_END_in_method1144 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_methodParameterList1168 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_methodParameterList1170 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_methodParameterList1174 = new BitSet(new ulong[]{0x0000000000080002UL});
public static readonly BitSet FOLLOW_T_COMMA_in_methodParameterList1182 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_methodParameterList1186 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_methodParameterList1188 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_methodParameterList1192 = new BitSet(new ulong[]{0x0000000000080002UL});
public static readonly BitSet FOLLOW_namedAction_in_namedActionList1219 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_SEMICOLON_in_namedActionList1222 = new BitSet(new ulong[]{0x0000130000000100UL});
public static readonly BitSet FOLLOW_namedAction_in_namedActionList1224 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_CONT_in_namedAction1244 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_namedAction1248 = new BitSet(new ulong[]{0x0000000000001200UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_namedAction1256 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_methodParameterList_in_namedAction1258 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_namedAction1262 = new BitSet(new ulong[]{0x0000000000000200UL});
public static readonly BitSet FOLLOW_T_EQUAL_in_namedAction1269 = new BitSet(new ulong[]{0x0000100000000000UL});
public static readonly BitSet FOLLOW_continuousActionBody_in_namedAction1273 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_CTRL_in_namedAction1288 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_OBS_in_namedAction1293 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_namedAction1305 = new BitSet(new ulong[]{0x0000000000001200UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_namedAction1313 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_methodParameterList_in_namedAction1315 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_namedAction1319 = new BitSet(new ulong[]{0x0000000000000200UL});
public static readonly BitSet FOLLOW_T_EQUAL_in_namedAction1326 = new BitSet(new ulong[]{0x0000300400000000UL});
public static readonly BitSet FOLLOW_T_VAR_in_namedAction1332 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_localActionVars_in_namedAction1334 = new BitSet(new ulong[]{0x0000300000000000UL});
public static readonly BitSet FOLLOW_discreteActionBody_in_namedAction1345 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_localActionVars1377 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_localActionVars1379 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_localActionVars1383 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_SEMICOLON_in_localActionVars1392 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_localActionVars1396 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_localActionVars1398 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_localActionVars1402 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_continuousActionBody_in_anonymousAction1432 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_discreteActionBody_in_anonymousAction1441 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_CONT_in_continuousActionBody1466 = new BitSet(new ulong[]{0x0000200000000000UL});
public static readonly BitSet FOLLOW_T_REQUIRES_in_continuousActionBody1468 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_continuousActionBody1472 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_continuousActionBody1474 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_qualConstraintList_in_continuousActionBody1481 = new BitSet(new ulong[]{0x0000080000000000UL});
public static readonly BitSet FOLLOW_T_END_in_continuousActionBody1486 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_qualConstraint_in_qualConstraintList1514 = new BitSet(new ulong[]{0x0000000000080002UL});
public static readonly BitSet FOLLOW_T_COMMA_in_qualConstraintList1521 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_qualConstraint_in_qualConstraintList1525 = new BitSet(new ulong[]{0x0000000000080002UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_qualConstraint1556 = new BitSet(new ulong[]{0x0000000000000200UL});
public static readonly BitSet FOLLOW_T_EQUAL_in_qualConstraint1558 = new BitSet(new ulong[]{0x0000400000000100UL});
public static readonly BitSet FOLLOW_T_DERIV_in_qualConstraint1565 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_qualConstraint1569 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_qualConstraint1604 = new BitSet(new ulong[]{0x0003800000000002UL});
public static readonly BitSet FOLLOW_T_SUM_in_qualConstraint1635 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_DIFF_in_qualConstraint1652 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_PROD_in_qualConstraint1669 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_qualConstraint1698 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_REQUIRES_in_discreteActionBody1788 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_discreteActionBody1792 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_discreteActionBody1794 = new BitSet(new ulong[]{0x00F0300400001100UL});
public static readonly BitSet FOLLOW_actionBody_in_discreteActionBody1801 = new BitSet(new ulong[]{0x0000080000000000UL});
public static readonly BitSet FOLLOW_T_END_in_discreteActionBody1806 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_actionBlockParallel_in_actionBlock1842 = new BitSet(new ulong[]{0x0000000000000402UL});
public static readonly BitSet FOLLOW_T_PRIO_in_actionBlock1846 = new BitSet(new ulong[]{0x0010300400001100UL});
public static readonly BitSet FOLLOW_actionBlockParallel_in_actionBlock1848 = new BitSet(new ulong[]{0x0000000000000402UL});
public static readonly BitSet FOLLOW_actionBlockSequential_in_actionBlockParallel1873 = new BitSet(new ulong[]{0x0000000000000802UL});
public static readonly BitSet FOLLOW_T_NONDET_in_actionBlockParallel1877 = new BitSet(new ulong[]{0x0010300400001100UL});
public static readonly BitSet FOLLOW_actionBlockSequential_in_actionBlockParallel1879 = new BitSet(new ulong[]{0x0000000000000802UL});
public static readonly BitSet FOLLOW_T_VAR_in_actionBlockSequential1908 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_blockvarlist_in_actionBlockSequential1912 = new BitSet(new ulong[]{0x0000040000000000UL,0x0100000000000000UL});
public static readonly BitSet FOLLOW_120_in_actionBlockSequential1916 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_actionBlockSequential1920 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_actionBlockSequential1927 = new BitSet(new ulong[]{0x0010300400001100UL});
public static readonly BitSet FOLLOW_actionBlockParen_in_actionBlockSequential1936 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_SEMICOLON_in_actionBlockSequential1940 = new BitSet(new ulong[]{0x0010300400001100UL});
public static readonly BitSet FOLLOW_actionBlockParen_in_actionBlockSequential1942 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_actionBlockParen1966 = new BitSet(new ulong[]{0x0010300400001100UL});
public static readonly BitSet FOLLOW_actionBlock_in_actionBlockParen1968 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_actionBlockParen1971 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_anonymousOrNamedAction_in_actionBlockParen1976 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_anonymousAction_in_anonymousOrNamedAction1993 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_anonymousOrNamedAction2002 = new BitSet(new ulong[]{0x000C000000001002UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_anonymousOrNamedAction2016 = new BitSet(new ulong[]{0x00800000A081B100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_methodCallParams_in_anonymousOrNamedAction2021 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_anonymousOrNamedAction2023 = new BitSet(new ulong[]{0x000C000000000002UL});
public static readonly BitSet FOLLOW_set_in_anonymousOrNamedAction2041 = new BitSet(new ulong[]{0x0000000000001000UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_anonymousOrNamedAction2047 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_anonymousOrNamedAction2051 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_anonymousOrNamedAction2053 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_SKIP_in_anonymousOrNamedAction2064 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_blockvar_in_blockvarlist2080 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_SEMICOLON_in_blockvarlist2085 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_blockvar_in_blockvarlist2087 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_blockvar2107 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_blockvar2110 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_blockvar2114 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_actionBodyParallel_in_actionBody2149 = new BitSet(new ulong[]{0x0000000000000402UL});
public static readonly BitSet FOLLOW_T_PRIO_in_actionBody2153 = new BitSet(new ulong[]{0x00F0300400001100UL});
public static readonly BitSet FOLLOW_actionBodyParallel_in_actionBody2155 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_actionBodySequential_in_actionBodyParallel2183 = new BitSet(new ulong[]{0x0000000000000802UL});
public static readonly BitSet FOLLOW_T_NONDET_in_actionBodyParallel2189 = new BitSet(new ulong[]{0x00F0300400001100UL});
public static readonly BitSet FOLLOW_actionBodySequential_in_actionBodyParallel2193 = new BitSet(new ulong[]{0x0000000000000802UL});
public static readonly BitSet FOLLOW_actionBodyParen_in_actionBodySequential2220 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_SEMICOLON_in_actionBodySequential2224 = new BitSet(new ulong[]{0x00F0300400001100UL});
public static readonly BitSet FOLLOW_actionBodyParen_in_actionBodySequential2226 = new BitSet(new ulong[]{0x0000000000000082UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_actionBodyParen2244 = new BitSet(new ulong[]{0x00F0300400001100UL});
public static readonly BitSet FOLLOW_actionBody_in_actionBodyParen2246 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_actionBodyParen2249 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_statement_in_actionBodyParen2256 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_ABORT_in_statement2284 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_SKIP_in_statement2291 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_KILL_in_statement2298 = new BitSet(new ulong[]{0x0000000000001000UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_statement2300 = new BitSet(new ulong[]{0x0080000000000100UL});
public static readonly BitSet FOLLOW_set_in_statement2304 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_statement2312 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_discreteActionBody_in_statement2322 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_reference_in_statement2331 = new BitSet(new ulong[]{0x0100000000080002UL});
public static readonly BitSet FOLLOW_T_ASSIGNMENT_in_statement2359 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_statement2364 = new BitSet(new ulong[]{0x0200000000000002UL});
public static readonly BitSet FOLLOW_T_WITH_in_statement2384 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_statement2388 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_COMMA_in_statement2441 = new BitSet(new ulong[]{0x0080000000000100UL});
public static readonly BitSet FOLLOW_reference_in_statement2445 = new BitSet(new ulong[]{0x0100000000080000UL});
public static readonly BitSet FOLLOW_T_ASSIGNMENT_in_statement2460 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_statement2482 = new BitSet(new ulong[]{0x0000000000080000UL});
public static readonly BitSet FOLLOW_T_COMMA_in_statement2501 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_statement2505 = new BitSet(new ulong[]{0x0200000000080002UL});
public static readonly BitSet FOLLOW_T_WITH_in_statement2519 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_statement2523 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_atomExpression_in_expression2598 = new BitSet(new ulong[]{0xFC03800000800202UL,0x00000000000FFFFBUL});
public static readonly BitSet FOLLOW_binoperator_in_expression2611 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_atomExpression_in_expression2619 = new BitSet(new ulong[]{0xFC03800000800202UL,0x00000000000FFFFBUL});
public static readonly BitSet FOLLOW_T_BIIMPLIES_in_binoperator2652 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_GREATER_in_binoperator2661 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_GREATEREQUAL_in_binoperator2671 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_LESS_in_binoperator2680 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_LESSEQUAL_in_binoperator2690 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_EQUAL_in_binoperator2699 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_NOTEQUAL_in_binoperator2711 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_IMPLIES_in_binoperator2722 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_MINUS_in_binoperator2731 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_SUM_in_binoperator2741 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_IN_in_binoperator2751 = new BitSet(new ulong[]{0x0000000000000002UL,0x0000000000000004UL});
public static readonly BitSet FOLLOW_T_SET_in_binoperator2753 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_NOT_in_binoperator2764 = new BitSet(new ulong[]{0x0000000000000000UL,0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_IN_in_binoperator2766 = new BitSet(new ulong[]{0x0000000000000002UL,0x0000000000000004UL});
public static readonly BitSet FOLLOW_T_SET_in_binoperator2768 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_SUBSET_in_binoperator2779 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_OR_in_binoperator2789 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_DIV_in_binoperator2798 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_PROD_in_binoperator2807 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_IDIV_in_binoperator2817 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_MOD_in_binoperator2827 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_UNION_in_binoperator2837 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_DIFF_in_binoperator2848 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_INTER_in_binoperator2859 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_AND_in_binoperator2870 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_POW_in_binoperator2885 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_CONC_in_binoperator2900 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_DOMRESBY_in_binoperator2913 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_DOMRESTO_in_binoperator2923 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_RNGRESBY_in_binoperator2933 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_RNGRESTO_in_binoperator2943 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_MUNION_in_binoperator2953 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_SEQMOD_MAPOVERRIDE_in_binoperator2963 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_op_un_in_atomExpression3001 = new BitSet(new ulong[]{0x00800000A0019100UL,0x040000007F000000UL});
public static readonly BitSet FOLLOW_identifierExpression_in_atomExpression3018 = new BitSet(new ulong[]{0x0000000000000002UL,0x0200000000000000UL});
public static readonly BitSet FOLLOW_qvalExpression_in_atomExpression3029 = new BitSet(new ulong[]{0x0000000000000002UL,0x0200000000000000UL});
public static readonly BitSet FOLLOW_constant_in_atomExpression3040 = new BitSet(new ulong[]{0x0000000000000002UL,0x0200000000000000UL});
public static readonly BitSet FOLLOW_initializedComplexType_in_atomExpression3051 = new BitSet(new ulong[]{0x0000000000000002UL,0x0200000000000000UL});
public static readonly BitSet FOLLOW_quantifierExpression_in_atomExpression3063 = new BitSet(new ulong[]{0x0000000000000002UL,0x0200000000000000UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_atomExpression3072 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_atomExpression3076 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_atomExpression3078 = new BitSet(new ulong[]{0x0000000000009002UL,0x0200000000100000UL});
public static readonly BitSet FOLLOW_T_POINT_in_atomExpression3101 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_atomExpression3113 = new BitSet(new ulong[]{0x0000000000009002UL,0x0200000000100000UL});
public static readonly BitSet FOLLOW_accessExpression_in_atomExpression3137 = new BitSet(new ulong[]{0x0000000000000002UL,0x0200000000000000UL});
public static readonly BitSet FOLLOW_accessExpression_in_atomExpression3157 = new BitSet(new ulong[]{0x0000000000000002UL,0x0200000000000000UL});
public static readonly BitSet FOLLOW_121_in_atomExpression3176 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_atomExpression3180 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_IF_in_atomExpression3201 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_atomExpression3205 = new BitSet(new ulong[]{0x0000000000000000UL,0x0000000000400000UL});
public static readonly BitSet FOLLOW_T_THEN_in_atomExpression3207 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_atomExpression3211 = new BitSet(new ulong[]{0x0000000000000000UL,0x0000000000800000UL});
public static readonly BitSet FOLLOW_T_ELSE_in_atomExpression3213 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_atomExpression3217 = new BitSet(new ulong[]{0x0000080000000000UL});
public static readonly BitSet FOLLOW_T_END_in_atomExpression3219 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_set_in_quantifierExpression3251 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_quantifierExpression3268 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_quantifierExpression3271 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_simpleType_in_quantifierExpression3275 = new BitSet(new ulong[]{0x0000040000080000UL});
public static readonly BitSet FOLLOW_T_COMMA_in_quantifierExpression3286 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_quantifierExpression3290 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_quantifierExpression3293 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_simpleType_in_quantifierExpression3297 = new BitSet(new ulong[]{0x0000040000080000UL});
public static readonly BitSet FOLLOW_T_COLON_in_quantifierExpression3307 = new BitSet(new ulong[]{0x0000000000001000UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_quantifierExpression3309 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_quantifierExpression3313 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_quantifierExpression3315 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_TRUE_in_constant3349 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_FALSE_in_constant3357 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_NIL_in_constant3364 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_SELF_in_constant3372 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_FLOATNUMBER_in_constant3383 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_INTNUMBER_in_constant3392 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_STRINGLITERAL_in_constant3401 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_initializedListType_in_initializedComplexType3428 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_initializedSetType_in_initializedComplexType3437 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_NEW_in_initializedComplexType3445 = new BitSet(new ulong[]{0x0000000000001000UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_initializedComplexType3447 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_initializedComplexType3451 = new BitSet(new ulong[]{0x0000000000082000UL});
public static readonly BitSet FOLLOW_T_COMMA_in_initializedComplexType3463 = new BitSet(new ulong[]{0x0000000000000000UL,0x0000000020000000UL});
public static readonly BitSet FOLLOW_T_STRINGLITERAL_in_initializedComplexType3468 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_initializedComplexType3470 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_initializedComplexType3479 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_LSQPAREN_in_initializedListType3510 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_initializedListType3514 = new BitSet(new ulong[]{0x00000000000A0000UL,0x0000000080000000UL});
public static readonly BitSet FOLLOW_T_COMMA_in_initializedListType3525 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_initializedListType3529 = new BitSet(new ulong[]{0x00000000000A0000UL});
public static readonly BitSet FOLLOW_listComprehension_in_initializedListType3541 = new BitSet(new ulong[]{0x0000000000020000UL});
public static readonly BitSet FOLLOW_T_RSQPAREN_in_initializedListType3549 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_BAR_in_listComprehension3580 = new BitSet(new ulong[]{0x0000000400000000UL});
public static readonly BitSet FOLLOW_T_VAR_in_listComprehension3582 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_listComprehension3588 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_listComprehension3591 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_listComprehension3595 = new BitSet(new ulong[]{0x0000000000000082UL,0x0100000000000000UL});
public static readonly BitSet FOLLOW_T_SEMICOLON_in_listComprehension3604 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_listComprehension3608 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_listComprehension3613 = new BitSet(new ulong[]{0x0000000000000082UL,0x0100000000000000UL});
public static readonly BitSet FOLLOW_120_in_listComprehension3623 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_listComprehension3629 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_CBRL_in_initializedSetType3655 = new BitSet(new ulong[]{0x0000000000000000UL,0x0000000100000000UL});
public static readonly BitSet FOLLOW_T_MAPS_in_initializedSetType3657 = new BitSet(new ulong[]{0x0000000100000000UL});
public static readonly BitSet FOLLOW_T_CBRR_in_initializedSetType3659 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_initializedSet_in_initializedSetType3670 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_CBRL_in_initializedSet3696 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_initializedSet3700 = new BitSet(new ulong[]{0x0000000100080000UL,0x0000000180000000UL});
public static readonly BitSet FOLLOW_T_COMMA_in_initializedSet3730 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_initializedSet3734 = new BitSet(new ulong[]{0x0000000100080000UL});
public static readonly BitSet FOLLOW_map_in_initializedSet3752 = new BitSet(new ulong[]{0x0000000100000000UL});
public static readonly BitSet FOLLOW_setComprehension_in_initializedSet3765 = new BitSet(new ulong[]{0x0000000100000000UL});
public static readonly BitSet FOLLOW_T_CBRR_in_initializedSet3775 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_MAPS_in_map3813 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_map3817 = new BitSet(new ulong[]{0x0000000000080002UL});
public static readonly BitSet FOLLOW_T_COMMA_in_map3825 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_map3829 = new BitSet(new ulong[]{0x0000000000000000UL,0x0000000100000000UL});
public static readonly BitSet FOLLOW_T_MAPS_in_map3831 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_map3835 = new BitSet(new ulong[]{0x0000000000080002UL});
public static readonly BitSet FOLLOW_T_BAR_in_setComprehension3857 = new BitSet(new ulong[]{0x0000000400000000UL});
public static readonly BitSet FOLLOW_T_VAR_in_setComprehension3859 = new BitSet(new ulong[]{0x0000000000000102UL,0x0100000000000000UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_setComprehension3864 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_setComprehension3867 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_setComprehension3871 = new BitSet(new ulong[]{0x0000000000000080UL});
public static readonly BitSet FOLLOW_T_SEMICOLON_in_setComprehension3880 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_setComprehension3884 = new BitSet(new ulong[]{0x0000040000000000UL});
public static readonly BitSet FOLLOW_T_COLON_in_setComprehension3886 = new BitSet(new ulong[]{0x00000000D650D100UL});
public static readonly BitSet FOLLOW_complexType_in_setComprehension3890 = new BitSet(new ulong[]{0x0000000000000102UL,0x0100000000000000UL});
public static readonly BitSet FOLLOW_120_in_setComprehension3904 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_setComprehension3910 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_122_in_qvalExpression3945 = new BitSet(new ulong[]{0x0000000000001000UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_qvalExpression3947 = new BitSet(new ulong[]{0x0080000001800100UL,0x0000000010000000UL});
public static readonly BitSet FOLLOW_T_NIL_in_qvalExpression3961 = new BitSet(new ulong[]{0x0000000000080000UL});
public static readonly BitSet FOLLOW_qualifiedIdentifier_in_qvalExpression3982 = new BitSet(new ulong[]{0x0000000008080000UL});
public static readonly BitSet FOLLOW_T_MINUS_in_qvalExpression4001 = new BitSet(new ulong[]{0x0000000001000000UL});
public static readonly BitSet FOLLOW_T_INFTY_in_qvalExpression4007 = new BitSet(new ulong[]{0x0000000008080000UL});
public static readonly BitSet FOLLOW_T_RANGETO_in_qvalExpression4025 = new BitSet(new ulong[]{0x0080000001000100UL});
public static readonly BitSet FOLLOW_qualifiedIdentifier_in_qvalExpression4035 = new BitSet(new ulong[]{0x0000000000080000UL});
public static readonly BitSet FOLLOW_T_INFTY_in_qvalExpression4053 = new BitSet(new ulong[]{0x0000000000080000UL});
public static readonly BitSet FOLLOW_T_COMMA_in_qvalExpression4077 = new BitSet(new ulong[]{0x0000000000000000UL,0x3800000010000000UL});
public static readonly BitSet FOLLOW_T_NIL_in_qvalExpression4087 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_123_in_qvalExpression4103 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_124_in_qvalExpression4116 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_125_in_qvalExpression4129 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_qvalExpression4151 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_identifierExpression4184 = new BitSet(new ulong[]{0x0000000000001000UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_identifierExpression4186 = new BitSet(new ulong[]{0x00800000A081B100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_methodCallParams_in_identifierExpression4190 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_identifierExpression4192 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_reference_in_identifierExpression4207 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_qualifiedIdentifier_in_reference4245 = new BitSet(new ulong[]{0x000C000000009002UL,0x4000000200000000UL});
public static readonly BitSet FOLLOW_accessExpression_in_reference4257 = new BitSet(new ulong[]{0x000C000000000002UL,0x4000000200000000UL});
public static readonly BitSet FOLLOW_T_PRIMED_in_reference4282 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_126_in_reference4298 = new BitSet(new ulong[]{0x0000000000001000UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_reference4300 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_reference4304 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_reference4306 = new BitSet(new ulong[]{0x000C000000000000UL});
public static readonly BitSet FOLLOW_set_in_reference4312 = new BitSet(new ulong[]{0x0000000000001000UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_reference4318 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_reference4322 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_reference4324 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_LSQPAREN_in_accessExpression4369 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_accessExpression4373 = new BitSet(new ulong[]{0x0000000000020000UL});
public static readonly BitSet FOLLOW_T_RSQPAREN_in_accessExpression4375 = new BitSet(new ulong[]{0x0000000000009002UL,0x0000000000100000UL});
public static readonly BitSet FOLLOW_T_LPAREN_in_accessExpression4402 = new BitSet(new ulong[]{0x00800000A081B100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_methodCallParams_in_accessExpression4406 = new BitSet(new ulong[]{0x0000000000002000UL});
public static readonly BitSet FOLLOW_T_RPAREN_in_accessExpression4408 = new BitSet(new ulong[]{0x0000000000009002UL,0x0000000000100000UL});
public static readonly BitSet FOLLOW_T_POINT_in_accessExpression4430 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_accessExpression4438 = new BitSet(new ulong[]{0x0000000000009002UL,0x0000000000100000UL});
public static readonly BitSet FOLLOW_accessExpression_in_accessExpression4454 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_SELF_in_qualifiedIdentifier4493 = new BitSet(new ulong[]{0x0000000000000000UL,0x0000000000100000UL});
public static readonly BitSet FOLLOW_T_POINT_in_qualifiedIdentifier4495 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_qualifiedIdentifier4507 = new BitSet(new ulong[]{0x0000000000000002UL,0x0000000000100000UL});
public static readonly BitSet FOLLOW_T_POINT_in_qualifiedIdentifier4516 = new BitSet(new ulong[]{0x0000000000000100UL});
public static readonly BitSet FOLLOW_T_IDENTIFIER_in_qualifiedIdentifier4520 = new BitSet(new ulong[]{0x0000000000000002UL,0x0000000000100000UL});
public static readonly BitSet FOLLOW_expression_in_methodCallParams4553 = new BitSet(new ulong[]{0x0000000000080002UL});
public static readonly BitSet FOLLOW_T_COMMA_in_methodCallParams4558 = new BitSet(new ulong[]{0x00800000A0819100UL,0x04007FFC7F200008UL});
public static readonly BitSet FOLLOW_expression_in_methodCallParams4562 = new BitSet(new ulong[]{0x0000000000080002UL});
public static readonly BitSet FOLLOW_op_un_set_list_in_op_un4601 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_op_un_map_in_op_un4610 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_MINUS_in_op_un4618 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_NOT_in_op_un4626 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_ABS_in_op_un4634 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_CARD_in_op_un_set_list4661 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_DCONC_in_op_un_set_list4672 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_DINTER_in_op_un_set_list4683 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_DUNION_in_op_un_set_list4693 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_ELEMS_in_op_un_set_list4703 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_HEAD_in_op_un_set_list4714 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_INDS_in_op_un_set_list4725 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_LEN_in_op_un_set_list4736 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_TAIL_in_op_un_set_list4747 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_DOM_in_op_un_map4776 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_RNG_in_op_un_map4787 = new BitSet(new ulong[]{0x0000000000000002UL});
public static readonly BitSet FOLLOW_T_MERGE_in_op_un_map4798 = new BitSet(new ulong[]{0x0000000000000002UL});

}
}
(9-9/9)