// $ANTLR 3.1.1 C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g 2010-06-05 17:03:57
package generated;
import java.text.CharacterIterator;
import java.text.StringCharacterIterator;
import java.util.ArrayList;
import java.util.List;
import org.antlr.runtime.BaseRecognizer;
import org.antlr.runtime.BitSet;
import org.antlr.runtime.DFA;
import org.antlr.runtime.IntStream;
import org.antlr.runtime.MismatchedSetException;
import org.antlr.runtime.NoViableAltException;
import org.antlr.runtime.RecognitionException;
import org.antlr.runtime.RecognizerSharedState;
import org.antlr.runtime.Token;
import org.antlr.runtime.TokenStream;
import com.sap.mi.textual.common.interfaces.IModelElementProxy;
import com.sap.mi.textual.grammar.impl.ObservableInjectingParser;
import com.sap.mi.textual.grammar.impl.PredicateSemantic;
public class ClassParser extends ObservableInjectingParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "NAME", "STRING", "INT", "FLOAT", "BOOL", "BINARY", "DATE", "PIPE", "LCURL", "RCURL", "LANGLE", "RANGLE", "COLON", "SEMICOLON", "LPAREN", "RPAREN", "EQUALS", "DOT", "DCOLON", "ARROW", "LBRACKET", "EQUALSEQUALS", "RBRACKET", "INCLUDING", "EXCLUDING", "ITERATE", "STAR", "DDOT", "LBRACK_LCURL", "RCURL_RBRACK", "LCURL_LBRACK", "RBRACK_RCURL", "COMMENT", "MULTI_LINE_COMMENT", "EXCL", "ASSIGN", "INCLUDINGAT", "EXCLUDINGAT", "NL", "WS", "DIGIT", "ALPHA", "SNAME", "OBJECT", "RANGE_OR_INT", "'dim'", "'$>'", "'group'", "'store'", "'if'", "'else'", "'RemoveLink'", "'new'", "'select'", "'function'", "'as'", "'head'", "'rollback'", "'implements'", "'where'", "'const'", "'<$'", "'return'", "','", "'value'", "'native'", "'replace'", "'tail'", "'map'", "'commit'", "'<=>'", "'by'", "'-='", "'this'", "'all'", "'changed'", "'+='", "'AddLink'", "'var'", "'key'", "'converter'", "'foreach'", "'void'", "'snapshot'", "'NULL'", "'count'", "'from'", "'class'", "'while'", "'?'", "'aggregate'", "'delete'", "'owns'", "'___1000___'", "'___2000___'", "'___3000___'", "'___1002___'", "'___2002___'", "'___3002___'"
};
public static final int EXCLUDINGAT=41;
public static final int STAR=30;
public static final int LANGLE=14;
public static final int EXCL=38;
public static final int EQUALS=20;
public static final int INCLUDINGAT=40;
public static final int EOF=-1;
public static final int T__93=93;
public static final int LBRACKET=24;
public static final int T__94=94;
public static final int T__91=91;
public static final int RPAREN=19;
public static final int T__92=92;
public static final int NAME=4;
public static final int DCOLON=22;
public static final int T__90=90;
public static final int LBRACK_LCURL=32;
public static final int NL=42;
public static final int RANGLE=15;
public static final int COMMENT=36;
public static final int T__99=99;
public static final int T__98=98;
public static final int T__97=97;
public static final int T__96=96;
public static final int T__95=95;
public static final int LCURL_LBRACK=34;
public static final int T__80=80;
public static final int T__81=81;
public static final int DDOT=31;
public static final int T__82=82;
public static final int T__83=83;
public static final int BOOL=8;
public static final int INT=6;
public static final int SEMICOLON=17;
public static final int T__85=85;
public static final int T__84=84;
public static final int EXCLUDING=28;
public static final int T__87=87;
public static final int T__86=86;
public static final int T__89=89;
public static final int ALPHA=45;
public static final int T__88=88;
public static final int WS=43;
public static final int T__71=71;
public static final int T__72=72;
public static final int SNAME=46;
public static final int T__70=70;
public static final int T__76=76;
public static final int T__75=75;
public static final int T__74=74;
public static final int T__73=73;
public static final int T__79=79;
public static final int T__78=78;
public static final int T__77=77;
public static final int T__68=68;
public static final int T__69=69;
public static final int T__66=66;
public static final int T__67=67;
public static final int T__64=64;
public static final int T__65=65;
public static final int T__62=62;
public static final int T__63=63;
public static final int RBRACK_RCURL=35;
public static final int FLOAT=7;
public static final int T__61=61;
public static final int T__60=60;
public static final int LPAREN=18;
public static final int T__55=55;
public static final int T__56=56;
public static final int T__57=57;
public static final int T__58=58;
public static final int T__51=51;
public static final int T__52=52;
public static final int T__53=53;
public static final int T__54=54;
public static final int OBJECT=47;
public static final int T__59=59;
public static final int PIPE=11;
public static final int DIGIT=44;
public static final int RANGE_OR_INT=48;
public static final int RBRACKET=26;
public static final int DOT=21;
public static final int T__50=50;
public static final int EQUALSEQUALS=25;
public static final int RCURL_RBRACK=33;
public static final int T__49=49;
public static final int T__102=102;
public static final int T__101=101;
public static final int T__100=100;
public static final int MULTI_LINE_COMMENT=37;
public static final int COLON=16;
public static final int ITERATE=29;
public static final int LCURL=12;
public static final int RCURL=13;
public static final int ASSIGN=39;
public static final int ARROW=23;
public static final int BINARY=9;
public static final int DATE=10;
public static final int INCLUDING=27;
public static final int STRING=5;
// delegates
// delegators
public ClassParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public ClassParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return ClassParser.tokenNames; }
public String getGrammarFileName() { return "C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g"; }
private static final String syntaxUUID = "E00EA3B77D2974D070B311DFB55DE517C0A868C8";
public String getSyntaxUUID() {
return syntaxUUID;
}
/**
* Unescape string.
*
* @param s the s
* @param delimLength the delim length
*
* @return the string
*/
public String unescapeString(String s) {
StringBuilder ret = new StringBuilder();
// get rid of the starting and ending delimiters (e.g., '\'', '"')
int delimLength = 1; // for delimLength > 0, the following code needs to change
if (s.charAt(0) == '\'' && s.charAt(s.length()-delimLength) == '\'' || s.charAt(0) == '\"' && s.charAt(s.length()-delimLength) == '\"') {
s = s.substring(delimLength, s.length()-(delimLength * 2 - 1));
}
CharacterIterator ci = new StringCharacterIterator(s);
char c = ci.first();
while(c != CharacterIterator.DONE) {
char tc = 0;
switch(c) {
case '\\':
c = ci.next();
switch(c) {
case 'n':
tc = '\n';
break;
case 'r':
tc = '\r';
break;
case 't':
tc = '\t';
break;
case 'b':
tc = '\b';
break;
case 'f':
tc = '\f';
break;
case '"':
tc = '"';
break;
case '\'':
tc = '\'';
break;
case '\\':
tc = '\\';
break;
case '0':
case '1':
case '2':
case '3':
throw new RuntimeException("octal escape sequences not supported yet");
default:
throw new RuntimeException("unknown escape sequence: '\\" + c + "'");
}
break;
default:
tc = c;
break;
}
ret.append(tc);
c = ci.next();
}
return ret.toString();
}
// $ANTLR start "identifier"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:207:1: identifier returns [Object ret2] : (ast= NAME ) ;
public final Object identifier() throws RecognitionException {
Object ret2 = null;
Token ast=null;
java.lang.Object ret=null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:208:3: ( (ast= NAME ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:209:3: (ast= NAME )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:209:3: (ast= NAME )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:209:4: ast= NAME
{
ast=(Token)match(input,NAME,FOLLOW_NAME_in_identifier63); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = unescapeString( ast.getText());
}
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "identifier"
// $ANTLR start "identifierOrKeyword"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:217:1: identifierOrKeyword returns [Object ret2] : (ast= NAME | 'dim' | '$>' | 'group' | 'store' | 'if' | 'else' | 'RemoveLink' | 'new' | 'select' | 'function' | 'as' | 'head' | 'rollback' | 'implements' | 'where' | 'const' | '<$' | 'return' | ',' | 'value' | 'native' | 'replace' | 'tail' | 'map' | 'commit' | '<=>' | 'by' | '-=' | 'this' | 'all' | 'changed' | '+=' | 'AddLink' | 'var' | 'key' | 'converter' | 'foreach' | 'void' | 'snapshot' | 'NULL' | 'count' | 'from' | 'class' | 'while' | '?' | 'aggregate' | 'delete' | 'owns' ) ;
public final Object identifierOrKeyword() throws RecognitionException {
Object ret2 = null;
Token ast=null;
java.lang.Object ret=null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:218:3: ( (ast= NAME | 'dim' | '$>' | 'group' | 'store' | 'if' | 'else' | 'RemoveLink' | 'new' | 'select' | 'function' | 'as' | 'head' | 'rollback' | 'implements' | 'where' | 'const' | '<$' | 'return' | ',' | 'value' | 'native' | 'replace' | 'tail' | 'map' | 'commit' | '<=>' | 'by' | '-=' | 'this' | 'all' | 'changed' | '+=' | 'AddLink' | 'var' | 'key' | 'converter' | 'foreach' | 'void' | 'snapshot' | 'NULL' | 'count' | 'from' | 'class' | 'while' | '?' | 'aggregate' | 'delete' | 'owns' ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:219:3: (ast= NAME | 'dim' | '$>' | 'group' | 'store' | 'if' | 'else' | 'RemoveLink' | 'new' | 'select' | 'function' | 'as' | 'head' | 'rollback' | 'implements' | 'where' | 'const' | '<$' | 'return' | ',' | 'value' | 'native' | 'replace' | 'tail' | 'map' | 'commit' | '<=>' | 'by' | '-=' | 'this' | 'all' | 'changed' | '+=' | 'AddLink' | 'var' | 'key' | 'converter' | 'foreach' | 'void' | 'snapshot' | 'NULL' | 'count' | 'from' | 'class' | 'while' | '?' | 'aggregate' | 'delete' | 'owns' )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:219:3: (ast= NAME | 'dim' | '$>' | 'group' | 'store' | 'if' | 'else' | 'RemoveLink' | 'new' | 'select' | 'function' | 'as' | 'head' | 'rollback' | 'implements' | 'where' | 'const' | '<$' | 'return' | ',' | 'value' | 'native' | 'replace' | 'tail' | 'map' | 'commit' | '<=>' | 'by' | '-=' | 'this' | 'all' | 'changed' | '+=' | 'AddLink' | 'var' | 'key' | 'converter' | 'foreach' | 'void' | 'snapshot' | 'NULL' | 'count' | 'from' | 'class' | 'while' | '?' | 'aggregate' | 'delete' | 'owns' )
int alt1=49;
switch ( input.LA(1) ) {
case NAME:
{
alt1=1;
}
break;
case 49:
{
alt1=2;
}
break;
case 50:
{
alt1=3;
}
break;
case 51:
{
alt1=4;
}
break;
case 52:
{
alt1=5;
}
break;
case 53:
{
alt1=6;
}
break;
case 54:
{
alt1=7;
}
break;
case 55:
{
alt1=8;
}
break;
case 56:
{
alt1=9;
}
break;
case 57:
{
alt1=10;
}
break;
case 58:
{
alt1=11;
}
break;
case 59:
{
alt1=12;
}
break;
case 60:
{
alt1=13;
}
break;
case 61:
{
alt1=14;
}
break;
case 62:
{
alt1=15;
}
break;
case 63:
{
alt1=16;
}
break;
case 64:
{
alt1=17;
}
break;
case 65:
{
alt1=18;
}
break;
case 66:
{
alt1=19;
}
break;
case 67:
{
alt1=20;
}
break;
case 68:
{
alt1=21;
}
break;
case 69:
{
alt1=22;
}
break;
case 70:
{
alt1=23;
}
break;
case 71:
{
alt1=24;
}
break;
case 72:
{
alt1=25;
}
break;
case 73:
{
alt1=26;
}
break;
case 74:
{
alt1=27;
}
break;
case 75:
{
alt1=28;
}
break;
case 76:
{
alt1=29;
}
break;
case 77:
{
alt1=30;
}
break;
case 78:
{
alt1=31;
}
break;
case 79:
{
alt1=32;
}
break;
case 80:
{
alt1=33;
}
break;
case 81:
{
alt1=34;
}
break;
case 82:
{
alt1=35;
}
break;
case 83:
{
alt1=36;
}
break;
case 84:
{
alt1=37;
}
break;
case 85:
{
alt1=38;
}
break;
case 86:
{
alt1=39;
}
break;
case 87:
{
alt1=40;
}
break;
case 88:
{
alt1=41;
}
break;
case 89:
{
alt1=42;
}
break;
case 90:
{
alt1=43;
}
break;
case 91:
{
alt1=44;
}
break;
case 92:
{
alt1=45;
}
break;
case 93:
{
alt1=46;
}
break;
case 94:
{
alt1=47;
}
break;
case 95:
{
alt1=48;
}
break;
case 96:
{
alt1=49;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 1, 0, input);
throw nvae;
}
switch (alt1) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:219:4: ast= NAME
{
ast=(Token)match(input,NAME,FOLLOW_NAME_in_identifierOrKeyword94); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = unescapeString( ast.getText());
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:221:5: 'dim'
{
match(input,49,FOLLOW_49_in_identifierOrKeyword102); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "dim";
}
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:222:5: '$>'
{
match(input,50,FOLLOW_50_in_identifierOrKeyword110); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "$>";
}
}
break;
case 4 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:223:5: 'group'
{
match(input,51,FOLLOW_51_in_identifierOrKeyword118); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "group";
}
}
break;
case 5 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:224:5: 'store'
{
match(input,52,FOLLOW_52_in_identifierOrKeyword126); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "store";
}
}
break;
case 6 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:225:5: 'if'
{
match(input,53,FOLLOW_53_in_identifierOrKeyword134); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "if";
}
}
break;
case 7 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:226:5: 'else'
{
match(input,54,FOLLOW_54_in_identifierOrKeyword142); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "else";
}
}
break;
case 8 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:227:5: 'RemoveLink'
{
match(input,55,FOLLOW_55_in_identifierOrKeyword150); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "RemoveLink";
}
}
break;
case 9 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:228:5: 'new'
{
match(input,56,FOLLOW_56_in_identifierOrKeyword158); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "new";
}
}
break;
case 10 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:229:5: 'select'
{
match(input,57,FOLLOW_57_in_identifierOrKeyword166); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "select";
}
}
break;
case 11 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:230:5: 'function'
{
match(input,58,FOLLOW_58_in_identifierOrKeyword174); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "function";
}
}
break;
case 12 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:231:5: 'as'
{
match(input,59,FOLLOW_59_in_identifierOrKeyword182); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "as";
}
}
break;
case 13 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:232:5: 'head'
{
match(input,60,FOLLOW_60_in_identifierOrKeyword190); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "head";
}
}
break;
case 14 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:233:5: 'rollback'
{
match(input,61,FOLLOW_61_in_identifierOrKeyword198); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "rollback";
}
}
break;
case 15 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:234:5: 'implements'
{
match(input,62,FOLLOW_62_in_identifierOrKeyword206); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "implements";
}
}
break;
case 16 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:235:5: 'where'
{
match(input,63,FOLLOW_63_in_identifierOrKeyword214); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "where";
}
}
break;
case 17 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:236:5: 'const'
{
match(input,64,FOLLOW_64_in_identifierOrKeyword222); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "const";
}
}
break;
case 18 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:237:5: '<$'
{
match(input,65,FOLLOW_65_in_identifierOrKeyword230); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "<$";
}
}
break;
case 19 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:238:5: 'return'
{
match(input,66,FOLLOW_66_in_identifierOrKeyword238); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "return";
}
}
break;
case 20 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:239:5: ','
{
match(input,67,FOLLOW_67_in_identifierOrKeyword246); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = ",";
}
}
break;
case 21 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:240:5: 'value'
{
match(input,68,FOLLOW_68_in_identifierOrKeyword254); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "value";
}
}
break;
case 22 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:241:5: 'native'
{
match(input,69,FOLLOW_69_in_identifierOrKeyword262); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "native";
}
}
break;
case 23 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:242:5: 'replace'
{
match(input,70,FOLLOW_70_in_identifierOrKeyword270); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "replace";
}
}
break;
case 24 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:243:5: 'tail'
{
match(input,71,FOLLOW_71_in_identifierOrKeyword278); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "tail";
}
}
break;
case 25 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:244:5: 'map'
{
match(input,72,FOLLOW_72_in_identifierOrKeyword286); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "map";
}
}
break;
case 26 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:245:5: 'commit'
{
match(input,73,FOLLOW_73_in_identifierOrKeyword294); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "commit";
}
}
break;
case 27 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:246:5: '<=>'
{
match(input,74,FOLLOW_74_in_identifierOrKeyword302); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "<=>";
}
}
break;
case 28 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:247:5: 'by'
{
match(input,75,FOLLOW_75_in_identifierOrKeyword310); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "by";
}
}
break;
case 29 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:248:5: '-='
{
match(input,76,FOLLOW_76_in_identifierOrKeyword318); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "-=";
}
}
break;
case 30 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:249:5: 'this'
{
match(input,77,FOLLOW_77_in_identifierOrKeyword326); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "this";
}
}
break;
case 31 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:250:5: 'all'
{
match(input,78,FOLLOW_78_in_identifierOrKeyword334); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "all";
}
}
break;
case 32 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:251:5: 'changed'
{
match(input,79,FOLLOW_79_in_identifierOrKeyword342); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "changed";
}
}
break;
case 33 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:252:5: '+='
{
match(input,80,FOLLOW_80_in_identifierOrKeyword350); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "+=";
}
}
break;
case 34 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:253:5: 'AddLink'
{
match(input,81,FOLLOW_81_in_identifierOrKeyword358); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "AddLink";
}
}
break;
case 35 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:254:5: 'var'
{
match(input,82,FOLLOW_82_in_identifierOrKeyword366); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "var";
}
}
break;
case 36 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:255:5: 'key'
{
match(input,83,FOLLOW_83_in_identifierOrKeyword374); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "key";
}
}
break;
case 37 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:256:5: 'converter'
{
match(input,84,FOLLOW_84_in_identifierOrKeyword382); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "converter";
}
}
break;
case 38 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:257:5: 'foreach'
{
match(input,85,FOLLOW_85_in_identifierOrKeyword390); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "foreach";
}
}
break;
case 39 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:258:5: 'void'
{
match(input,86,FOLLOW_86_in_identifierOrKeyword398); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "void";
}
}
break;
case 40 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:259:5: 'snapshot'
{
match(input,87,FOLLOW_87_in_identifierOrKeyword406); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "snapshot";
}
}
break;
case 41 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:260:5: 'NULL'
{
match(input,88,FOLLOW_88_in_identifierOrKeyword414); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "NULL";
}
}
break;
case 42 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:261:5: 'count'
{
match(input,89,FOLLOW_89_in_identifierOrKeyword422); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "count";
}
}
break;
case 43 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:262:5: 'from'
{
match(input,90,FOLLOW_90_in_identifierOrKeyword430); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "from";
}
}
break;
case 44 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:263:5: 'class'
{
match(input,91,FOLLOW_91_in_identifierOrKeyword438); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "class";
}
}
break;
case 45 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:264:5: 'while'
{
match(input,92,FOLLOW_92_in_identifierOrKeyword446); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "while";
}
}
break;
case 46 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:265:5: '?'
{
match(input,93,FOLLOW_93_in_identifierOrKeyword454); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "?";
}
}
break;
case 47 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:266:5: 'aggregate'
{
match(input,94,FOLLOW_94_in_identifierOrKeyword462); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "aggregate";
}
}
break;
case 48 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:267:5: 'delete'
{
match(input,95,FOLLOW_95_in_identifierOrKeyword470); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "delete";
}
}
break;
case 49 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:268:5: 'owns'
{
match(input,96,FOLLOW_96_in_identifierOrKeyword478); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = "owns";
}
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "identifierOrKeyword"
// $ANTLR start "stringSymbol"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:275:1: stringSymbol returns [Object ret2] : (ast= STRING ) ;
public final Object stringSymbol() throws RecognitionException {
Object ret2 = null;
Token ast=null;
java.lang.Object ret=null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:276:3: ( (ast= STRING ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:277:3: (ast= STRING )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:277:3: (ast= STRING )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:277:4: ast= STRING
{
ast=(Token)match(input,STRING,FOLLOW_STRING_in_stringSymbol509); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = unescapeString( ast.getText());
}
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "stringSymbol"
// $ANTLR start "integerSymbol"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:285:1: integerSymbol returns [Object ret2] : (ast= INT ) ;
public final Object integerSymbol() throws RecognitionException {
Object ret2 = null;
Token ast=null;
java.lang.Object ret=null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:286:3: ( (ast= INT ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:287:3: (ast= INT )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:287:3: (ast= INT )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:287:4: ast= INT
{
ast=(Token)match(input,INT,FOLLOW_INT_in_integerSymbol540); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = Integer.valueOf( ast.getText());
}
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "integerSymbol"
// $ANTLR start "longSymbol"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:295:1: longSymbol returns [Object ret2] : (ast= INT ) ;
public final Object longSymbol() throws RecognitionException {
Object ret2 = null;
Token ast=null;
java.lang.Object ret=null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:296:3: ( (ast= INT ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:297:3: (ast= INT )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:297:3: (ast= INT )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:297:4: ast= INT
{
ast=(Token)match(input,INT,FOLLOW_INT_in_longSymbol571); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = Long.valueOf( ast.getText());
}
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "longSymbol"
// $ANTLR start "integerAsStringSymbol"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:305:1: integerAsStringSymbol returns [Object ret2] : (ast= INT ) ;
public final Object integerAsStringSymbol() throws RecognitionException {
Object ret2 = null;
Token ast=null;
java.lang.Object ret=null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:306:3: ( (ast= INT ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:307:3: (ast= INT )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:307:3: (ast= INT )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:307:4: ast= INT
{
ast=(Token)match(input,INT,FOLLOW_INT_in_integerAsStringSymbol602); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = ast.getText();
}
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "integerAsStringSymbol"
// $ANTLR start "floatAsStringSymbol"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:315:1: floatAsStringSymbol returns [Object ret2] : (ast= FLOAT ) ;
public final Object floatAsStringSymbol() throws RecognitionException {
Object ret2 = null;
Token ast=null;
java.lang.Object ret=null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:316:3: ( (ast= FLOAT ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:317:3: (ast= FLOAT )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:317:3: (ast= FLOAT )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:317:4: ast= FLOAT
{
ast=(Token)match(input,FLOAT,FOLLOW_FLOAT_in_floatAsStringSymbol633); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = ast.getText();
}
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "floatAsStringSymbol"
// $ANTLR start "booleanSymbol"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:325:1: booleanSymbol returns [Object ret2] : (ast= BOOL ) ;
public final Object booleanSymbol() throws RecognitionException {
Object ret2 = null;
Token ast=null;
java.lang.Object ret=null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:326:3: ( (ast= BOOL ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:327:3: (ast= BOOL )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:327:3: (ast= BOOL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:327:4: ast= BOOL
{
ast=(Token)match(input,BOOL,FOLLOW_BOOL_in_booleanSymbol664); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = ast.getText();
}
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "booleanSymbol"
// $ANTLR start "binarySymbol"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:335:1: binarySymbol returns [Object ret2] : (ast= BINARY ) ;
public final Object binarySymbol() throws RecognitionException {
Object ret2 = null;
Token ast=null;
java.lang.Object ret=null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:336:3: ( (ast= BINARY ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:337:3: (ast= BINARY )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:337:3: (ast= BINARY )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:337:4: ast= BINARY
{
ast=(Token)match(input,BINARY,FOLLOW_BINARY_in_binarySymbol695); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = ast.getText();
}
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "binarySymbol"
// $ANTLR start "dateSymbol"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:345:1: dateSymbol returns [Object ret2] : (ast= DATE ) ;
public final Object dateSymbol() throws RecognitionException {
Object ret2 = null;
Token ast=null;
java.lang.Object ret=null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:346:3: ( (ast= DATE ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:347:3: (ast= DATE )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:347:3: (ast= DATE )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:347:4: ast= DATE
{
ast=(Token)match(input,DATE,FOLLOW_DATE_in_dateSymbol726); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret = ast.getText();
}
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "dateSymbol"
// $ANTLR start "main"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:355:1: main returns [Object ret2] : ( (ret= data_classes_sapclass ) EOF ) ;
public final Object main() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:356:3: ( ( (ret= data_classes_sapclass ) EOF ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:357:3: ( (ret= data_classes_sapclass ) EOF )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:357:3: ( (ret= data_classes_sapclass ) EOF )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:357:4: (ret= data_classes_sapclass ) EOF
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:357:4: (ret= data_classes_sapclass )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:357:5: ret= data_classes_sapclass
{
pushFollow(FOLLOW_data_classes_sapclass_in_main754);
ret=data_classes_sapclass();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
match(input,EOF,FOLLOW_EOF_in_main757); if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "main"
// $ANTLR start "data_classes_sapclass__impl"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:364:1: data_classes_sapclass__impl returns [Object ret2] : ( ( ( 'value' ) | ) 'class' (temp= identifier ) (temp= data_generics_classparameterization )? ( () | ( '|' )=> ( PIPE (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* ) PIPE ) ) ( ( 'implements' (temp= data_classes_typeadapter_implements ( ( ',' ) temp= data_classes_typeadapter_implements )* ) ) | ) LCURL ( ( ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature )* )? (temp= data_classes_classtypedefinition_property (temp= data_classes_classtypedefinition_property )* )? ) ) RCURL ) ;
public final Object data_classes_sapclass__impl() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","SapClass");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false, new String[]{"root"}) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:369:3: ( ( ( ( 'value' ) | ) 'class' (temp= identifier ) (temp= data_generics_classparameterization )? ( () | ( '|' )=> ( PIPE (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* ) PIPE ) ) ( ( 'implements' (temp= data_classes_typeadapter_implements ( ( ',' ) temp= data_classes_typeadapter_implements )* ) ) | ) LCURL ( ( ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature )* )? (temp= data_classes_classtypedefinition_property (temp= data_classes_classtypedefinition_property )* )? ) ) RCURL ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:370:3: ( ( ( 'value' ) | ) 'class' (temp= identifier ) (temp= data_generics_classparameterization )? ( () | ( '|' )=> ( PIPE (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* ) PIPE ) ) ( ( 'implements' (temp= data_classes_typeadapter_implements ( ( ',' ) temp= data_classes_typeadapter_implements )* ) ) | ) LCURL ( ( ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature )* )? (temp= data_classes_classtypedefinition_property (temp= data_classes_classtypedefinition_property )* )? ) ) RCURL )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:370:3: ( ( ( 'value' ) | ) 'class' (temp= identifier ) (temp= data_generics_classparameterization )? ( () | ( '|' )=> ( PIPE (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* ) PIPE ) ) ( ( 'implements' (temp= data_classes_typeadapter_implements ( ( ',' ) temp= data_classes_typeadapter_implements )* ) ) | ) LCURL ( ( ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature )* )? (temp= data_classes_classtypedefinition_property (temp= data_classes_classtypedefinition_property )* )? ) ) RCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:370:4: ( ( 'value' ) | ) 'class' (temp= identifier ) (temp= data_generics_classparameterization )? ( () | ( '|' )=> ( PIPE (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* ) PIPE ) ) ( ( 'implements' (temp= data_classes_typeadapter_implements ( ( ',' ) temp= data_classes_typeadapter_implements )* ) ) | ) LCURL ( ( ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature )* )? (temp= data_classes_classtypedefinition_property (temp= data_classes_classtypedefinition_property )* )? ) ) RCURL
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB3670B311DFBB4EE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:370:64: ( ( 'value' ) | )
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0==68) ) {
alt2=1;
}
else if ( (LA2_0==91) ) {
alt2=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 2, 0, input);
throw nvae;
}
switch (alt2) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:370:65: ( 'value' )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:370:81: ( 'value' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:370:82: 'value'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB3470B311DF97D4E517C0A868C8");
}
match(input,68,FOLLOW_68_in_data_classes_sapclass__impl794); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "valueType", java.lang.Boolean.TRUE);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:370:238:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
setProperty(ret, "valueType", java.lang.Boolean.FALSE);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB3770B311DF9ED8E517C0A868C8");
}
match(input,91,FOLLOW_91_in_data_classes_sapclass__impl812); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB3970B311DFB91DE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:371:158: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:371:160: temp= identifier
{
pushFollow(FOLLOW_identifier_in_data_classes_sapclass__impl819);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB3B70B311DFB0C3E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:371:285: (temp= data_generics_classparameterization )?
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==LANGLE) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:371:287: temp= data_generics_classparameterization
{
pushFollow(FOLLOW_data_generics_classparameterization_in_data_classes_sapclass__impl829);
temp=data_generics_classparameterization();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "parameterization", temp);
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB4670B311DF9351E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:371:451: ( () | ( '|' )=> ( PIPE (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* ) PIPE ) )
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0==LCURL||LA5_0==62) ) {
alt5=1;
}
else if ( (LA5_0==PIPE) && (synpred1_Class())) {
alt5=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 5, 0, input);
throw nvae;
}
switch (alt5) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:371:452: ()
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:371:468: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:371:469:
{
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:4: ( '|' )=> ( PIPE (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* ) PIPE )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:29: ( PIPE (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* ) PIPE )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:30: PIPE (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* ) PIPE
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB3D70B311DF9EFAE517C0A868C8");
}
match(input,PIPE,FOLLOW_PIPE_in_data_classes_sapclass__impl859); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB4370B311DF92E7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:170: (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:172: temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )*
{
pushFollow(FOLLOW_data_classes_parameter_in_data_classes_sapclass__impl867);
temp=data_classes_parameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "formalObjectParameters", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:252: ( ( ',' ) temp= data_classes_parameter )*
loop4:
do {
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==67) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:253: ( ',' ) temp= data_classes_parameter
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:270: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:271: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB4070B311DFC289E517C0A868C8");
}
match(input,67,FOLLOW_67_in_data_classes_sapclass__impl875); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_data_classes_parameter_in_data_classes_sapclass__impl882);
temp=data_classes_parameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "formalObjectParameters", temp);
}
}
break;
default :
break loop4;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB4470B311DFCED6E517C0A868C8");
}
match(input,PIPE,FOLLOW_PIPE_in_data_classes_sapclass__impl892); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB5370B311DF82A6E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:639: ( ( 'implements' (temp= data_classes_typeadapter_implements ( ( ',' ) temp= data_classes_typeadapter_implements )* ) ) | )
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==62) ) {
alt7=1;
}
else if ( (LA7_0==LCURL) ) {
alt7=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 7, 0, input);
throw nvae;
}
switch (alt7) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:640: ( 'implements' (temp= data_classes_typeadapter_implements ( ( ',' ) temp= data_classes_typeadapter_implements )* ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:656: ( 'implements' (temp= data_classes_typeadapter_implements ( ( ',' ) temp= data_classes_typeadapter_implements )* ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:657: 'implements' (temp= data_classes_typeadapter_implements ( ( ',' ) temp= data_classes_typeadapter_implements )* )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB4A70B311DF9308E517C0A868C8");
}
match(input,62,FOLLOW_62_in_data_classes_sapclass__impl907); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB5170B311DFAC91E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:803: (temp= data_classes_typeadapter_implements ( ( ',' ) temp= data_classes_typeadapter_implements )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:805: temp= data_classes_typeadapter_implements ( ( ',' ) temp= data_classes_typeadapter_implements )*
{
pushFollow(FOLLOW_data_classes_typeadapter_implements_in_data_classes_sapclass__impl914);
temp=data_classes_typeadapter_implements();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "adapters", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:884: ( ( ',' ) temp= data_classes_typeadapter_implements )*
loop6:
do {
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==67) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:885: ( ',' ) temp= data_classes_typeadapter_implements
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:902: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:903: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB4E70B311DFC19BE517C0A868C8");
}
match(input,67,FOLLOW_67_in_data_classes_sapclass__impl922); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_data_classes_typeadapter_implements_in_data_classes_sapclass__impl929);
temp=data_classes_typeadapter_implements();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "adapters", temp);
}
}
break;
default :
break loop6;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:1115:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB5470B311DFAE68E517C0A868C8");
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB5570B311DFC69FE517C0A868C8");
}
match(input,LCURL,FOLLOW_LCURL_in_data_classes_sapclass__impl954); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB5F70B311DFA081E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:233: ( ( ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature )* )? (temp= data_classes_classtypedefinition_property (temp= data_classes_classtypedefinition_property )* )? ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:234: ( ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature )* )? (temp= data_classes_classtypedefinition_property (temp= data_classes_classtypedefinition_property )* )? )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:234: ( ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature )* )? (temp= data_classes_classtypedefinition_property (temp= data_classes_classtypedefinition_property )* )? )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:235: ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature )* )? (temp= data_classes_classtypedefinition_property (temp= data_classes_classtypedefinition_property )* )?
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB5970B311DFCAD1E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:294: ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature )* )?
int alt9=2;
int LA9_0 = input.LA(1);
if ( (LA9_0==64) && (synpred2_Class())) {
alt9=1;
}
else if ( (LA9_0==84) && (synpred2_Class())) {
alt9=1;
}
else if ( (LA9_0==NAME) ) {
int LA9_3 = input.LA(2);
if ( (synpred2_Class()) ) {
alt9=1;
}
}
else if ( (LA9_0==58) && (synpred2_Class())) {
alt9=1;
}
else if ( (LA9_0==LPAREN) && (synpred2_Class())) {
alt9=1;
}
else if ( (LA9_0==86) && (synpred2_Class())) {
alt9=1;
}
switch (alt9) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:295: ( data_classes_methodsignature )=>temp= data_classes_methodsignature ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature )*
{
pushFollow(FOLLOW_data_classes_methodsignature_in_data_classes_sapclass__impl969);
temp=data_classes_methodsignature();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedSignatures", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:407: ( ( data_classes_methodsignature )=>temp= data_classes_methodsignature )*
loop8:
do {
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0==NAME) ) {
int LA8_2 = input.LA(2);
if ( (synpred3_Class()) ) {
alt8=1;
}
}
else if ( (LA8_0==64) && (synpred3_Class())) {
alt8=1;
}
else if ( (LA8_0==84) && (synpred3_Class())) {
alt8=1;
}
else if ( (LA8_0==58) && (synpred3_Class())) {
alt8=1;
}
else if ( (LA8_0==LPAREN) && (synpred3_Class())) {
alt8=1;
}
else if ( (LA8_0==86) && (synpred3_Class())) {
alt8=1;
}
switch (alt8) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:408: ( data_classes_methodsignature )=>temp= data_classes_methodsignature
{
pushFollow(FOLLOW_data_classes_methodsignature_in_data_classes_sapclass__impl981);
temp=data_classes_methodsignature();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedSignatures", temp);
}
}
break;
default :
break loop8;
}
} while (true);
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB5D70B311DFB72EE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:600: (temp= data_classes_classtypedefinition_property (temp= data_classes_classtypedefinition_property )* )?
int alt11=2;
int LA11_0 = input.LA(1);
if ( (LA11_0==NAME||LA11_0==96) ) {
alt11=1;
}
switch (alt11) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:602: temp= data_classes_classtypedefinition_property (temp= data_classes_classtypedefinition_property )*
{
pushFollow(FOLLOW_data_classes_classtypedefinition_property_in_data_classes_sapclass__impl996);
temp=data_classes_classtypedefinition_property();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "elementsOfType", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:693: (temp= data_classes_classtypedefinition_property )*
loop10:
do {
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0==NAME||LA10_0==96) ) {
alt10=1;
}
switch (alt10) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:695: temp= data_classes_classtypedefinition_property
{
pushFollow(FOLLOW_data_classes_classtypedefinition_property_in_data_classes_sapclass__impl1004);
temp=data_classes_classtypedefinition_property();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "elementsOfType", temp);
}
}
break;
default :
break loop10;
}
} while (true);
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B72EB6070B311DF8C31E517C0A868C8");
}
match(input,RCURL,FOLLOW_RCURL_in_data_classes_sapclass__impl1019); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_sapclass__impl"
// $ANTLR start "data_classes_sapclass"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:381:1: data_classes_sapclass returns [Object ret2] : (ret= data_classes_sapclass__impl | (ret= data_generics_formaltypeparameter ) ) ;
public final Object data_classes_sapclass() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:382:3: ( (ret= data_classes_sapclass__impl | (ret= data_generics_formaltypeparameter ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:383:3: (ret= data_classes_sapclass__impl | (ret= data_generics_formaltypeparameter ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:383:3: (ret= data_classes_sapclass__impl | (ret= data_generics_formaltypeparameter ) )
int alt12=2;
int LA12_0 = input.LA(1);
if ( (LA12_0==68||LA12_0==91) ) {
alt12=1;
}
else if ( (LA12_0==NAME) ) {
alt12=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 12, 0, input);
throw nvae;
}
switch (alt12) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:383:4: ret= data_classes_sapclass__impl
{
pushFollow(FOLLOW_data_classes_sapclass__impl_in_data_classes_sapclass1057);
ret=data_classes_sapclass__impl();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:383:36: (ret= data_generics_formaltypeparameter )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:383:36: (ret= data_generics_formaltypeparameter )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:383:37: ret= data_generics_formaltypeparameter
{
pushFollow(FOLLOW_data_generics_formaltypeparameter_in_data_classes_sapclass1062);
ret=data_generics_formaltypeparameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
break;
}
if ( state.backtracking==0 ) {
ret2 = ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_sapclass"
// $ANTLR start "data_classes_typeadapter_implements"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:390:1: data_classes_typeadapter_implements returns [Object ret2] : ( (temp= identifier ) ) ;
public final Object data_classes_typeadapter_implements() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","TypeAdapter");
onEnterTemplateRule(metaType,"implements");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:395:3: ( ( (temp= identifier ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:396:3: ( (temp= identifier ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:396:3: ( (temp= identifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:396:4: (temp= identifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B755C3670B311DFBC2AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:396:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:396:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_data_classes_typeadapter_implements1098);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "to", null, temp, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = ?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B755C3970B311DFCCD4E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:'From_'.concat(self.adapted.name).concat('_to_').concat(self.to.name)", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_typeadapter_implements"
// $ANTLR start "data_generics_classparameterization"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:404:1: data_generics_classparameterization returns [Object ret2] : ( LANGLE (temp= data_generics_formaltypeparameter ( ( ',' ) temp= data_generics_formaltypeparameter )* ) RANGLE ) ;
public final Object data_generics_classparameterization() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","generics","ClassParameterization");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:409:3: ( ( LANGLE (temp= data_generics_formaltypeparameter ( ( ',' ) temp= data_generics_formaltypeparameter )* ) RANGLE ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:410:3: ( LANGLE (temp= data_generics_formaltypeparameter ( ( ',' ) temp= data_generics_formaltypeparameter )* ) RANGLE )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:410:3: ( LANGLE (temp= data_generics_formaltypeparameter ( ( ',' ) temp= data_generics_formaltypeparameter )* ) RANGLE )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:410:4: LANGLE (temp= data_generics_formaltypeparameter ( ( ',' ) temp= data_generics_formaltypeparameter )* ) RANGLE
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B7C611070B311DF9D37E517C0A868C8");
}
match(input,LANGLE,FOLLOW_LANGLE_in_data_generics_classparameterization1145); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B7C611670B311DFA00AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:410:146: (temp= data_generics_formaltypeparameter ( ( ',' ) temp= data_generics_formaltypeparameter )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:410:148: temp= data_generics_formaltypeparameter ( ( ',' ) temp= data_generics_formaltypeparameter )*
{
pushFollow(FOLLOW_data_generics_formaltypeparameter_in_data_generics_classparameterization1153);
temp=data_generics_formaltypeparameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "formalTypeParameters", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:410:237: ( ( ',' ) temp= data_generics_formaltypeparameter )*
loop13:
do {
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==67) ) {
alt13=1;
}
switch (alt13) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:410:238: ( ',' ) temp= data_generics_formaltypeparameter
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:410:255: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:410:256: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B7C611370B311DF9FACE517C0A868C8");
}
match(input,67,FOLLOW_67_in_data_generics_classparameterization1161); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_data_generics_formaltypeparameter_in_data_generics_classparameterization1168);
temp=data_generics_formaltypeparameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "formalTypeParameters", temp);
}
}
break;
default :
break loop13;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B7C611770B311DFB673E517C0A868C8");
}
match(input,RANGLE,FOLLOW_RANGLE_in_data_generics_classparameterization1178); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_generics_classparameterization"
// $ANTLR start "data_generics_formaltypeparameter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:418:1: data_generics_formaltypeparameter returns [Object ret2] : ( (temp= identifier ) ( ( COLON ( ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) ) ) | ( (temp= identifier ) ) ) ) | ) ) ;
public final Object data_generics_formaltypeparameter() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","generics","FormalTypeParameter");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:423:3: ( ( (temp= identifier ) ( ( COLON ( ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) ) ) | ( (temp= identifier ) ) ) ) | ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:3: ( (temp= identifier ) ( ( COLON ( ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) ) ) | ( (temp= identifier ) ) ) ) | ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:3: ( (temp= identifier ) ( ( COLON ( ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) ) ) | ( (temp= identifier ) ) ) ) | ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:4: (temp= identifier ) ( ( COLON ( ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) ) ) | ( (temp= identifier ) ) ) ) | )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B7ED21170B311DF9ECDE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_data_generics_formaltypeparameter1223);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B81431A70B311DF8122E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:191: ( ( COLON ( ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) ) ) | ( (temp= identifier ) ) ) ) | )
int alt15=2;
int LA15_0 = input.LA(1);
if ( (LA15_0==COLON) ) {
alt15=1;
}
else if ( (LA15_0==EOF||LA15_0==RANGLE||LA15_0==67) ) {
alt15=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 15, 0, input);
throw nvae;
}
switch (alt15) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:192: ( COLON ( ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) ) ) | ( (temp= identifier ) ) ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:208: ( COLON ( ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) ) ) | ( (temp= identifier ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:209: COLON ( ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) ) ) | ( (temp= identifier ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B7ED21570B311DF8174E517C0A868C8");
}
match(input,COLON,FOLLOW_COLON_in_data_generics_formaltypeparameter1236); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B81431870B311DFCEF4E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:350: ( ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) ) ) | ( (temp= identifier ) ) )
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0==NAME) ) {
int LA14_1 = input.LA(2);
if ( (LA14_1==EOF||LA14_1==RANGLE||LA14_1==67) ) {
alt14=2;
}
else if ( (LA14_1==LANGLE) ) {
alt14=1;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 14, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 14, 0, input);
throw nvae;
}
switch (alt14) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:351: ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:367: ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:368: ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B81431070B311DFC250E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:428: ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:429: ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:445: ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:446: (temp= data_generics_parameterizedclassinstantiation_typeDefinition )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B7ED21B70B311DF9D7BE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:505: (temp= data_generics_parameterizedclassinstantiation_typeDefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:424:507: temp= data_generics_parameterizedclassinstantiation_typeDefinition
{
pushFollow(FOLLOW_data_generics_parameterizedclassinstantiation_typeDefinition_in_data_generics_formaltypeparameter1255);
temp=data_generics_parameterizedclassinstantiation_typeDefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "typeConstraint", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:426:4: ( (temp= identifier ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:426:20: ( (temp= identifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:426:21: (temp= identifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B81431670B311DFBC9BE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:426:80: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:426:82: temp= identifier
{
pushFollow(FOLLOW_identifier_in_data_generics_formaltypeparameter1281);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "typeConstraint", null, temp, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = ?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:426:282:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_generics_formaltypeparameter"
// $ANTLR start "behavioral_actions_block"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:435:1: behavioral_actions_block returns [Object ret2] : ( LCURL ( ( ( ( (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* ) SEMICOLON ) | ) ) ) RCURL ) ;
public final Object behavioral_actions_block() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","Block");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false, new String[]{"block"}) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:440:3: ( ( LCURL ( ( ( ( (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* ) SEMICOLON ) | ) ) ) RCURL ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:3: ( LCURL ( ( ( ( (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* ) SEMICOLON ) | ) ) ) RCURL )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:3: ( LCURL ( ( ( ( (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* ) SEMICOLON ) | ) ) ) RCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:4: LCURL ( ( ( ( (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* ) SEMICOLON ) | ) ) ) RCURL
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B838D0170B311DFA90FE517C0A868C8");
}
match(input,LCURL,FOLLOW_LCURL_in_behavioral_actions_block1343); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B85FE0270B311DFBE69E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:145: ( ( ( ( (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* ) SEMICOLON ) | ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:146: ( ( ( (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* ) SEMICOLON ) | ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:146: ( ( ( (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* ) SEMICOLON ) | ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:147: ( ( (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* ) SEMICOLON ) | )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B85FE0070B311DF8BA7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:207: ( ( (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* ) SEMICOLON ) | )
int alt17=2;
int LA17_0 = input.LA(1);
if ( ((LA17_0>=NAME && LA17_0<=DATE)||LA17_0==LPAREN||(LA17_0>=51 && LA17_0<=53)||(LA17_0>=55 && LA17_0<=58)||LA17_0==61||LA17_0==64||LA17_0==66||LA17_0==68||LA17_0==73||(LA17_0>=77 && LA17_0<=78)||(LA17_0>=81 && LA17_0<=82)||LA17_0==85||LA17_0==90||LA17_0==92||(LA17_0>=94 && LA17_0<=95)) ) {
alt17=1;
}
else if ( (LA17_0==RCURL) ) {
alt17=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 17, 0, input);
throw nvae;
}
switch (alt17) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:208: ( (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* ) SEMICOLON )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:224: ( (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* ) SEMICOLON )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:225: (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* ) SEMICOLON
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B838D0A70B311DFB4F0E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:284: (temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:286: temp= behavioral_actions_statement ( ( SEMICOLON ) temp= behavioral_actions_statement )*
{
pushFollow(FOLLOW_behavioral_actions_statement_in_behavioral_actions_block1360);
temp=behavioral_actions_statement();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "statements", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:360: ( ( SEMICOLON ) temp= behavioral_actions_statement )*
loop16:
do {
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0==SEMICOLON) ) {
int LA16_1 = input.LA(2);
if ( ((LA16_1>=NAME && LA16_1<=DATE)||LA16_1==LPAREN||(LA16_1>=51 && LA16_1<=53)||(LA16_1>=55 && LA16_1<=58)||LA16_1==61||LA16_1==64||LA16_1==66||LA16_1==68||LA16_1==73||(LA16_1>=77 && LA16_1<=78)||(LA16_1>=81 && LA16_1<=82)||LA16_1==85||LA16_1==90||LA16_1==92||(LA16_1>=94 && LA16_1<=95)) ) {
alt16=1;
}
}
switch (alt16) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:361: ( SEMICOLON ) temp= behavioral_actions_statement
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:378: ( SEMICOLON )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:379: SEMICOLON
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B838D0670B311DF815BE517C0A868C8");
}
match(input,SEMICOLON,FOLLOW_SEMICOLON_in_behavioral_actions_block1369); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_behavioral_actions_statement_in_behavioral_actions_block1377);
temp=behavioral_actions_statement();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "statements", temp);
}
}
break;
default :
break loop16;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B838D0B70B311DF95B3E517C0A868C8");
}
match(input,SEMICOLON,FOLLOW_SEMICOLON_in_behavioral_actions_block1387); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:441:680:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B85FE0370B311DFACA1E517C0A868C8");
}
match(input,RCURL,FOLLOW_RCURL_in_behavioral_actions_block1408); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_block"
// $ANTLR start "ui_templates_stringtemplate"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:450:1: ui_templates_stringtemplate returns [Object ret2] : ( '<$' ( ( ( ( (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )? SEMICOLON ) | ) ) ) '$>' ) ;
public final Object ui_templates_stringtemplate() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("ui","templates","StringTemplate");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:455:3: ( ( '<$' ( ( ( ( (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )? SEMICOLON ) | ) ) ) '$>' ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:3: ( '<$' ( ( ( ( (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )? SEMICOLON ) | ) ) ) '$>' )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:3: ( '<$' ( ( ( ( (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )? SEMICOLON ) | ) ) ) '$>' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:4: '<$' ( ( ( ( (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )? SEMICOLON ) | ) ) ) '$>'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B85FE0770B311DF98ACE517C0A868C8");
}
match(input,65,FOLLOW_65_in_ui_templates_stringtemplate1449); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B85FE1470B311DFAEF4E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:142: ( ( ( ( (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )? SEMICOLON ) | ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:143: ( ( ( (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )? SEMICOLON ) | ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:143: ( ( ( (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )? SEMICOLON ) | ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:144: ( ( (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )? SEMICOLON ) | )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B85FE1270B311DFA558E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:204: ( ( (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )? SEMICOLON ) | )
int alt20=2;
int LA20_0 = input.LA(1);
if ( ((LA20_0>=NAME && LA20_0<=DATE)||(LA20_0>=SEMICOLON && LA20_0<=LPAREN)||LA20_0==51||(LA20_0>=56 && LA20_0<=58)||LA20_0==64||LA20_0==68||LA20_0==73||(LA20_0>=77 && LA20_0<=78)||LA20_0==90||LA20_0==94) ) {
alt20=1;
}
else if ( (LA20_0==50) ) {
alt20=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 20, 0, input);
throw nvae;
}
switch (alt20) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:205: ( (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )? SEMICOLON )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:221: ( (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )? SEMICOLON )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:222: (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )? SEMICOLON
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B85FE0F70B311DFA552E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:281: (temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )* )?
int alt19=2;
int LA19_0 = input.LA(1);
if ( ((LA19_0>=NAME && LA19_0<=DATE)||LA19_0==LPAREN||LA19_0==51||(LA19_0>=56 && LA19_0<=58)||LA19_0==64||LA19_0==68||LA19_0==73||(LA19_0>=77 && LA19_0<=78)||LA19_0==90||LA19_0==94) ) {
alt19=1;
}
switch (alt19) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:283: temp= dataaccess_expressions_expression ( ( SEMICOLON ) temp= dataaccess_expressions_expression )*
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_ui_templates_stringtemplate1465);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "expressions", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:363: ( ( SEMICOLON ) temp= dataaccess_expressions_expression )*
loop18:
do {
int alt18=2;
int LA18_0 = input.LA(1);
if ( (LA18_0==SEMICOLON) ) {
int LA18_1 = input.LA(2);
if ( ((LA18_1>=NAME && LA18_1<=DATE)||LA18_1==LPAREN||LA18_1==51||(LA18_1>=56 && LA18_1<=58)||LA18_1==64||LA18_1==68||LA18_1==73||(LA18_1>=77 && LA18_1<=78)||LA18_1==90||LA18_1==94) ) {
alt18=1;
}
}
switch (alt18) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:364: ( SEMICOLON ) temp= dataaccess_expressions_expression
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:381: ( SEMICOLON )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:382: SEMICOLON
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B85FE0C70B311DFAB7EE517C0A868C8");
}
match(input,SEMICOLON,FOLLOW_SEMICOLON_in_ui_templates_stringtemplate1474); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_dataaccess_expressions_expression_in_ui_templates_stringtemplate1482);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "expressions", temp);
}
}
break;
default :
break loop18;
}
} while (true);
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B85FE1070B311DFA846E517C0A868C8");
}
match(input,SEMICOLON,FOLLOW_SEMICOLON_in_ui_templates_stringtemplate1494); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:456:691:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B886F0070B311DFAE6CE517C0A868C8");
}
match(input,50,FOLLOW_50_in_ui_templates_stringtemplate1514); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "ui_templates_stringtemplate"
// $ANTLR start "data_classes_methodsignature"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:465:1: data_classes_methodsignature returns [Object ret2] : ( ( ( 'const' ) | ) ( ( 'converter' (temp= data_classes_converterbetweenparametrizations ) (temp= data_classes_typedefinition_converter ) ) | ( ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= identifier ) ) ) LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN ( ( ( ( (temp= data_classes_signatureimplementation ) ) | ( SEMICOLON ) ) ) ) ) ;
public final Object data_classes_methodsignature() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","MethodSignature");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:470:3: ( ( ( ( 'const' ) | ) ( ( 'converter' (temp= data_classes_converterbetweenparametrizations ) (temp= data_classes_typedefinition_converter ) ) | ( ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= identifier ) ) ) LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN ( ( ( ( (temp= data_classes_signatureimplementation ) ) | ( SEMICOLON ) ) ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:471:3: ( ( ( 'const' ) | ) ( ( 'converter' (temp= data_classes_converterbetweenparametrizations ) (temp= data_classes_typedefinition_converter ) ) | ( ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= identifier ) ) ) LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN ( ( ( ( (temp= data_classes_signatureimplementation ) ) | ( SEMICOLON ) ) ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:471:3: ( ( ( 'const' ) | ) ( ( 'converter' (temp= data_classes_converterbetweenparametrizations ) (temp= data_classes_typedefinition_converter ) ) | ( ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= identifier ) ) ) LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN ( ( ( ( (temp= data_classes_signatureimplementation ) ) | ( SEMICOLON ) ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:471:4: ( ( 'const' ) | ) ( ( 'converter' (temp= data_classes_converterbetweenparametrizations ) (temp= data_classes_typedefinition_converter ) ) | ( ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= identifier ) ) ) LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN ( ( ( ( (temp= data_classes_signatureimplementation ) ) | ( SEMICOLON ) ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B886F0970B311DFA3DBE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:471:64: ( ( 'const' ) | )
int alt21=2;
int LA21_0 = input.LA(1);
if ( (LA21_0==64) ) {
alt21=1;
}
else if ( (LA21_0==NAME||LA21_0==LPAREN||LA21_0==58||LA21_0==84||LA21_0==86) ) {
alt21=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 21, 0, input);
throw nvae;
}
switch (alt21) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:471:65: ( 'const' )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:471:81: ( 'const' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:471:82: 'const'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B886F0770B311DF8925E517C0A868C8");
}
match(input,64,FOLLOW_64_in_data_classes_methodsignature1560); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "sideEffectFree", java.lang.Boolean.TRUE);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:471:243:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
setProperty(ret, "sideEffectFree", java.lang.Boolean.FALSE);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8AB8FA70B311DF8246E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:472:76: ( ( 'converter' (temp= data_classes_converterbetweenparametrizations ) (temp= data_classes_typedefinition_converter ) ) | ( ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= identifier ) ) )
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==84) ) {
alt23=1;
}
else if ( (LA23_0==NAME||LA23_0==LPAREN||LA23_0==58||LA23_0==86) ) {
alt23=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 23, 0, input);
throw nvae;
}
switch (alt23) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:472:77: ( 'converter' (temp= data_classes_converterbetweenparametrizations ) (temp= data_classes_typedefinition_converter ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:472:93: ( 'converter' (temp= data_classes_converterbetweenparametrizations ) (temp= data_classes_typedefinition_converter ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:472:94: 'converter' (temp= data_classes_converterbetweenparametrizations ) (temp= data_classes_typedefinition_converter )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B886F0A70B311DF882FE517C0A868C8");
}
match(input,84,FOLLOW_84_in_data_classes_methodsignature1583); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B886F0D70B311DFA103E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:472:239: (temp= data_classes_converterbetweenparametrizations )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:472:241: temp= data_classes_converterbetweenparametrizations
{
pushFollow(FOLLOW_data_classes_converterbetweenparametrizations_in_data_classes_methodsignature1590);
temp=data_classes_converterbetweenparametrizations();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "converter", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B886F1170B311DFBE9CE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:472:406: (temp= data_classes_typedefinition_converter )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:472:408: temp= data_classes_typedefinition_converter
{
pushFollow(FOLLOW_data_classes_typedefinition_converter_in_data_classes_methodsignature1600);
temp=data_classes_typedefinition_converter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "output", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B886F1670B311DF82FFE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "name", "converter");_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ownedTypeDefinitions", null, null, "OCL:self.output", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:473:4: ( ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= identifier ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:473:20: ( ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= identifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:473:21: ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= identifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8AB8F670B311DF83E7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:473:81: ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) )
int alt22=2;
int LA22_0 = input.LA(1);
if ( (LA22_0==NAME||LA22_0==LPAREN||LA22_0==58) ) {
alt22=1;
}
else if ( (LA22_0==86) ) {
alt22=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 22, 0, input);
throw nvae;
}
switch (alt22) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:473:82: ( (temp= data_classes_typedefinition ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:473:98: ( (temp= data_classes_typedefinition ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:473:99: (temp= data_classes_typedefinition )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B886F1C70B311DF8601E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:473:158: (temp= data_classes_typedefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:473:160: temp= data_classes_typedefinition
{
pushFollow(FOLLOW_data_classes_typedefinition_in_data_classes_methodsignature1629);
temp=data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "output", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8AB8F270B311DFCA40E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "ownedTypeDefinitions", list("data","classes","TypeDefinition"), null, null, "output", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:473:515: ( 'void' )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:473:531: ( 'void' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:473:532: 'void'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8AB8F470B311DFA7C7E517C0A868C8");
}
match(input,86,FOLLOW_86_in_data_classes_methodsignature1647); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8AB8F870B311DFB970E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:76: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:78: temp= identifier
{
pushFollow(FOLLOW_identifier_in_data_classes_methodsignature1660);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8AB8FB70B311DFB0D0E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_data_classes_methodsignature1672); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8AB90070B311DFA0E4E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:318: (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )?
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==NAME||LA25_0==LPAREN||LA25_0==58) ) {
alt25=1;
}
switch (alt25) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:320: temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )*
{
pushFollow(FOLLOW_data_classes_parameter_in_data_classes_methodsignature1680);
temp=data_classes_parameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "input", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:383: ( ( ',' ) temp= data_classes_parameter )*
loop24:
do {
int alt24=2;
int LA24_0 = input.LA(1);
if ( (LA24_0==67) ) {
alt24=1;
}
switch (alt24) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:384: ( ',' ) temp= data_classes_parameter
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:401: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:402: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8AB8FD70B311DFC8DFE517C0A868C8");
}
match(input,67,FOLLOW_67_in_data_classes_methodsignature1688); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_data_classes_parameter_in_data_classes_methodsignature1695);
temp=data_classes_parameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "input", temp);
}
}
break;
default :
break loop24;
}
} while (true);
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8AB90170B311DFB19DE517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_data_classes_methodsignature1707); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8AB90C70B311DFACF4E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:724: ( ( ( ( (temp= data_classes_signatureimplementation ) ) | ( SEMICOLON ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:725: ( ( ( (temp= data_classes_signatureimplementation ) ) | ( SEMICOLON ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:725: ( ( ( (temp= data_classes_signatureimplementation ) ) | ( SEMICOLON ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:726: ( ( (temp= data_classes_signatureimplementation ) ) | ( SEMICOLON ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8AB90A70B311DFA4CCE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:786: ( ( (temp= data_classes_signatureimplementation ) ) | ( SEMICOLON ) )
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==LCURL||LA26_0==65||LA26_0==69) ) {
alt26=1;
}
else if ( (LA26_0==SEMICOLON) ) {
alt26=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 26, 0, input);
throw nvae;
}
switch (alt26) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:787: ( (temp= data_classes_signatureimplementation ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:803: ( (temp= data_classes_signatureimplementation ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:804: (temp= data_classes_signatureimplementation )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8AB90670B311DF8B4FE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:863: (temp= data_classes_signatureimplementation )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:865: temp= data_classes_signatureimplementation
{
pushFollow(FOLLOW_data_classes_signatureimplementation_in_data_classes_methodsignature1724);
temp=data_classes_signatureimplementation();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "implementation", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:985: ( SEMICOLON )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:1001: ( SEMICOLON )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:474:1002: SEMICOLON
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8AB90870B311DFAC23E517C0A868C8");
}
match(input,SEMICOLON,FOLLOW_SEMICOLON_in_data_classes_methodsignature1740); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_methodsignature"
// $ANTLR start "data_classes_converterbetweenparametrizations"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:483:1: data_classes_converterbetweenparametrizations returns [Object ret2] : () ;
public final Object data_classes_converterbetweenparametrizations() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ConverterBetweenParametrizations");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:488:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:489:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:489:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:489:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8D29F270B311DFBF83E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "clazz", list("data","classes","SapClass"), null, null, "#context(root)", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_converterbetweenparametrizations"
// $ANTLR start "data_classes_typedefinition_converter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:497:1: data_classes_typedefinition_converter returns [Object ret2] : (ret= data_classes_classtypedefinition_converter ) ;
public final Object data_classes_typedefinition_converter() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:498:3: ( (ret= data_classes_classtypedefinition_converter ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:499:3: (ret= data_classes_classtypedefinition_converter )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:499:3: (ret= data_classes_classtypedefinition_converter )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:499:4: ret= data_classes_classtypedefinition_converter
{
pushFollow(FOLLOW_data_classes_classtypedefinition_converter_in_data_classes_typedefinition_converter1827);
ret=data_classes_classtypedefinition_converter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_converter"
// $ANTLR start "data_classes_classtypedefinition_converter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:506:1: data_classes_classtypedefinition_converter returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_converter() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"converter");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:511:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:512:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:512:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:512:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8F73EB70B311DFB771E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setRef(ret, "clazz", list("data","classes","SapClass"), null, null, "#context(root)", null, null, false, null, true);_exitInjectorAction();_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
list.add(new PredicateSemantic(null, "data_classes_actualobjectparameter_converter"));
setPredicateRef(ret,"ownedObjectParameters","converter","OCL:self.signaturesWithOutput->asSequence()->first().input",list,finder,true);
}
_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:self.ownedObjectParameters", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_converter"
// $ANTLR start "data_classes_actualobjectparameter_converter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:527:1: data_classes_actualobjectparameter_converter returns [Object ret2] : ( (temp= dataaccess_expressions_expression_converter ) ) ;
public final Object data_classes_actualobjectparameter_converter() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","ActualObjectParameter");
onEnterTemplateRule(metaType,"converter");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:532:3: ( ( (temp= dataaccess_expressions_expression_converter ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:533:3: ( (temp= dataaccess_expressions_expression_converter ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:533:3: ( (temp= dataaccess_expressions_expression_converter ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:533:4: (temp= dataaccess_expressions_expression_converter )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8F73F170B311DF8008E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "formalObjectParameter", null, null, "OCL:let sig=#foreach(Parameter).ownerSignature.oclAsType(MethodSignature) in"+" sig.owner.oclAsType(SapClass).formalObjectParameters->at(sig.input->indexOf(#foreach(Parameter)))", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B8F73F470B311DFA903E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:533:463: (temp= dataaccess_expressions_expression_converter )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:533:465: temp= dataaccess_expressions_expression_converter
{
pushFollow(FOLLOW_dataaccess_expressions_expression_converter_in_data_classes_actualobjectparameter_converter1904);
temp=dataaccess_expressions_expression_converter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "value", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_actualobjectparameter_converter"
// $ANTLR start "dataaccess_expressions_expression_converter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:541:1: dataaccess_expressions_expression_converter returns [Object ret2] : (ret= dataaccess_expressions_variableexpression_converter ) ;
public final Object dataaccess_expressions_expression_converter() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:542:3: ( (ret= dataaccess_expressions_variableexpression_converter ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:543:3: (ret= dataaccess_expressions_variableexpression_converter )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:543:3: (ret= dataaccess_expressions_variableexpression_converter )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:543:4: ret= dataaccess_expressions_variableexpression_converter
{
pushFollow(FOLLOW_dataaccess_expressions_variableexpression_converter_in_dataaccess_expressions_expression_converter1944);
ret=dataaccess_expressions_variableexpression_converter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_expression_converter"
// $ANTLR start "dataaccess_expressions_variableexpression_converter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:550:1: dataaccess_expressions_variableexpression_converter returns [Object ret2] : () ;
public final Object dataaccess_expressions_variableexpression_converter() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("dataaccess","expressions","VariableExpression");
onEnterTemplateRule(metaType,"converter");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:555:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:556:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:556:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:556:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B9455E470B311DF9461E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "variable", null, null, "OCL:#foreach(NamedValue)", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_variableexpression_converter"
// $ANTLR start "data_classes_signatureimplementation"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:564:1: data_classes_signatureimplementation returns [Object ret2] : (ret= data_classes_functionsignatureimplementation | ret= data_classes_nativeimpl ) ;
public final Object data_classes_signatureimplementation() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:565:3: ( (ret= data_classes_functionsignatureimplementation | ret= data_classes_nativeimpl ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:566:3: (ret= data_classes_functionsignatureimplementation | ret= data_classes_nativeimpl )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:566:3: (ret= data_classes_functionsignatureimplementation | ret= data_classes_nativeimpl )
int alt27=2;
int LA27_0 = input.LA(1);
if ( (LA27_0==LCURL||LA27_0==65) ) {
alt27=1;
}
else if ( (LA27_0==69) ) {
alt27=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 27, 0, input);
throw nvae;
}
switch (alt27) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:566:4: ret= data_classes_functionsignatureimplementation
{
pushFollow(FOLLOW_data_classes_functionsignatureimplementation_in_data_classes_signatureimplementation2011);
ret=data_classes_functionsignatureimplementation();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:567:5: ret= data_classes_nativeimpl
{
pushFollow(FOLLOW_data_classes_nativeimpl_in_data_classes_signatureimplementation2019);
ret=data_classes_nativeimpl();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_signatureimplementation"
// $ANTLR start "data_classes_functionsignatureimplementation"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:574:1: data_classes_functionsignatureimplementation returns [Object ret2] : (ret= behavioral_actions_block | ret= ui_templates_stringtemplate ) ;
public final Object data_classes_functionsignatureimplementation() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:575:3: ( (ret= behavioral_actions_block | ret= ui_templates_stringtemplate ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:576:3: (ret= behavioral_actions_block | ret= ui_templates_stringtemplate )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:576:3: (ret= behavioral_actions_block | ret= ui_templates_stringtemplate )
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==LCURL) ) {
alt28=1;
}
else if ( (LA28_0==65) ) {
alt28=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 28, 0, input);
throw nvae;
}
switch (alt28) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:576:4: ret= behavioral_actions_block
{
pushFollow(FOLLOW_behavioral_actions_block_in_data_classes_functionsignatureimplementation2046);
ret=behavioral_actions_block();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:577:5: ret= ui_templates_stringtemplate
{
pushFollow(FOLLOW_ui_templates_stringtemplate_in_data_classes_functionsignatureimplementation2054);
ret=ui_templates_stringtemplate();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_functionsignatureimplementation"
// $ANTLR start "data_classes_nativeimpl"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:584:1: data_classes_nativeimpl returns [Object ret2] : ( 'native' ) ;
public final Object data_classes_nativeimpl() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NativeImpl");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:589:3: ( ( 'native' ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:590:3: ( 'native' )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:590:3: ( 'native' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:590:4: 'native'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B9910D070B311DFBDC5E517C0A868C8");
}
match(input,69,FOLLOW_69_in_data_classes_nativeimpl2084); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nativeimpl"
// $ANTLR start "behavioral_actions_statement"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:598:1: behavioral_actions_statement returns [Object ret2] : ( ( ( 'return' | ( NAME EQUALS ) ) | 'store' | 'delete' )=> (ret= behavioral_actions_statementwithargument ) | ( behavioral_actions_namedvaluedeclaration )=> (ret= behavioral_actions_namedvaluedeclaration ) | ( ( NAME ~ NAME ) | ( NAME EOF ) | ~ NAME )=> (ret= behavioral_actions_expressionstatement ) | ret= behavioral_actions_statementwithnestedblocks | ret= persistence_actions_rollback | ret= behavioral_actions_linkmanipulationstatement ) ;
public final Object behavioral_actions_statement() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:599:3: ( ( ( ( 'return' | ( NAME EQUALS ) ) | 'store' | 'delete' )=> (ret= behavioral_actions_statementwithargument ) | ( behavioral_actions_namedvaluedeclaration )=> (ret= behavioral_actions_namedvaluedeclaration ) | ( ( NAME ~ NAME ) | ( NAME EOF ) | ~ NAME )=> (ret= behavioral_actions_expressionstatement ) | ret= behavioral_actions_statementwithnestedblocks | ret= persistence_actions_rollback | ret= behavioral_actions_linkmanipulationstatement ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:3: ( ( ( 'return' | ( NAME EQUALS ) ) | 'store' | 'delete' )=> (ret= behavioral_actions_statementwithargument ) | ( behavioral_actions_namedvaluedeclaration )=> (ret= behavioral_actions_namedvaluedeclaration ) | ( ( NAME ~ NAME ) | ( NAME EOF ) | ~ NAME )=> (ret= behavioral_actions_expressionstatement ) | ret= behavioral_actions_statementwithnestedblocks | ret= persistence_actions_rollback | ret= behavioral_actions_linkmanipulationstatement )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:3: ( ( ( 'return' | ( NAME EQUALS ) ) | 'store' | 'delete' )=> (ret= behavioral_actions_statementwithargument ) | ( behavioral_actions_namedvaluedeclaration )=> (ret= behavioral_actions_namedvaluedeclaration ) | ( ( NAME ~ NAME ) | ( NAME EOF ) | ~ NAME )=> (ret= behavioral_actions_expressionstatement ) | ret= behavioral_actions_statementwithnestedblocks | ret= persistence_actions_rollback | ret= behavioral_actions_linkmanipulationstatement )
int alt29=6;
alt29 = dfa29.predict(input);
switch (alt29) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:4: ( ( 'return' | ( NAME EQUALS ) ) | 'store' | 'delete' )=> (ret= behavioral_actions_statementwithargument )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:55: (ret= behavioral_actions_statementwithargument )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:56: ret= behavioral_actions_statementwithargument
{
pushFollow(FOLLOW_behavioral_actions_statementwithargument_in_behavioral_actions_statement2144);
ret=behavioral_actions_statementwithargument();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:601:5: ( behavioral_actions_namedvaluedeclaration )=> (ret= behavioral_actions_namedvaluedeclaration )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:601:49: (ret= behavioral_actions_namedvaluedeclaration )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:601:50: ret= behavioral_actions_namedvaluedeclaration
{
pushFollow(FOLLOW_behavioral_actions_namedvaluedeclaration_in_behavioral_actions_statement2158);
ret=behavioral_actions_namedvaluedeclaration();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:602:5: ( ( NAME ~ NAME ) | ( NAME EOF ) | ~ NAME )=> (ret= behavioral_actions_expressionstatement )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:602:42: (ret= behavioral_actions_expressionstatement )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:602:43: ret= behavioral_actions_expressionstatement
{
pushFollow(FOLLOW_behavioral_actions_expressionstatement_in_behavioral_actions_statement2190);
ret=behavioral_actions_expressionstatement();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 4 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:603:5: ret= behavioral_actions_statementwithnestedblocks
{
pushFollow(FOLLOW_behavioral_actions_statementwithnestedblocks_in_behavioral_actions_statement2199);
ret=behavioral_actions_statementwithnestedblocks();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 5 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:604:5: ret= persistence_actions_rollback
{
pushFollow(FOLLOW_persistence_actions_rollback_in_behavioral_actions_statement2207);
ret=persistence_actions_rollback();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 6 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:605:5: ret= behavioral_actions_linkmanipulationstatement
{
pushFollow(FOLLOW_behavioral_actions_linkmanipulationstatement_in_behavioral_actions_statement2215);
ret=behavioral_actions_linkmanipulationstatement();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "behavioral_actions_statement"
// $ANTLR start "behavioral_actions_singleblockstatement"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:612:1: behavioral_actions_singleblockstatement returns [Object ret2] : (ret= behavioral_actions_whileloop | ret= behavioral_actions_foreach ) ;
public final Object behavioral_actions_singleblockstatement() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:613:3: ( (ret= behavioral_actions_whileloop | ret= behavioral_actions_foreach ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:614:3: (ret= behavioral_actions_whileloop | ret= behavioral_actions_foreach )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:614:3: (ret= behavioral_actions_whileloop | ret= behavioral_actions_foreach )
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0==92) ) {
alt30=1;
}
else if ( (LA30_0==85) ) {
alt30=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 30, 0, input);
throw nvae;
}
switch (alt30) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:614:4: ret= behavioral_actions_whileloop
{
pushFollow(FOLLOW_behavioral_actions_whileloop_in_behavioral_actions_singleblockstatement2242);
ret=behavioral_actions_whileloop();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:615:5: ret= behavioral_actions_foreach
{
pushFollow(FOLLOW_behavioral_actions_foreach_in_behavioral_actions_singleblockstatement2250);
ret=behavioral_actions_foreach();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "behavioral_actions_singleblockstatement"
// $ANTLR start "behavioral_actions_statementwithargument"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:622:1: behavioral_actions_statementwithargument returns [Object ret2] : (ret= behavioral_actions_return | ret= persistence_actions_statementwithentityargument | ( NAME EQUALS )=> (ret= behavioral_actions_assignment ) ) ;
public final Object behavioral_actions_statementwithargument() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:623:3: ( (ret= behavioral_actions_return | ret= persistence_actions_statementwithentityargument | ( NAME EQUALS )=> (ret= behavioral_actions_assignment ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:624:3: (ret= behavioral_actions_return | ret= persistence_actions_statementwithentityargument | ( NAME EQUALS )=> (ret= behavioral_actions_assignment ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:624:3: (ret= behavioral_actions_return | ret= persistence_actions_statementwithentityargument | ( NAME EQUALS )=> (ret= behavioral_actions_assignment ) )
int alt31=3;
int LA31_0 = input.LA(1);
if ( (LA31_0==66) ) {
alt31=1;
}
else if ( (LA31_0==52||LA31_0==95) ) {
alt31=2;
}
else if ( (LA31_0==NAME) && (synpred7_Class())) {
alt31=3;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 31, 0, input);
throw nvae;
}
switch (alt31) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:624:4: ret= behavioral_actions_return
{
pushFollow(FOLLOW_behavioral_actions_return_in_behavioral_actions_statementwithargument2277);
ret=behavioral_actions_return();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:625:5: ret= persistence_actions_statementwithentityargument
{
pushFollow(FOLLOW_persistence_actions_statementwithentityargument_in_behavioral_actions_statementwithargument2285);
ret=persistence_actions_statementwithentityargument();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:626:5: ( NAME EQUALS )=> (ret= behavioral_actions_assignment )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:626:20: (ret= behavioral_actions_assignment )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:626:21: ret= behavioral_actions_assignment
{
pushFollow(FOLLOW_behavioral_actions_assignment_in_behavioral_actions_statementwithargument2300);
ret=behavioral_actions_assignment();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "behavioral_actions_statementwithargument"
// $ANTLR start "behavioral_actions_namedvaluedeclaration"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:633:1: behavioral_actions_namedvaluedeclaration returns [Object ret2] : ( (temp= behavioral_actions_namedvaluewithoptionalinitexpression ) ) ;
public final Object behavioral_actions_namedvaluedeclaration() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","NamedValueDeclaration");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:638:3: ( ( (temp= behavioral_actions_namedvaluewithoptionalinitexpression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:639:3: ( (temp= behavioral_actions_namedvaluewithoptionalinitexpression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:639:3: ( (temp= behavioral_actions_namedvaluewithoptionalinitexpression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:639:4: (temp= behavioral_actions_namedvaluewithoptionalinitexpression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B9B81D370B311DFCC7FE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:639:63: (temp= behavioral_actions_namedvaluewithoptionalinitexpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:639:65: temp= behavioral_actions_namedvaluewithoptionalinitexpression
{
pushFollow(FOLLOW_behavioral_actions_namedvaluewithoptionalinitexpression_in_behavioral_actions_namedvaluedeclaration2335);
temp=behavioral_actions_namedvaluewithoptionalinitexpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "namedValue", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_namedvaluedeclaration"
// $ANTLR start "behavioral_actions_expressionstatement"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:647:1: behavioral_actions_expressionstatement returns [Object ret2] : ( (temp= dataaccess_expressions_expression ) ) ;
public final Object behavioral_actions_expressionstatement() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","ExpressionStatement");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:652:3: ( ( (temp= dataaccess_expressions_expression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:653:3: ( (temp= dataaccess_expressions_expression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:653:3: ( (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:653:4: (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77B9DCBC170B311DF9672E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:653:63: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:653:65: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_expressionstatement2382);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "expression", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_expressionstatement"
// $ANTLR start "behavioral_actions_statementwithnestedblocks"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:661:1: behavioral_actions_statementwithnestedblocks returns [Object ret2] : (ret= behavioral_actions_singleblockstatement | ret= behavioral_actions_ifelse ) ;
public final Object behavioral_actions_statementwithnestedblocks() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:662:3: ( (ret= behavioral_actions_singleblockstatement | ret= behavioral_actions_ifelse ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:663:3: (ret= behavioral_actions_singleblockstatement | ret= behavioral_actions_ifelse )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:663:3: (ret= behavioral_actions_singleblockstatement | ret= behavioral_actions_ifelse )
int alt32=2;
int LA32_0 = input.LA(1);
if ( (LA32_0==85||LA32_0==92) ) {
alt32=1;
}
else if ( (LA32_0==53) ) {
alt32=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 32, 0, input);
throw nvae;
}
switch (alt32) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:663:4: ret= behavioral_actions_singleblockstatement
{
pushFollow(FOLLOW_behavioral_actions_singleblockstatement_in_behavioral_actions_statementwithnestedblocks2422);
ret=behavioral_actions_singleblockstatement();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:664:5: ret= behavioral_actions_ifelse
{
pushFollow(FOLLOW_behavioral_actions_ifelse_in_behavioral_actions_statementwithnestedblocks2430);
ret=behavioral_actions_ifelse();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "behavioral_actions_statementwithnestedblocks"
// $ANTLR start "dataaccess_expressions_conditional"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:671:1: dataaccess_expressions_conditional returns [Object ret2] : () ;
public final Object dataaccess_expressions_conditional() throws RecognitionException {
Object ret2 = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:672:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:673:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:673:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:673:4:
{
}
if ( state.backtracking==0 ) {
}
}
}
finally {
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_conditional"
// $ANTLR start "behavioral_actions_ifelse"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:680:1: behavioral_actions_ifelse returns [Object ret2] : ( 'if' LPAREN (temp= dataaccess_expressions_expression ) RPAREN (temp= behavioral_actions_block ( ( 'else' ) temp= behavioral_actions_block )? ) ) ;
public final Object behavioral_actions_ifelse() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","IfElse");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:685:3: ( ( 'if' LPAREN (temp= dataaccess_expressions_expression ) RPAREN (temp= behavioral_actions_block ( ( 'else' ) temp= behavioral_actions_block )? ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:686:3: ( 'if' LPAREN (temp= dataaccess_expressions_expression ) RPAREN (temp= behavioral_actions_block ( ( 'else' ) temp= behavioral_actions_block )? ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:686:3: ( 'if' LPAREN (temp= dataaccess_expressions_expression ) RPAREN (temp= behavioral_actions_block ( ( 'else' ) temp= behavioral_actions_block )? ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:686:4: 'if' LPAREN (temp= dataaccess_expressions_expression ) RPAREN (temp= behavioral_actions_block ( ( 'else' ) temp= behavioral_actions_block )? )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA286B070B311DFC155E517C0A868C8");
}
match(input,53,FOLLOW_53_in_behavioral_actions_ifelse2484); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA286B170B311DFAB88E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_behavioral_actions_ifelse2488); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA286B370B311DFC38DE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:686:225: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:686:227: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_ifelse2496);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "condition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA286B470B311DFB7F4E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_behavioral_actions_ifelse2503); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA286B970B311DFC9A2E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:686:463: (temp= behavioral_actions_block ( ( 'else' ) temp= behavioral_actions_block )? )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:686:465: temp= behavioral_actions_block ( ( 'else' ) temp= behavioral_actions_block )?
{
pushFollow(FOLLOW_behavioral_actions_block_in_behavioral_actions_ifelse2511);
temp=behavioral_actions_block();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "nestedBlocks", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:686:537: ( ( 'else' ) temp= behavioral_actions_block )?
int alt33=2;
int LA33_0 = input.LA(1);
if ( (LA33_0==54) ) {
alt33=1;
}
switch (alt33) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:686:538: ( 'else' ) temp= behavioral_actions_block
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:686:555: ( 'else' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:686:556: 'else'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA286B670B311DF8903E517C0A868C8");
}
match(input,54,FOLLOW_54_in_behavioral_actions_ifelse2519); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_behavioral_actions_block_in_behavioral_actions_ifelse2526);
temp=behavioral_actions_block();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "nestedBlocks", temp);
}
}
break;
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_ifelse"
// $ANTLR start "behavioral_actions_whileloop"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:694:1: behavioral_actions_whileloop returns [Object ret2] : ( 'while' LPAREN (temp= dataaccess_expressions_expression ) RPAREN (temp= behavioral_actions_block (temp= behavioral_actions_block )? ) ) ;
public final Object behavioral_actions_whileloop() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","WhileLoop");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:699:3: ( ( 'while' LPAREN (temp= dataaccess_expressions_expression ) RPAREN (temp= behavioral_actions_block (temp= behavioral_actions_block )? ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:700:3: ( 'while' LPAREN (temp= dataaccess_expressions_expression ) RPAREN (temp= behavioral_actions_block (temp= behavioral_actions_block )? ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:700:3: ( 'while' LPAREN (temp= dataaccess_expressions_expression ) RPAREN (temp= behavioral_actions_block (temp= behavioral_actions_block )? ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:700:4: 'while' LPAREN (temp= dataaccess_expressions_expression ) RPAREN (temp= behavioral_actions_block (temp= behavioral_actions_block )? )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA286BD70B311DFB9FFE517C0A868C8");
}
match(input,92,FOLLOW_92_in_behavioral_actions_whileloop2571); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA286BE70B311DF889FE517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_behavioral_actions_whileloop2575); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA286C070B311DF8AB7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:700:228: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:700:230: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_whileloop2583);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "condition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA286C170B311DF9165E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_behavioral_actions_whileloop2590); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA286C370B311DFA7B2E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:700:466: (temp= behavioral_actions_block (temp= behavioral_actions_block )? )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:700:468: temp= behavioral_actions_block (temp= behavioral_actions_block )?
{
pushFollow(FOLLOW_behavioral_actions_block_in_behavioral_actions_whileloop2598);
temp=behavioral_actions_block();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "nestedBlocks", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:700:540: (temp= behavioral_actions_block )?
int alt34=2;
int LA34_0 = input.LA(1);
if ( (LA34_0==LCURL) ) {
alt34=1;
}
switch (alt34) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:700:542: temp= behavioral_actions_block
{
pushFollow(FOLLOW_behavioral_actions_block_in_behavioral_actions_whileloop2606);
temp=behavioral_actions_block();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "nestedBlocks", temp);
}
}
break;
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_whileloop"
// $ANTLR start "dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:708:1: dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN ) ;
public final Object dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","FunctionCallExpression");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:713:3: ( ( (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:714:3: ( (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:714:3: ( (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:714:4: (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA4F7B570B311DF807AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:714:63: (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )?
int alt36=2;
int LA36_0 = input.LA(1);
if ( ((LA36_0>=NAME && LA36_0<=DATE)||LA36_0==LPAREN||LA36_0==51||(LA36_0>=56 && LA36_0<=58)||LA36_0==64||LA36_0==68||LA36_0==73||(LA36_0>=77 && LA36_0<=78)||LA36_0==90||LA36_0==94) ) {
alt36=1;
}
switch (alt36) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:714:65: temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )*
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen2656);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "parameters", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:714:144: ( ( ',' ) temp= dataaccess_expressions_expression )*
loop35:
do {
int alt35=2;
int LA35_0 = input.LA(1);
if ( (LA35_0==67) ) {
alt35=1;
}
switch (alt35) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:714:145: ( ',' ) temp= dataaccess_expressions_expression
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:714:162: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:714:163: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA4F7B270B311DFC95DE517C0A868C8");
}
match(input,67,FOLLOW_67_in_dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen2664); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen2671);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "parameters", temp);
}
}
break;
default :
break loop35;
}
} while (true);
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA4F7B670B311DF97BCE517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen2683); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA4F7BD70B311DFCC61E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
list.add(new PredicateSemantic("OCL:self.getSignature().output.isMany() and self.calledBlock.getType().isMany()", "data_classes_nestedtypedefinition_functionCallExpression"));
list.add(new PredicateSemantic("OCL:self.getSignature().output.oclIsKindOf(ClassTypeDefinition)", "data_classes_classtypedefinition_functionCallExpression"));
list.add(new PredicateSemantic("OCL:self.getSignature().output.oclIsKindOf(FunctionSignatureTypeDefinition)", "data_classes_functionsignaturetypedefinition_functionCallExpression"));
list.add(new PredicateSemantic("OCL:self.getSignature().output.oclIsKindOf(NestedTypeDefinition)", "data_classes_nestedtypedefinition_functionCallExpressionNoFurtherNesting"));
setPredicateRef(ret,"ownedTypeDefinition",null,"OCL:self.getSignature().output",list,finder,false);
}
_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"calledBlock" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen"
// $ANTLR start "data_classes_typedefinition_functionCallExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:734:1: data_classes_typedefinition_functionCallExpression returns [Object ret2] : ( ( '___1000___' )=> (ret= data_classes_classtypedefinition_functionCallExpression ) | ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_functionCallExpression ) | ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_functionCallExpression ) ) ;
public final Object data_classes_typedefinition_functionCallExpression() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:735:3: ( ( ( '___1000___' )=> (ret= data_classes_classtypedefinition_functionCallExpression ) | ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_functionCallExpression ) | ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_functionCallExpression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:736:3: ( ( '___1000___' )=> (ret= data_classes_classtypedefinition_functionCallExpression ) | ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_functionCallExpression ) | ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_functionCallExpression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:736:3: ( ( '___1000___' )=> (ret= data_classes_classtypedefinition_functionCallExpression ) | ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_functionCallExpression ) | ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_functionCallExpression ) )
int alt37=3;
int LA37_0 = input.LA(1);
if ( (LA37_0==EOF) ) {
int LA37_1 = input.LA(2);
if ( (synpred8_Class()) ) {
alt37=1;
}
else if ( (synpred9_Class()) ) {
alt37=2;
}
else if ( (synpred10_Class()) ) {
alt37=3;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 37, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 37, 0, input);
throw nvae;
}
switch (alt37) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:736:4: ( '___1000___' )=> (ret= data_classes_classtypedefinition_functionCallExpression )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:736:20: (ret= data_classes_classtypedefinition_functionCallExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:736:21: ret= data_classes_classtypedefinition_functionCallExpression
{
pushFollow(FOLLOW_data_classes_classtypedefinition_functionCallExpression_in_data_classes_typedefinition_functionCallExpression2721);
ret=data_classes_classtypedefinition_functionCallExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:737:5: ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_functionCallExpression )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:737:21: (ret= data_classes_functionsignaturetypedefinition_functionCallExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:737:22: ret= data_classes_functionsignaturetypedefinition_functionCallExpression
{
pushFollow(FOLLOW_data_classes_functionsignaturetypedefinition_functionCallExpression_in_data_classes_typedefinition_functionCallExpression2735);
ret=data_classes_functionsignaturetypedefinition_functionCallExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:738:5: ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_functionCallExpression )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:738:21: (ret= data_classes_nestedtypedefinition_functionCallExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:738:22: ret= data_classes_nestedtypedefinition_functionCallExpression
{
pushFollow(FOLLOW_data_classes_nestedtypedefinition_functionCallExpression_in_data_classes_typedefinition_functionCallExpression2749);
ret=data_classes_nestedtypedefinition_functionCallExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_functionCallExpression"
// $ANTLR start "data_classes_classtypedefinition_functionCallExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:745:1: data_classes_classtypedefinition_functionCallExpression returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_functionCallExpression() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"functionCallExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:750:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:751:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:751:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:751:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA768BE70B311DF9AF7E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.oclAsType(ClassTypeDefinition).clazz", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.oclAsType(ClassTypeDefinition).objectParameters", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.lowerMultiplicity * self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:if self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.isMany() or self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().isMany() then -1 else self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.upperMultiplicity * self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().upperMultiplicity endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.ordered or self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.unique and not self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().isMany()", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_functionCallExpression"
// $ANTLR start "data_classes_functionsignaturetypedefinition_functionCallExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:759:1: data_classes_functionsignaturetypedefinition_functionCallExpression returns [Object ret2] : () ;
public final Object data_classes_functionsignaturetypedefinition_functionCallExpression() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","FunctionSignatureTypeDefinition");
onEnterTemplateRule(metaType,"functionCallExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:764:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:765:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:765:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:765:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BA9B2AA70B311DFBDBCE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "signature", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.oclAsType(FunctionSignatureTypeDefinition).signature", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.lowerMultiplicity * self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:if self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.isMany() or self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().isMany() then -1 else self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.upperMultiplicity * self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().upperMultiplicity endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.ordered or self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.unique and not self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().isMany()", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignaturetypedefinition_functionCallExpression"
// $ANTLR start "data_classes_nestedtypedefinition_functionCallExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:773:1: data_classes_nestedtypedefinition_functionCallExpression returns [Object ret2] : () ;
public final Object data_classes_nestedtypedefinition_functionCallExpression() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NestedTypeDefinition");
onEnterTemplateRule(metaType,"functionCallExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:778:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:779:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:779:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:779:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BAC23AA70B311DF86C3E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "type", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().upperMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nestedtypedefinition_functionCallExpression"
// $ANTLR start "data_classes_nestedtypedefinition_functionCallExpressionNoFurtherNesting"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:787:1: data_classes_nestedtypedefinition_functionCallExpressionNoFurtherNesting returns [Object ret2] : () ;
public final Object data_classes_nestedtypedefinition_functionCallExpressionNoFurtherNesting() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NestedTypeDefinition");
onEnterTemplateRule(metaType,"functionCallExpressionNoFurtherNesting");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:792:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:793:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:793:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:793:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BAC23B870B311DF9BFBE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "type", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.oclAsType(NestedTypeDefinition).type", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.lowerMultiplicity * self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().upperMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.ordered or self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.ownerTypedElement.oclAsType(FunctionCallExpression).getSignature().output.unique and not self.ownerTypedElement.oclAsType(FunctionCallExpression).calledBlock.getType().isMany()", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nestedtypedefinition_functionCallExpressionNoFurtherNesting"
// $ANTLR start "behavioral_actions_return"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:801:1: behavioral_actions_return returns [Object ret2] : ( 'return' (temp= dataaccess_expressions_expression )? ) ;
public final Object behavioral_actions_return() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","Return");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:806:3: ( ( 'return' (temp= dataaccess_expressions_expression )? ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:807:3: ( 'return' (temp= dataaccess_expressions_expression )? )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:807:3: ( 'return' (temp= dataaccess_expressions_expression )? )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:807:4: 'return' (temp= dataaccess_expressions_expression )?
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BAE6D9070B311DFB9A5E517C0A868C8");
}
match(input,66,FOLLOW_66_in_behavioral_actions_return2940); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BAE6D9270B311DF941EE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:807:146: (temp= dataaccess_expressions_expression )?
int alt38=2;
int LA38_0 = input.LA(1);
if ( ((LA38_0>=NAME && LA38_0<=DATE)||LA38_0==LPAREN||LA38_0==51||(LA38_0>=56 && LA38_0<=58)||LA38_0==64||LA38_0==68||LA38_0==73||(LA38_0>=77 && LA38_0<=78)||LA38_0==90||LA38_0==94) ) {
alt38=1;
}
switch (alt38) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:807:148: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_return2947);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "argument", temp);
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_return"
// $ANTLR start "persistence_actions_statementwithentityargument"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:815:1: persistence_actions_statementwithentityargument returns [Object ret2] : (ret= persistence_actions_store | ret= persistence_actions_delete ) ;
public final Object persistence_actions_statementwithentityargument() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:816:3: ( (ret= persistence_actions_store | ret= persistence_actions_delete ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:817:3: (ret= persistence_actions_store | ret= persistence_actions_delete )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:817:3: (ret= persistence_actions_store | ret= persistence_actions_delete )
int alt39=2;
int LA39_0 = input.LA(1);
if ( (LA39_0==52) ) {
alt39=1;
}
else if ( (LA39_0==95) ) {
alt39=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 39, 0, input);
throw nvae;
}
switch (alt39) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:817:4: ret= persistence_actions_store
{
pushFollow(FOLLOW_persistence_actions_store_in_persistence_actions_statementwithentityargument2989);
ret=persistence_actions_store();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:818:5: ret= persistence_actions_delete
{
pushFollow(FOLLOW_persistence_actions_delete_in_persistence_actions_statementwithentityargument2997);
ret=persistence_actions_delete();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "persistence_actions_statementwithentityargument"
// $ANTLR start "persistence_actions_store"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:825:1: persistence_actions_store returns [Object ret2] : ( 'store' (temp= dataaccess_expressions_expression ) ) ;
public final Object persistence_actions_store() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("persistence","actions","Store");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:830:3: ( ( 'store' (temp= dataaccess_expressions_expression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:831:3: ( 'store' (temp= dataaccess_expressions_expression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:831:3: ( 'store' (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:831:4: 'store' (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BB0DE9070B311DF862EE517C0A868C8");
}
match(input,52,FOLLOW_52_in_persistence_actions_store3027); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BB0DE9370B311DF93CCE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:831:145: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:831:147: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_persistence_actions_store3034);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "argument", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "persistence_actions_store"
// $ANTLR start "persistence_actions_delete"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:839:1: persistence_actions_delete returns [Object ret2] : ( 'delete' (temp= dataaccess_expressions_expression ) ) ;
public final Object persistence_actions_delete() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("persistence","actions","Delete");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:844:3: ( ( 'delete' (temp= dataaccess_expressions_expression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:845:3: ( 'delete' (temp= dataaccess_expressions_expression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:845:3: ( 'delete' (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:845:4: 'delete' (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BB0DE9770B311DF8C18E517C0A868C8");
}
match(input,95,FOLLOW_95_in_persistence_actions_delete3077); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BB0DE9A70B311DFA6DFE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:845:146: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:845:148: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_persistence_actions_delete3084);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "argument", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "persistence_actions_delete"
// $ANTLR start "persistence_actions_rollback"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:853:1: persistence_actions_rollback returns [Object ret2] : ( 'rollback' ) ;
public final Object persistence_actions_rollback() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("persistence","actions","Rollback");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:858:3: ( ( 'rollback' ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:859:3: ( 'rollback' )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:859:3: ( 'rollback' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:859:4: 'rollback'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BB5998070B311DF8C75E517C0A868C8");
}
match(input,61,FOLLOW_61_in_persistence_actions_rollback3127); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "persistence_actions_rollback"
// $ANTLR start "behavioral_actions_assignment"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:867:1: behavioral_actions_assignment returns [Object ret2] : ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) ) ;
public final Object behavioral_actions_assignment() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","Assignment");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:872:3: ( ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:873:3: ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:873:3: ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:873:4: (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BB80A8470B311DFB855E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:873:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:873:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_behavioral_actions_assignment3171);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "assignTo", null, temp, "OCL:self.getNamedValuesInScope()->select(nv | nv.name=?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BB80A8570B311DF955FE517C0A868C8");
}
match(input,EQUALS,FOLLOW_EQUALS_in_behavioral_actions_assignment3178); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BB80A8870B311DFB96FE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:873:341: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:873:343: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_assignment3186);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "argument", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_assignment"
// $ANTLR start "behavioral_actions_namedvaluewithoptionalinitexpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:881:1: behavioral_actions_namedvaluewithoptionalinitexpression returns [Object ret2] : (ret= behavioral_actions_variable | ret= behavioral_actions_constant ) ;
public final Object behavioral_actions_namedvaluewithoptionalinitexpression() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:882:3: ( (ret= behavioral_actions_variable | ret= behavioral_actions_constant ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:883:3: (ret= behavioral_actions_variable | ret= behavioral_actions_constant )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:883:3: (ret= behavioral_actions_variable | ret= behavioral_actions_constant )
int alt40=2;
int LA40_0 = input.LA(1);
if ( (LA40_0==NAME||LA40_0==LPAREN||LA40_0==58||LA40_0==82) ) {
alt40=1;
}
else if ( (LA40_0==64) ) {
alt40=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 40, 0, input);
throw nvae;
}
switch (alt40) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:883:4: ret= behavioral_actions_variable
{
pushFollow(FOLLOW_behavioral_actions_variable_in_behavioral_actions_namedvaluewithoptionalinitexpression3226);
ret=behavioral_actions_variable();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:884:5: ret= behavioral_actions_constant
{
pushFollow(FOLLOW_behavioral_actions_constant_in_behavioral_actions_namedvaluewithoptionalinitexpression3234);
ret=behavioral_actions_constant();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "behavioral_actions_namedvaluewithoptionalinitexpression"
// $ANTLR start "behavioral_actions_variable"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:891:1: behavioral_actions_variable returns [Object ret2] : ( ( ( 'var' (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) | ( (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) ) ) ;
public final Object behavioral_actions_variable() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","Variable");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:896:3: ( ( ( ( 'var' (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) | ( (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:3: ( ( ( 'var' (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) | ( (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:3: ( ( ( 'var' (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) | ( (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:4: ( ( 'var' (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) | ( (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BBF367370B311DF8595E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:63: ( ( 'var' (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) | ( (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) )
int alt43=2;
int LA43_0 = input.LA(1);
if ( (LA43_0==82) ) {
alt43=1;
}
else if ( (LA43_0==NAME||LA43_0==LPAREN||LA43_0==58) ) {
alt43=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 43, 0, input);
throw nvae;
}
switch (alt43) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:64: ( 'var' (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:80: ( 'var' (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:81: 'var' (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BBCC57070B311DF96C7E517C0A868C8");
}
match(input,82,FOLLOW_82_in_behavioral_actions_variable3269); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BBCC57270B311DFC3F0E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:220: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:222: temp= identifier
{
pushFollow(FOLLOW_identifier_in_behavioral_actions_variable3276);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BBCC57A70B311DFBFD1E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:348: ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | )
int alt41=2;
int LA41_0 = input.LA(1);
if ( (LA41_0==EQUALS) ) {
alt41=1;
}
else if ( (LA41_0==EOF||LA41_0==SEMICOLON) ) {
alt41=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 41, 0, input);
throw nvae;
}
switch (alt41) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:349: ( EQUALS (temp= dataaccess_expressions_expression ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:365: ( EQUALS (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:366: EQUALS (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BBCC57670B311DFB5A0E517C0A868C8");
}
match(input,EQUALS,FOLLOW_EQUALS_in_behavioral_actions_variable3289); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BBCC57870B311DFA4CEE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:508: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:510: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_variable3297);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "initExpression", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:897:627:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:4: ( (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:20: ( (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:21: (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BBCC57E70B311DF8748E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:80: (temp= data_classes_typedefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:82: temp= data_classes_typedefinition
{
pushFollow(FOLLOW_data_classes_typedefinition_in_behavioral_actions_variable3330);
temp=data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BBCC58070B311DFA916E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:239: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:241: temp= identifier
{
pushFollow(FOLLOW_identifier_in_behavioral_actions_variable3340);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BBF367170B311DFB3FFE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:367: ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | )
int alt42=2;
int LA42_0 = input.LA(1);
if ( (LA42_0==EQUALS) ) {
alt42=1;
}
else if ( (LA42_0==EOF||LA42_0==SEMICOLON) ) {
alt42=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 42, 0, input);
throw nvae;
}
switch (alt42) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:368: ( EQUALS (temp= dataaccess_expressions_expression ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:384: ( EQUALS (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:385: EQUALS (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BBCC58470B311DF82D8E517C0A868C8");
}
match(input,EQUALS,FOLLOW_EQUALS_in_behavioral_actions_variable3353); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BBCC58670B311DFAF6AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:527: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:529: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_variable3361);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "initExpression", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:899:646:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BBF367670B311DF9EE4E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "owner", list("behavioral","actions","Block"), null, null, "#context(block)", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_variable"
// $ANTLR start "behavioral_actions_constant"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:908:1: behavioral_actions_constant returns [Object ret2] : ( 'const' ( ( identifier EQUALS )=> ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? ) | ( (temp= data_classes_typedefinition )? (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? ) ) ) ;
public final Object behavioral_actions_constant() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","Constant");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:913:3: ( ( 'const' ( ( identifier EQUALS )=> ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? ) | ( (temp= data_classes_typedefinition )? (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:914:3: ( 'const' ( ( identifier EQUALS )=> ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? ) | ( (temp= data_classes_typedefinition )? (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:914:3: ( 'const' ( ( identifier EQUALS )=> ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? ) | ( (temp= data_classes_typedefinition )? (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:914:4: 'const' ( ( identifier EQUALS )=> ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? ) | ( (temp= data_classes_typedefinition )? (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC1806070B311DFC451E517C0A868C8");
}
match(input,64,FOLLOW_64_in_behavioral_actions_constant3425); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC1806F70B311DFC82EE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:914:145: ( ( identifier EQUALS )=> ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? ) | ( (temp= data_classes_typedefinition )? (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? ) )
int alt47=2;
int LA47_0 = input.LA(1);
if ( (LA47_0==NAME) ) {
int LA47_1 = input.LA(2);
if ( (LA47_1==NAME||LA47_1==INT||(LA47_1>=PIPE && LA47_1<=LCURL)||LA47_1==LANGLE||LA47_1==LBRACKET||LA47_1==STAR||LA47_1==LBRACK_LCURL||LA47_1==LCURL_LBRACK) ) {
alt47=2;
}
else if ( (LA47_1==EQUALS) ) {
int LA47_3 = input.LA(3);
if ( (synpred11_Class()) ) {
alt47=1;
}
else if ( (true) ) {
alt47=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 47, 3, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 47, 1, input);
throw nvae;
}
}
else if ( (LA47_0==LPAREN||LA47_0==58) ) {
alt47=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 47, 0, input);
throw nvae;
}
switch (alt47) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:914:146: ( identifier EQUALS )=> ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:914:185: ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:914:186: (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )?
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC1806270B311DF9174E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:914:245: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:914:247: temp= identifier
{
pushFollow(FOLLOW_identifier_in_behavioral_actions_constant3445);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC1806370B311DF8A91E517C0A868C8");
}
match(input,EQUALS,FOLLOW_EQUALS_in_behavioral_actions_constant3452); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC1806570B311DF91E9E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:914:455: (temp= dataaccess_expressions_expression )?
int alt44=2;
int LA44_0 = input.LA(1);
if ( ((LA44_0>=NAME && LA44_0<=DATE)||LA44_0==LPAREN||LA44_0==51||(LA44_0>=56 && LA44_0<=58)||LA44_0==64||LA44_0==68||LA44_0==73||(LA44_0>=77 && LA44_0<=78)||LA44_0==90||LA44_0==94) ) {
alt44=1;
}
switch (alt44) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:914:457: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_constant3460);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "initExpression", temp);
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:915:4: ( (temp= data_classes_typedefinition )? (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:915:20: ( (temp= data_classes_typedefinition )? (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )? )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:915:21: (temp= data_classes_typedefinition )? (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )?
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC1806870B311DFCD8DE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:915:80: (temp= data_classes_typedefinition )?
int alt45=2;
int LA45_0 = input.LA(1);
if ( (LA45_0==NAME) ) {
int LA45_1 = input.LA(2);
if ( (LA45_1==NAME||LA45_1==INT||(LA45_1>=PIPE && LA45_1<=LCURL)||LA45_1==LANGLE||LA45_1==LBRACKET||LA45_1==STAR||LA45_1==LBRACK_LCURL||LA45_1==LCURL_LBRACK) ) {
alt45=1;
}
}
else if ( (LA45_0==LPAREN||LA45_0==58) ) {
alt45=1;
}
switch (alt45) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:915:82: temp= data_classes_typedefinition
{
pushFollow(FOLLOW_data_classes_typedefinition_in_behavioral_actions_constant3482);
temp=data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC1806A70B311DFB98DE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:915:241: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:915:243: temp= identifier
{
pushFollow(FOLLOW_identifier_in_behavioral_actions_constant3494);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC1806B70B311DF9C94E517C0A868C8");
}
match(input,EQUALS,FOLLOW_EQUALS_in_behavioral_actions_constant3501); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC1806D70B311DF8CDBE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:915:451: (temp= dataaccess_expressions_expression )?
int alt46=2;
int LA46_0 = input.LA(1);
if ( ((LA46_0>=NAME && LA46_0<=DATE)||LA46_0==LPAREN||LA46_0==51||(LA46_0>=56 && LA46_0<=58)||LA46_0==64||LA46_0==68||LA46_0==73||(LA46_0>=77 && LA46_0<=78)||LA46_0==90||LA46_0==94) ) {
alt46=1;
}
switch (alt46) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:915:453: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_constant3509);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "initExpression", temp);
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC3F16270B311DF9A79E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "owner", list("behavioral","actions","Block"), null, null, "#context(block)", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_constant"
// $ANTLR start "behavioral_actions_linkmanipulationstatement"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:923:1: behavioral_actions_linkmanipulationstatement returns [Object ret2] : (ret= behavioral_actions_addlink | ret= behavioral_actions_removelink ) ;
public final Object behavioral_actions_linkmanipulationstatement() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:924:3: ( (ret= behavioral_actions_addlink | ret= behavioral_actions_removelink ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:925:3: (ret= behavioral_actions_addlink | ret= behavioral_actions_removelink )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:925:3: (ret= behavioral_actions_addlink | ret= behavioral_actions_removelink )
int alt48=2;
int LA48_0 = input.LA(1);
if ( (LA48_0==81) ) {
alt48=1;
}
else if ( (LA48_0==55) ) {
alt48=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 48, 0, input);
throw nvae;
}
switch (alt48) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:925:4: ret= behavioral_actions_addlink
{
pushFollow(FOLLOW_behavioral_actions_addlink_in_behavioral_actions_linkmanipulationstatement3559);
ret=behavioral_actions_addlink();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:926:5: ret= behavioral_actions_removelink
{
pushFollow(FOLLOW_behavioral_actions_removelink_in_behavioral_actions_linkmanipulationstatement3567);
ret=behavioral_actions_removelink();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "behavioral_actions_linkmanipulationstatement"
// $ANTLR start "behavioral_actions_addlink"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:933:1: behavioral_actions_addlink returns [Object ret2] : ( 'AddLink' LPAREN (temp= identifier ) ',' (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression ) ) RPAREN ) ;
public final Object behavioral_actions_addlink() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","AddLink");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:938:3: ( ( 'AddLink' LPAREN (temp= identifier ) ',' (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression ) ) RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:939:3: ( 'AddLink' LPAREN (temp= identifier ) ',' (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression ) ) RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:939:3: ( 'AddLink' LPAREN (temp= identifier ) ',' (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression ) ) RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:939:4: 'AddLink' LPAREN (temp= identifier ) ',' (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression ) ) RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6626070B311DF9780E517C0A868C8");
}
match(input,81,FOLLOW_81_in_behavioral_actions_addlink3597); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6626170B311DF9EA6E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_behavioral_actions_addlink3601); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6626670B311DFCBA7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:939:230: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:939:232: temp= identifier
{
pushFollow(FOLLOW_identifier_in_behavioral_actions_addlink3609);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "association", null, temp, "OCL:self.objects->at(1).getType().oclAsType(data::classes::ClassTypeDefinition).clazz.getAssociationEnds()->select(e| e.association.name=?).association");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6626770B311DF9E22E517C0A868C8");
}
match(input,67,FOLLOW_67_in_behavioral_actions_addlink3615); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6626C70B311DF95E8E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:939:601: (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:939:603: temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_addlink3622);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "objects", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:939:679: ( ( ',' ) temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:939:680: ( ',' ) temp= dataaccess_expressions_expression
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:939:697: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:939:698: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6626970B311DF9EDDE517C0A868C8");
}
match(input,67,FOLLOW_67_in_behavioral_actions_addlink3630); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_addlink3637);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "objects", temp);
}
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6626D70B311DFA7E7E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_behavioral_actions_addlink3645); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_addlink"
// $ANTLR start "behavioral_actions_removelink"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:947:1: behavioral_actions_removelink returns [Object ret2] : ( 'RemoveLink' LPAREN (temp= identifier ) ',' (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression ) ) RPAREN ) ;
public final Object behavioral_actions_removelink() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","RemoveLink");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:952:3: ( ( 'RemoveLink' LPAREN (temp= identifier ) ',' (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression ) ) RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:953:3: ( 'RemoveLink' LPAREN (temp= identifier ) ',' (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression ) ) RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:953:3: ( 'RemoveLink' LPAREN (temp= identifier ) ',' (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression ) ) RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:953:4: 'RemoveLink' LPAREN (temp= identifier ) ',' (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression ) ) RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6627170B311DFA81FE517C0A868C8");
}
match(input,55,FOLLOW_55_in_behavioral_actions_removelink3686); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6627270B311DFB142E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_behavioral_actions_removelink3690); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6627770B311DF9142E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:953:233: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:953:235: temp= identifier
{
pushFollow(FOLLOW_identifier_in_behavioral_actions_removelink3698);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "association", null, temp, "OCL:self.objects->at(1).getType().oclAsType(data::classes::ClassTypeDefinition).clazz.getAssociationEnds()->select(e| e.association.name=?).association");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6627870B311DF809CE517C0A868C8");
}
match(input,67,FOLLOW_67_in_behavioral_actions_removelink3704); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6627D70B311DFA137E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:953:604: (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:953:606: temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_removelink3711);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "objects", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:953:682: ( ( ',' ) temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:953:683: ( ',' ) temp= dataaccess_expressions_expression
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:953:700: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:953:701: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6627A70B311DFB6DAE517C0A868C8");
}
match(input,67,FOLLOW_67_in_behavioral_actions_removelink3719); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_removelink3726);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "objects", temp);
}
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC6627E70B311DF8FA1E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_behavioral_actions_removelink3734); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_removelink"
// $ANTLR start "data_classes_classtypedefinition_property"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:961:1: data_classes_classtypedefinition_property returns [Object ret2] : ( (temp= data_classes_associationend_property ) ) ;
public final Object data_classes_classtypedefinition_property() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"property");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:966:3: ( ( (temp= data_classes_associationend_property ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:967:3: ( (temp= data_classes_associationend_property ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:967:3: ( (temp= data_classes_associationend_property ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:967:4: (temp= data_classes_associationend_property )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC8AC5570B311DF9828E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:967:63: (temp= data_classes_associationend_property )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:967:65: temp= data_classes_associationend_property
{
pushFollow(FOLLOW_data_classes_associationend_property_in_data_classes_classtypedefinition_property3779);
temp=data_classes_associationend_property();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "associationEnd", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BC8AC6370B311DF9D10E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.associationEnd.otherEnd().type.unique", true);_exitInjectorAction();_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
list.add(new PredicateSemantic(null, "data_classes_actualobjectparameter_localAssociationEnd"));
setPredicateRef(ret,"ownedObjectParameters","localAssociationEnd","OCL:#context(root).oclAsType(data::classes::SapClass).formalObjectParameters",list,finder,true);
}
_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:self.ownedObjectParameters", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_property"
// $ANTLR start "data_classes_actualobjectparameter_localAssociationEnd"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:982:1: data_classes_actualobjectparameter_localAssociationEnd returns [Object ret2] : ( (temp= dataaccess_expressions_expression_localAssociationEnd ) ) ;
public final Object data_classes_actualobjectparameter_localAssociationEnd() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","ActualObjectParameter");
onEnterTemplateRule(metaType,"localAssociationEnd");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:987:3: ( ( (temp= dataaccess_expressions_expression_localAssociationEnd ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:988:3: ( (temp= dataaccess_expressions_expression_localAssociationEnd ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:988:3: ( (temp= dataaccess_expressions_expression_localAssociationEnd ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:988:4: (temp= dataaccess_expressions_expression_localAssociationEnd )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BCB1D5270B311DF82DDE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "formalObjectParameter", null, null, "OCL:#foreach(Parameter)", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BCB1D5570B311DF8E17E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:988:270: (temp= dataaccess_expressions_expression_localAssociationEnd )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:988:272: temp= dataaccess_expressions_expression_localAssociationEnd
{
pushFollow(FOLLOW_dataaccess_expressions_expression_localAssociationEnd_in_data_classes_actualobjectparameter_localAssociationEnd3832);
temp=dataaccess_expressions_expression_localAssociationEnd();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "value", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_actualobjectparameter_localAssociationEnd"
// $ANTLR start "dataaccess_expressions_expression_localAssociationEnd"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:996:1: dataaccess_expressions_expression_localAssociationEnd returns [Object ret2] : (ret= dataaccess_expressions_variableexpression_localAssociationEnd ) ;
public final Object dataaccess_expressions_expression_localAssociationEnd() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:997:3: ( (ret= dataaccess_expressions_variableexpression_localAssociationEnd ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:998:3: (ret= dataaccess_expressions_variableexpression_localAssociationEnd )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:998:3: (ret= dataaccess_expressions_variableexpression_localAssociationEnd )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:998:4: ret= dataaccess_expressions_variableexpression_localAssociationEnd
{
pushFollow(FOLLOW_dataaccess_expressions_variableexpression_localAssociationEnd_in_dataaccess_expressions_expression_localAssociationEnd3872);
ret=dataaccess_expressions_variableexpression_localAssociationEnd();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_expression_localAssociationEnd"
// $ANTLR start "dataaccess_expressions_variableexpression_localAssociationEnd"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1005:1: dataaccess_expressions_variableexpression_localAssociationEnd returns [Object ret2] : () ;
public final Object dataaccess_expressions_variableexpression_localAssociationEnd() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("dataaccess","expressions","VariableExpression");
onEnterTemplateRule(metaType,"localAssociationEnd");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1010:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1011:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1011:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1011:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BCFD84270B311DFAE89E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "variable", null, null, "OCL:#foreach(Parameter)", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_variableexpression_localAssociationEnd"
// $ANTLR start "data_classes_associationend_property"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1019:1: data_classes_associationend_property returns [Object ret2] : ( ( ( 'owns' ) | ) (temp= data_classes_association_property ) ) ;
public final Object data_classes_associationend_property() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","AssociationEnd");
onEnterTemplateRule(metaType,"property");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1024:3: ( ( ( ( 'owns' ) | ) (temp= data_classes_association_property ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1025:3: ( ( ( 'owns' ) | ) (temp= data_classes_association_property ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1025:3: ( ( ( 'owns' ) | ) (temp= data_classes_association_property ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1025:4: ( ( 'owns' ) | ) (temp= data_classes_association_property )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BD2494570B311DFADB6E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1025:64: ( ( 'owns' ) | )
int alt49=2;
int LA49_0 = input.LA(1);
if ( (LA49_0==96) ) {
alt49=1;
}
else if ( (LA49_0==NAME) ) {
alt49=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 49, 0, input);
throw nvae;
}
switch (alt49) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1025:65: ( 'owns' )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1025:81: ( 'owns' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1025:82: 'owns'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BD2494370B311DFCA6CE517C0A868C8");
}
match(input,96,FOLLOW_96_in_data_classes_associationend_property3948); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "composite", java.lang.Boolean.TRUE);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1025:237:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
setProperty(ret, "composite", java.lang.Boolean.FALSE);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BD2494870B311DFB564E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1026:76: (temp= data_classes_association_property )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1026:78: temp= data_classes_association_property
{
pushFollow(FOLLOW_data_classes_association_property_in_data_classes_associationend_property3970);
temp=data_classes_association_property();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "association", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BD2494F70B311DF812BE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "name", "unnamed");_exitInjectorAction();_enterInjectorAction();setProperty(ret, "navigable", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "contributesToEquality", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_associationend_property"
// $ANTLR start "data_classes_association_property"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1034:1: data_classes_association_property returns [Object ret2] : ( (temp= data_classes_associationend ) ) ;
public final Object data_classes_association_property() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","Association");
onEnterTemplateRule(metaType,"property");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1039:3: ( ( (temp= data_classes_associationend ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1040:3: ( (temp= data_classes_associationend ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1040:3: ( (temp= data_classes_associationend ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1040:4: (temp= data_classes_associationend )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BD7043370B311DFB288E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1040:63: (temp= data_classes_associationend )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1040:65: temp= data_classes_associationend
{
pushFollow(FOLLOW_data_classes_associationend_in_data_classes_association_property4020);
temp=data_classes_associationend();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ends", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BD7043870B311DF9B19E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "name", "unnamed");_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "package_", null, null, "OCL:#context(root).oclAsType(data::classes::SapClass).package_", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_association_property"
// $ANTLR start "data_classes_associationend"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1048:1: data_classes_associationend returns [Object ret2] : ( (temp= data_classes_classtypedefinition ) (temp= identifier ) ( ( LCURL (temp= data_classes_associationendsignatureimplementation_property ( ( ',' ) temp= data_classes_associationendsignatureimplementation_property )* ) RCURL ) | ( SEMICOLON ) ) ) ;
public final Object data_classes_associationend() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","AssociationEnd");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1053:3: ( ( (temp= data_classes_classtypedefinition ) (temp= identifier ) ( ( LCURL (temp= data_classes_associationendsignatureimplementation_property ( ( ',' ) temp= data_classes_associationendsignatureimplementation_property )* ) RCURL ) | ( SEMICOLON ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:3: ( (temp= data_classes_classtypedefinition ) (temp= identifier ) ( ( LCURL (temp= data_classes_associationendsignatureimplementation_property ( ( ',' ) temp= data_classes_associationendsignatureimplementation_property )* ) RCURL ) | ( SEMICOLON ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:3: ( (temp= data_classes_classtypedefinition ) (temp= identifier ) ( ( LCURL (temp= data_classes_associationendsignatureimplementation_property ( ( ',' ) temp= data_classes_associationendsignatureimplementation_property )* ) RCURL ) | ( SEMICOLON ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:4: (temp= data_classes_classtypedefinition ) (temp= identifier ) ( ( LCURL (temp= data_classes_associationendsignatureimplementation_property ( ( ',' ) temp= data_classes_associationendsignatureimplementation_property )* ) RCURL ) | ( SEMICOLON ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BD9753170B311DFB94FE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:63: (temp= data_classes_classtypedefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:65: temp= data_classes_classtypedefinition
{
pushFollow(FOLLOW_data_classes_classtypedefinition_in_data_classes_associationend4070);
temp=data_classes_classtypedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "type", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BD9753370B311DF80E4E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:212: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:214: temp= identifier
{
pushFollow(FOLLOW_identifier_in_data_classes_associationend4080);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BD9753870B311DFA689E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "navigable", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "contributesToEquality", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BDBBF2670B311DFA6DCE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:591: ( ( LCURL (temp= data_classes_associationendsignatureimplementation_property ( ( ',' ) temp= data_classes_associationendsignatureimplementation_property )* ) RCURL ) | ( SEMICOLON ) )
int alt51=2;
int LA51_0 = input.LA(1);
if ( (LA51_0==LCURL) ) {
alt51=1;
}
else if ( (LA51_0==SEMICOLON) ) {
alt51=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 51, 0, input);
throw nvae;
}
switch (alt51) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:592: ( LCURL (temp= data_classes_associationendsignatureimplementation_property ( ( ',' ) temp= data_classes_associationendsignatureimplementation_property )* ) RCURL )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:608: ( LCURL (temp= data_classes_associationendsignatureimplementation_property ( ( ',' ) temp= data_classes_associationendsignatureimplementation_property )* ) RCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:609: LCURL (temp= data_classes_associationendsignatureimplementation_property ( ( ',' ) temp= data_classes_associationendsignatureimplementation_property )* ) RCURL
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BD9753970B311DFA31CE517C0A868C8");
}
match(input,LCURL,FOLLOW_LCURL_in_data_classes_associationend4095); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BDBBF2070B311DF8530E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:750: (temp= data_classes_associationendsignatureimplementation_property ( ( ',' ) temp= data_classes_associationendsignatureimplementation_property )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:752: temp= data_classes_associationendsignatureimplementation_property ( ( ',' ) temp= data_classes_associationendsignatureimplementation_property )*
{
pushFollow(FOLLOW_data_classes_associationendsignatureimplementation_property_in_data_classes_associationend4103);
temp=data_classes_associationendsignatureimplementation_property();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "signatureImplementations", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:871: ( ( ',' ) temp= data_classes_associationendsignatureimplementation_property )*
loop50:
do {
int alt50=2;
int LA50_0 = input.LA(1);
if ( (LA50_0==67) ) {
alt50=1;
}
switch (alt50) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:872: ( ',' ) temp= data_classes_associationendsignatureimplementation_property
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:889: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1054:890: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BD9753D70B311DFCFDEE517C0A868C8");
}
match(input,67,FOLLOW_67_in_data_classes_associationend4111); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_data_classes_associationendsignatureimplementation_property_in_data_classes_associationend4118);
temp=data_classes_associationendsignatureimplementation_property();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "signatureImplementations", temp);
}
}
break;
default :
break loop50;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BDBBF2170B311DF87E6E517C0A868C8");
}
match(input,RCURL,FOLLOW_RCURL_in_data_classes_associationend4128); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1055:4: ( SEMICOLON )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1055:20: ( SEMICOLON )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1055:21: SEMICOLON
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BDBBF2370B311DF978FE517C0A868C8");
}
match(input,SEMICOLON,FOLLOW_SEMICOLON_in_data_classes_associationend4143); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BDBBF2470B311DF98D1E517C0A868C8");
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_associationend"
// $ANTLR start "data_classes_associationendsignatureimplementation_property"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1063:1: data_classes_associationendsignatureimplementation_property returns [Object ret2] : (ret= data_classes_extentmodifyingassociationendsignatureimplementation_property | ret= data_classes_linktraversal_property ) ;
public final Object data_classes_associationendsignatureimplementation_property() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1064:3: ( (ret= data_classes_extentmodifyingassociationendsignatureimplementation_property | ret= data_classes_linktraversal_property ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1065:3: (ret= data_classes_extentmodifyingassociationendsignatureimplementation_property | ret= data_classes_linktraversal_property )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1065:3: (ret= data_classes_extentmodifyingassociationendsignatureimplementation_property | ret= data_classes_linktraversal_property )
int alt52=2;
int LA52_0 = input.LA(1);
if ( (LA52_0==EQUALS||LA52_0==76||LA52_0==80) ) {
alt52=1;
}
else if ( (LA52_0==DOT) ) {
alt52=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 52, 0, input);
throw nvae;
}
switch (alt52) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1065:4: ret= data_classes_extentmodifyingassociationendsignatureimplementation_property
{
pushFollow(FOLLOW_data_classes_extentmodifyingassociationendsignatureimplementation_property_in_data_classes_associationendsignatureimplementation_property4188);
ret=data_classes_extentmodifyingassociationendsignatureimplementation_property();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1066:5: ret= data_classes_linktraversal_property
{
pushFollow(FOLLOW_data_classes_linktraversal_property_in_data_classes_associationendsignatureimplementation_property4196);
ret=data_classes_linktraversal_property();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_associationendsignatureimplementation_property"
// $ANTLR start "data_classes_extentmodifyingassociationendsignatureimplementation_property"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1073:1: data_classes_extentmodifyingassociationendsignatureimplementation_property returns [Object ret2] : (ret= data_classes_linkmanipulationatposition_property | ret= data_classes_linksetting_property ) ;
public final Object data_classes_extentmodifyingassociationendsignatureimplementation_property() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1074:3: ( (ret= data_classes_linkmanipulationatposition_property | ret= data_classes_linksetting_property ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1075:3: (ret= data_classes_linkmanipulationatposition_property | ret= data_classes_linksetting_property )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1075:3: (ret= data_classes_linkmanipulationatposition_property | ret= data_classes_linksetting_property )
int alt53=2;
int LA53_0 = input.LA(1);
if ( (LA53_0==76||LA53_0==80) ) {
alt53=1;
}
else if ( (LA53_0==EQUALS) ) {
alt53=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 53, 0, input);
throw nvae;
}
switch (alt53) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1075:4: ret= data_classes_linkmanipulationatposition_property
{
pushFollow(FOLLOW_data_classes_linkmanipulationatposition_property_in_data_classes_extentmodifyingassociationendsignatureimplementation_property4223);
ret=data_classes_linkmanipulationatposition_property();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1076:5: ret= data_classes_linksetting_property
{
pushFollow(FOLLOW_data_classes_linksetting_property_in_data_classes_extentmodifyingassociationendsignatureimplementation_property4231);
ret=data_classes_linksetting_property();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_extentmodifyingassociationendsignatureimplementation_property"
// $ANTLR start "data_classes_linkmanipulationatposition_property"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1083:1: data_classes_linkmanipulationatposition_property returns [Object ret2] : (ret= data_classes_linkaddition_property | ret= data_classes_linkremoval_property ) ;
public final Object data_classes_linkmanipulationatposition_property() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1084:3: ( (ret= data_classes_linkaddition_property | ret= data_classes_linkremoval_property ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1085:3: (ret= data_classes_linkaddition_property | ret= data_classes_linkremoval_property )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1085:3: (ret= data_classes_linkaddition_property | ret= data_classes_linkremoval_property )
int alt54=2;
int LA54_0 = input.LA(1);
if ( (LA54_0==80) ) {
alt54=1;
}
else if ( (LA54_0==76) ) {
alt54=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 54, 0, input);
throw nvae;
}
switch (alt54) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1085:4: ret= data_classes_linkaddition_property
{
pushFollow(FOLLOW_data_classes_linkaddition_property_in_data_classes_linkmanipulationatposition_property4258);
ret=data_classes_linkaddition_property();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1086:5: ret= data_classes_linkremoval_property
{
pushFollow(FOLLOW_data_classes_linkremoval_property_in_data_classes_linkmanipulationatposition_property4266);
ret=data_classes_linkremoval_property();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_linkmanipulationatposition_property"
// $ANTLR start "data_classes_linktraversal_property"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1093:1: data_classes_linktraversal_property returns [Object ret2] : ( DOT (temp= data_classes_methodsignature_propertyGetter ) ) ;
public final Object data_classes_linktraversal_property() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","LinkTraversal");
onEnterTemplateRule(metaType,"property");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1098:3: ( ( DOT (temp= data_classes_methodsignature_propertyGetter ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1099:3: ( DOT (temp= data_classes_methodsignature_propertyGetter ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1099:3: ( DOT (temp= data_classes_methodsignature_propertyGetter ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1099:4: DOT (temp= data_classes_methodsignature_propertyGetter )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BE07A1070B311DFC065E517C0A868C8");
}
match(input,DOT,FOLLOW_DOT_in_data_classes_linktraversal_property4297); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BE07A1470B311DF9E3AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1099:143: (temp= data_classes_methodsignature_propertyGetter )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1099:145: temp= data_classes_methodsignature_propertyGetter
{
pushFollow(FOLLOW_data_classes_methodsignature_propertyGetter_in_data_classes_linktraversal_property4305);
temp=data_classes_methodsignature_propertyGetter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "implements_", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_linktraversal_property"
// $ANTLR start "data_classes_methodsignature_propertyGetter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1107:1: data_classes_methodsignature_propertyGetter returns [Object ret2] : () ;
public final Object data_classes_methodsignature_propertyGetter() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","MethodSignature");
onEnterTemplateRule(metaType,"propertyGetter");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1112:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1113:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1113:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1113:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BE07A2070B311DFC385E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:'.'.concat(#context.oclAsType(data::classes::AssociationEnd).name)", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "output", null, null, "OCL:#context.oclAsType(data::classes::AssociationEnd).type", true);_exitInjectorAction();_enterInjectorAction();setRef(ret, "owner", list("data","classes","SignatureOwner"), null, null, "#context(root)", null, null, false, null, true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "sideEffectFree", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_methodsignature_propertyGetter"
// $ANTLR start "data_classes_linksetting_property"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1121:1: data_classes_linksetting_property returns [Object ret2] : ( EQUALS (temp= data_classes_methodsignature_propertySetter ) ) ;
public final Object data_classes_linksetting_property() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","LinkSetting");
onEnterTemplateRule(metaType,"property");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1126:3: ( ( EQUALS (temp= data_classes_methodsignature_propertySetter ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1127:3: ( EQUALS (temp= data_classes_methodsignature_propertySetter ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1127:3: ( EQUALS (temp= data_classes_methodsignature_propertySetter ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1127:4: EQUALS (temp= data_classes_methodsignature_propertySetter )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BE2EB1070B311DF9EE8E517C0A868C8");
}
match(input,EQUALS,FOLLOW_EQUALS_in_data_classes_linksetting_property4389); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BE2EB1470B311DFC2EBE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1127:146: (temp= data_classes_methodsignature_propertySetter )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1127:148: temp= data_classes_methodsignature_propertySetter
{
pushFollow(FOLLOW_data_classes_methodsignature_propertySetter_in_data_classes_linksetting_property4397);
temp=data_classes_methodsignature_propertySetter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "implements_", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_linksetting_property"
// $ANTLR start "data_classes_methodsignature_propertySetter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1135:1: data_classes_methodsignature_propertySetter returns [Object ret2] : ( (temp= data_classes_parameter_propertyModifier ) ) ;
public final Object data_classes_methodsignature_propertySetter() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","MethodSignature");
onEnterTemplateRule(metaType,"propertySetter");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1140:3: ( ( (temp= data_classes_parameter_propertyModifier ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1141:3: ( (temp= data_classes_parameter_propertyModifier ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1141:3: ( (temp= data_classes_parameter_propertyModifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1141:4: (temp= data_classes_parameter_propertyModifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BE2EB1C70B311DFB8E2E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1141:63: (temp= data_classes_parameter_propertyModifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1141:65: temp= data_classes_parameter_propertyModifier
{
pushFollow(FOLLOW_data_classes_parameter_propertyModifier_in_data_classes_methodsignature_propertySetter4444);
temp=data_classes_parameter_propertyModifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "input", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BE2EB2170B311DF8598E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:#context.oclAsType(data::classes::AssociationEnd).name.concat('=')", true);_exitInjectorAction();_enterInjectorAction();setRef(ret, "owner", list("data","classes","SignatureOwner"), null, null, "#context(root)", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_methodsignature_propertySetter"
// $ANTLR start "data_classes_linkaddition_property"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1149:1: data_classes_linkaddition_property returns [Object ret2] : ( '+=' (temp= data_classes_methodsignature_propertyAdder ) ) ;
public final Object data_classes_linkaddition_property() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","LinkAddition");
onEnterTemplateRule(metaType,"property");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1154:3: ( ( '+=' (temp= data_classes_methodsignature_propertyAdder ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1155:3: ( '+=' (temp= data_classes_methodsignature_propertyAdder ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1155:3: ( '+=' (temp= data_classes_methodsignature_propertyAdder ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1155:4: '+=' (temp= data_classes_methodsignature_propertyAdder )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BE55C1070B311DF9C42E517C0A868C8");
}
match(input,80,FOLLOW_80_in_data_classes_linkaddition_property4490); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BE55C1470B311DFAB4BE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1155:142: (temp= data_classes_methodsignature_propertyAdder )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1155:144: temp= data_classes_methodsignature_propertyAdder
{
pushFollow(FOLLOW_data_classes_methodsignature_propertyAdder_in_data_classes_linkaddition_property4497);
temp=data_classes_methodsignature_propertyAdder();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "implements_", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_linkaddition_property"
// $ANTLR start "data_classes_methodsignature_propertyAdder"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1163:1: data_classes_methodsignature_propertyAdder returns [Object ret2] : ( (temp= data_classes_parameter_propertyModifier ) ) ;
public final Object data_classes_methodsignature_propertyAdder() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","MethodSignature");
onEnterTemplateRule(metaType,"propertyAdder");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1168:3: ( ( (temp= data_classes_parameter_propertyModifier ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1169:3: ( (temp= data_classes_parameter_propertyModifier ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1169:3: ( (temp= data_classes_parameter_propertyModifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1169:4: (temp= data_classes_parameter_propertyModifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BE55C1C70B311DFCAB9E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1169:63: (temp= data_classes_parameter_propertyModifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1169:65: temp= data_classes_parameter_propertyModifier
{
pushFollow(FOLLOW_data_classes_parameter_propertyModifier_in_data_classes_methodsignature_propertyAdder4544);
temp=data_classes_parameter_propertyModifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "input", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BE7A60270B311DF8C33E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:#context.oclAsType(data::classes::AssociationEnd).name.concat('+=')", true);_exitInjectorAction();_enterInjectorAction();setRef(ret, "owner", list("data","classes","SignatureOwner"), null, null, "#context(root)", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_methodsignature_propertyAdder"
// $ANTLR start "data_classes_linkremoval_property"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1177:1: data_classes_linkremoval_property returns [Object ret2] : ( '-=' (temp= data_classes_methodsignature_propertyRemover ) ) ;
public final Object data_classes_linkremoval_property() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","LinkRemoval");
onEnterTemplateRule(metaType,"property");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1182:3: ( ( '-=' (temp= data_classes_methodsignature_propertyRemover ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1183:3: ( '-=' (temp= data_classes_methodsignature_propertyRemover ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1183:3: ( '-=' (temp= data_classes_methodsignature_propertyRemover ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1183:4: '-=' (temp= data_classes_methodsignature_propertyRemover )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BE7A60670B311DFBC5AE517C0A868C8");
}
match(input,76,FOLLOW_76_in_data_classes_linkremoval_property4590); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BE7A60A70B311DF89A7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1183:142: (temp= data_classes_methodsignature_propertyRemover )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1183:144: temp= data_classes_methodsignature_propertyRemover
{
pushFollow(FOLLOW_data_classes_methodsignature_propertyRemover_in_data_classes_linkremoval_property4597);
temp=data_classes_methodsignature_propertyRemover();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "implements_", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_linkremoval_property"
// $ANTLR start "data_classes_methodsignature_propertyRemover"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1191:1: data_classes_methodsignature_propertyRemover returns [Object ret2] : ( (temp= data_classes_parameter_propertyModifier ) ) ;
public final Object data_classes_methodsignature_propertyRemover() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","MethodSignature");
onEnterTemplateRule(metaType,"propertyRemover");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1196:3: ( ( (temp= data_classes_parameter_propertyModifier ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1197:3: ( (temp= data_classes_parameter_propertyModifier ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1197:3: ( (temp= data_classes_parameter_propertyModifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1197:4: (temp= data_classes_parameter_propertyModifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BEA170470B311DFBFB8E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:#context.oclAsType(data::classes::AssociationEnd).name.concat('-=')", true);_exitInjectorAction();_enterInjectorAction();setRef(ret, "owner", list("data","classes","SignatureOwner"), null, null, "#context(root)", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BEA170970B311DFAC33E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1197:469: (temp= data_classes_parameter_propertyModifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1197:471: temp= data_classes_parameter_propertyModifier
{
pushFollow(FOLLOW_data_classes_parameter_propertyModifier_in_data_classes_methodsignature_propertyRemover4647);
temp=data_classes_parameter_propertyModifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "input", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_methodsignature_propertyRemover"
// $ANTLR start "data_classes_parameter_propertyModifier"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1205:1: data_classes_parameter_propertyModifier returns [Object ret2] : () ;
public final Object data_classes_parameter_propertyModifier() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","Parameter");
onEnterTemplateRule(metaType,"propertyModifier");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1210:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1211:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1211:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1211:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BEC880270B311DF978CE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "name", "value");_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_parameter_propertyModifier"
// $ANTLR start "primary_dataaccess_expressions_expression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1219:1: primary_dataaccess_expressions_expression returns [Object ret2] : (ret= dataaccess_expressions_literals_literal | ret= dataaccess_expressions_literals_objectliteral | ret= dataaccess_expressions_fp_anonymousfunctionexpr | ret= dataaccess_expressions_variableexpression | ret= dataaccess_expressions_objectbasedexpression | ret= dataaccess_expressions_objectcreationexpression | ret= dataaccess_expressions_this | ret= dataaccess_query_oqlquery | ret= persistence_expressions_all | ret= persistence_expressions_commit | ( LPAREN ret= dataaccess_expressions_expression RPAREN ) ) ;
public final Object primary_dataaccess_expressions_expression() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1220:3: ( (ret= dataaccess_expressions_literals_literal | ret= dataaccess_expressions_literals_objectliteral | ret= dataaccess_expressions_fp_anonymousfunctionexpr | ret= dataaccess_expressions_variableexpression | ret= dataaccess_expressions_objectbasedexpression | ret= dataaccess_expressions_objectcreationexpression | ret= dataaccess_expressions_this | ret= dataaccess_query_oqlquery | ret= persistence_expressions_all | ret= persistence_expressions_commit | ( LPAREN ret= dataaccess_expressions_expression RPAREN ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1221:3: (ret= dataaccess_expressions_literals_literal | ret= dataaccess_expressions_literals_objectliteral | ret= dataaccess_expressions_fp_anonymousfunctionexpr | ret= dataaccess_expressions_variableexpression | ret= dataaccess_expressions_objectbasedexpression | ret= dataaccess_expressions_objectcreationexpression | ret= dataaccess_expressions_this | ret= dataaccess_query_oqlquery | ret= persistence_expressions_all | ret= persistence_expressions_commit | ( LPAREN ret= dataaccess_expressions_expression RPAREN ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1221:3: (ret= dataaccess_expressions_literals_literal | ret= dataaccess_expressions_literals_objectliteral | ret= dataaccess_expressions_fp_anonymousfunctionexpr | ret= dataaccess_expressions_variableexpression | ret= dataaccess_expressions_objectbasedexpression | ret= dataaccess_expressions_objectcreationexpression | ret= dataaccess_expressions_this | ret= dataaccess_query_oqlquery | ret= persistence_expressions_all | ret= persistence_expressions_commit | ( LPAREN ret= dataaccess_expressions_expression RPAREN ) )
int alt55=11;
switch ( input.LA(1) ) {
case STRING:
case INT:
case FLOAT:
case BOOL:
case BINARY:
case DATE:
{
alt55=1;
}
break;
case 68:
{
alt55=2;
}
break;
case 58:
case 64:
case 94:
{
alt55=3;
}
break;
case NAME:
{
alt55=4;
}
break;
case 51:
{
alt55=5;
}
break;
case 56:
{
alt55=6;
}
break;
case 77:
{
alt55=7;
}
break;
case 57:
case 90:
{
alt55=8;
}
break;
case 78:
{
alt55=9;
}
break;
case 73:
{
alt55=10;
}
break;
case LPAREN:
{
alt55=11;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 55, 0, input);
throw nvae;
}
switch (alt55) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1221:4: ret= dataaccess_expressions_literals_literal
{
pushFollow(FOLLOW_dataaccess_expressions_literals_literal_in_primary_dataaccess_expressions_expression4727);
ret=dataaccess_expressions_literals_literal();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1222:5: ret= dataaccess_expressions_literals_objectliteral
{
pushFollow(FOLLOW_dataaccess_expressions_literals_objectliteral_in_primary_dataaccess_expressions_expression4735);
ret=dataaccess_expressions_literals_objectliteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1223:5: ret= dataaccess_expressions_fp_anonymousfunctionexpr
{
pushFollow(FOLLOW_dataaccess_expressions_fp_anonymousfunctionexpr_in_primary_dataaccess_expressions_expression4743);
ret=dataaccess_expressions_fp_anonymousfunctionexpr();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 4 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1224:5: ret= dataaccess_expressions_variableexpression
{
pushFollow(FOLLOW_dataaccess_expressions_variableexpression_in_primary_dataaccess_expressions_expression4751);
ret=dataaccess_expressions_variableexpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 5 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1225:5: ret= dataaccess_expressions_objectbasedexpression
{
pushFollow(FOLLOW_dataaccess_expressions_objectbasedexpression_in_primary_dataaccess_expressions_expression4759);
ret=dataaccess_expressions_objectbasedexpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 6 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1226:5: ret= dataaccess_expressions_objectcreationexpression
{
pushFollow(FOLLOW_dataaccess_expressions_objectcreationexpression_in_primary_dataaccess_expressions_expression4767);
ret=dataaccess_expressions_objectcreationexpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 7 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1227:5: ret= dataaccess_expressions_this
{
pushFollow(FOLLOW_dataaccess_expressions_this_in_primary_dataaccess_expressions_expression4775);
ret=dataaccess_expressions_this();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 8 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1228:5: ret= dataaccess_query_oqlquery
{
pushFollow(FOLLOW_dataaccess_query_oqlquery_in_primary_dataaccess_expressions_expression4783);
ret=dataaccess_query_oqlquery();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 9 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1229:5: ret= persistence_expressions_all
{
pushFollow(FOLLOW_persistence_expressions_all_in_primary_dataaccess_expressions_expression4791);
ret=persistence_expressions_all();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 10 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1230:5: ret= persistence_expressions_commit
{
pushFollow(FOLLOW_persistence_expressions_commit_in_primary_dataaccess_expressions_expression4799);
ret=persistence_expressions_commit();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 11 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1231:5: ( LPAREN ret= dataaccess_expressions_expression RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1231:5: ( LPAREN ret= dataaccess_expressions_expression RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1231:6: LPAREN ret= dataaccess_expressions_expression RPAREN
{
if ( state.backtracking==0 ) {
_enterOpdBrackSeq();
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,LPAREN,FOLLOW_LPAREN_in_primary_dataaccess_expressions_expression4808); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
pushFollow(FOLLOW_dataaccess_expressions_expression_in_primary_dataaccess_expressions_expression4814);
ret=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,RPAREN,FOLLOW_RPAREN_in_primary_dataaccess_expressions_expression4818); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitOpdBrackSeq();
}
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "primary_dataaccess_expressions_expression"
// $ANTLR start "expressions_priority_0"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1238:1: expressions_priority_0 returns [Object ret2] : ( (ret= primary_dataaccess_expressions_expression ( ( ( DOT ) ( ( 'count' ) | ( ( ( PIPE identifier ) | ( identifier ) ) ) ) )=> ( DOT ( ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] ) | ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] ) ) ) | ( ( DCOLON ) () )=> ( DCOLON ( (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] ) ) ) | ( ( LPAREN ) () )=> ( LPAREN ( (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] ) ) ) | ( ( ARROW ) () )=> ( ARROW ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) ) ) | ( ( LBRACKET ) () )=> ( LBRACKET ( (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] ) ) ) )* ) ) ;
public final Object expressions_priority_0() throws RecognitionException {
Object ret2 = null;
Object ret = null;
java.lang.String opName=null; org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1239:3: ( ( (ret= primary_dataaccess_expressions_expression ( ( ( DOT ) ( ( 'count' ) | ( ( ( PIPE identifier ) | ( identifier ) ) ) ) )=> ( DOT ( ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] ) | ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] ) ) ) | ( ( DCOLON ) () )=> ( DCOLON ( (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] ) ) ) | ( ( LPAREN ) () )=> ( LPAREN ( (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] ) ) ) | ( ( ARROW ) () )=> ( ARROW ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) ) ) | ( ( LBRACKET ) () )=> ( LBRACKET ( (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] ) ) ) )* ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:4: ( (ret= primary_dataaccess_expressions_expression ( ( ( DOT ) ( ( 'count' ) | ( ( ( PIPE identifier ) | ( identifier ) ) ) ) )=> ( DOT ( ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] ) | ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] ) ) ) | ( ( DCOLON ) () )=> ( DCOLON ( (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] ) ) ) | ( ( LPAREN ) () )=> ( LPAREN ( (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] ) ) ) | ( ( ARROW ) () )=> ( ARROW ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) ) ) | ( ( LBRACKET ) () )=> ( LBRACKET ( (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] ) ) ) )* ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:4: ( (ret= primary_dataaccess_expressions_expression ( ( ( DOT ) ( ( 'count' ) | ( ( ( PIPE identifier ) | ( identifier ) ) ) ) )=> ( DOT ( ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] ) | ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] ) ) ) | ( ( DCOLON ) () )=> ( DCOLON ( (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] ) ) ) | ( ( LPAREN ) () )=> ( LPAREN ( (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] ) ) ) | ( ( ARROW ) () )=> ( ARROW ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) ) ) | ( ( LBRACKET ) () )=> ( LBRACKET ( (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] ) ) ) )* ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:6: (ret= primary_dataaccess_expressions_expression ( ( ( DOT ) ( ( 'count' ) | ( ( ( PIPE identifier ) | ( identifier ) ) ) ) )=> ( DOT ( ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] ) | ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] ) ) ) | ( ( DCOLON ) () )=> ( DCOLON ( (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] ) ) ) | ( ( LPAREN ) () )=> ( LPAREN ( (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] ) ) ) | ( ( ARROW ) () )=> ( ARROW ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) ) ) | ( ( LBRACKET ) () )=> ( LBRACKET ( (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] ) ) ) )* )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:6: (ret= primary_dataaccess_expressions_expression ( ( ( DOT ) ( ( 'count' ) | ( ( ( PIPE identifier ) | ( identifier ) ) ) ) )=> ( DOT ( ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] ) | ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] ) ) ) | ( ( DCOLON ) () )=> ( DCOLON ( (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] ) ) ) | ( ( LPAREN ) () )=> ( LPAREN ( (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] ) ) ) | ( ( ARROW ) () )=> ( ARROW ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) ) ) | ( ( LBRACKET ) () )=> ( LBRACKET ( (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] ) ) ) )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:8: ret= primary_dataaccess_expressions_expression ( ( ( DOT ) ( ( 'count' ) | ( ( ( PIPE identifier ) | ( identifier ) ) ) ) )=> ( DOT ( ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] ) | ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] ) ) ) | ( ( DCOLON ) () )=> ( DCOLON ( (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] ) ) ) | ( ( LPAREN ) () )=> ( LPAREN ( (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] ) ) ) | ( ( ARROW ) () )=> ( ARROW ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) ) ) | ( ( LBRACKET ) () )=> ( LBRACKET ( (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] ) ) ) )*
{
pushFollow(FOLLOW_primary_dataaccess_expressions_expression_in_expressions_priority_04856);
ret=primary_dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:53: ( ( ( DOT ) ( ( 'count' ) | ( ( ( PIPE identifier ) | ( identifier ) ) ) ) )=> ( DOT ( ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] ) | ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] ) ) ) | ( ( DCOLON ) () )=> ( DCOLON ( (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] ) ) ) | ( ( LPAREN ) () )=> ( LPAREN ( (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] ) ) ) | ( ( ARROW ) () )=> ( ARROW ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) ) ) | ( ( LBRACKET ) () )=> ( LBRACKET ( (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] ) ) ) )*
loop58:
do {
int alt58=6;
alt58 = dfa58.predict(input);
switch (alt58) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:54: ( ( DOT ) ( ( 'count' ) | ( ( ( PIPE identifier ) | ( identifier ) ) ) ) )=> ( DOT ( ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] ) | ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:111: ( DOT ( ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] ) | ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:112: DOT ( ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] ) | ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] ) )
{
if ( state.backtracking==0 ) {
_enterOpSeq(".", 2, false);
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,DOT,FOLLOW_DOT_in_expressions_priority_04888); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
opName = ".";
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:193: ( ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] ) | ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] ) )
int alt56=2;
int LA56_0 = input.LA(1);
if ( (LA56_0==89) && (synpred13_Class())) {
alt56=1;
}
else if ( (LA56_0==PIPE) && (synpred14_Class())) {
alt56=2;
}
else if ( (LA56_0==NAME) && (synpred14_Class())) {
alt56=2;
}
else if ( (LA56_0==88) && (synpred14_Class())) {
alt56=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 56, 0, input);
throw nvae;
}
switch (alt56) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:194: ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:205: (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:206: ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp_in_expressions_priority_04900);
ret=dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1241:3: ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1241:41: (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1241:42: ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp_in_expressions_priority_04925);
ret=dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
}
if ( state.backtracking==0 ) {
_exitOpSeq();
}
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1242:3: ( ( DCOLON ) () )=> ( DCOLON ( (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1242:17: ( DCOLON ( (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1242:18: DCOLON ( (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] ) )
{
if ( state.backtracking==0 ) {
_enterOpSeq("::", 2, false);
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,DCOLON,FOLLOW_DCOLON_in_expressions_priority_04945); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
opName = "::";
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1242:104: ( (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1242:105: (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1242:105: (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1242:106: ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp_in_expressions_priority_04953);
ret=dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
if ( state.backtracking==0 ) {
_exitOpSeq();
}
}
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1243:3: ( ( LPAREN ) () )=> ( LPAREN ( (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1243:17: ( LPAREN ( (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1243:18: LPAREN ( (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] ) )
{
if ( state.backtracking==0 ) {
_enterOpSeq("(", 2, false);
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,LPAREN,FOLLOW_LPAREN_in_expressions_priority_04973); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
opName = "(";
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1243:102: ( (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1243:103: (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1243:103: (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1243:104: ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen_in_expressions_priority_04981);
ret=dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
if ( state.backtracking==0 ) {
_exitOpSeq();
}
}
}
break;
case 4 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1244:3: ( ( ARROW ) () )=> ( ARROW ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1244:16: ( ARROW ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1244:17: ARROW ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) )
{
if ( state.backtracking==0 ) {
_enterOpSeq("->", 2, false);
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,ARROW,FOLLOW_ARROW_in_expressions_priority_05001); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
opName = "->";
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1244:102: ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) )
int alt57=11;
alt57 = dfa57.predict(input);
switch (alt57) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1244:103: (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1244:103: (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1244:104: ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp_in_expressions_priority_05009);
ret=dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1245:3: (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1245:3: (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1245:4: ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp_in_expressions_priority_05018);
ret=dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1246:3: (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1246:3: (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1246:4: ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp_in_expressions_priority_05027);
ret=dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 4 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1247:3: (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1247:3: (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1247:4: ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp_in_expressions_priority_05036);
ret=dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 5 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1248:3: (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1248:3: (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1248:4: ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp_in_expressions_priority_05045);
ret=dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 6 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1249:3: (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1249:3: (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1249:4: ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp_in_expressions_priority_05054);
ret=dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 7 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1250:3: (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1250:3: (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1250:4: ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp_in_expressions_priority_05063);
ret=dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 8 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1251:3: (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1251:3: (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1251:4: ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp_in_expressions_priority_05072);
ret=dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 9 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1252:3: (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1252:3: (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1252:4: ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp_in_expressions_priority_05081);
ret=persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 10 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1253:3: (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1253:3: (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1253:4: ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp_in_expressions_priority_05090);
ret=dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 11 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1254:3: (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1254:3: (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1254:4: ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp_in_expressions_priority_05099);
ret=dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
}
if ( state.backtracking==0 ) {
_exitOpSeq();
}
}
}
break;
case 5 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1255:3: ( ( LBRACKET ) () )=> ( LBRACKET ( (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1255:19: ( LBRACKET ( (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1255:20: LBRACKET ( (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] ) )
{
if ( state.backtracking==0 ) {
_enterOpSeq("[", 2, false);
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,LBRACKET,FOLLOW_LBRACKET_in_expressions_priority_05119); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
opName = "[";
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1255:106: ( (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1255:107: (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1255:107: (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1255:108: ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_query_selection_dataaccess_query_Selection_lbracketOp_in_expressions_priority_05127);
ret=dataaccess_query_selection_dataaccess_query_Selection_lbracketOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
if ( state.backtracking==0 ) {
_exitOpSeq();
}
}
}
break;
default :
break loop58;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
this.setLocationAndComment(ret, firstToken);
ret2=ret;
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
}
return ret2;
}
// $ANTLR end "expressions_priority_0"
// $ANTLR start "expressions_priority_1"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1263:1: expressions_priority_1 returns [Object ret2] : ( (ret= expressions_priority_0 ( ( ( EQUALSEQUALS ) () )=> ( EQUALSEQUALS ( (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) | ( ( '<=>' ) () )=> ( '<=>' ( (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) )* ) ) ;
public final Object expressions_priority_1() throws RecognitionException {
Object ret2 = null;
Object ret = null;
Object right = null;
java.lang.String opName=null; org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1264:3: ( ( (ret= expressions_priority_0 ( ( ( EQUALSEQUALS ) () )=> ( EQUALSEQUALS ( (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) | ( ( '<=>' ) () )=> ( '<=>' ( (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) )* ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:4: ( (ret= expressions_priority_0 ( ( ( EQUALSEQUALS ) () )=> ( EQUALSEQUALS ( (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) | ( ( '<=>' ) () )=> ( '<=>' ( (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) )* ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:4: ( (ret= expressions_priority_0 ( ( ( EQUALSEQUALS ) () )=> ( EQUALSEQUALS ( (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) | ( ( '<=>' ) () )=> ( '<=>' ( (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) )* ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:6: (ret= expressions_priority_0 ( ( ( EQUALSEQUALS ) () )=> ( EQUALSEQUALS ( (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) | ( ( '<=>' ) () )=> ( '<=>' ( (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) )* )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:6: (ret= expressions_priority_0 ( ( ( EQUALSEQUALS ) () )=> ( EQUALSEQUALS ( (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) | ( ( '<=>' ) () )=> ( '<=>' ( (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:8: ret= expressions_priority_0 ( ( ( EQUALSEQUALS ) () )=> ( EQUALSEQUALS ( (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) | ( ( '<=>' ) () )=> ( '<=>' ( (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) )*
{
pushFollow(FOLLOW_expressions_priority_0_in_expressions_priority_15173);
ret=expressions_priority_0();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:34: ( ( ( EQUALSEQUALS ) () )=> ( EQUALSEQUALS ( (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) | ( ( '<=>' ) () )=> ( '<=>' ( (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 ) ) ) )*
loop59:
do {
int alt59=3;
int LA59_0 = input.LA(1);
if ( (LA59_0==EQUALSEQUALS) ) {
int LA59_2 = input.LA(2);
if ( (synpred19_Class()) ) {
alt59=1;
}
}
else if ( (LA59_0==74) ) {
int LA59_3 = input.LA(2);
if ( (synpred20_Class()) ) {
alt59=2;
}
}
switch (alt59) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:35: ( ( EQUALSEQUALS ) () )=> ( EQUALSEQUALS ( (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:55: ( EQUALSEQUALS ( (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:56: EQUALSEQUALS ( (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 ) )
{
if ( state.backtracking==0 ) {
_enterOpSeq("==", 2, false);
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,EQUALSEQUALS,FOLLOW_EQUALSEQUALS_in_expressions_priority_15186); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
opName = "==";
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:148: ( (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:149: (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:149: (ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0 )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:150: ret= dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[opName, ret, firstToken] right= expressions_priority_0
{
pushFollow(FOLLOW_dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp_in_expressions_priority_15194);
ret=dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
pushFollow(FOLLOW_expressions_priority_0_in_expressions_priority_15198);
right=expressions_priority_0();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "right", right);
this.setLocationAndComment(ret, firstToken);
}
}
}
if ( state.backtracking==0 ) {
_exitOpSeq();
}
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1268:3: ( ( '<=>' ) () )=> ( '<=>' ( (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1268:16: ( '<=>' ( (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1268:17: '<=>' ( (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 ) )
{
if ( state.backtracking==0 ) {
_enterOpSeq("<=>", 2, false);
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,74,FOLLOW_74_in_expressions_priority_15219); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
opName = "<=>";
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1268:103: ( (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1268:104: (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1268:104: (ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0 )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1268:105: ret= dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[opName, ret, firstToken] right= expressions_priority_0
{
pushFollow(FOLLOW_dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp_in_expressions_priority_15226);
ret=dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
pushFollow(FOLLOW_expressions_priority_0_in_expressions_priority_15230);
right=expressions_priority_0();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "right", right);
this.setLocationAndComment(ret, firstToken);
}
}
}
if ( state.backtracking==0 ) {
_exitOpSeq();
}
}
}
break;
default :
break loop59;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
this.setLocationAndComment(ret, firstToken);
ret2=ret;
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
}
return ret2;
}
// $ANTLR end "expressions_priority_1"
// $ANTLR start "expressions_priority_2"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1278:1: expressions_priority_2 returns [Object ret2] : ( (ret= expressions_priority_1 ( ( ( '?' ) () )=> ( '?' ( (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] ) ) ) )* ) ) ;
public final Object expressions_priority_2() throws RecognitionException {
Object ret2 = null;
Object ret = null;
java.lang.String opName=null; org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1279:3: ( ( (ret= expressions_priority_1 ( ( ( '?' ) () )=> ( '?' ( (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] ) ) ) )* ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:4: ( (ret= expressions_priority_1 ( ( ( '?' ) () )=> ( '?' ( (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] ) ) ) )* ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:4: ( (ret= expressions_priority_1 ( ( ( '?' ) () )=> ( '?' ( (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] ) ) ) )* ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:6: (ret= expressions_priority_1 ( ( ( '?' ) () )=> ( '?' ( (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] ) ) ) )* )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:6: (ret= expressions_priority_1 ( ( ( '?' ) () )=> ( '?' ( (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] ) ) ) )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:8: ret= expressions_priority_1 ( ( ( '?' ) () )=> ( '?' ( (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] ) ) ) )*
{
pushFollow(FOLLOW_expressions_priority_1_in_expressions_priority_25277);
ret=expressions_priority_1();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:34: ( ( ( '?' ) () )=> ( '?' ( (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] ) ) ) )*
loop60:
do {
int alt60=2;
int LA60_0 = input.LA(1);
if ( (LA60_0==93) ) {
int LA60_2 = input.LA(2);
if ( (synpred21_Class()) ) {
alt60=1;
}
}
switch (alt60) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:35: ( ( '?' ) () )=> ( '?' ( (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:46: ( '?' ( (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:47: '?' ( (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] ) )
{
if ( state.backtracking==0 ) {
_enterOpSeq("?", 2, false);
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,93,FOLLOW_93_in_expressions_priority_25290); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
opName = "?";
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:127: ( (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:128: (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:128: (ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:129: ret= dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[opName, ret, firstToken]
{
pushFollow(FOLLOW_dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark_in_expressions_priority_25297);
ret=dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
if ( state.backtracking==0 ) {
_exitOpSeq();
}
}
}
break;
default :
break loop60;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
this.setLocationAndComment(ret, firstToken);
ret2=ret;
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
}
return ret2;
}
// $ANTLR end "expressions_priority_2"
// $ANTLR start "dataaccess_expressions_expression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1288:1: dataaccess_expressions_expression returns [Object ret2] : ret= expressions_priority_2 ;
public final Object dataaccess_expressions_expression() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1289:3: (ret= expressions_priority_2 )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1290:3: ret= expressions_priority_2
{
pushFollow(FOLLOW_expressions_priority_2_in_dataaccess_expressions_expression5334);
ret=expressions_priority_2();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_expression"
// $ANTLR start "dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1297:1: dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( 'count' (temp= data_classes_typedefinition_objectCount ) ) ;
public final Object dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","ObjectCount");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1302:3: ( ( 'count' (temp= data_classes_typedefinition_objectCount ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1303:3: ( 'count' (temp= data_classes_typedefinition_objectCount ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1303:3: ( 'count' (temp= data_classes_typedefinition_objectCount ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1303:4: 'count' (temp= data_classes_typedefinition_objectCount )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BEED1F370B311DFA447E517C0A868C8");
}
match(input,89,FOLLOW_89_in_dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp5364); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BEED1F770B311DFC033E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1303:145: (temp= data_classes_typedefinition_objectCount )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1303:147: temp= data_classes_typedefinition_objectCount
{
pushFollow(FOLLOW_data_classes_typedefinition_objectCount_in_dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp5371);
temp=data_classes_typedefinition_objectCount();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"object" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp"
// $ANTLR start "data_classes_typedefinition_objectCount"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1313:1: data_classes_typedefinition_objectCount returns [Object ret2] : (ret= data_classes_classtypedefinition_objectCount ) ;
public final Object data_classes_typedefinition_objectCount() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1314:3: ( (ret= data_classes_classtypedefinition_objectCount ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1315:3: (ret= data_classes_classtypedefinition_objectCount )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1315:3: (ret= data_classes_classtypedefinition_objectCount )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1315:4: ret= data_classes_classtypedefinition_objectCount
{
pushFollow(FOLLOW_data_classes_classtypedefinition_objectCount_in_data_classes_typedefinition_objectCount5403);
ret=data_classes_classtypedefinition_objectCount();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_objectCount"
// $ANTLR start "data_classes_classtypedefinition_objectCount"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1322:1: data_classes_classtypedefinition_objectCount returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_objectCount() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"objectCount");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1327:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1328:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1328:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1328:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF142FC70B311DFB39EE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = 'Number')", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_objectCount"
// $ANTLR start "dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1336:1: dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( (temp= dataaccess_expressions_expression ) COLON (temp= dataaccess_expressions_expression ) ) ;
public final Object dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","Ternary");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1341:3: ( ( (temp= dataaccess_expressions_expression ) COLON (temp= dataaccess_expressions_expression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1342:3: ( (temp= dataaccess_expressions_expression ) COLON (temp= dataaccess_expressions_expression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1342:3: ( (temp= dataaccess_expressions_expression ) COLON (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1342:4: (temp= dataaccess_expressions_expression ) COLON (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF38CE570B311DF96ADE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1342:63: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1342:65: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark5478);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "trueExpr", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF38CE670B311DF9925E517C0A868C8");
}
match(input,COLON,FOLLOW_COLON_in_dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark5485); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF38CE870B311DFBA81E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1342:299: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1342:301: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark5493);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "falseExpr", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"condition" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark"
// $ANTLR start "dataaccess_expressions_objectbasedexpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1352:1: dataaccess_expressions_objectbasedexpression returns [Object ret2] : (ret= dataaccess_analytics_groupby ) ;
public final Object dataaccess_expressions_objectbasedexpression() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1353:3: ( (ret= dataaccess_analytics_groupby ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1354:3: (ret= dataaccess_analytics_groupby )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1354:3: (ret= dataaccess_analytics_groupby )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1354:4: ret= dataaccess_analytics_groupby
{
pushFollow(FOLLOW_dataaccess_analytics_groupby_in_dataaccess_expressions_objectbasedexpression5525);
ret=dataaccess_analytics_groupby();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_objectbasedexpression"
// $ANTLR start "dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1361:1: dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( ( ( PIPE ) | ) ( ( identifier LPAREN )=> ( ( ( (temp= identifier ) ) | ( 'NULL' ) ) LPAREN (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN ) | ( identifier EQUALS )=> ( ( ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier '+=' )=> ( ( ( (temp= identifier ) '+=' (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier '-=' )=> ( ( ( (temp= identifier ) '-=' (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier (~ ( LPAREN | EQUALS ) | EOF ) )=> ( ( ( (temp= identifier ) ) ) ) ) ) ;
public final Object dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","MethodCallExpression");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1366:3: ( ( ( ( PIPE ) | ) ( ( identifier LPAREN )=> ( ( ( (temp= identifier ) ) | ( 'NULL' ) ) LPAREN (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN ) | ( identifier EQUALS )=> ( ( ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier '+=' )=> ( ( ( (temp= identifier ) '+=' (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier '-=' )=> ( ( ( (temp= identifier ) '-=' (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier (~ ( LPAREN | EQUALS ) | EOF ) )=> ( ( ( (temp= identifier ) ) ) ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1367:3: ( ( ( PIPE ) | ) ( ( identifier LPAREN )=> ( ( ( (temp= identifier ) ) | ( 'NULL' ) ) LPAREN (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN ) | ( identifier EQUALS )=> ( ( ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier '+=' )=> ( ( ( (temp= identifier ) '+=' (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier '-=' )=> ( ( ( (temp= identifier ) '-=' (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier (~ ( LPAREN | EQUALS ) | EOF ) )=> ( ( ( (temp= identifier ) ) ) ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1367:3: ( ( ( PIPE ) | ) ( ( identifier LPAREN )=> ( ( ( (temp= identifier ) ) | ( 'NULL' ) ) LPAREN (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN ) | ( identifier EQUALS )=> ( ( ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier '+=' )=> ( ( ( (temp= identifier ) '+=' (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier '-=' )=> ( ( ( (temp= identifier ) '-=' (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier (~ ( LPAREN | EQUALS ) | EOF ) )=> ( ( ( (temp= identifier ) ) ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1367:4: ( ( PIPE ) | ) ( ( identifier LPAREN )=> ( ( ( (temp= identifier ) ) | ( 'NULL' ) ) LPAREN (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN ) | ( identifier EQUALS )=> ( ( ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier '+=' )=> ( ( ( (temp= identifier ) '+=' (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier '-=' )=> ( ( ( (temp= identifier ) '-=' (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier (~ ( LPAREN | EQUALS ) | EOF ) )=> ( ( ( (temp= identifier ) ) ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF5FDE870B311DF8E51E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1367:64: ( ( PIPE ) | )
int alt61=2;
int LA61_0 = input.LA(1);
if ( (LA61_0==PIPE) ) {
alt61=1;
}
else if ( (LA61_0==NAME||LA61_0==88) ) {
alt61=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 61, 0, input);
throw nvae;
}
switch (alt61) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1367:65: ( PIPE )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1367:81: ( PIPE )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1367:82: PIPE
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF5FDE670B311DFBD1EE517C0A868C8");
}
match(input,PIPE,FOLLOW_PIPE_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5563); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "asynchronous", java.lang.Boolean.TRUE);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1367:240:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
setProperty(ret, "asynchronous", java.lang.Boolean.FALSE);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BFAB8D470B311DFB454E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:76: ( ( identifier LPAREN )=> ( ( ( (temp= identifier ) ) | ( 'NULL' ) ) LPAREN (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN ) | ( identifier EQUALS )=> ( ( ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier '+=' )=> ( ( ( (temp= identifier ) '+=' (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier '-=' )=> ( ( ( (temp= identifier ) '-=' (temp= dataaccess_expressions_expression ) ) ) ) | ( identifier (~ ( LPAREN | EQUALS ) | EOF ) )=> ( ( ( (temp= identifier ) ) ) ) )
int alt65=5;
int LA65_0 = input.LA(1);
if ( (LA65_0==NAME) ) {
int LA65_1 = input.LA(2);
if ( (synpred22_Class()) ) {
alt65=1;
}
else if ( (synpred23_Class()) ) {
alt65=2;
}
else if ( (synpred24_Class()) ) {
alt65=3;
}
else if ( (synpred25_Class()) ) {
alt65=4;
}
else if ( (synpred26_Class()) ) {
alt65=5;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 65, 1, input);
throw nvae;
}
}
else if ( (LA65_0==88) && (synpred22_Class())) {
alt65=1;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 65, 0, input);
throw nvae;
}
switch (alt65) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:77: ( identifier LPAREN )=> ( ( ( (temp= identifier ) ) | ( 'NULL' ) ) LPAREN (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:116: ( ( ( (temp= identifier ) ) | ( 'NULL' ) ) LPAREN (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:117: ( ( (temp= identifier ) ) | ( 'NULL' ) ) LPAREN (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )? RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF5FDF470B311DF9FF0E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:177: ( ( (temp= identifier ) ) | ( 'NULL' ) )
int alt62=2;
int LA62_0 = input.LA(1);
if ( (LA62_0==NAME) ) {
alt62=1;
}
else if ( (LA62_0==88) ) {
alt62=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 62, 0, input);
throw nvae;
}
switch (alt62) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:178: ( (temp= identifier ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:194: ( (temp= identifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:195: (temp= identifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF5FDF070B311DFA572E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:254: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:256: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5605);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "methodSignature", null, temp, "OCL:self.object.getType().getInnermost().oclAsType(data::classes::ClassTypeDefinition).clazz.allSignatures()->select(s | s.name = ?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:491: ( 'NULL' )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:507: ( 'NULL' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:508: 'NULL'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF5FDF270B311DFCD28E517C0A868C8");
}
match(input,88,FOLLOW_88_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5620); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF5FDF570B311DFA129E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5630); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF5FDFA70B311DF8517E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1369:159: (temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )* )?
int alt64=2;
int LA64_0 = input.LA(1);
if ( ((LA64_0>=NAME && LA64_0<=DATE)||LA64_0==LPAREN||LA64_0==51||(LA64_0>=56 && LA64_0<=58)||LA64_0==64||LA64_0==68||LA64_0==73||(LA64_0>=77 && LA64_0<=78)||LA64_0==90||LA64_0==94) ) {
alt64=1;
}
switch (alt64) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1369:161: temp= dataaccess_expressions_expression ( ( ',' ) temp= dataaccess_expressions_expression )*
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5638);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "parameters", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1369:240: ( ( ',' ) temp= dataaccess_expressions_expression )*
loop63:
do {
int alt63=2;
int LA63_0 = input.LA(1);
if ( (LA63_0==67) ) {
alt63=1;
}
switch (alt63) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1369:241: ( ',' ) temp= dataaccess_expressions_expression
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1369:258: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1369:259: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF5FDF770B311DFC7A6E517C0A868C8");
}
match(input,67,FOLLOW_67_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5646); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5653);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "parameters", temp);
}
}
break;
default :
break loop63;
}
} while (true);
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF5FDFB70B311DFAC42E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5665); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1370:4: ( identifier EQUALS )=> ( ( ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) ) ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1370:43: ( ( ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1370:44: ( ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF86EEE70B311DF9EE0E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1370:104: ( ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1370:105: ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1370:121: ( (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1370:122: (temp= identifier ) EQUALS (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF86EE770B311DF8B9EE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1370:181: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1370:183: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5697);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "methodSignature", null, temp, "OCL:self.object.getType().getInnermost().oclAsType(data::classes::ClassTypeDefinition).clazz.allSignatures()->select(s | s.name = ?.concat('='))");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF86EE870B311DFC134E517C0A868C8");
}
match(input,EQUALS,FOLLOW_EQUALS_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5704); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF86EEC70B311DF9536E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1370:554: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1370:556: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5712);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "parameters", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1372:4: ( identifier '+=' )=> ( ( ( (temp= identifier ) '+=' (temp= dataaccess_expressions_expression ) ) ) )
{
if ( state.backtracking==0 ) {
_enterAlt(2);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1372:41: ( ( ( (temp= identifier ) '+=' (temp= dataaccess_expressions_expression ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1372:42: ( ( (temp= identifier ) '+=' (temp= dataaccess_expressions_expression ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF86EFE70B311DFB732E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1372:102: ( ( (temp= identifier ) '+=' (temp= dataaccess_expressions_expression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1372:103: ( (temp= identifier ) '+=' (temp= dataaccess_expressions_expression ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1372:119: ( (temp= identifier ) '+=' (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1372:120: (temp= identifier ) '+=' (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF86EF770B311DF8F7EE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1372:179: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1372:181: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5752);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "methodSignature", null, temp, "OCL:self.object.getType().getInnermost().oclAsType(data::classes::ClassTypeDefinition).clazz.allSignatures()->select(s | s.name = ?.concat('+='))");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF86EF870B311DFA05BE517C0A868C8");
}
match(input,80,FOLLOW_80_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5758); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF86EFC70B311DF8C6BE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1372:549: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1372:551: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5765);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "parameters", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 4 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1374:4: ( identifier '-=' )=> ( ( ( (temp= identifier ) '-=' (temp= dataaccess_expressions_expression ) ) ) )
{
if ( state.backtracking==0 ) {
_enterAlt(3);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1374:41: ( ( ( (temp= identifier ) '-=' (temp= dataaccess_expressions_expression ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1374:42: ( ( (temp= identifier ) '-=' (temp= dataaccess_expressions_expression ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF86F0E70B311DFB3FFE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1374:102: ( ( (temp= identifier ) '-=' (temp= dataaccess_expressions_expression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1374:103: ( (temp= identifier ) '-=' (temp= dataaccess_expressions_expression ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1374:119: ( (temp= identifier ) '-=' (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1374:120: (temp= identifier ) '-=' (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF86F0770B311DF8B2FE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1374:179: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1374:181: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5805);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "methodSignature", null, temp, "OCL:self.object.getType().getInnermost().oclAsType(data::classes::ClassTypeDefinition).clazz.allSignatures()->select(s | s.name = ?.concat('-='))");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF86F0870B311DFA6A1E517C0A868C8");
}
match(input,76,FOLLOW_76_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5811); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BF86F0C70B311DFB864E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1374:549: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1374:551: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5818);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "parameters", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 5 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1376:4: ( identifier (~ ( LPAREN | EQUALS ) | EOF ) )=> ( ( ( (temp= identifier ) ) ) )
{
if ( state.backtracking==0 ) {
_enterAlt(4);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1376:63: ( ( ( (temp= identifier ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1376:64: ( ( (temp= identifier ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BFAB8D270B311DFBDEAE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1376:124: ( ( (temp= identifier ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1376:125: ( (temp= identifier ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1376:141: ( (temp= identifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1376:142: (temp= identifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BFAB8D070B311DFADD8E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1376:201: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1376:203: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5871);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "methodSignature", null, temp, "OCL:self.object.getType().getInnermost().oclAsType(data::classes::ClassTypeDefinition).clazz.allSignatures()->select(s | s.name = '.'.concat(?))");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BFD29D070B311DFC5EDE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
list.add(new PredicateSemantic("OCL:methodSignature.output.isMany() and self.object.getType().isMany()", "data_classes_nestedtypedefinition_methodCallExpression"));
list.add(new PredicateSemantic("OCL:methodSignature.output.oclIsKindOf(ClassTypeDefinition)", "data_classes_classtypedefinition_methodCallExpression"));
list.add(new PredicateSemantic("OCL:methodSignature.output.oclIsKindOf(FunctionSignatureTypeDefinition)", "data_classes_functionsignaturetypedefinition_methodCallExpression"));
list.add(new PredicateSemantic("OCL:methodSignature.output.oclIsKindOf(NestedTypeDefinition)", "data_classes_nestedtypedefinition_methodCallExpressionNoFurtherNesting"));
setPredicateRef(ret,"ownedTypeDefinition",null,"OCL:methodSignature.output",list,finder,false);
}
_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"object" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp"
// $ANTLR start "data_classes_typedefinition_methodCallExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1397:1: data_classes_typedefinition_methodCallExpression returns [Object ret2] : ( ( '___1000___' )=> (ret= data_classes_classtypedefinition_methodCallExpression ) | ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_methodCallExpression ) | ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_methodCallExpression ) ) ;
public final Object data_classes_typedefinition_methodCallExpression() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1398:3: ( ( ( '___1000___' )=> (ret= data_classes_classtypedefinition_methodCallExpression ) | ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_methodCallExpression ) | ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_methodCallExpression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1399:3: ( ( '___1000___' )=> (ret= data_classes_classtypedefinition_methodCallExpression ) | ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_methodCallExpression ) | ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_methodCallExpression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1399:3: ( ( '___1000___' )=> (ret= data_classes_classtypedefinition_methodCallExpression ) | ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_methodCallExpression ) | ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_methodCallExpression ) )
int alt66=3;
int LA66_0 = input.LA(1);
if ( (LA66_0==EOF) ) {
int LA66_1 = input.LA(2);
if ( (synpred27_Class()) ) {
alt66=1;
}
else if ( (synpred28_Class()) ) {
alt66=2;
}
else if ( (synpred29_Class()) ) {
alt66=3;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 66, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 66, 0, input);
throw nvae;
}
switch (alt66) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1399:4: ( '___1000___' )=> (ret= data_classes_classtypedefinition_methodCallExpression )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1399:20: (ret= data_classes_classtypedefinition_methodCallExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1399:21: ret= data_classes_classtypedefinition_methodCallExpression
{
pushFollow(FOLLOW_data_classes_classtypedefinition_methodCallExpression_in_data_classes_typedefinition_methodCallExpression5922);
ret=data_classes_classtypedefinition_methodCallExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1400:5: ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_methodCallExpression )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1400:21: (ret= data_classes_functionsignaturetypedefinition_methodCallExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1400:22: ret= data_classes_functionsignaturetypedefinition_methodCallExpression
{
pushFollow(FOLLOW_data_classes_functionsignaturetypedefinition_methodCallExpression_in_data_classes_typedefinition_methodCallExpression5936);
ret=data_classes_functionsignaturetypedefinition_methodCallExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1401:5: ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_methodCallExpression )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1401:21: (ret= data_classes_nestedtypedefinition_methodCallExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1401:22: ret= data_classes_nestedtypedefinition_methodCallExpression
{
pushFollow(FOLLOW_data_classes_nestedtypedefinition_methodCallExpression_in_data_classes_typedefinition_methodCallExpression5950);
ret=data_classes_nestedtypedefinition_methodCallExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_methodCallExpression"
// $ANTLR start "data_classes_classtypedefinition_methodCallExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1408:1: data_classes_classtypedefinition_methodCallExpression returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_methodCallExpression() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"methodCallExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1413:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1414:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1414:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1414:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77BFF9ADC70B311DF92ADE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.oclAsType(ClassTypeDefinition).clazz", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.oclAsType(ClassTypeDefinition).objectParameters", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.lowerMultiplicity * self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:if self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.isMany() or self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().isMany() then -1 else self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.upperMultiplicity * self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().upperMultiplicity endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.ordered or self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.unique and not self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().isMany()", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_methodCallExpression"
// $ANTLR start "data_classes_functionsignaturetypedefinition_methodCallExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1422:1: data_classes_functionsignaturetypedefinition_methodCallExpression returns [Object ret2] : () ;
public final Object data_classes_functionsignaturetypedefinition_methodCallExpression() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","FunctionSignatureTypeDefinition");
onEnterTemplateRule(metaType,"methodCallExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1427:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1428:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1428:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1428:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C01E4CA70B311DF9A3FE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "signature", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.oclAsType(FunctionSignatureTypeDefinition).signature", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.lowerMultiplicity * self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:if self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.isMany() or self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().isMany() then -1 else self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.upperMultiplicity * self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().upperMultiplicity endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.ordered or self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.unique and not self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().isMany()", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignaturetypedefinition_methodCallExpression"
// $ANTLR start "data_classes_nestedtypedefinition_methodCallExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1436:1: data_classes_nestedtypedefinition_methodCallExpression returns [Object ret2] : () ;
public final Object data_classes_nestedtypedefinition_methodCallExpression() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NestedTypeDefinition");
onEnterTemplateRule(metaType,"methodCallExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1441:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1442:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1442:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1442:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C01E4D870B311DF888DE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "type", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().upperMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nestedtypedefinition_methodCallExpression"
// $ANTLR start "data_classes_nestedtypedefinition_methodCallExpressionNoFurtherNesting"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1450:1: data_classes_nestedtypedefinition_methodCallExpressionNoFurtherNesting returns [Object ret2] : () ;
public final Object data_classes_nestedtypedefinition_methodCallExpressionNoFurtherNesting() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NestedTypeDefinition");
onEnterTemplateRule(metaType,"methodCallExpressionNoFurtherNesting");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1455:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1456:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1456:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1456:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C0455CA70B311DF8460E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "type", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.oclAsType(NestedTypeDefinition).type", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.lowerMultiplicity * self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().upperMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.ordered or self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.ownerTypedElement.oclAsType(MethodCallExpression).methodSignature.output.unique and not self.ownerTypedElement.oclAsType(MethodCallExpression).object.getType().isMany()", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nestedtypedefinition_methodCallExpressionNoFurtherNesting"
// $ANTLR start "dataaccess_expressions_variableexpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1464:1: dataaccess_expressions_variableexpression returns [Object ret2] : ( (temp= identifier ) ) ;
public final Object dataaccess_expressions_variableexpression() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","VariableExpression");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1469:3: ( ( (temp= identifier ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1470:3: ( (temp= identifier ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1470:3: ( (temp= identifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1470:4: (temp= identifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C069FB470B311DFAB00E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1470:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1470:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_expressions_variableexpression6145);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "variable", null, temp, "OCL:self.getNamedValuesInScope()->select(nv | nv.name=?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_variableexpression"
// $ANTLR start "dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1478:1: dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( (temp= data_classes_typedefinition_BooleanLiteral ) ) ;
public final Object dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","Equals");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1483:3: ( ( (temp= data_classes_typedefinition_BooleanLiteral ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1484:3: ( (temp= data_classes_typedefinition_BooleanLiteral ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1484:3: ( (temp= data_classes_typedefinition_BooleanLiteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1484:4: (temp= data_classes_typedefinition_BooleanLiteral )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C069FBD70B311DF869BE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1484:63: (temp= data_classes_typedefinition_BooleanLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1484:65: temp= data_classes_typedefinition_BooleanLiteral
{
pushFollow(FOLLOW_data_classes_typedefinition_BooleanLiteral_in_dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp6193);
temp=data_classes_typedefinition_BooleanLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"left" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp"
// $ANTLR start "dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1494:1: dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( (temp= data_classes_typedefinition_BooleanLiteral ) ) ;
public final Object dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","ContentEquals");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1499:3: ( ( (temp= data_classes_typedefinition_BooleanLiteral ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1500:3: ( (temp= data_classes_typedefinition_BooleanLiteral ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1500:3: ( (temp= data_classes_typedefinition_BooleanLiteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1500:4: (temp= data_classes_typedefinition_BooleanLiteral )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C0910B570B311DFA9C3E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1500:63: (temp= data_classes_typedefinition_BooleanLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1500:65: temp= data_classes_typedefinition_BooleanLiteral
{
pushFollow(FOLLOW_data_classes_typedefinition_BooleanLiteral_in_dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp6233);
temp=data_classes_typedefinition_BooleanLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"left" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp"
// $ANTLR start "dataaccess_expressions_fp_anonymousfunctionexpr"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1510:1: dataaccess_expressions_fp_anonymousfunctionexpr returns [Object ret2] : ( ( ( ( ( (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp ) ) | ( (temp= data_classes_functionsignaturetypedefinition_cellSet ) ) ) ) ) ) ;
public final Object dataaccess_expressions_fp_anonymousfunctionexpr() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","fp","AnonymousFunctionExpr");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1515:3: ( ( ( ( ( ( (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp ) ) | ( (temp= data_classes_functionsignaturetypedefinition_cellSet ) ) ) ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1516:3: ( ( ( ( ( (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp ) ) | ( (temp= data_classes_functionsignaturetypedefinition_cellSet ) ) ) ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1516:3: ( ( ( ( ( (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp ) ) | ( (temp= data_classes_functionsignaturetypedefinition_cellSet ) ) ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1516:4: ( ( ( ( (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp ) ) | ( (temp= data_classes_functionsignaturetypedefinition_cellSet ) ) ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C0B81BA70B311DF9DA6E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1516:64: ( ( ( ( (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp ) ) | ( (temp= data_classes_functionsignaturetypedefinition_cellSet ) ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1516:65: ( ( ( (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp ) ) | ( (temp= data_classes_functionsignaturetypedefinition_cellSet ) ) ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1516:81: ( ( ( (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp ) ) | ( (temp= data_classes_functionsignaturetypedefinition_cellSet ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1516:82: ( ( (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp ) ) | ( (temp= data_classes_functionsignaturetypedefinition_cellSet ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C0B81B870B311DFA3D7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1516:141: ( ( (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp ) ) | ( (temp= data_classes_functionsignaturetypedefinition_cellSet ) ) )
int alt67=2;
int LA67_0 = input.LA(1);
if ( (LA67_0==58||LA67_0==64) ) {
alt67=1;
}
else if ( (LA67_0==94) ) {
alt67=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 67, 0, input);
throw nvae;
}
switch (alt67) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1516:142: ( (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1516:158: ( (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1516:159: (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C0B81B170B311DFB67AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1516:218: (temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1516:220: temp= data_classes_functionsignaturetypedefinition_anonymousFunctionExp
{
pushFollow(FOLLOW_data_classes_functionsignaturetypedefinition_anonymousFunctionExp_in_dataaccess_expressions_fp_anonymousfunctionexpr6283);
temp=data_classes_functionsignaturetypedefinition_anonymousFunctionExp();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1517:4: ( (temp= data_classes_functionsignaturetypedefinition_cellSet ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1517:20: ( (temp= data_classes_functionsignaturetypedefinition_cellSet ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1517:21: (temp= data_classes_functionsignaturetypedefinition_cellSet )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C0B81B670B311DFCEBAE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1517:80: (temp= data_classes_functionsignaturetypedefinition_cellSet )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1517:82: temp= data_classes_functionsignaturetypedefinition_cellSet
{
pushFollow(FOLLOW_data_classes_functionsignaturetypedefinition_cellSet_in_dataaccess_expressions_fp_anonymousfunctionexpr6303);
temp=data_classes_functionsignaturetypedefinition_cellSet();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_fp_anonymousfunctionexpr"
// $ANTLR start "data_classes_typedefinition_cellSet"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1526:1: data_classes_typedefinition_cellSet returns [Object ret2] : (ret= data_classes_functionsignaturetypedefinition_cellSet ) ;
public final Object data_classes_typedefinition_cellSet() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1527:3: ( (ret= data_classes_functionsignaturetypedefinition_cellSet ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1528:3: (ret= data_classes_functionsignaturetypedefinition_cellSet )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1528:3: (ret= data_classes_functionsignaturetypedefinition_cellSet )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1528:4: ret= data_classes_functionsignaturetypedefinition_cellSet
{
pushFollow(FOLLOW_data_classes_functionsignaturetypedefinition_cellSet_in_data_classes_typedefinition_cellSet6354);
ret=data_classes_functionsignaturetypedefinition_cellSet();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_cellSet"
// $ANTLR start "data_classes_functionsignaturetypedefinition_cellSet"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1535:1: data_classes_functionsignaturetypedefinition_cellSet returns [Object ret2] : ( (temp= data_classes_signature_cellSet ) ) ;
public final Object data_classes_functionsignaturetypedefinition_cellSet() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","FunctionSignatureTypeDefinition");
onEnterTemplateRule(metaType,"cellSet");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1540:3: ( ( (temp= data_classes_signature_cellSet ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1541:3: ( (temp= data_classes_signature_cellSet ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1541:3: ( (temp= data_classes_signature_cellSet ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1541:4: (temp= data_classes_signature_cellSet )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C0DCBA270B311DFA99AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1541:63: (temp= data_classes_signature_cellSet )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1541:65: temp= data_classes_signature_cellSet
{
pushFollow(FOLLOW_data_classes_signature_cellSet_in_data_classes_functionsignaturetypedefinition_cellSet6388);
temp=data_classes_signature_cellSet();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "signature", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C0DCBA970B311DFAEEEE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setRef(ret, "ownedSignature", list("data","classes","Signature"), null, null, "signature", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignaturetypedefinition_cellSet"
// $ANTLR start "data_classes_signature_cellSet"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1549:1: data_classes_signature_cellSet returns [Object ret2] : (ret= data_classes_functionsignature_cellSet ) ;
public final Object data_classes_signature_cellSet() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1550:3: ( (ret= data_classes_functionsignature_cellSet ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1551:3: (ret= data_classes_functionsignature_cellSet )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1551:3: (ret= data_classes_functionsignature_cellSet )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1551:4: ret= data_classes_functionsignature_cellSet
{
pushFollow(FOLLOW_data_classes_functionsignature_cellSet_in_data_classes_signature_cellSet6431);
ret=data_classes_functionsignature_cellSet();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_signature_cellSet"
// $ANTLR start "data_classes_functionsignature_cellSet"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1558:1: data_classes_functionsignature_cellSet returns [Object ret2] : ( (temp= data_classes_functionsignatureimplementation_cellSet ) ) ;
public final Object data_classes_functionsignature_cellSet() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","FunctionSignature");
onEnterTemplateRule(metaType,"cellSet");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1563:3: ( ( (temp= data_classes_functionsignatureimplementation_cellSet ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1564:3: ( (temp= data_classes_functionsignatureimplementation_cellSet ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1564:3: ( (temp= data_classes_functionsignatureimplementation_cellSet ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1564:4: (temp= data_classes_functionsignatureimplementation_cellSet )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C103CA370B311DF998DE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1564:63: (temp= data_classes_functionsignatureimplementation_cellSet )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1564:65: temp= data_classes_functionsignatureimplementation_cellSet
{
pushFollow(FOLLOW_data_classes_functionsignatureimplementation_cellSet_in_data_classes_functionsignature_cellSet6465);
temp=data_classes_functionsignatureimplementation_cellSet();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "implementation", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C103CA870B311DFA748E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "output", null, null, "OCL:self.implementation.oclAsType(CellSet).aggregationFunction.output", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "sideEffectFree", null, null, "OCL:self.implementation.isSideEffectFree()", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignature_cellSet"
// $ANTLR start "data_classes_functionsignatureimplementation_cellSet"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1572:1: data_classes_functionsignatureimplementation_cellSet returns [Object ret2] : (ret= dataaccess_analytics_cellset_cellSet ) ;
public final Object data_classes_functionsignatureimplementation_cellSet() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1573:3: ( (ret= dataaccess_analytics_cellset_cellSet ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1574:3: (ret= dataaccess_analytics_cellset_cellSet )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1574:3: (ret= dataaccess_analytics_cellset_cellSet )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1574:4: ret= dataaccess_analytics_cellset_cellSet
{
pushFollow(FOLLOW_dataaccess_analytics_cellset_cellSet_in_data_classes_functionsignatureimplementation_cellSet6508);
ret=dataaccess_analytics_cellset_cellSet();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_functionsignatureimplementation_cellSet"
// $ANTLR start "data_classes_functionsignaturetypedefinition_anonymousFunctionExp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1581:1: data_classes_functionsignaturetypedefinition_anonymousFunctionExp returns [Object ret2] : ( (temp= data_classes_signature_anonymousFunctionExp ) printmultiplicity[ret] ) ;
public final Object data_classes_functionsignaturetypedefinition_anonymousFunctionExp() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","FunctionSignatureTypeDefinition");
onEnterTemplateRule(metaType,"anonymousFunctionExp");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1586:3: ( ( (temp= data_classes_signature_anonymousFunctionExp ) printmultiplicity[ret] ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1587:3: ( (temp= data_classes_signature_anonymousFunctionExp ) printmultiplicity[ret] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1587:3: ( (temp= data_classes_signature_anonymousFunctionExp ) printmultiplicity[ret] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1587:4: (temp= data_classes_signature_anonymousFunctionExp ) printmultiplicity[ret]
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C12869370B311DFA300E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1587:63: (temp= data_classes_signature_anonymousFunctionExp )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1587:65: temp= data_classes_signature_anonymousFunctionExp
{
pushFollow(FOLLOW_data_classes_signature_anonymousFunctionExp_in_data_classes_functionsignaturetypedefinition_anonymousFunctionExp6542);
temp=data_classes_signature_anonymousFunctionExp();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "signature", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C12869470B311DFCCD7E517C0A868C8");
}
pushFollow(FOLLOW_printmultiplicity_in_data_classes_functionsignaturetypedefinition_anonymousFunctionExp6548);
printmultiplicity(ret);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C12869770B311DFAA79E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "ownedSignature", list("data","classes","Signature"), null, null, "signature", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignaturetypedefinition_anonymousFunctionExp"
// $ANTLR start "data_classes_signature_anonymousFunctionExp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1595:1: data_classes_signature_anonymousFunctionExp returns [Object ret2] : (ret= data_classes_functionsignature_anonymousFunctionExp ) ;
public final Object data_classes_signature_anonymousFunctionExp() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1596:3: ( (ret= data_classes_functionsignature_anonymousFunctionExp ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1597:3: (ret= data_classes_functionsignature_anonymousFunctionExp )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1597:3: (ret= data_classes_functionsignature_anonymousFunctionExp )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1597:4: ret= data_classes_functionsignature_anonymousFunctionExp
{
pushFollow(FOLLOW_data_classes_functionsignature_anonymousFunctionExp_in_data_classes_signature_anonymousFunctionExp6589);
ret=data_classes_functionsignature_anonymousFunctionExp();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_signature_anonymousFunctionExp"
// $ANTLR start "data_classes_functionsignature_anonymousFunctionExp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1604:1: data_classes_functionsignature_anonymousFunctionExp returns [Object ret2] : ( ( ( 'const' ) | ) 'function' LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN COLON ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= data_classes_functionsignatureimplementation ) ) ;
public final Object data_classes_functionsignature_anonymousFunctionExp() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","FunctionSignature");
onEnterTemplateRule(metaType,"anonymousFunctionExp");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1609:3: ( ( ( ( 'const' ) | ) 'function' LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN COLON ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= data_classes_functionsignatureimplementation ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1610:3: ( ( ( 'const' ) | ) 'function' LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN COLON ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= data_classes_functionsignatureimplementation ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1610:3: ( ( ( 'const' ) | ) 'function' LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN COLON ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= data_classes_functionsignatureimplementation ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1610:4: ( ( 'const' ) | ) 'function' LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN COLON ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) (temp= data_classes_functionsignatureimplementation )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C14F79570B311DFC3BFE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1610:64: ( ( 'const' ) | )
int alt68=2;
int LA68_0 = input.LA(1);
if ( (LA68_0==64) ) {
alt68=1;
}
else if ( (LA68_0==58) ) {
alt68=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 68, 0, input);
throw nvae;
}
switch (alt68) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1610:65: ( 'const' )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1610:81: ( 'const' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1610:82: 'const'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C14F79370B311DFCC32E517C0A868C8");
}
match(input,64,FOLLOW_64_in_data_classes_functionsignature_anonymousFunctionExp6625); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "sideEffectFree", java.lang.Boolean.TRUE);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1610:243:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
setProperty(ret, "sideEffectFree", java.lang.Boolean.FALSE);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C14F79670B311DFC30BE517C0A868C8");
}
match(input,58,FOLLOW_58_in_data_classes_functionsignature_anonymousFunctionExp6643); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C14F79770B311DFC7DCE517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_data_classes_functionsignature_anonymousFunctionExp6647); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C14F79C70B311DFCCFCE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:244: (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )?
int alt70=2;
int LA70_0 = input.LA(1);
if ( (LA70_0==NAME||LA70_0==LPAREN||LA70_0==58) ) {
alt70=1;
}
switch (alt70) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:246: temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )*
{
pushFollow(FOLLOW_data_classes_parameter_in_data_classes_functionsignature_anonymousFunctionExp6655);
temp=data_classes_parameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "input", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:309: ( ( ',' ) temp= data_classes_parameter )*
loop69:
do {
int alt69=2;
int LA69_0 = input.LA(1);
if ( (LA69_0==67) ) {
alt69=1;
}
switch (alt69) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:310: ( ',' ) temp= data_classes_parameter
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:327: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:328: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C14F79970B311DF9906E517C0A868C8");
}
match(input,67,FOLLOW_67_in_data_classes_functionsignature_anonymousFunctionExp6663); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_data_classes_parameter_in_data_classes_functionsignature_anonymousFunctionExp6670);
temp=data_classes_parameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "input", temp);
}
}
break;
default :
break loop69;
}
} while (true);
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C14F79D70B311DFC85AE517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_data_classes_functionsignature_anonymousFunctionExp6682); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C14F79E70B311DF871DE517C0A868C8");
}
match(input,COLON,FOLLOW_COLON_in_data_classes_functionsignature_anonymousFunctionExp6687); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C14F7A870B311DF9A87E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:733: ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) )
int alt71=2;
int LA71_0 = input.LA(1);
if ( (LA71_0==NAME||LA71_0==LPAREN||LA71_0==58) ) {
alt71=1;
}
else if ( (LA71_0==86) ) {
alt71=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 71, 0, input);
throw nvae;
}
switch (alt71) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:734: ( (temp= data_classes_typedefinition ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:750: ( (temp= data_classes_typedefinition ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:751: (temp= data_classes_typedefinition )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C14F7A470B311DF94D4E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:810: (temp= data_classes_typedefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:812: temp= data_classes_typedefinition
{
pushFollow(FOLLOW_data_classes_typedefinition_in_data_classes_functionsignature_anonymousFunctionExp6701);
temp=data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "output", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:915: ( 'void' )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:931: ( 'void' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1611:932: 'void'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C14F7A670B311DFA686E517C0A868C8");
}
match(input,86,FOLLOW_86_in_data_classes_functionsignature_anonymousFunctionExp6716); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C14F7AB70B311DFA08CE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "ownedTypeDefinitions", list("data","classes","TypeDefinition"), null, null, "output", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C14F7AE70B311DFA2ACE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1612:328: (temp= data_classes_functionsignatureimplementation )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1612:330: temp= data_classes_functionsignatureimplementation
{
pushFollow(FOLLOW_data_classes_functionsignatureimplementation_in_data_classes_functionsignature_anonymousFunctionExp6732);
temp=data_classes_functionsignatureimplementation();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "implementation", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignature_anonymousFunctionExp"
// $ANTLR start "dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1620:1: dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( (temp= identifier ) (temp= data_classes_typedefinition_functionFromMethodExpr ) ) ;
public final Object dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","fp","FunctionFromMethodExpr");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1625:3: ( ( (temp= identifier ) (temp= data_classes_typedefinition_functionFromMethodExpr ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1626:3: ( (temp= identifier ) (temp= data_classes_typedefinition_functionFromMethodExpr ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1626:3: ( (temp= identifier ) (temp= data_classes_typedefinition_functionFromMethodExpr ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1626:4: (temp= identifier ) (temp= data_classes_typedefinition_functionFromMethodExpr )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C17689570B311DFCB7DE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1626:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1626:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp6780);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "method", null, temp, "OCL:self.object.getType().oclAsType(ClassTypeDefinition).clazz.allSignatures()->select(s | s.name = ?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C17689970B311DFC555E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1626:302: (temp= data_classes_typedefinition_functionFromMethodExpr )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1626:304: temp= data_classes_typedefinition_functionFromMethodExpr
{
pushFollow(FOLLOW_data_classes_typedefinition_functionFromMethodExpr_in_dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp6790);
temp=data_classes_typedefinition_functionFromMethodExpr();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"object" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
leaveContext();
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp"
// $ANTLR start "data_classes_typedefinition_functionFromMethodExpr"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1637:1: data_classes_typedefinition_functionFromMethodExpr returns [Object ret2] : (ret= data_classes_functionsignaturetypedefinition_functionFromMethodExpr ) ;
public final Object data_classes_typedefinition_functionFromMethodExpr() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1638:3: ( (ret= data_classes_functionsignaturetypedefinition_functionFromMethodExpr ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1639:3: (ret= data_classes_functionsignaturetypedefinition_functionFromMethodExpr )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1639:3: (ret= data_classes_functionsignaturetypedefinition_functionFromMethodExpr )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1639:4: ret= data_classes_functionsignaturetypedefinition_functionFromMethodExpr
{
pushFollow(FOLLOW_data_classes_functionsignaturetypedefinition_functionFromMethodExpr_in_data_classes_typedefinition_functionFromMethodExpr6822);
ret=data_classes_functionsignaturetypedefinition_functionFromMethodExpr();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_functionFromMethodExpr"
// $ANTLR start "data_classes_functionsignaturetypedefinition_functionFromMethodExpr"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1646:1: data_classes_functionsignaturetypedefinition_functionFromMethodExpr returns [Object ret2] : () ;
public final Object data_classes_functionsignaturetypedefinition_functionFromMethodExpr() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","FunctionSignatureTypeDefinition");
onEnterTemplateRule(metaType,"functionFromMethodExpr");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1651:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1652:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1652:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1652:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C19B28870B311DF8452E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "signature", null, null, "OCL:#context.oclAsType(fp::FunctionFromMethodExpr).method", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:#context.oclAsType(fp::FunctionFromMethodExpr).object.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:#context.oclAsType(fp::FunctionFromMethodExpr).object.getType().upperMultiplicity", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignaturetypedefinition_functionFromMethodExpr"
// $ANTLR start "dataaccess_expressions_objectcreationexpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1660:1: dataaccess_expressions_objectcreationexpression returns [Object ret2] : ( 'new' ( ( (temp= identifier ) (temp= data_classes_typedefinition_objectCreationExpression ) ) | ( ( ( (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression ) ) ) (temp= data_classes_typedefinition_objectCreationExpression ) ) ) LPAREN (temp= dataaccess_expressions_methodcallexpression_objectCreationExpression ( ( ',' ) temp= dataaccess_expressions_methodcallexpression_objectCreationExpression )* )? RPAREN ) ;
public final Object dataaccess_expressions_objectcreationexpression() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","ObjectCreationExpression");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1665:3: ( ( 'new' ( ( (temp= identifier ) (temp= data_classes_typedefinition_objectCreationExpression ) ) | ( ( ( (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression ) ) ) (temp= data_classes_typedefinition_objectCreationExpression ) ) ) LPAREN (temp= dataaccess_expressions_methodcallexpression_objectCreationExpression ( ( ',' ) temp= dataaccess_expressions_methodcallexpression_objectCreationExpression )* )? RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1666:3: ( 'new' ( ( (temp= identifier ) (temp= data_classes_typedefinition_objectCreationExpression ) ) | ( ( ( (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression ) ) ) (temp= data_classes_typedefinition_objectCreationExpression ) ) ) LPAREN (temp= dataaccess_expressions_methodcallexpression_objectCreationExpression ( ( ',' ) temp= dataaccess_expressions_methodcallexpression_objectCreationExpression )* )? RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1666:3: ( 'new' ( ( (temp= identifier ) (temp= data_classes_typedefinition_objectCreationExpression ) ) | ( ( ( (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression ) ) ) (temp= data_classes_typedefinition_objectCreationExpression ) ) ) LPAREN (temp= dataaccess_expressions_methodcallexpression_objectCreationExpression ( ( ',' ) temp= dataaccess_expressions_methodcallexpression_objectCreationExpression )* )? RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1666:4: 'new' ( ( (temp= identifier ) (temp= data_classes_typedefinition_objectCreationExpression ) ) | ( ( ( (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression ) ) ) (temp= data_classes_typedefinition_objectCreationExpression ) ) ) LPAREN (temp= dataaccess_expressions_methodcallexpression_objectCreationExpression ( ( ',' ) temp= dataaccess_expressions_methodcallexpression_objectCreationExpression )* )? RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1C238070B311DFA83FE517C0A868C8");
}
match(input,56,FOLLOW_56_in_dataaccess_expressions_objectcreationexpression6892); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1C239870B311DFA5B4E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1666:143: ( ( (temp= identifier ) (temp= data_classes_typedefinition_objectCreationExpression ) ) | ( ( ( (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression ) ) ) (temp= data_classes_typedefinition_objectCreationExpression ) ) )
int alt72=2;
int LA72_0 = input.LA(1);
if ( (LA72_0==NAME) ) {
int LA72_1 = input.LA(2);
if ( (LA72_1==PIPE||LA72_1==LPAREN) ) {
alt72=1;
}
else if ( (LA72_1==LANGLE) ) {
alt72=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 72, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 72, 0, input);
throw nvae;
}
switch (alt72) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1666:144: ( (temp= identifier ) (temp= data_classes_typedefinition_objectCreationExpression ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1666:160: ( (temp= identifier ) (temp= data_classes_typedefinition_objectCreationExpression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1666:161: (temp= identifier ) (temp= data_classes_typedefinition_objectCreationExpression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1C238570B311DFAB44E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1666:220: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1666:222: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_expressions_objectcreationexpression6904);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "classToInstantiate", null, temp, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = ?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1C238970B311DF8451E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1666:435: (temp= data_classes_typedefinition_objectCreationExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1666:437: temp= data_classes_typedefinition_objectCreationExpression
{
pushFollow(FOLLOW_data_classes_typedefinition_objectCreationExpression_in_dataaccess_expressions_objectcreationexpression6914);
temp=data_classes_typedefinition_objectCreationExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1667:4: ( ( ( (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression ) ) ) (temp= data_classes_typedefinition_objectCreationExpression ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1667:20: ( ( ( (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression ) ) ) (temp= data_classes_typedefinition_objectCreationExpression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1667:21: ( ( (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression ) ) ) (temp= data_classes_typedefinition_objectCreationExpression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1C239270B311DFBFE4E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1667:81: ( ( (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1667:82: ( (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1667:98: ( (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1667:99: (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1C239070B311DFC543E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1667:158: (temp= data_generics_parameterizedclassinstantiation_objectCreationExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1667:160: temp= data_generics_parameterizedclassinstantiation_objectCreationExpression
{
pushFollow(FOLLOW_data_generics_parameterizedclassinstantiation_objectCreationExpression_in_dataaccess_expressions_objectcreationexpression6940);
temp=data_generics_parameterizedclassinstantiation_objectCreationExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "classToInstantiate", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1C239670B311DFA824E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1668:76: (temp= data_classes_typedefinition_objectCreationExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1668:78: temp= data_classes_typedefinition_objectCreationExpression
{
pushFollow(FOLLOW_data_classes_typedefinition_objectCreationExpression_in_dataaccess_expressions_objectcreationexpression6956);
temp=data_classes_typedefinition_objectCreationExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1C239970B311DF96B5E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_dataaccess_expressions_objectcreationexpression6968); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1E948270B311DF9903E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1668:375: (temp= dataaccess_expressions_methodcallexpression_objectCreationExpression ( ( ',' ) temp= dataaccess_expressions_methodcallexpression_objectCreationExpression )* )?
int alt74=2;
int LA74_0 = input.LA(1);
if ( (LA74_0==NAME) ) {
alt74=1;
}
switch (alt74) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1668:377: temp= dataaccess_expressions_methodcallexpression_objectCreationExpression ( ( ',' ) temp= dataaccess_expressions_methodcallexpression_objectCreationExpression )*
{
pushFollow(FOLLOW_dataaccess_expressions_methodcallexpression_objectCreationExpression_in_dataaccess_expressions_objectcreationexpression6976);
temp=dataaccess_expressions_methodcallexpression_objectCreationExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "initializers", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1668:493: ( ( ',' ) temp= dataaccess_expressions_methodcallexpression_objectCreationExpression )*
loop73:
do {
int alt73=2;
int LA73_0 = input.LA(1);
if ( (LA73_0==67) ) {
alt73=1;
}
switch (alt73) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1668:494: ( ',' ) temp= dataaccess_expressions_methodcallexpression_objectCreationExpression
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1668:511: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1668:512: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1C239B70B311DF985FE517C0A868C8");
}
match(input,67,FOLLOW_67_in_dataaccess_expressions_objectcreationexpression6984); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_dataaccess_expressions_methodcallexpression_objectCreationExpression_in_dataaccess_expressions_objectcreationexpression6991);
temp=dataaccess_expressions_methodcallexpression_objectCreationExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "initializers", temp);
}
}
break;
default :
break loop73;
}
} while (true);
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1E948370B311DFA8FEE517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_expressions_objectcreationexpression7003); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_objectcreationexpression"
// $ANTLR start "data_generics_parameterizedclassinstantiation_objectCreationExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1676:1: data_generics_parameterizedclassinstantiation_objectCreationExpression returns [Object ret2] : ( (temp= identifier ) LANGLE (temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )* ) RANGLE ) ;
public final Object data_generics_parameterizedclassinstantiation_objectCreationExpression() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","generics","ParameterizedClassInstantiation");
onEnterTemplateRule(metaType,"objectCreationExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1681:3: ( ( (temp= identifier ) LANGLE (temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )* ) RANGLE ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1682:3: ( (temp= identifier ) LANGLE (temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )* ) RANGLE )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1682:3: ( (temp= identifier ) LANGLE (temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )* ) RANGLE )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1682:4: (temp= identifier ) LANGLE (temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )* ) RANGLE
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1E948B70B311DFAAE0E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1682:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1682:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_data_generics_parameterizedclassinstantiation_objectCreationExpression7048);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "parameterizedClass", null, temp, "OCL:data::classes::SapClass.allInstances()->select(c |c.isParameterizedClassDefinition())->select(c | c.name = ?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1E948C70B311DF984DE517C0A868C8");
}
match(input,LANGLE,FOLLOW_LANGLE_in_data_generics_parameterizedclassinstantiation_objectCreationExpression7055); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1E948F70B311DFB677E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1682:408: (temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1682:410: temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )*
{
pushFollow(FOLLOW_data_generics_actualtypeparameter_in_data_generics_parameterizedclassinstantiation_objectCreationExpression7063);
temp=data_generics_actualtypeparameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "actualTypeParametersForInstantiation", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1682:515: (temp= data_generics_actualtypeparameter )*
loop75:
do {
int alt75=2;
int LA75_0 = input.LA(1);
if ( (LA75_0==NAME) ) {
alt75=1;
}
switch (alt75) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1682:517: temp= data_generics_actualtypeparameter
{
pushFollow(FOLLOW_data_generics_actualtypeparameter_in_data_generics_parameterizedclassinstantiation_objectCreationExpression7071);
temp=data_generics_actualtypeparameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "actualTypeParametersForInstantiation", temp);
}
}
break;
default :
break loop75;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1E949070B311DFCBE9E517C0A868C8");
}
match(input,RANGLE,FOLLOW_RANGLE_in_data_generics_parameterizedclassinstantiation_objectCreationExpression7081); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C1E949570B311DFCC87E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "name", list("PrimitiveTypes","String"), null, null, "parameterizedClass.name", null, null, false, null, true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "package_", null, null, "OCL:#context(root).oclAsType(data::classes::SapClass).package_", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_generics_parameterizedclassinstantiation_objectCreationExpression"
// $ANTLR start "dataaccess_expressions_methodcallexpression_objectCreationExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1690:1: dataaccess_expressions_methodcallexpression_objectCreationExpression returns [Object ret2] : ( (temp= dataaccess_expressions_expression_thisInObjectCreationExpression ) (temp= identifier ) COLON (temp= dataaccess_expressions_expression ) ) ;
public final Object dataaccess_expressions_methodcallexpression_objectCreationExpression() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","MethodCallExpression");
onEnterTemplateRule(metaType,"objectCreationExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1695:3: ( ( (temp= dataaccess_expressions_expression_thisInObjectCreationExpression ) (temp= identifier ) COLON (temp= dataaccess_expressions_expression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1696:3: ( (temp= dataaccess_expressions_expression_thisInObjectCreationExpression ) (temp= identifier ) COLON (temp= dataaccess_expressions_expression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1696:3: ( (temp= dataaccess_expressions_expression_thisInObjectCreationExpression ) (temp= identifier ) COLON (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1696:4: (temp= dataaccess_expressions_expression_thisInObjectCreationExpression ) (temp= identifier ) COLON (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C20DE7470B311DF81A3E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1696:63: (temp= dataaccess_expressions_expression_thisInObjectCreationExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1696:65: temp= dataaccess_expressions_expression_thisInObjectCreationExpression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_thisInObjectCreationExpression_in_dataaccess_expressions_methodcallexpression_objectCreationExpression7129);
temp=dataaccess_expressions_expression_thisInObjectCreationExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "object", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C20DE7970B311DF810DE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1696:246: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1696:248: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_expressions_methodcallexpression_objectCreationExpression7139);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "methodSignature", null, temp, "OCL:self.object.getType().getInnermost().oclAsType(data::classes::ClassTypeDefinition).clazz.allSignatures()->select(s | s.name = ?.concat('='))");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C20DE7A70B311DFB5CEE517C0A868C8");
}
match(input,COLON,FOLLOW_COLON_in_dataaccess_expressions_methodcallexpression_objectCreationExpression7146); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C20DE7E70B311DFBC13E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1696:618: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1696:620: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_methodcallexpression_objectCreationExpression7154);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "parameters", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_methodcallexpression_objectCreationExpression"
// $ANTLR start "dataaccess_expressions_expression_thisInObjectCreationExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1704:1: dataaccess_expressions_expression_thisInObjectCreationExpression returns [Object ret2] : (ret= dataaccess_expressions_this_thisInObjectCreationExpression ) ;
public final Object dataaccess_expressions_expression_thisInObjectCreationExpression() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1705:3: ( (ret= dataaccess_expressions_this_thisInObjectCreationExpression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1706:3: (ret= dataaccess_expressions_this_thisInObjectCreationExpression )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1706:3: (ret= dataaccess_expressions_this_thisInObjectCreationExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1706:4: ret= dataaccess_expressions_this_thisInObjectCreationExpression
{
pushFollow(FOLLOW_dataaccess_expressions_this_thisInObjectCreationExpression_in_dataaccess_expressions_expression_thisInObjectCreationExpression7194);
ret=dataaccess_expressions_this_thisInObjectCreationExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_expression_thisInObjectCreationExpression"
// $ANTLR start "dataaccess_expressions_this_thisInObjectCreationExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1713:1: dataaccess_expressions_this_thisInObjectCreationExpression returns [Object ret2] : ( (temp= data_classes_typedefinition_thisInObjectCreationExpression ) ) ;
public final Object dataaccess_expressions_this_thisInObjectCreationExpression() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","This");
onEnterTemplateRule(metaType,"thisInObjectCreationExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1718:3: ( ( (temp= data_classes_typedefinition_thisInObjectCreationExpression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1719:3: ( (temp= data_classes_typedefinition_thisInObjectCreationExpression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1719:3: ( (temp= data_classes_typedefinition_thisInObjectCreationExpression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1719:4: (temp= data_classes_typedefinition_thisInObjectCreationExpression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C25996570B311DFB468E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1719:63: (temp= data_classes_typedefinition_thisInObjectCreationExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1719:65: temp= data_classes_typedefinition_thisInObjectCreationExpression
{
pushFollow(FOLLOW_data_classes_typedefinition_thisInObjectCreationExpression_in_dataaccess_expressions_this_thisInObjectCreationExpression7228);
temp=data_classes_typedefinition_thisInObjectCreationExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_this_thisInObjectCreationExpression"
// $ANTLR start "data_generics_actualtypeparameter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1727:1: data_generics_actualtypeparameter returns [Object ret2] : ( (temp= identifier ) ) ;
public final Object data_generics_actualtypeparameter() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","generics","ActualTypeParameter");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1732:3: ( ( (temp= identifier ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1733:3: ( (temp= identifier ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1733:3: ( (temp= identifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1733:4: (temp= identifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C25996D70B311DFBD52E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1733:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1733:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_data_generics_actualtypeparameter7275);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "type", null, temp, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = ?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C280A6270B311DF8DD6E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "formalTypeParameter", null, null, "OCL:Sequence{ 1..self.parameterizedClassInstantiation.parameterizedClass.parameterization.formalTypeParameters->size()}"+" ->select( i | self.parameterizedClassInstantiation.actualTypeParametersForInstantiation->asSequence()->at(i) = self)"+" ->collect( j | self.parameterizedClassInstantiation.parameterizedClass.parameterization.formalTypeParameters->at(j))", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_generics_actualtypeparameter"
// $ANTLR start "data_classes_typedefinition_objectCreationExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1741:1: data_classes_typedefinition_objectCreationExpression returns [Object ret2] : (ret= data_classes_classtypedefinition_objectCreationExpression ) ;
public final Object data_classes_typedefinition_objectCreationExpression() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1742:3: ( (ret= data_classes_classtypedefinition_objectCreationExpression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1743:3: (ret= data_classes_classtypedefinition_objectCreationExpression )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1743:3: (ret= data_classes_classtypedefinition_objectCreationExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1743:4: ret= data_classes_classtypedefinition_objectCreationExpression
{
pushFollow(FOLLOW_data_classes_classtypedefinition_objectCreationExpression_in_data_classes_typedefinition_objectCreationExpression7318);
ret=data_classes_classtypedefinition_objectCreationExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_objectCreationExpression"
// $ANTLR start "data_classes_classtypedefinition_objectCreationExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1750:1: data_classes_classtypedefinition_objectCreationExpression returns [Object ret2] : ( ( () | ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) ) ) ;
public final Object data_classes_classtypedefinition_objectCreationExpression() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"objectCreationExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1755:3: ( ( ( () | ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1756:3: ( ( () | ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1756:3: ( ( () | ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1756:4: ( () | ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C2A7B6A70B311DFA006E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1756:63: ( () | ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) )
int alt77=2;
int LA77_0 = input.LA(1);
if ( (LA77_0==LPAREN) ) {
alt77=1;
}
else if ( (LA77_0==PIPE) && (synpred30_Class())) {
alt77=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 77, 0, input);
throw nvae;
}
switch (alt77) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1756:64: ()
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1756:80: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1756:81:
{
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1757:4: ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1757:29: ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1757:30: PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C280A6970B311DF924DE517C0A868C8");
}
match(input,PIPE,FOLLOW_PIPE_in_data_classes_classtypedefinition_objectCreationExpression7370); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C2A7B6470B311DFAAC4E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1757:170: (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1757:172: temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )*
{
pushFollow(FOLLOW_data_classes_actualobjectparameter_in_data_classes_classtypedefinition_objectCreationExpression7378);
temp=data_classes_actualobjectparameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedObjectParameters", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1757:263: ( ( ',' ) temp= data_classes_actualobjectparameter )*
loop76:
do {
int alt76=2;
int LA76_0 = input.LA(1);
if ( (LA76_0==67) ) {
alt76=1;
}
switch (alt76) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1757:264: ( ',' ) temp= data_classes_actualobjectparameter
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1757:281: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1757:282: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C2A7B6170B311DFC433E517C0A868C8");
}
match(input,67,FOLLOW_67_in_data_classes_classtypedefinition_objectCreationExpression7386); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_data_classes_actualobjectparameter_in_data_classes_classtypedefinition_objectCreationExpression7393);
temp=data_classes_actualobjectparameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedObjectParameters", temp);
}
}
break;
default :
break loop76;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C2A7B6570B311DFC5CEE517C0A868C8");
}
match(input,PIPE,FOLLOW_PIPE_in_data_classes_classtypedefinition_objectCreationExpression7403); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C2A7B6870B311DFCF7CE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:self.ownedObjectParameters", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C2A7B7570B311DF806CE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:self.ownerTypedElement.oclAsType(dataaccess::expressions::ObjectCreationExpression).classToInstantiate", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_objectCreationExpression"
// $ANTLR start "data_classes_typedefinition_thisInObjectCreationExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1765:1: data_classes_typedefinition_thisInObjectCreationExpression returns [Object ret2] : (ret= data_classes_classtypedefinition_thisInObjectCreationExpression ) ;
public final Object data_classes_typedefinition_thisInObjectCreationExpression() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1766:3: ( (ret= data_classes_classtypedefinition_thisInObjectCreationExpression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1767:3: (ret= data_classes_classtypedefinition_thisInObjectCreationExpression )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1767:3: (ret= data_classes_classtypedefinition_thisInObjectCreationExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1767:4: ret= data_classes_classtypedefinition_thisInObjectCreationExpression
{
pushFollow(FOLLOW_data_classes_classtypedefinition_thisInObjectCreationExpression_in_data_classes_typedefinition_thisInObjectCreationExpression7452);
ret=data_classes_classtypedefinition_thisInObjectCreationExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_thisInObjectCreationExpression"
// $ANTLR start "data_classes_classtypedefinition_thisInObjectCreationExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1774:1: data_classes_classtypedefinition_thisInObjectCreationExpression returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_thisInObjectCreationExpression() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"thisInObjectCreationExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1779:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1780:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1780:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1780:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C2CC55F70B311DFA3ADE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:#context.oclAsType(dataaccess::expressions::ObjectCreationExpression).classToInstantiate", true);_exitInjectorAction();_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
list.add(new PredicateSemantic(null, "data_classes_actualobjectparameter_localAssociationEnd"));
setPredicateRef(ret,"ownedObjectParameters","localAssociationEnd","OCL:#context.oclAsType(dataaccess::expressions::ObjectCreationExpression).classToInstantiate.formalObjectParameters",list,finder,false);
}
_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:self.ownedObjectParameters", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_thisInObjectCreationExpression"
// $ANTLR start "data_classes_actualobjectparameter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1795:1: data_classes_actualobjectparameter returns [Object ret2] : ( (temp= dataaccess_expressions_expression ) ) ;
public final Object data_classes_actualobjectparameter() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","ActualObjectParameter");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1800:3: ( ( (temp= dataaccess_expressions_expression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1801:3: ( (temp= dataaccess_expressions_expression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1801:3: ( (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1801:4: (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C2F365170B311DF95D6E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1801:63: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1801:65: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_data_classes_actualobjectparameter7526);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "value", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C2F365470B311DFA918E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "formalObjectParameter", null, null, "OCL:self.owningClassTypeDefinition.clazz.formalObjectParameters->at("+" self.owningClassTypeDefinition.objectParameters->indexOf(self))", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_actualobjectparameter"
// $ANTLR start "dataaccess_expressions_this"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1809:1: dataaccess_expressions_this returns [Object ret2] : ( 'this' (temp= data_classes_typedefinition_this ) ) ;
public final Object dataaccess_expressions_this() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","This");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1814:3: ( ( 'this' (temp= data_classes_typedefinition_this ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1815:3: ( 'this' (temp= data_classes_typedefinition_this ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1815:3: ( 'this' (temp= data_classes_typedefinition_this ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1815:4: 'this' (temp= data_classes_typedefinition_this )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C2F365870B311DF862BE517C0A868C8");
}
match(input,77,FOLLOW_77_in_dataaccess_expressions_this7572); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C2F365C70B311DFB6DFE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1815:144: (temp= data_classes_typedefinition_this )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1815:146: temp= data_classes_typedefinition_this
{
pushFollow(FOLLOW_data_classes_typedefinition_this_in_dataaccess_expressions_this7579);
temp=data_classes_typedefinition_this();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_this"
// $ANTLR start "data_classes_typedefinition_this"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1823:1: data_classes_typedefinition_this returns [Object ret2] : (ret= data_classes_classtypedefinition_this ) ;
public final Object data_classes_typedefinition_this() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1824:3: ( (ret= data_classes_classtypedefinition_this ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1825:3: (ret= data_classes_classtypedefinition_this )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1825:3: (ret= data_classes_classtypedefinition_this )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1825:4: ret= data_classes_classtypedefinition_this
{
pushFollow(FOLLOW_data_classes_classtypedefinition_this_in_data_classes_typedefinition_this7619);
ret=data_classes_classtypedefinition_this();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_this"
// $ANTLR start "data_classes_classtypedefinition_this"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1832:1: data_classes_classtypedefinition_this returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_this() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"this");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1837:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1838:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1838:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1838:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C31805170B311DF853FE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setRef(ret, "clazz", list("data","classes","SapClass"), null, null, "#context(root)", null, null, false, null, true);_exitInjectorAction();_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
list.add(new PredicateSemantic(null, "data_classes_actualobjectparameter_localAssociationEnd"));
setPredicateRef(ret,"ownedObjectParameters","localAssociationEnd","OCL:#context(root).oclAsType(data::classes::SapClass).formalObjectParameters",list,finder,false);
}
_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:self.ownedObjectParameters", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_this"
// $ANTLR start "persistence_expressions_commit"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1853:1: persistence_expressions_commit returns [Object ret2] : ( 'commit' (temp= data_classes_typedefinition_commit ) ) ;
public final Object persistence_expressions_commit() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("persistence","expressions","Commit");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1858:3: ( ( 'commit' (temp= data_classes_typedefinition_commit ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1859:3: ( 'commit' (temp= data_classes_typedefinition_commit ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1859:3: ( 'commit' (temp= data_classes_typedefinition_commit ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1859:4: 'commit' (temp= data_classes_typedefinition_commit )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C33F14370B311DFCEDCE517C0A868C8");
}
match(input,73,FOLLOW_73_in_persistence_expressions_commit7689); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C33F14770B311DFA1C4E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1859:146: (temp= data_classes_typedefinition_commit )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1859:148: temp= data_classes_typedefinition_commit
{
pushFollow(FOLLOW_data_classes_typedefinition_commit_in_persistence_expressions_commit7696);
temp=data_classes_typedefinition_commit();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "persistence_expressions_commit"
// $ANTLR start "data_classes_typedefinition_commit"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1867:1: data_classes_typedefinition_commit returns [Object ret2] : (ret= data_classes_classtypedefinition_commit ) ;
public final Object data_classes_typedefinition_commit() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1868:3: ( (ret= data_classes_classtypedefinition_commit ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1869:3: (ret= data_classes_classtypedefinition_commit )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1869:3: (ret= data_classes_classtypedefinition_commit )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1869:4: ret= data_classes_classtypedefinition_commit
{
pushFollow(FOLLOW_data_classes_classtypedefinition_commit_in_data_classes_typedefinition_commit7736);
ret=data_classes_classtypedefinition_commit();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_commit"
// $ANTLR start "data_classes_classtypedefinition_commit"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1876:1: data_classes_classtypedefinition_commit returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_commit() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"commit");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1881:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1882:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1882:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1882:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C36624C70B311DF8935E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = 'Snapshot')", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_commit"
// $ANTLR start "persistence_expressions_all"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1890:1: persistence_expressions_all returns [Object ret2] : ( 'all' ( ( LBRACKET 'all' RBRACKET ) | ( LBRACKET 'changed' RBRACKET ) | ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET ) | () ) (temp= identifier ) (temp= data_classes_typedefinition_allQuery ) ) ;
public final Object persistence_expressions_all() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("persistence","expressions","All");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false, new String[]{"allQuery"}) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1895:3: ( ( 'all' ( ( LBRACKET 'all' RBRACKET ) | ( LBRACKET 'changed' RBRACKET ) | ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET ) | () ) (temp= identifier ) (temp= data_classes_typedefinition_allQuery ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1896:3: ( 'all' ( ( LBRACKET 'all' RBRACKET ) | ( LBRACKET 'changed' RBRACKET ) | ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET ) | () ) (temp= identifier ) (temp= data_classes_typedefinition_allQuery ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1896:3: ( 'all' ( ( LBRACKET 'all' RBRACKET ) | ( LBRACKET 'changed' RBRACKET ) | ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET ) | () ) (temp= identifier ) (temp= data_classes_typedefinition_allQuery ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1896:4: 'all' ( ( LBRACKET 'all' RBRACKET ) | ( LBRACKET 'changed' RBRACKET ) | ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET ) | () ) (temp= identifier ) (temp= data_classes_typedefinition_allQuery )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC3170B311DFCA2FE517C0A868C8");
}
match(input,78,FOLLOW_78_in_persistence_expressions_all7806); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC4D70B311DF93A2E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1896:143: ( ( LBRACKET 'all' RBRACKET ) | ( LBRACKET 'changed' RBRACKET ) | ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET ) | () )
int alt78=4;
int LA78_0 = input.LA(1);
if ( (LA78_0==LBRACKET) ) {
switch ( input.LA(2) ) {
case NAME:
case STRING:
case INT:
case FLOAT:
case BOOL:
case BINARY:
case DATE:
case LPAREN:
case 51:
case 56:
case 57:
case 58:
case 64:
case 68:
case 73:
case 77:
case 90:
case 94:
{
alt78=3;
}
break;
case 78:
{
int LA78_4 = input.LA(3);
if ( (LA78_4==RBRACKET) ) {
alt78=1;
}
else if ( (LA78_4==NAME||LA78_4==LBRACKET) ) {
alt78=3;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 78, 4, input);
throw nvae;
}
}
break;
case 79:
{
alt78=2;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 78, 1, input);
throw nvae;
}
}
else if ( (LA78_0==NAME) ) {
alt78=4;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 78, 0, input);
throw nvae;
}
switch (alt78) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1896:144: ( LBRACKET 'all' RBRACKET )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1896:160: ( LBRACKET 'all' RBRACKET )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1896:161: LBRACKET 'all' RBRACKET
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC3270B311DFB746E517C0A868C8");
}
match(input,LBRACKET,FOLLOW_LBRACKET_in_persistence_expressions_all7815); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC3370B311DFBAA9E517C0A868C8");
}
match(input,78,FOLLOW_78_in_persistence_expressions_all7819); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC3470B311DFCAE9E517C0A868C8");
}
match(input,RBRACKET,FOLLOW_RBRACKET_in_persistence_expressions_all7823); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC3770B311DF891EE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "snapshot", persistence.expressions.SnapshotSelectionEnum.ALL);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1897:4: ( LBRACKET 'changed' RBRACKET )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1897:20: ( LBRACKET 'changed' RBRACKET )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1897:21: LBRACKET 'changed' RBRACKET
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC3970B311DFC9EDE517C0A868C8");
}
match(input,LBRACKET,FOLLOW_LBRACKET_in_persistence_expressions_all7841); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC3A70B311DF9A9EE517C0A868C8");
}
match(input,79,FOLLOW_79_in_persistence_expressions_all7845); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC3B70B311DF942EE517C0A868C8");
}
match(input,RBRACKET,FOLLOW_RBRACKET_in_persistence_expressions_all7849); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC3E70B311DFC9D3E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "snapshot", persistence.expressions.SnapshotSelectionEnum.CHANGED);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1898:4: ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET )
{
if ( state.backtracking==0 ) {
_enterAlt(2);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1898:20: ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1898:21: LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC4070B311DFA233E517C0A868C8");
}
match(input,LBRACKET,FOLLOW_LBRACKET_in_persistence_expressions_all7867); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC4370B311DFB3BDE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1898:165: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1898:167: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_persistence_expressions_all7875);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "snapshotIdentifier", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC4470B311DF9619E517C0A868C8");
}
match(input,RBRACKET,FOLLOW_RBRACKET_in_persistence_expressions_all7882); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC4770B311DFB585E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "snapshot", persistence.expressions.SnapshotSelectionEnum.SPECIFIED);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 4 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1899:4: ()
{
if ( state.backtracking==0 ) {
_enterAlt(3);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1899:20: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1899:21:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC4B70B311DFCDB2E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "snapshot", persistence.expressions.SnapshotSelectionEnum.DEFAULT);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC5270B311DF965AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1899:318: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1899:320: temp= identifier
{
pushFollow(FOLLOW_identifier_in_persistence_expressions_all7911);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "ofClass", null, temp, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = ?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C38AC5670B311DF80BBE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1899:522: (temp= data_classes_typedefinition_allQuery )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1899:524: temp= data_classes_typedefinition_allQuery
{
pushFollow(FOLLOW_data_classes_typedefinition_allQuery_in_persistence_expressions_all7921);
temp=data_classes_typedefinition_allQuery();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "persistence_expressions_all"
// $ANTLR start "data_classes_typedefinition_allQuery"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1907:1: data_classes_typedefinition_allQuery returns [Object ret2] : (ret= data_classes_classtypedefinition_allQuery ) ;
public final Object data_classes_typedefinition_allQuery() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1908:3: ( (ret= data_classes_classtypedefinition_allQuery ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1909:3: (ret= data_classes_classtypedefinition_allQuery )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1909:3: (ret= data_classes_classtypedefinition_allQuery )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1909:4: ret= data_classes_classtypedefinition_allQuery
{
pushFollow(FOLLOW_data_classes_classtypedefinition_allQuery_in_data_classes_typedefinition_allQuery7961);
ret=data_classes_classtypedefinition_allQuery();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_allQuery"
// $ANTLR start "data_classes_classtypedefinition_allQuery"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1916:1: data_classes_classtypedefinition_allQuery returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_allQuery() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"allQuery");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1921:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1922:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1922:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1922:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C3D8E3470B311DF8AE8E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:#context(allQuery).oclAsType(persistence::expressions::All).ofClass", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_allQuery"
// $ANTLR start "behavioral_actions_foreach"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1930:1: behavioral_actions_foreach returns [Object ret2] : ( 'foreach' ) ;
public final Object behavioral_actions_foreach() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("behavioral","actions","Foreach");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1935:3: ( ( 'foreach' ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1936:3: ( 'foreach' )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1936:3: ( 'foreach' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1936:4: 'foreach'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C3D8E3870B311DFA727E517C0A868C8");
}
match(input,85,FOLLOW_85_in_behavioral_actions_foreach8031); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_foreach"
// $ANTLR start "dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1944:1: dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( 'head' LPAREN RPAREN ) ;
public final Object dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("dataaccess","expressions","Head");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false, new String[]{"head"}) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1949:3: ( ( 'head' LPAREN RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1950:3: ( 'head' LPAREN RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1950:3: ( 'head' LPAREN RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1950:4: 'head' LPAREN RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C42492270B311DFA153E517C0A868C8");
}
match(input,60,FOLLOW_60_in_dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp8072); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C42492370B311DFCC4FE517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp8076); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C42492470B311DF8B76E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp8081); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"object" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
leaveContext();
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp"
// $ANTLR start "dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1961:1: dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( 'tail' LPAREN RPAREN ) ;
public final Object dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("dataaccess","expressions","Tail");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false, new String[]{"tail"}) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1966:3: ( ( 'tail' LPAREN RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1967:3: ( 'tail' LPAREN RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1967:3: ( 'tail' LPAREN RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1967:4: 'tail' LPAREN RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C42492A70B311DFCBF4E517C0A868C8");
}
match(input,71,FOLLOW_71_in_dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp8115); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C42492B70B311DFCC4AE517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp8119); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C42492C70B311DF98ADE517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp8124); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"object" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
leaveContext();
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp"
// $ANTLR start "dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1978:1: dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( INCLUDING LPAREN (temp= dataaccess_expressions_expression )? RPAREN ) ;
public final Object dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","collectionExpressions","Including");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1983:3: ( ( INCLUDING LPAREN (temp= dataaccess_expressions_expression )? RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1984:3: ( INCLUDING LPAREN (temp= dataaccess_expressions_expression )? RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1984:3: ( INCLUDING LPAREN (temp= dataaccess_expressions_expression )? RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1984:4: INCLUDING LPAREN (temp= dataaccess_expressions_expression )? RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C44931170B311DFB012E517C0A868C8");
}
match(input,INCLUDING,FOLLOW_INCLUDING_in_dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp8159); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C44931270B311DFAC78E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp8164); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C44931470B311DFC62DE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1984:232: (temp= dataaccess_expressions_expression )?
int alt79=2;
int LA79_0 = input.LA(1);
if ( ((LA79_0>=NAME && LA79_0<=DATE)||LA79_0==LPAREN||LA79_0==51||(LA79_0>=56 && LA79_0<=58)||LA79_0==64||LA79_0==68||LA79_0==73||(LA79_0>=77 && LA79_0<=78)||LA79_0==90||LA79_0==94) ) {
alt79=1;
}
switch (alt79) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1984:234: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp8172);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "argument", temp);
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C44931570B311DFCE26E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp8181); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C44931870B311DF8EC6E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
setPredicateRef(ret,"ownedTypeDefinition","includingExpression","OCL:self.source.getType()",list,finder,false);
}
_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"source" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp"
// $ANTLR start "dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2000:1: dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( EXCLUDING LPAREN (temp= dataaccess_expressions_expression )? RPAREN ) ;
public final Object dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","collectionExpressions","Excluding");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2005:3: ( ( EXCLUDING LPAREN (temp= dataaccess_expressions_expression )? RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2006:3: ( EXCLUDING LPAREN (temp= dataaccess_expressions_expression )? RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2006:3: ( EXCLUDING LPAREN (temp= dataaccess_expressions_expression )? RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2006:4: EXCLUDING LPAREN (temp= dataaccess_expressions_expression )? RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C44931D70B311DF8846E517C0A868C8");
}
match(input,EXCLUDING,FOLLOW_EXCLUDING_in_dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp8219); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C44931E70B311DF8358E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp8224); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C44932070B311DFB3EDE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2006:232: (temp= dataaccess_expressions_expression )?
int alt80=2;
int LA80_0 = input.LA(1);
if ( ((LA80_0>=NAME && LA80_0<=DATE)||LA80_0==LPAREN||LA80_0==51||(LA80_0>=56 && LA80_0<=58)||LA80_0==64||LA80_0==68||LA80_0==73||(LA80_0>=77 && LA80_0<=78)||LA80_0==90||LA80_0==94) ) {
alt80=1;
}
switch (alt80) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2006:234: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp8232);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "argument", temp);
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C44932170B311DFCE46E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp8241); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"source" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp"
// $ANTLR start "dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2016:1: dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( INCLUDING LBRACKET (temp= integerSymbol ) RBRACKET LPAREN (temp= dataaccess_expressions_expression )? RPAREN ) ;
public final Object dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","collectionExpressions","IncludingAt");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2021:3: ( ( INCLUDING LBRACKET (temp= integerSymbol ) RBRACKET LPAREN (temp= dataaccess_expressions_expression )? RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2022:3: ( INCLUDING LBRACKET (temp= integerSymbol ) RBRACKET LPAREN (temp= dataaccess_expressions_expression )? RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2022:3: ( INCLUDING LBRACKET (temp= integerSymbol ) RBRACKET LPAREN (temp= dataaccess_expressions_expression )? RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2022:4: INCLUDING LBRACKET (temp= integerSymbol ) RBRACKET LPAREN (temp= dataaccess_expressions_expression )? RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C47041170B311DF81BBE517C0A868C8");
}
match(input,INCLUDING,FOLLOW_INCLUDING_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8276); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C47041270B311DF8CE7E517C0A868C8");
}
match(input,LBRACKET,FOLLOW_LBRACKET_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8281); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C47041470B311DFADEFE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2022:234: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2022:236: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8289);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "at", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C47041570B311DFA9CBE517C0A868C8");
}
match(input,RBRACKET,FOLLOW_RBRACKET_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8296); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C47041670B311DFC232E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8301); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C47041870B311DFBC53E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2022:530: (temp= dataaccess_expressions_expression )?
int alt81=2;
int LA81_0 = input.LA(1);
if ( ((LA81_0>=NAME && LA81_0<=DATE)||LA81_0==LPAREN||LA81_0==51||(LA81_0>=56 && LA81_0<=58)||LA81_0==64||LA81_0==68||LA81_0==73||(LA81_0>=77 && LA81_0<=78)||LA81_0==90||LA81_0==94) ) {
alt81=1;
}
switch (alt81) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2022:532: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8309);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "argument", temp);
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C47041970B311DFCDA9E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8318); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C47042070B311DFA68CE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
list.add(new PredicateSemantic("OCL:self.source.getType().getNestingLevel() < self.argument.getType().getNestingLevel()", "data_classes_nestedtypedefinition_includingExpressionNewNestedType"));
list.add(new PredicateSemantic("OCL:self.source.getType().oclIsKindOf(ClassTypeDefinition)", "data_classes_classtypedefinition_includingExpression"));
list.add(new PredicateSemantic("OCL:self.source.getType().oclIsKindOf(FunctionSignatureTypeDefinition)", "data_classes_functionsignaturetypedefinition_includingExpression"));
list.add(new PredicateSemantic("OCL:self.source.getType().oclIsKindOf(NestedTypeDefinition)", "data_classes_nestedtypedefinition_includingExpression"));
setPredicateRef(ret,"ownedTypeDefinition",null,"OCL:self.source.getType()",list,finder,false);
}
_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"source" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp"
// $ANTLR start "dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2042:1: dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( EXCLUDING LBRACKET (temp= integerSymbol ) RBRACKET LPAREN (temp= dataaccess_expressions_expression )? RPAREN ) ;
public final Object dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","collectionExpressions","ExcludingAt");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2047:3: ( ( EXCLUDING LBRACKET (temp= integerSymbol ) RBRACKET LPAREN (temp= dataaccess_expressions_expression )? RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2048:3: ( EXCLUDING LBRACKET (temp= integerSymbol ) RBRACKET LPAREN (temp= dataaccess_expressions_expression )? RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2048:3: ( EXCLUDING LBRACKET (temp= integerSymbol ) RBRACKET LPAREN (temp= dataaccess_expressions_expression )? RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2048:4: EXCLUDING LBRACKET (temp= integerSymbol ) RBRACKET LPAREN (temp= dataaccess_expressions_expression )? RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C49751170B311DFBA70E517C0A868C8");
}
match(input,EXCLUDING,FOLLOW_EXCLUDING_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8356); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C49751270B311DFBCF5E517C0A868C8");
}
match(input,LBRACKET,FOLLOW_LBRACKET_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8361); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C49751470B311DF922AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2048:234: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2048:236: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8369);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "at", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C49751570B311DFA39AE517C0A868C8");
}
match(input,RBRACKET,FOLLOW_RBRACKET_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8376); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C49751670B311DFC1CDE517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8381); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C49751870B311DFAB94E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2048:530: (temp= dataaccess_expressions_expression )?
int alt82=2;
int LA82_0 = input.LA(1);
if ( ((LA82_0>=NAME && LA82_0<=DATE)||LA82_0==LPAREN||LA82_0==51||(LA82_0>=56 && LA82_0<=58)||LA82_0==64||LA82_0==68||LA82_0==73||(LA82_0>=77 && LA82_0<=78)||LA82_0==90||LA82_0==94) ) {
alt82=1;
}
switch (alt82) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2048:532: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8389);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "argument", temp);
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C49751970B311DFC41AE517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8398); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"source" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp"
// $ANTLR start "data_classes_typedefinition_includingExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2058:1: data_classes_typedefinition_includingExpression returns [Object ret2] : ( ( '___1002___' )=> (ret= data_classes_classtypedefinition_includingExpression ) | ( '___2002___' )=> (ret= data_classes_functionsignaturetypedefinition_includingExpression ) | ( '___3002___' )=> (ret= data_classes_nestedtypedefinition_includingExpression ) ) ;
public final Object data_classes_typedefinition_includingExpression() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2059:3: ( ( ( '___1002___' )=> (ret= data_classes_classtypedefinition_includingExpression ) | ( '___2002___' )=> (ret= data_classes_functionsignaturetypedefinition_includingExpression ) | ( '___3002___' )=> (ret= data_classes_nestedtypedefinition_includingExpression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2060:3: ( ( '___1002___' )=> (ret= data_classes_classtypedefinition_includingExpression ) | ( '___2002___' )=> (ret= data_classes_functionsignaturetypedefinition_includingExpression ) | ( '___3002___' )=> (ret= data_classes_nestedtypedefinition_includingExpression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2060:3: ( ( '___1002___' )=> (ret= data_classes_classtypedefinition_includingExpression ) | ( '___2002___' )=> (ret= data_classes_functionsignaturetypedefinition_includingExpression ) | ( '___3002___' )=> (ret= data_classes_nestedtypedefinition_includingExpression ) )
int alt83=3;
int LA83_0 = input.LA(1);
if ( (LA83_0==EOF) ) {
int LA83_1 = input.LA(2);
if ( (synpred31_Class()) ) {
alt83=1;
}
else if ( (synpred32_Class()) ) {
alt83=2;
}
else if ( (synpred33_Class()) ) {
alt83=3;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 83, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 83, 0, input);
throw nvae;
}
switch (alt83) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2060:4: ( '___1002___' )=> (ret= data_classes_classtypedefinition_includingExpression )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2060:20: (ret= data_classes_classtypedefinition_includingExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2060:21: ret= data_classes_classtypedefinition_includingExpression
{
pushFollow(FOLLOW_data_classes_classtypedefinition_includingExpression_in_data_classes_typedefinition_includingExpression8433);
ret=data_classes_classtypedefinition_includingExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2061:5: ( '___2002___' )=> (ret= data_classes_functionsignaturetypedefinition_includingExpression )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2061:21: (ret= data_classes_functionsignaturetypedefinition_includingExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2061:22: ret= data_classes_functionsignaturetypedefinition_includingExpression
{
pushFollow(FOLLOW_data_classes_functionsignaturetypedefinition_includingExpression_in_data_classes_typedefinition_includingExpression8447);
ret=data_classes_functionsignaturetypedefinition_includingExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2062:5: ( '___3002___' )=> (ret= data_classes_nestedtypedefinition_includingExpression )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2062:21: (ret= data_classes_nestedtypedefinition_includingExpression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2062:22: ret= data_classes_nestedtypedefinition_includingExpression
{
pushFollow(FOLLOW_data_classes_nestedtypedefinition_includingExpression_in_data_classes_typedefinition_includingExpression8461);
ret=data_classes_nestedtypedefinition_includingExpression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_includingExpression"
// $ANTLR start "data_classes_classtypedefinition_includingExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2069:1: data_classes_classtypedefinition_includingExpression returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_includingExpression() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"includingExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2074:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2075:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2075:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2075:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C4BBF0C70B311DFB26AE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:self.ownerTypedElement.oclAsType(Including).source.getType().oclAsType(ClassTypeDefinition).clazz", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:self.ownerTypedElement.oclAsType(Including).source.getType().oclAsType(ClassTypeDefinition).objectParameters", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(Including).source.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:if (self.ownerTypedElement.oclAsType(Including).source.getType().upperMultiplicity < 0) or (self.ownerTypedElement.oclAsType(Including).argument.getType().upperMultiplicity < 0) then"+" -1"+" else"+" self.ownerTypedElement.oclAsType(Including).source.getType().upperMultiplicity + self.ownerTypedElement.oclAsType(Including).argument.getType().upperMultiplicity "+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(Including).source.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.ownerTypedElement.oclAsType(Including).source.getType().unique", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_includingExpression"
// $ANTLR start "data_classes_functionsignaturetypedefinition_includingExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2083:1: data_classes_functionsignaturetypedefinition_includingExpression returns [Object ret2] : () ;
public final Object data_classes_functionsignaturetypedefinition_includingExpression() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","FunctionSignatureTypeDefinition");
onEnterTemplateRule(metaType,"includingExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2088:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2089:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2089:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2089:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C4E300A70B311DFA9B7E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "signature", null, null, "OCL:self.ownerTypedElement.oclAsType(Including).source.getType().oclAsType(FunctionSignatureTypeDefinition).signature", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(Including).source.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:if (self.ownerTypedElement.oclAsType(Including).source.getType().upperMultiplicity < 0) or (self.ownerTypedElement.oclAsType(Including).argument.getType().upperMultiplicity < 0) then"+" -1"+" else"+" self.ownerTypedElement.oclAsType(CollectionExpression).source.getType().upperMultiplicity + self.ownerTypedElement.oclAsType(Including).argument.getType().upperMultiplicity"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(CollectionExpression).source.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.ownerTypedElement.oclAsType(CollectionExpression).source.getType().unique", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignaturetypedefinition_includingExpression"
// $ANTLR start "data_classes_nestedtypedefinition_includingExpression"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2097:1: data_classes_nestedtypedefinition_includingExpression returns [Object ret2] : () ;
public final Object data_classes_nestedtypedefinition_includingExpression() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NestedTypeDefinition");
onEnterTemplateRule(metaType,"includingExpression");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2102:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2103:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2103:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2103:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C4E301870B311DFA31CE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "type", null, null, "OCL:self.ownerTypedElement.oclAsType(Including).source.getType().oclAsType(NestedTypeDefinition).type", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(Including).source.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:if (self.ownerTypedElement.oclAsType(Including).source.getType().upperMultiplicity < 0) or (self.ownerTypedElement.oclAsType(Including).argument.getType().upperMultiplicity < 0) then"+" -1"+" else"+" self.ownerTypedElement.oclAsType(Including).source.getType().upperMultiplicity + self.ownerTypedElement.oclAsType(Including).argument.getType().upperMultiplicity"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(Including).source.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.ownerTypedElement.oclAsType(Including).source.getType().unique", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nestedtypedefinition_includingExpression"
// $ANTLR start "data_classes_nestedtypedefinition_includingExpressionNewNestedType"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2111:1: data_classes_nestedtypedefinition_includingExpressionNewNestedType returns [Object ret2] : () ;
public final Object data_classes_nestedtypedefinition_includingExpressionNewNestedType() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NestedTypeDefinition");
onEnterTemplateRule(metaType,"includingExpressionNewNestedType");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2116:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2117:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2117:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2117:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C50A10D70B311DFC78CE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "type", null, null, "OCL:self.ownerTypedElement.oclAsType(Including).argument.getType().oclAsType(NestedTypeDefinition).type", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(Including).source.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:if (self.ownerTypedElement.oclAsType(Including).source.getType().upperMultiplicity < 0) or (self.ownerTypedElement.oclAsType(Including).argument.getType().upperMultiplicity < 0) then"+" -1"+" else"+" self.ownerTypedElement.oclAsType(Including).source.getType().upperMultiplicity + self.ownerTypedElement.oclAsType(Including).argument.getType().upperMultiplicity"+" endif", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nestedtypedefinition_includingExpressionNewNestedType"
// $ANTLR start "dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2125:1: dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( ITERATE LPAREN ( ( behavioral_actions_constant_nonEmptyAccumulator SEMICOLON )=> ( (temp= behavioral_actions_constant_nonEmptyAccumulator )? SEMICOLON ) | ( (temp= behavioral_actions_constant_emptyAccumulator ) ) ) (temp= behavioral_actions_iterator ( ( ',' ) temp= behavioral_actions_iterator )* ) PIPE (temp= dataaccess_expressions_expression ) RPAREN ) ;
public final Object dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","collectionExpressions","Iterate");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2130:3: ( ( ITERATE LPAREN ( ( behavioral_actions_constant_nonEmptyAccumulator SEMICOLON )=> ( (temp= behavioral_actions_constant_nonEmptyAccumulator )? SEMICOLON ) | ( (temp= behavioral_actions_constant_emptyAccumulator ) ) ) (temp= behavioral_actions_iterator ( ( ',' ) temp= behavioral_actions_iterator )* ) PIPE (temp= dataaccess_expressions_expression ) RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2131:3: ( ITERATE LPAREN ( ( behavioral_actions_constant_nonEmptyAccumulator SEMICOLON )=> ( (temp= behavioral_actions_constant_nonEmptyAccumulator )? SEMICOLON ) | ( (temp= behavioral_actions_constant_emptyAccumulator ) ) ) (temp= behavioral_actions_iterator ( ( ',' ) temp= behavioral_actions_iterator )* ) PIPE (temp= dataaccess_expressions_expression ) RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2131:3: ( ITERATE LPAREN ( ( behavioral_actions_constant_nonEmptyAccumulator SEMICOLON )=> ( (temp= behavioral_actions_constant_nonEmptyAccumulator )? SEMICOLON ) | ( (temp= behavioral_actions_constant_emptyAccumulator ) ) ) (temp= behavioral_actions_iterator ( ( ',' ) temp= behavioral_actions_iterator )* ) PIPE (temp= dataaccess_expressions_expression ) RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2131:4: ITERATE LPAREN ( ( behavioral_actions_constant_nonEmptyAccumulator SEMICOLON )=> ( (temp= behavioral_actions_constant_nonEmptyAccumulator )? SEMICOLON ) | ( (temp= behavioral_actions_constant_emptyAccumulator ) ) ) (temp= behavioral_actions_iterator ( ( ',' ) temp= behavioral_actions_iterator )* ) PIPE (temp= dataaccess_expressions_expression ) RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C52EAF170B311DF8F01E517C0A868C8");
}
match(input,ITERATE,FOLLOW_ITERATE_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8654); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C52EAF270B311DF92D3E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8659); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C52EAFD70B311DF8A54E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2131:230: ( ( behavioral_actions_constant_nonEmptyAccumulator SEMICOLON )=> ( (temp= behavioral_actions_constant_nonEmptyAccumulator )? SEMICOLON ) | ( (temp= behavioral_actions_constant_emptyAccumulator ) ) )
int alt85=2;
int LA85_0 = input.LA(1);
if ( (LA85_0==NAME) ) {
int LA85_1 = input.LA(2);
if ( (synpred34_Class()) ) {
alt85=1;
}
else if ( (true) ) {
alt85=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 85, 1, input);
throw nvae;
}
}
else if ( (LA85_0==58) ) {
int LA85_2 = input.LA(2);
if ( (synpred34_Class()) ) {
alt85=1;
}
else if ( (true) ) {
alt85=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 85, 2, input);
throw nvae;
}
}
else if ( (LA85_0==LPAREN) ) {
int LA85_3 = input.LA(2);
if ( (synpred34_Class()) ) {
alt85=1;
}
else if ( (true) ) {
alt85=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 85, 3, input);
throw nvae;
}
}
else if ( (LA85_0==SEMICOLON) && (synpred34_Class())) {
alt85=1;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 85, 0, input);
throw nvae;
}
switch (alt85) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2131:231: ( behavioral_actions_constant_nonEmptyAccumulator SEMICOLON )=> ( (temp= behavioral_actions_constant_nonEmptyAccumulator )? SEMICOLON )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2131:310: ( (temp= behavioral_actions_constant_nonEmptyAccumulator )? SEMICOLON )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2131:311: (temp= behavioral_actions_constant_nonEmptyAccumulator )? SEMICOLON
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C52EAF570B311DF9AA2E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2131:370: (temp= behavioral_actions_constant_nonEmptyAccumulator )?
int alt84=2;
int LA84_0 = input.LA(1);
if ( (LA84_0==NAME||LA84_0==LPAREN||LA84_0==58) ) {
alt84=1;
}
switch (alt84) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2131:372: temp= behavioral_actions_constant_nonEmptyAccumulator
{
pushFollow(FOLLOW_behavioral_actions_constant_nonEmptyAccumulator_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8680);
temp=behavioral_actions_constant_nonEmptyAccumulator();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "accumulator", temp);
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C52EAF670B311DF8008E517C0A868C8");
}
match(input,SEMICOLON,FOLLOW_SEMICOLON_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8689); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2132:4: ( (temp= behavioral_actions_constant_emptyAccumulator ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2132:20: ( (temp= behavioral_actions_constant_emptyAccumulator ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2132:21: (temp= behavioral_actions_constant_emptyAccumulator )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C52EAFB70B311DFC17AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2132:80: (temp= behavioral_actions_constant_emptyAccumulator )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2132:82: temp= behavioral_actions_constant_emptyAccumulator
{
pushFollow(FOLLOW_behavioral_actions_constant_emptyAccumulator_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8707);
temp=behavioral_actions_constant_emptyAccumulator();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "accumulator", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C52EB0270B311DF8E1BE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2132:280: (temp= behavioral_actions_iterator ( ( ',' ) temp= behavioral_actions_iterator )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2132:282: temp= behavioral_actions_iterator ( ( ',' ) temp= behavioral_actions_iterator )*
{
pushFollow(FOLLOW_behavioral_actions_iterator_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8722);
temp=behavioral_actions_iterator();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "iterators", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2132:354: ( ( ',' ) temp= behavioral_actions_iterator )*
loop86:
do {
int alt86=2;
int LA86_0 = input.LA(1);
if ( (LA86_0==67) ) {
alt86=1;
}
switch (alt86) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2132:355: ( ',' ) temp= behavioral_actions_iterator
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2132:372: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2132:373: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C52EAFF70B311DFAA41E517C0A868C8");
}
match(input,67,FOLLOW_67_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8730); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_behavioral_actions_iterator_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8737);
temp=behavioral_actions_iterator();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "iterators", temp);
}
}
break;
default :
break loop86;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C52EB0370B311DF9C2FE517C0A868C8");
}
match(input,PIPE,FOLLOW_PIPE_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8747); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C52EB0570B311DF86CFE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2132:700: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2132:702: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8755);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "iteratorExpression", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C52EB0670B311DF9EBAE517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8762); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"source" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
leaveContext();
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp"
// $ANTLR start "behavioral_actions_constant_emptyAccumulator"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2143:1: behavioral_actions_constant_emptyAccumulator returns [Object ret2] : () ;
public final Object behavioral_actions_constant_emptyAccumulator() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("behavioral","actions","Constant");
onEnterTemplateRule(metaType,"emptyAccumulator");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2148:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2149:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2149:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2149:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C555BF270B311DFC3AAE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "name", "acc");_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_constant_emptyAccumulator"
// $ANTLR start "behavioral_actions_constant_nonEmptyAccumulator"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2157:1: behavioral_actions_constant_nonEmptyAccumulator returns [Object ret2] : ( (temp= data_classes_typedefinition )? (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) ;
public final Object behavioral_actions_constant_nonEmptyAccumulator() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","Constant");
onEnterTemplateRule(metaType,"nonEmptyAccumulator");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2162:3: ( ( (temp= data_classes_typedefinition )? (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:3: ( (temp= data_classes_typedefinition )? (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:3: ( (temp= data_classes_typedefinition )? (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:4: (temp= data_classes_typedefinition )? (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5A16E170B311DFB1DBE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:63: (temp= data_classes_typedefinition )?
int alt87=2;
int LA87_0 = input.LA(1);
if ( (LA87_0==NAME) ) {
int LA87_1 = input.LA(2);
if ( (LA87_1==NAME||LA87_1==INT||(LA87_1>=PIPE && LA87_1<=LCURL)||LA87_1==LANGLE||LA87_1==LBRACKET||LA87_1==STAR||LA87_1==LBRACK_LCURL||LA87_1==LCURL_LBRACK) ) {
alt87=1;
}
}
else if ( (LA87_0==LPAREN||LA87_0==58) ) {
alt87=1;
}
switch (alt87) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:65: temp= data_classes_typedefinition
{
pushFollow(FOLLOW_data_classes_typedefinition_in_behavioral_actions_constant_nonEmptyAccumulator8839);
temp=data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5A16E370B311DF9462E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:224: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:226: temp= identifier
{
pushFollow(FOLLOW_identifier_in_behavioral_actions_constant_nonEmptyAccumulator8851);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5A16EB70B311DF95D9E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:352: ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | )
int alt88=2;
int LA88_0 = input.LA(1);
if ( (LA88_0==EQUALS) ) {
alt88=1;
}
else if ( (LA88_0==SEMICOLON) ) {
alt88=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 88, 0, input);
throw nvae;
}
switch (alt88) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:353: ( EQUALS (temp= dataaccess_expressions_expression ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:369: ( EQUALS (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:370: EQUALS (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5A16E770B311DFC61BE517C0A868C8");
}
match(input,EQUALS,FOLLOW_EQUALS_in_behavioral_actions_constant_nonEmptyAccumulator8864); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5A16E970B311DFCDC7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:512: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:514: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_constant_nonEmptyAccumulator8872);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "initExpression", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2163:631:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_constant_nonEmptyAccumulator"
// $ANTLR start "behavioral_actions_iterator"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2172:1: behavioral_actions_iterator returns [Object ret2] : ( ( ( data_classes_typedefinition NAME )=> ( (temp= data_classes_typedefinition ) (temp= identifier ) ) | ( (temp= identifier ) ) ) ) ;
public final Object behavioral_actions_iterator() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","Iterator");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false, new String[]{"iterator"}) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2177:3: ( ( ( ( data_classes_typedefinition NAME )=> ( (temp= data_classes_typedefinition ) (temp= identifier ) ) | ( (temp= identifier ) ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2178:3: ( ( ( data_classes_typedefinition NAME )=> ( (temp= data_classes_typedefinition ) (temp= identifier ) ) | ( (temp= identifier ) ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2178:3: ( ( ( data_classes_typedefinition NAME )=> ( (temp= data_classes_typedefinition ) (temp= identifier ) ) | ( (temp= identifier ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2178:4: ( ( data_classes_typedefinition NAME )=> ( (temp= data_classes_typedefinition ) (temp= identifier ) ) | ( (temp= identifier ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5C87E270B311DF8C6DE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2178:63: ( ( data_classes_typedefinition NAME )=> ( (temp= data_classes_typedefinition ) (temp= identifier ) ) | ( (temp= identifier ) ) )
int alt89=2;
int LA89_0 = input.LA(1);
if ( (LA89_0==NAME) ) {
int LA89_1 = input.LA(2);
if ( (synpred35_Class()) ) {
alt89=1;
}
else if ( (true) ) {
alt89=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 89, 1, input);
throw nvae;
}
}
else if ( (LA89_0==58) && (synpred35_Class())) {
alt89=1;
}
else if ( (LA89_0==LPAREN) && (synpred35_Class())) {
alt89=1;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 89, 0, input);
throw nvae;
}
switch (alt89) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2178:64: ( data_classes_typedefinition NAME )=> ( (temp= data_classes_typedefinition ) (temp= identifier ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2178:118: ( (temp= data_classes_typedefinition ) (temp= identifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2178:119: (temp= data_classes_typedefinition ) (temp= identifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5A16F270B311DFC980E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2178:178: (temp= data_classes_typedefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2178:180: temp= data_classes_typedefinition
{
pushFollow(FOLLOW_data_classes_typedefinition_in_behavioral_actions_iterator8945);
temp=data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5A16F470B311DFCB46E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2178:337: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2178:339: temp= identifier
{
pushFollow(FOLLOW_identifier_in_behavioral_actions_iterator8955);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2179:4: ( (temp= identifier ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2179:20: ( (temp= identifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2179:21: (temp= identifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5A16F770B311DFB5BAE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2179:80: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2179:82: temp= identifier
{
pushFollow(FOLLOW_identifier_in_behavioral_actions_iterator8975);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5C87E070B311DFBC54E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
setPredicateRef(ret,"ownedTypeDefinition","singleFromMany","OCL:self.\"iterate\".source.getType()->select(td |"+" td.isMany() and not td.oclIsKindOf(NestedTypeDefinition))",list,finder,true);
}
_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_iterator"
// $ANTLR start "dataaccess_query_selection_dataaccess_query_Selection_lbracketOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2193:1: dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( (temp= behavioral_actions_iterator_selection ) (temp= dataaccess_expressions_expression ) RBRACKET ) ;
public final Object dataaccess_query_selection_dataaccess_query_Selection_lbracketOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","query","Selection");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2198:3: ( ( (temp= behavioral_actions_iterator_selection ) (temp= dataaccess_expressions_expression ) RBRACKET ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2199:3: ( (temp= behavioral_actions_iterator_selection ) (temp= dataaccess_expressions_expression ) RBRACKET )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2199:3: ( (temp= behavioral_actions_iterator_selection ) (temp= dataaccess_expressions_expression ) RBRACKET )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2199:4: (temp= behavioral_actions_iterator_selection ) (temp= dataaccess_expressions_expression ) RBRACKET
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5C87E970B311DF932CE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2199:63: (temp= behavioral_actions_iterator_selection )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2199:65: temp= behavioral_actions_iterator_selection
{
pushFollow(FOLLOW_behavioral_actions_iterator_selection_in_dataaccess_query_selection_dataaccess_query_Selection_lbracketOp9031);
temp=behavioral_actions_iterator_selection();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "iterator", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5C87EB70B311DFC5A5E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2199:221: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2199:223: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_query_selection_dataaccess_query_Selection_lbracketOp9041);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "selectionExpr", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5C87EC70B311DFA6F0E517C0A868C8");
}
match(input,RBRACKET,FOLLOW_RBRACKET_in_dataaccess_query_selection_dataaccess_query_Selection_lbracketOp9048); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"object" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
leaveContext();
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_query_selection_dataaccess_query_Selection_lbracketOp"
// $ANTLR start "behavioral_actions_iterator_selection"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2210:1: behavioral_actions_iterator_selection returns [Object ret2] : () ;
public final Object behavioral_actions_iterator_selection() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("behavioral","actions","Iterator");
onEnterTemplateRule(metaType,"selection");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2215:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2216:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2216:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2216:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5ED1D470B311DF8FA8E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "name", "self");_exitInjectorAction();_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
setPredicateRef(ret,"ownedTypeDefinition","singleFromMany","OCL:self.selection.object.getType()->select(td |"+" td.isMany() and not td.oclIsKindOf(NestedTypeDefinition))",list,finder,true);
}
_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_iterator_selection"
// $ANTLR start "data_classes_classtypedefinition_singleFromMany"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2230:1: data_classes_classtypedefinition_singleFromMany returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_singleFromMany() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"singleFromMany");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2235:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2236:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2236:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2236:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C5ED1E470B311DF87E8E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:#foreach(ClassTypeDefinition).clazz", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:#foreach(ClassTypeDefinition).objectParameters", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_singleFromMany"
// $ANTLR start "data_classes_functionsignaturetypedefinition_singleFromMany"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2244:1: data_classes_functionsignaturetypedefinition_singleFromMany returns [Object ret2] : () ;
public final Object data_classes_functionsignaturetypedefinition_singleFromMany() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","FunctionSignatureTypeDefinition");
onEnterTemplateRule(metaType,"singleFromMany");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2249:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2250:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2250:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2250:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C6142DD70B311DFB3E4E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "signature", null, null, "OCL:#foreach(FunctionSignatureTypeDefinition).signature", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignaturetypedefinition_singleFromMany"
// $ANTLR start "data_classes_classtypedefinition_manyFromSingle"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2258:1: data_classes_classtypedefinition_manyFromSingle returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_manyFromSingle() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"manyFromSingle");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2263:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2264:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2264:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2264:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C638CCC70B311DFA630E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:#foreach(ClassTypeDefinition).clazz", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:#foreach(ClassTypeDefinition).objectParameters", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:#foreach(ClassTypeDefinition).lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:#foreach(ClassTypeDefinition).ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_manyFromSingle"
// $ANTLR start "data_classes_functionsignaturetypedefinition_manyFromSingle"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2272:1: data_classes_functionsignaturetypedefinition_manyFromSingle returns [Object ret2] : () ;
public final Object data_classes_functionsignaturetypedefinition_manyFromSingle() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","FunctionSignatureTypeDefinition");
onEnterTemplateRule(metaType,"manyFromSingle");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2277:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2278:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2278:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2278:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C65FDC870B311DF9F4BE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "signature", null, null, "OCL:#foreach(FunctionSignatureTypeDefinition).signature", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:#foreach(FunctionSignatureTypeDefinition).lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:#foreach(FunctionSignatureTypeDefinition).ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignaturetypedefinition_manyFromSingle"
// $ANTLR start "data_classes_nestedtypedefinition_manyFromSingle"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2286:1: data_classes_nestedtypedefinition_manyFromSingle returns [Object ret2] : () ;
public final Object data_classes_nestedtypedefinition_manyFromSingle() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NestedTypeDefinition");
onEnterTemplateRule(metaType,"manyFromSingle");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2291:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2292:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2292:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2292:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C65FDD670B311DFC892E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "type", null, null, "OCL:#foreach(TypeDefinition)", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nestedtypedefinition_manyFromSingle"
// $ANTLR start "dataaccess_query_oqlquery"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2300:1: dataaccess_query_oqlquery returns [Object ret2] : ( ( ( 'select' (temp= identifier ( ( ',' ) temp= identifier )* ) ) | () ) 'from' (temp= dataaccess_query_fromclause ( ( ',' ) temp= dataaccess_query_fromclause )* ) 'where' (temp= dataaccess_expressions_expression ) (temp= data_classes_typedefinition_oqlQueryResult ) ) ;
public final Object dataaccess_query_oqlquery() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","query","OqlQuery");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false, new String[]{"oqlQuery"}) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2305:3: ( ( ( ( 'select' (temp= identifier ( ( ',' ) temp= identifier )* ) ) | () ) 'from' (temp= dataaccess_query_fromclause ( ( ',' ) temp= dataaccess_query_fromclause )* ) 'where' (temp= dataaccess_expressions_expression ) (temp= data_classes_typedefinition_oqlQueryResult ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2306:3: ( ( ( 'select' (temp= identifier ( ( ',' ) temp= identifier )* ) ) | () ) 'from' (temp= dataaccess_query_fromclause ( ( ',' ) temp= dataaccess_query_fromclause )* ) 'where' (temp= dataaccess_expressions_expression ) (temp= data_classes_typedefinition_oqlQueryResult ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2306:3: ( ( ( 'select' (temp= identifier ( ( ',' ) temp= identifier )* ) ) | () ) 'from' (temp= dataaccess_query_fromclause ( ( ',' ) temp= dataaccess_query_fromclause )* ) 'where' (temp= dataaccess_expressions_expression ) (temp= data_classes_typedefinition_oqlQueryResult ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2306:4: ( ( 'select' (temp= identifier ( ( ',' ) temp= identifier )* ) ) | () ) 'from' (temp= dataaccess_query_fromclause ( ( ',' ) temp= dataaccess_query_fromclause )* ) 'where' (temp= dataaccess_expressions_expression ) (temp= data_classes_typedefinition_oqlQueryResult )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C686ECF70B311DFB7E9E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2306:63: ( ( 'select' (temp= identifier ( ( ',' ) temp= identifier )* ) ) | () )
int alt91=2;
int LA91_0 = input.LA(1);
if ( (LA91_0==57) ) {
alt91=1;
}
else if ( (LA91_0==90) ) {
alt91=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 91, 0, input);
throw nvae;
}
switch (alt91) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2306:64: ( 'select' (temp= identifier ( ( ',' ) temp= identifier )* ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2306:80: ( 'select' (temp= identifier ( ( ',' ) temp= identifier )* ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2306:81: 'select' (temp= identifier ( ( ',' ) temp= identifier )* )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C686EC170B311DFBD9AE517C0A868C8");
}
match(input,57,FOLLOW_57_in_dataaccess_query_oqlquery9326); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C686EC970B311DFAFB7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2306:223: (temp= identifier ( ( ',' ) temp= identifier )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2306:225: temp= identifier ( ( ',' ) temp= identifier )*
{
pushFollow(FOLLOW_identifier_in_dataaccess_query_oqlquery9333);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "selected", null, temp, "OCL:self.fromClause.fromClauseOfOqlQuery.fromClauses.alias->select(i|i.name=?)");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2306:365: ( ( ',' ) temp= identifier )*
loop90:
do {
int alt90=2;
int LA90_0 = input.LA(1);
if ( (LA90_0==67) ) {
alt90=1;
}
switch (alt90) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2306:366: ( ',' ) temp= identifier
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2306:383: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2306:384: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C686EC670B311DFC6FBE517C0A868C8");
}
match(input,67,FOLLOW_67_in_dataaccess_query_oqlquery9341); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_identifier_in_dataaccess_query_oqlquery9348);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "selected", null, temp, "OCL:self.fromClause.fromClauseOfOqlQuery.fromClauses.alias->select(i|i.name=?)");
}
}
break;
default :
break loop90;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2307:4: ()
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2307:20: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2307:21:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C686ECD70B311DF92C6E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "selected", null, null, "OCL:self.fromClauses.alias", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C686ED070B311DFC212E517C0A868C8");
}
match(input,90,FOLLOW_90_in_dataaccess_query_oqlquery9375); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C686ED570B311DF8EF7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2307:390: (temp= dataaccess_query_fromclause ( ( ',' ) temp= dataaccess_query_fromclause )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2307:392: temp= dataaccess_query_fromclause ( ( ',' ) temp= dataaccess_query_fromclause )*
{
pushFollow(FOLLOW_dataaccess_query_fromclause_in_dataaccess_query_oqlquery9382);
temp=dataaccess_query_fromclause();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "fromClauses", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2307:466: ( ( ',' ) temp= dataaccess_query_fromclause )*
loop92:
do {
int alt92=2;
int LA92_0 = input.LA(1);
if ( (LA92_0==67) ) {
alt92=1;
}
switch (alt92) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2307:467: ( ',' ) temp= dataaccess_query_fromclause
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2307:484: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2307:485: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C686ED270B311DFA57CE517C0A868C8");
}
match(input,67,FOLLOW_67_in_dataaccess_query_oqlquery9390); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_dataaccess_query_fromclause_in_dataaccess_query_oqlquery9397);
temp=dataaccess_query_fromclause();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "fromClauses", temp);
}
}
break;
default :
break loop92;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C686ED670B311DFC13BE517C0A868C8");
}
match(input,63,FOLLOW_63_in_dataaccess_query_oqlquery9406); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C686ED970B311DF86AAE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2307:815: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2307:817: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_query_oqlquery9413);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "condition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C686EDD70B311DFB27DE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2307:970: (temp= data_classes_typedefinition_oqlQueryResult )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2307:972: temp= data_classes_typedefinition_oqlQueryResult
{
pushFollow(FOLLOW_data_classes_typedefinition_oqlQueryResult_in_dataaccess_query_oqlquery9423);
temp=data_classes_typedefinition_oqlQueryResult();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_query_oqlquery"
// $ANTLR start "dataaccess_query_fromclause"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2315:1: dataaccess_query_fromclause returns [Object ret2] : ( (temp= dataaccess_expressions_expression ) 'as' (temp= behavioral_actions_iterator_fromClause ) ) ;
public final Object dataaccess_query_fromclause() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","query","FromClause");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2320:3: ( ( (temp= dataaccess_expressions_expression ) 'as' (temp= behavioral_actions_iterator_fromClause ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2321:3: ( (temp= dataaccess_expressions_expression ) 'as' (temp= behavioral_actions_iterator_fromClause ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2321:3: ( (temp= dataaccess_expressions_expression ) 'as' (temp= behavioral_actions_iterator_fromClause ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2321:4: (temp= dataaccess_expressions_expression ) 'as' (temp= behavioral_actions_iterator_fromClause )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C6AB8B170B311DFBA0AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2321:63: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2321:65: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_query_fromclause9470);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "fromExpression", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C6AB8B270B311DF8F05E517C0A868C8");
}
match(input,59,FOLLOW_59_in_dataaccess_query_fromclause9476); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C6AB8B570B311DFCF9AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2321:302: (temp= behavioral_actions_iterator_fromClause )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2321:304: temp= behavioral_actions_iterator_fromClause
{
pushFollow(FOLLOW_behavioral_actions_iterator_fromClause_in_dataaccess_query_fromclause9483);
temp=behavioral_actions_iterator_fromClause();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "alias", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_query_fromclause"
// $ANTLR start "behavioral_actions_iterator_fromClause"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2329:1: behavioral_actions_iterator_fromClause returns [Object ret2] : ( (temp= identifier ) ) ;
public final Object behavioral_actions_iterator_fromClause() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","Iterator");
onEnterTemplateRule(metaType,"fromClause");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false, new String[]{"iteratorFromClause"}) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2334:3: ( ( (temp= identifier ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2335:3: ( (temp= identifier ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2335:3: ( (temp= identifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2335:4: (temp= identifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C6AB8BB70B311DFC0B0E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2335:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2335:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_behavioral_actions_iterator_fromClause9530);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C6D29B070B311DFCE9CE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
setPredicateRef(ret,"ownedTypeDefinition","iteratorFromClause","OCL:if self.fromClause.fromExpression.getType().oclIsKindOf(NestedTypeDefinition) then"+" self.fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type"+" else"+" self.fromClause.fromExpression.getType()"+" endif",list,finder,true);
}
_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_iterator_fromClause"
// $ANTLR start "data_classes_classtypedefinition_iteratorFromClause"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2349:1: data_classes_classtypedefinition_iteratorFromClause returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_iteratorFromClause() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"iteratorFromClause");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2354:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2355:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2355:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2355:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C6D29C070B311DF9E03E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:if self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclIsKindOf(NestedTypeDefinition) then"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.oclAsType(ClassTypeDefinition).clazz"+" else"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(ClassTypeDefinition).clazz"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:if self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclIsKindOf(NestedTypeDefinition) then"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.oclAsType(ClassTypeDefinition).objectParameters"+" else"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(ClassTypeDefinition).objectParameters"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:if self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclIsKindOf(NestedTypeDefinition) then"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.lowerMultiplicity"+" else"+" 1"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:if self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclIsKindOf(NestedTypeDefinition) then"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.oclAsType(ClassTypeDefinition).upperMultiplicity"+" else"+" 1"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:if self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclIsKindOf(NestedTypeDefinition) then"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.ordered"+" else"+" false"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:if self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclIsKindOf(NestedTypeDefinition) then"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.unique"+" else"+" false"+" endif", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_iteratorFromClause"
// $ANTLR start "data_classes_functionsignaturetypedefinition_iteratorFromClause"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2363:1: data_classes_functionsignaturetypedefinition_iteratorFromClause returns [Object ret2] : () ;
public final Object data_classes_functionsignaturetypedefinition_iteratorFromClause() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","FunctionSignatureTypeDefinition");
onEnterTemplateRule(metaType,"iteratorFromClause");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2368:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2369:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2369:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2369:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C6F9ABA70B311DFB5B1E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "signature", null, null, "OCL:if self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclIsKindOf(NestedTypeDefinition) then"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.oclAsType(FunctionSignatureTypeDefinition).signature"+" else"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(FunctionSignatureTypeDefinition).signature"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:if self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclIsKindOf(NestedTypeDefinition) then"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.lowerMultiplicity"+" else"+" 1"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:if self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclIsKindOf(NestedTypeDefinition) then"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.upperMultiplicity"+" else"+" 1"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:if self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclIsKindOf(NestedTypeDefinition) then"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.ordered"+" else"+" false"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:if self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclIsKindOf(NestedTypeDefinition) then"+" self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.unique"+" else"+" false"+" endif", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignaturetypedefinition_iteratorFromClause"
// $ANTLR start "data_classes_nestedtypedefinition_iteratorFromClause"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2377:1: data_classes_nestedtypedefinition_iteratorFromClause returns [Object ret2] : () ;
public final Object data_classes_nestedtypedefinition_iteratorFromClause() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NestedTypeDefinition");
onEnterTemplateRule(metaType,"iteratorFromClause");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2382:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2383:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2383:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2383:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C71E4A870B311DF9D0DE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "type", null, null, "OCL:self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.upperMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.ownerTypedElement.oclAsType(Iterator).fromClause.fromExpression.getType().oclAsType(NestedTypeDefinition).type.unique", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nestedtypedefinition_iteratorFromClause"
// $ANTLR start "data_classes_typedefinition_oqlQueryResult"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2391:1: data_classes_typedefinition_oqlQueryResult returns [Object ret2] : (ret= data_classes_classtypedefinition_oqlQueryResult ) ;
public final Object data_classes_typedefinition_oqlQueryResult() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2392:3: ( (ret= data_classes_classtypedefinition_oqlQueryResult ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2393:3: (ret= data_classes_classtypedefinition_oqlQueryResult )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2393:3: (ret= data_classes_classtypedefinition_oqlQueryResult )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2393:4: ret= data_classes_classtypedefinition_oqlQueryResult
{
pushFollow(FOLLOW_data_classes_classtypedefinition_oqlQueryResult_in_data_classes_typedefinition_oqlQueryResult9693);
ret=data_classes_classtypedefinition_oqlQueryResult();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_oqlQueryResult"
// $ANTLR start "data_classes_classtypedefinition_oqlQueryResult"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2400:1: data_classes_classtypedefinition_oqlQueryResult returns [Object ret2] : ( (temp= data_classes_sapclass_oqlQueryResult ) ) ;
public final Object data_classes_classtypedefinition_oqlQueryResult() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"oqlQueryResult");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2405:3: ( ( (temp= data_classes_sapclass_oqlQueryResult ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2406:3: ( (temp= data_classes_sapclass_oqlQueryResult ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2406:3: ( (temp= data_classes_sapclass_oqlQueryResult ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2406:4: (temp= data_classes_sapclass_oqlQueryResult )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C7455A270B311DFC031E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2406:63: (temp= data_classes_sapclass_oqlQueryResult )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2406:65: temp= data_classes_sapclass_oqlQueryResult
{
pushFollow(FOLLOW_data_classes_sapclass_oqlQueryResult_in_data_classes_classtypedefinition_oqlQueryResult9727);
temp=data_classes_sapclass_oqlQueryResult();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "clazz", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C7455AB70B311DF92F0E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_oqlQueryResult"
// $ANTLR start "data_classes_sapclass_oqlQueryResult"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2414:1: data_classes_sapclass_oqlQueryResult returns [Object ret2] : () ;
public final Object data_classes_sapclass_oqlQueryResult() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","SapClass");
onEnterTemplateRule(metaType,"oqlQueryResult");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2419:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2420:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2420:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2420:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C7455B870B311DFBE40E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
list.add(new PredicateSemantic(null, "data_classes_classtypedefinition_oqlQueryResultProperties"));
setPredicateRef(ret,"elementsOfType","oqlQueryResultProperties","OCL:#context(oqlQuery).oclAsType(OqlQuery).selected",list,finder,true);
}
_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:self.elementsOfType.ownerTypedElement.oclAsType(OqlQuery).fromClauses.alias->iterate("+" i; acc='QueryResult' | acc.concat('_').concat(i.name))", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "valueType", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "package_", null, null, "OCL:#context(root).oclAsType(SapClass).package_", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_sapclass_oqlQueryResult"
// $ANTLR start "data_classes_typedefinition_oqlQueryResultProperties"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2435:1: data_classes_typedefinition_oqlQueryResultProperties returns [Object ret2] : (ret= data_classes_classtypedefinition_oqlQueryResultProperties ) ;
public final Object data_classes_typedefinition_oqlQueryResultProperties() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2436:3: ( (ret= data_classes_classtypedefinition_oqlQueryResultProperties ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2437:3: (ret= data_classes_classtypedefinition_oqlQueryResultProperties )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2437:3: (ret= data_classes_classtypedefinition_oqlQueryResultProperties )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2437:4: ret= data_classes_classtypedefinition_oqlQueryResultProperties
{
pushFollow(FOLLOW_data_classes_classtypedefinition_oqlQueryResultProperties_in_data_classes_typedefinition_oqlQueryResultProperties9810);
ret=data_classes_classtypedefinition_oqlQueryResultProperties();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_oqlQueryResultProperties"
// $ANTLR start "data_classes_classtypedefinition_oqlQueryResultProperties"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2444:1: data_classes_classtypedefinition_oqlQueryResultProperties returns [Object ret2] : ( (temp= data_classes_associationend_oqlQueryResultProperties ) ) ;
public final Object data_classes_classtypedefinition_oqlQueryResultProperties() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"oqlQueryResultProperties");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2449:3: ( ( (temp= data_classes_associationend_oqlQueryResultProperties ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2450:3: ( (temp= data_classes_associationend_oqlQueryResultProperties ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2450:3: ( (temp= data_classes_associationend_oqlQueryResultProperties ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2450:4: (temp= data_classes_associationend_oqlQueryResultProperties )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C769F9770B311DFA857E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2450:63: (temp= data_classes_associationend_oqlQueryResultProperties )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2450:65: temp= data_classes_associationend_oqlQueryResultProperties
{
pushFollow(FOLLOW_data_classes_associationend_oqlQueryResultProperties_in_data_classes_classtypedefinition_oqlQueryResultProperties9844);
temp=data_classes_associationend_oqlQueryResultProperties();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "associationEnd", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C79109570B311DFB19BE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_oqlQueryResultProperties"
// $ANTLR start "data_classes_associationend_oqlQueryResultProperties"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2458:1: data_classes_associationend_oqlQueryResultProperties returns [Object ret2] : ( (temp= data_classes_association_oqlQueryResultProperties ) ) ;
public final Object data_classes_associationend_oqlQueryResultProperties() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","AssociationEnd");
onEnterTemplateRule(metaType,"oqlQueryResultProperties");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2463:3: ( ( (temp= data_classes_association_oqlQueryResultProperties ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2464:3: ( (temp= data_classes_association_oqlQueryResultProperties ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2464:3: ( (temp= data_classes_association_oqlQueryResultProperties ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2464:4: (temp= data_classes_association_oqlQueryResultProperties )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C7B819270B311DF8AE7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2464:63: (temp= data_classes_association_oqlQueryResultProperties )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2464:65: temp= data_classes_association_oqlQueryResultProperties
{
pushFollow(FOLLOW_data_classes_association_oqlQueryResultProperties_in_data_classes_associationend_oqlQueryResultProperties9894);
temp=data_classes_association_oqlQueryResultProperties();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "association", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C7B819970B311DFB659E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "navigable", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "contributesToEquality", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:'opposite_of_'.concat(#context.oclAsType(Iterator).name)", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_associationend_oqlQueryResultProperties"
// $ANTLR start "data_classes_association_oqlQueryResultProperties"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2472:1: data_classes_association_oqlQueryResultProperties returns [Object ret2] : ( (temp= data_classes_associationend_oqlQueryResultPropertiesOtherEnd ) ) ;
public final Object data_classes_association_oqlQueryResultProperties() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","Association");
onEnterTemplateRule(metaType,"oqlQueryResultProperties");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2477:3: ( ( (temp= data_classes_associationend_oqlQueryResultPropertiesOtherEnd ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2478:3: ( (temp= data_classes_associationend_oqlQueryResultPropertiesOtherEnd ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2478:3: ( (temp= data_classes_associationend_oqlQueryResultPropertiesOtherEnd ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2478:4: (temp= data_classes_associationend_oqlQueryResultPropertiesOtherEnd )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C803C8470B311DFB2B3E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2478:63: (temp= data_classes_associationend_oqlQueryResultPropertiesOtherEnd )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2478:65: temp= data_classes_associationend_oqlQueryResultPropertiesOtherEnd
{
pushFollow(FOLLOW_data_classes_associationend_oqlQueryResultPropertiesOtherEnd_in_data_classes_association_oqlQueryResultProperties9944);
temp=data_classes_associationend_oqlQueryResultPropertiesOtherEnd();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ends", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C803C8970B311DFA79CE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:'Query_to_'.concat(self.ends->first().name)", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "package_", null, null, "OCL:#context(root).oclAsType(SapClass).package_", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_association_oqlQueryResultProperties"
// $ANTLR start "data_classes_associationend_oqlQueryResultPropertiesOtherEnd"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2486:1: data_classes_associationend_oqlQueryResultPropertiesOtherEnd returns [Object ret2] : ( (temp= data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter ) ) ;
public final Object data_classes_associationend_oqlQueryResultPropertiesOtherEnd() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","AssociationEnd");
onEnterTemplateRule(metaType,"oqlQueryResultPropertiesOtherEnd");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2491:3: ( ( (temp= data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2492:3: ( (temp= data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2492:3: ( (temp= data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2492:4: (temp= data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C84F77470B311DFC12CE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2492:63: (temp= data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2492:65: temp= data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter
{
pushFollow(FOLLOW_data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter_in_data_classes_associationend_oqlQueryResultPropertiesOtherEnd9994);
temp=data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "signatureImplementations", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C87687670B311DFC760E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:#context.oclAsType(Iterator).name", true);_exitInjectorAction();_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
setPredicateRef(ret,"type","oqlQueryResultAssociationEndType","OCL:#context.oclAsType(Iterator).getType()",list,finder,false);
}
_exitInjectorAction();_enterInjectorAction();setProperty(ret, "navigable", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_associationend_oqlQueryResultPropertiesOtherEnd"
// $ANTLR start "data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2506:1: data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter returns [Object ret2] : (ret= data_classes_linktraversal_oqlQueryResultPropertiesGetter ) ;
public final Object data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2507:3: ( (ret= data_classes_linktraversal_oqlQueryResultPropertiesGetter ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2508:3: (ret= data_classes_linktraversal_oqlQueryResultPropertiesGetter )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2508:3: (ret= data_classes_linktraversal_oqlQueryResultPropertiesGetter )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2508:4: ret= data_classes_linktraversal_oqlQueryResultPropertiesGetter
{
pushFollow(FOLLOW_data_classes_linktraversal_oqlQueryResultPropertiesGetter_in_data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter10037);
ret=data_classes_linktraversal_oqlQueryResultPropertiesGetter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter"
// $ANTLR start "data_classes_linktraversal_oqlQueryResultPropertiesGetter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2515:1: data_classes_linktraversal_oqlQueryResultPropertiesGetter returns [Object ret2] : ( (temp= data_classes_methodsignature_oqlQueryResultProperties ) ) ;
public final Object data_classes_linktraversal_oqlQueryResultPropertiesGetter() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","LinkTraversal");
onEnterTemplateRule(metaType,"oqlQueryResultPropertiesGetter");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2520:3: ( ( (temp= data_classes_methodsignature_oqlQueryResultProperties ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2521:3: ( (temp= data_classes_methodsignature_oqlQueryResultProperties ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2521:3: ( (temp= data_classes_methodsignature_oqlQueryResultProperties ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2521:4: (temp= data_classes_methodsignature_oqlQueryResultProperties )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C89B26370B311DF9BE5E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2521:63: (temp= data_classes_methodsignature_oqlQueryResultProperties )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2521:65: temp= data_classes_methodsignature_oqlQueryResultProperties
{
pushFollow(FOLLOW_data_classes_methodsignature_oqlQueryResultProperties_in_data_classes_linktraversal_oqlQueryResultPropertiesGetter10071);
temp=data_classes_methodsignature_oqlQueryResultProperties();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "implements_", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_linktraversal_oqlQueryResultPropertiesGetter"
// $ANTLR start "data_classes_methodsignature_oqlQueryResultProperties"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2529:1: data_classes_methodsignature_oqlQueryResultProperties returns [Object ret2] : () ;
public final Object data_classes_methodsignature_oqlQueryResultProperties() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","MethodSignature");
onEnterTemplateRule(metaType,"oqlQueryResultProperties");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2534:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2535:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2535:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2535:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C89B26D70B311DF8598E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:'.'.concat(#context.oclAsType(Iterator).name)", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "owner", null, null, "OCL:#context.oclAsType(Iterator).fromClause.fromClauseOfOqlQuery.getType()."+" oclAsType(ClassTypeDefinition).clazz", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "output", null, null, "OCL:self.implementation.oclAsType(LinkTraversal).end.type", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_methodsignature_oqlQueryResultProperties"
// $ANTLR start "data_classes_typedefinition_oqlQueryResultAssociationEndType"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2543:1: data_classes_typedefinition_oqlQueryResultAssociationEndType returns [Object ret2] : (ret= data_classes_classtypedefinition_oqlQueryResultAssociationEndType ) ;
public final Object data_classes_typedefinition_oqlQueryResultAssociationEndType() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2544:3: ( (ret= data_classes_classtypedefinition_oqlQueryResultAssociationEndType ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2545:3: (ret= data_classes_classtypedefinition_oqlQueryResultAssociationEndType )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2545:3: (ret= data_classes_classtypedefinition_oqlQueryResultAssociationEndType )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2545:4: ret= data_classes_classtypedefinition_oqlQueryResultAssociationEndType
{
pushFollow(FOLLOW_data_classes_classtypedefinition_oqlQueryResultAssociationEndType_in_data_classes_typedefinition_oqlQueryResultAssociationEndType10151);
ret=data_classes_classtypedefinition_oqlQueryResultAssociationEndType();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_oqlQueryResultAssociationEndType"
// $ANTLR start "data_classes_classtypedefinition_oqlQueryResultAssociationEndType"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2552:1: data_classes_classtypedefinition_oqlQueryResultAssociationEndType returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_oqlQueryResultAssociationEndType() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"oqlQueryResultAssociationEndType");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2557:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2558:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2558:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2558:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C8C236E70B311DFB159E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:#context.oclAsType(Iterator).getType().oclAsType(ClassTypeDefinition).clazz", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:#context.oclAsType(Iterator).getType().oclAsType(ClassTypeDefinition).objectParameters", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:#context.oclAsType(Iterator).getType().oclAsType(ClassTypeDefinition).lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:#context.oclAsType(Iterator).getType().oclAsType(ClassTypeDefinition).upperMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:#context.oclAsType(Iterator).getType().oclAsType(ClassTypeDefinition).ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:#context.oclAsType(Iterator).getType().oclAsType(ClassTypeDefinition).unique", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_oqlQueryResultAssociationEndType"
// $ANTLR start "dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2566:1: dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( 'replace' LPAREN (temp= dataaccess_expressions_navigationstep ( ( DOT ) temp= dataaccess_expressions_navigationstep )* ) EQUALS (temp= dataaccess_expressions_expression ) RPAREN ) ;
public final Object dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","Replace");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2571:3: ( ( 'replace' LPAREN (temp= dataaccess_expressions_navigationstep ( ( DOT ) temp= dataaccess_expressions_navigationstep )* ) EQUALS (temp= dataaccess_expressions_expression ) RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2572:3: ( 'replace' LPAREN (temp= dataaccess_expressions_navigationstep ( ( DOT ) temp= dataaccess_expressions_navigationstep )* ) EQUALS (temp= dataaccess_expressions_expression ) RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2572:3: ( 'replace' LPAREN (temp= dataaccess_expressions_navigationstep ( ( DOT ) temp= dataaccess_expressions_navigationstep )* ) EQUALS (temp= dataaccess_expressions_expression ) RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2572:4: 'replace' LPAREN (temp= dataaccess_expressions_navigationstep ( ( DOT ) temp= dataaccess_expressions_navigationstep )* ) EQUALS (temp= dataaccess_expressions_expression ) RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C8E946170B311DFA8B9E517C0A868C8");
}
match(input,70,FOLLOW_70_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10222); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C8E946270B311DFB5C0E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10226); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C8E946770B311DFA526E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2572:230: (temp= dataaccess_expressions_navigationstep ( ( DOT ) temp= dataaccess_expressions_navigationstep )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2572:232: temp= dataaccess_expressions_navigationstep ( ( DOT ) temp= dataaccess_expressions_navigationstep )*
{
pushFollow(FOLLOW_dataaccess_expressions_navigationstep_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10234);
temp=dataaccess_expressions_navigationstep();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "steps", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2572:310: ( ( DOT ) temp= dataaccess_expressions_navigationstep )*
loop93:
do {
int alt93=2;
int LA93_0 = input.LA(1);
if ( (LA93_0==DOT) ) {
alt93=1;
}
switch (alt93) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2572:311: ( DOT ) temp= dataaccess_expressions_navigationstep
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2572:328: ( DOT )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2572:329: DOT
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C8E946470B311DFB718E517C0A868C8");
}
match(input,DOT,FOLLOW_DOT_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10243); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_dataaccess_expressions_navigationstep_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10251);
temp=dataaccess_expressions_navigationstep();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "steps", temp);
}
}
break;
default :
break loop93;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C8E946870B311DFC5EEE517C0A868C8");
}
match(input,EQUALS,FOLLOW_EQUALS_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10261); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C8E946A70B311DFBAF3E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2572:666: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2572:668: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10269);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "with", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C8E946B70B311DFB742E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10276); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"object" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp"
// $ANTLR start "persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2582:1: persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( 'snapshot' LPAREN RPAREN (temp= data_classes_typedefinition_Snapshot ) ) ;
public final Object persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("persistence","expressions","Snapshot");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false, new String[]{"snapshot"}) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2587:3: ( ( 'snapshot' LPAREN RPAREN (temp= data_classes_typedefinition_Snapshot ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2588:3: ( 'snapshot' LPAREN RPAREN (temp= data_classes_typedefinition_Snapshot ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2588:3: ( 'snapshot' LPAREN RPAREN (temp= data_classes_typedefinition_Snapshot ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2588:4: 'snapshot' LPAREN RPAREN (temp= data_classes_typedefinition_Snapshot )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C90DE5270B311DF8FE0E517C0A868C8");
}
match(input,87,FOLLOW_87_in_persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp10310); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C90DE5370B311DFCB50E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp10314); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C90DE5470B311DFCB0AE517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp10319); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C90DE5870B311DF9383E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2588:314: (temp= data_classes_typedefinition_Snapshot )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2588:316: temp= data_classes_typedefinition_Snapshot
{
pushFollow(FOLLOW_data_classes_typedefinition_Snapshot_in_persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp10327);
temp=data_classes_typedefinition_Snapshot();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"object" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
leaveContext();
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp"
// $ANTLR start "data_classes_typedefinition_Snapshot"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2599:1: data_classes_typedefinition_Snapshot returns [Object ret2] : (ret= data_classes_classtypedefinition_Snapshot ) ;
public final Object data_classes_typedefinition_Snapshot() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2600:3: ( (ret= data_classes_classtypedefinition_Snapshot ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2601:3: (ret= data_classes_classtypedefinition_Snapshot )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2601:3: (ret= data_classes_classtypedefinition_Snapshot )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2601:4: ret= data_classes_classtypedefinition_Snapshot
{
pushFollow(FOLLOW_data_classes_classtypedefinition_Snapshot_in_data_classes_typedefinition_Snapshot10359);
ret=data_classes_classtypedefinition_Snapshot();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_Snapshot"
// $ANTLR start "data_classes_classtypedefinition_Snapshot"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2608:1: data_classes_classtypedefinition_Snapshot returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_Snapshot() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"Snapshot");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2613:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2614:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2614:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2614:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C934F5A70B311DFB8BBE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:#context(snapshot).oclAsType(persistence::expressions::Snapshot).object.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:#context(snapshot).oclAsType(persistence::expressions::Snapshot).object.getType().upperMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:#context(snapshot).oclAsType(persistence::expressions::Snapshot).object.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = 'Snapshot')", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_Snapshot"
// $ANTLR start "dataaccess_expressions_navigationstep"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2622:1: dataaccess_expressions_navigationstep returns [Object ret2] : ( (temp= identifier ) ( ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET ) | ) ) ;
public final Object dataaccess_expressions_navigationstep() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","NavigationStep");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2627:3: ( ( (temp= identifier ) ( ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET ) | ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2628:3: ( (temp= identifier ) ( ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET ) | ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2628:3: ( (temp= identifier ) ( ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET ) | ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2628:4: (temp= identifier ) ( ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET ) | )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C934F6270B311DFACE7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2628:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2628:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_expressions_navigationstep10433);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "to", null, temp, "OCL:let i = self.replace.steps->indexOf(self) in"+" let t = "+" if i=1 then "+" self.replace.object.getType().oclAsType(ClassTypeDefinition) "+" else "+" self.replace.steps->at(-1 + i).to.type "+" endif in"+" t.clazz.getConformingClasses().getAssociationEnds().otherEnd()->select(ae|ae.name=?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C95994670B311DFC2E2E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2628:780: ( ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET ) | )
int alt94=2;
int LA94_0 = input.LA(1);
if ( (LA94_0==LBRACKET) ) {
alt94=1;
}
else if ( ((LA94_0>=EQUALS && LA94_0<=DOT)) ) {
alt94=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 94, 0, input);
throw nvae;
}
switch (alt94) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2628:781: ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2628:797: ( LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2628:798: LBRACKET (temp= dataaccess_expressions_expression ) RBRACKET
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C95994170B311DF99C6E517C0A868C8");
}
match(input,LBRACKET,FOLLOW_LBRACKET_in_dataaccess_expressions_navigationstep10446); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C95994370B311DFCC60E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2628:942: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2628:944: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_navigationstep10454);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "filterFunction", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C95994470B311DFCD5BE517C0A868C8");
}
match(input,RBRACKET,FOLLOW_RBRACKET_in_dataaccess_expressions_navigationstep10461); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2628:1146:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_navigationstep"
// $ANTLR start "dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2637:1: dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( 'map' LPAREN (temp= dataaccess_expressions_expression ) RPAREN ) ;
public final Object dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","Map");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2642:3: ( ( 'map' LPAREN (temp= dataaccess_expressions_expression ) RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2643:3: ( 'map' LPAREN (temp= dataaccess_expressions_expression ) RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2643:3: ( 'map' LPAREN (temp= dataaccess_expressions_expression ) RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2643:4: 'map' LPAREN (temp= dataaccess_expressions_expression ) RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C95994B70B311DFA3D3E517C0A868C8");
}
match(input,72,FOLLOW_72_in_dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp10516); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C95994C70B311DFC236E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp10520); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C95994F70B311DFCE37E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2643:226: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2643:228: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp10528);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "argument", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C95995070B311DF87F4E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp10535); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C95995770B311DFA58EE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
list.add(new PredicateSemantic("OCL:self.argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.isMany() and self.object.getType().isMany()", "data_classes_nestedtypedefinition_map"));
list.add(new PredicateSemantic("OCL:self.argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.oclIsKindOf(ClassTypeDefinition)", "data_classes_classtypedefinition_map"));
list.add(new PredicateSemantic("OCL:self.argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.oclIsKindOf(FunctionSignatureTypeDefinition)", "data_classes_functionsignaturetypedefinition_map"));
list.add(new PredicateSemantic("OCL:self.argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.oclIsKindOf(NestedTypeDefinition)", "data_classes_nestedtypedefinition_mapNoFurtherNesting"));
setPredicateRef(ret,"ownedTypeDefinition",null,"OCL:self.argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output",list,finder,false);
}
_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"object" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp"
// $ANTLR start "data_classes_typedefinition_map"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2663:1: data_classes_typedefinition_map returns [Object ret2] : ( ( '___1000___' )=> (ret= data_classes_classtypedefinition_map ) | ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_map ) | ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_map ) ) ;
public final Object data_classes_typedefinition_map() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2664:3: ( ( ( '___1000___' )=> (ret= data_classes_classtypedefinition_map ) | ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_map ) | ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_map ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2665:3: ( ( '___1000___' )=> (ret= data_classes_classtypedefinition_map ) | ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_map ) | ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_map ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2665:3: ( ( '___1000___' )=> (ret= data_classes_classtypedefinition_map ) | ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_map ) | ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_map ) )
int alt95=3;
int LA95_0 = input.LA(1);
if ( (LA95_0==EOF) ) {
int LA95_1 = input.LA(2);
if ( (synpred36_Class()) ) {
alt95=1;
}
else if ( (synpred37_Class()) ) {
alt95=2;
}
else if ( (synpred38_Class()) ) {
alt95=3;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 95, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 95, 0, input);
throw nvae;
}
switch (alt95) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2665:4: ( '___1000___' )=> (ret= data_classes_classtypedefinition_map )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2665:20: (ret= data_classes_classtypedefinition_map )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2665:21: ret= data_classes_classtypedefinition_map
{
pushFollow(FOLLOW_data_classes_classtypedefinition_map_in_data_classes_typedefinition_map10573);
ret=data_classes_classtypedefinition_map();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2666:5: ( '___2000___' )=> (ret= data_classes_functionsignaturetypedefinition_map )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2666:21: (ret= data_classes_functionsignaturetypedefinition_map )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2666:22: ret= data_classes_functionsignaturetypedefinition_map
{
pushFollow(FOLLOW_data_classes_functionsignaturetypedefinition_map_in_data_classes_typedefinition_map10587);
ret=data_classes_functionsignaturetypedefinition_map();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2667:5: ( '___3000___' )=> (ret= data_classes_nestedtypedefinition_map )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2667:21: (ret= data_classes_nestedtypedefinition_map )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2667:22: ret= data_classes_nestedtypedefinition_map
{
pushFollow(FOLLOW_data_classes_nestedtypedefinition_map_in_data_classes_typedefinition_map10601);
ret=data_classes_nestedtypedefinition_map();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_map"
// $ANTLR start "data_classes_classtypedefinition_map"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2674:1: data_classes_classtypedefinition_map returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_map() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"map");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2679:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2680:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2680:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2680:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C9A7B4A70B311DFAC9AE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.oclAsType(ClassTypeDefinition).clazz", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.oclAsType(ClassTypeDefinition).objectParameters", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.lowerMultiplicity * self.ownerTypedElement.oclAsType(Map).object.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:if self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.isMany() or self.ownerTypedElement.oclAsType(Map).object.getType().isMany() then -1 else self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.upperMultiplicity * self.ownerTypedElement.oclAsType(Map).object.getType().upperMultiplicity endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.ordered or self.ownerTypedElement.oclAsType(Map).object.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.unique and not self.ownerTypedElement.oclAsType(Map).object.getType().isMany()", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_map"
// $ANTLR start "data_classes_functionsignaturetypedefinition_map"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2688:1: data_classes_functionsignaturetypedefinition_map returns [Object ret2] : () ;
public final Object data_classes_functionsignaturetypedefinition_map() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","FunctionSignatureTypeDefinition");
onEnterTemplateRule(metaType,"map");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2693:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2694:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2694:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2694:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77C9F363370B311DFBCBBE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "signature", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.oclAsType(FunctionSignatureTypeDefinition).signature", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.lowerMultiplicity * self.ownerTypedElement.oclAsType(Map).object.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:if self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.isMany() or self.ownerTypedElement.oclAsType(Map).object.getType().isMany() then -1 else self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.upperMultiplicity * self.ownerTypedElement.oclAsType(Map).object.getType().upperMultiplicity endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.ordered or self.ownerTypedElement.oclAsType(Map).object.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.unique and not self.ownerTypedElement.oclAsType(Map).object.getType().isMany()", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignaturetypedefinition_map"
// $ANTLR start "data_classes_nestedtypedefinition_map"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2702:1: data_classes_nestedtypedefinition_map returns [Object ret2] : () ;
public final Object data_classes_nestedtypedefinition_map() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NestedTypeDefinition");
onEnterTemplateRule(metaType,"map");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2707:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2708:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2708:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2708:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA1A73A70B311DF8A22E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "type", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).object.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).object.getType().upperMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).object.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nestedtypedefinition_map"
// $ANTLR start "data_classes_nestedtypedefinition_mapNoFurtherNesting"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2716:1: data_classes_nestedtypedefinition_mapNoFurtherNesting returns [Object ret2] : () ;
public final Object data_classes_nestedtypedefinition_mapNoFurtherNesting() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NestedTypeDefinition");
onEnterTemplateRule(metaType,"mapNoFurtherNesting");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2721:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2722:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2722:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2722:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA3F12270B311DF964EE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "type", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.oclAsType(NestedTypeDefinition).type", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.lowerMultiplicity * self.ownerTypedElement.oclAsType(Map).object.getType().lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).object.getType().upperMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.ordered or self.ownerTypedElement.oclAsType(Map).object.getType().ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.ownerTypedElement.oclAsType(Map).argument.getType().oclAsType(FunctionSignatureTypeDefinition).signature.output.unique and not self.ownerTypedElement.oclAsType(Map).object.getType().isMany()", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nestedtypedefinition_mapNoFurtherNesting"
// $ANTLR start "dataaccess_analytics_groupby"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2730:1: dataaccess_analytics_groupby returns [Object ret2] : ( 'group' (temp= dataaccess_expressions_expression ) 'by' (temp= dataaccess_analytics_dimensiondefinition ( ( ',' ) temp= dataaccess_analytics_dimensiondefinition )* ) (temp= behavioral_actions_iterator_groupByFactIterator ) ( ( 'map' (temp= dataaccess_expressions_expression_groupBy ) (temp= behavioral_actions_iterator_groupByGroupedFactsIterator ) ) | () ) ) ;
public final Object dataaccess_analytics_groupby() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","analytics","GroupBy");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false, new String[]{"groupBy"}) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2735:3: ( ( 'group' (temp= dataaccess_expressions_expression ) 'by' (temp= dataaccess_analytics_dimensiondefinition ( ( ',' ) temp= dataaccess_analytics_dimensiondefinition )* ) (temp= behavioral_actions_iterator_groupByFactIterator ) ( ( 'map' (temp= dataaccess_expressions_expression_groupBy ) (temp= behavioral_actions_iterator_groupByGroupedFactsIterator ) ) | () ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:3: ( 'group' (temp= dataaccess_expressions_expression ) 'by' (temp= dataaccess_analytics_dimensiondefinition ( ( ',' ) temp= dataaccess_analytics_dimensiondefinition )* ) (temp= behavioral_actions_iterator_groupByFactIterator ) ( ( 'map' (temp= dataaccess_expressions_expression_groupBy ) (temp= behavioral_actions_iterator_groupByGroupedFactsIterator ) ) | () ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:3: ( 'group' (temp= dataaccess_expressions_expression ) 'by' (temp= dataaccess_analytics_dimensiondefinition ( ( ',' ) temp= dataaccess_analytics_dimensiondefinition )* ) (temp= behavioral_actions_iterator_groupByFactIterator ) ( ( 'map' (temp= dataaccess_expressions_expression_groupBy ) (temp= behavioral_actions_iterator_groupByGroupedFactsIterator ) ) | () ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:4: 'group' (temp= dataaccess_expressions_expression ) 'by' (temp= dataaccess_analytics_dimensiondefinition ( ( ',' ) temp= dataaccess_analytics_dimensiondefinition )* ) (temp= behavioral_actions_iterator_groupByFactIterator ) ( ( 'map' (temp= dataaccess_expressions_expression_groupBy ) (temp= behavioral_actions_iterator_groupByGroupedFactsIterator ) ) | () )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA3F12770B311DF8C98E517C0A868C8");
}
match(input,51,FOLLOW_51_in_dataaccess_analytics_groupby10792); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA3F12970B311DFC562E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:145: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:147: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_analytics_groupby10799);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "object", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA3F12A70B311DF8ACDE517C0A868C8");
}
match(input,75,FOLLOW_75_in_dataaccess_analytics_groupby10805); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA3F12F70B311DFB1F6E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:376: (temp= dataaccess_analytics_dimensiondefinition ( ( ',' ) temp= dataaccess_analytics_dimensiondefinition )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:378: temp= dataaccess_analytics_dimensiondefinition ( ( ',' ) temp= dataaccess_analytics_dimensiondefinition )*
{
pushFollow(FOLLOW_dataaccess_analytics_dimensiondefinition_in_dataaccess_analytics_groupby10812);
temp=dataaccess_analytics_dimensiondefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "dimensions", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:464: ( ( ',' ) temp= dataaccess_analytics_dimensiondefinition )*
loop96:
do {
int alt96=2;
int LA96_0 = input.LA(1);
if ( (LA96_0==67) ) {
alt96=1;
}
switch (alt96) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:465: ( ',' ) temp= dataaccess_analytics_dimensiondefinition
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:482: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:483: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA3F12C70B311DFB10AE517C0A868C8");
}
match(input,67,FOLLOW_67_in_dataaccess_analytics_groupby10820); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_dataaccess_analytics_dimensiondefinition_in_dataaccess_analytics_groupby10827);
temp=dataaccess_analytics_dimensiondefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "dimensions", temp);
}
}
break;
default :
break loop96;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA3F13270B311DFB0D0E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:743: (temp= behavioral_actions_iterator_groupByFactIterator )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:745: temp= behavioral_actions_iterator_groupByFactIterator
{
pushFollow(FOLLOW_behavioral_actions_iterator_groupByFactIterator_in_dataaccess_analytics_groupby10840);
temp=behavioral_actions_iterator_groupByFactIterator();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "fact", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA6623270B311DFCAAFE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:908: ( ( 'map' (temp= dataaccess_expressions_expression_groupBy ) (temp= behavioral_actions_iterator_groupByGroupedFactsIterator ) ) | () )
int alt97=2;
int LA97_0 = input.LA(1);
if ( (LA97_0==72) ) {
alt97=1;
}
else if ( (LA97_0==EOF||LA97_0==PIPE||(LA97_0>=COLON && LA97_0<=RPAREN)||(LA97_0>=DOT && LA97_0<=RBRACKET)||LA97_0==59||LA97_0==67||(LA97_0>=74 && LA97_0<=75)||LA97_0==93) ) {
alt97=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 97, 0, input);
throw nvae;
}
switch (alt97) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:909: ( 'map' (temp= dataaccess_expressions_expression_groupBy ) (temp= behavioral_actions_iterator_groupByGroupedFactsIterator ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:925: ( 'map' (temp= dataaccess_expressions_expression_groupBy ) (temp= behavioral_actions_iterator_groupByGroupedFactsIterator ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:926: 'map' (temp= dataaccess_expressions_expression_groupBy ) (temp= behavioral_actions_iterator_groupByGroupedFactsIterator )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA3F13670B311DFA4D9E517C0A868C8");
}
match(input,72,FOLLOW_72_in_dataaccess_analytics_groupby10852); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA3F13A70B311DFB9A5E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:1065: (temp= dataaccess_expressions_expression_groupBy )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:1067: temp= dataaccess_expressions_expression_groupBy
{
pushFollow(FOLLOW_dataaccess_expressions_expression_groupBy_in_dataaccess_analytics_groupby10859);
temp=dataaccess_expressions_expression_groupBy();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "mapExpression", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA6622370B311DFC37DE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:1232: (temp= behavioral_actions_iterator_groupByGroupedFactsIterator )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2736:1234: temp= behavioral_actions_iterator_groupByGroupedFactsIterator
{
pushFollow(FOLLOW_behavioral_actions_iterator_groupByGroupedFactsIterator_in_dataaccess_analytics_groupby10869);
temp=behavioral_actions_iterator_groupByGroupedFactsIterator();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "groupedFacts", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA6622970B311DF8CFDE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
list.add(new PredicateSemantic("OCL:not self.mapExpression.getType().isMany() and self.mapExpression.getType().oclIsKindOf(ClassTypeDefinition)", "data_classes_classtypedefinition_manyFromSingle"));
list.add(new PredicateSemantic("OCL:not self.mapExpression.getType().isMany() and self.mapExpression.getType().oclIsKindOf(FunctionSignatureTypeDefinition)", "data_classes_functionsignaturetypedefinition_manyFromSingle"));
list.add(new PredicateSemantic(null, "data_classes_nestedtypedefinition_manyFromSingle"));
setPredicateRef(ret,"ownedTypeDefinition",null,"OCL:self.mapExpression.getType()",list,finder,true);
}
_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2745:58: ()
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2745:74: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2745:75:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA6623070B311DF9A2FE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
list.add(new PredicateSemantic("OCL:not self.object.getType().isMany() and self.object.getType().oclIsKindOf(ClassTypeDefinition)", "data_classes_classtypedefinition_manyFromSingle"));
list.add(new PredicateSemantic("OCL:not self.object.getType().isMany() and self.object.getType().oclIsKindOf(FunctionSignatureTypeDefinition)", "data_classes_functionsignaturetypedefinition_manyFromSingle"));
list.add(new PredicateSemantic(null, "data_classes_nestedtypedefinition_manyFromSingle"));
setPredicateRef(ret,"ownedTypeDefinition",null,"OCL:self.object.getType()",list,finder,true);
}
_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_analytics_groupby"
// $ANTLR start "dataaccess_analytics_dimensiondefinition"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2763:1: dataaccess_analytics_dimensiondefinition returns [Object ret2] : ( (temp= behavioral_actions_iterator_dimensionDefinitionIterator ) COLON (temp= dataaccess_expressions_expression ) ) ;
public final Object dataaccess_analytics_dimensiondefinition() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","analytics","DimensionDefinition");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2768:3: ( ( (temp= behavioral_actions_iterator_dimensionDefinitionIterator ) COLON (temp= dataaccess_expressions_expression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2769:3: ( (temp= behavioral_actions_iterator_dimensionDefinitionIterator ) COLON (temp= dataaccess_expressions_expression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2769:3: ( (temp= behavioral_actions_iterator_dimensionDefinitionIterator ) COLON (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2769:4: (temp= behavioral_actions_iterator_dimensionDefinitionIterator ) COLON (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA6623870B311DF826EE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2769:63: (temp= behavioral_actions_iterator_dimensionDefinitionIterator )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2769:65: temp= behavioral_actions_iterator_dimensionDefinitionIterator
{
pushFollow(FOLLOW_behavioral_actions_iterator_dimensionDefinitionIterator_in_dataaccess_analytics_dimensiondefinition10937);
temp=behavioral_actions_iterator_dimensionDefinitionIterator();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "iterator", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA8AC1070B311DF8D12E517C0A868C8");
}
match(input,COLON,FOLLOW_COLON_in_dataaccess_analytics_dimensiondefinition10944); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA8AC1270B311DFBBDFE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2769:321: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2769:323: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_analytics_dimensiondefinition10952);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "expression", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_analytics_dimensiondefinition"
// $ANTLR start "behavioral_actions_iterator_dimensionDefinitionIterator"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2777:1: behavioral_actions_iterator_dimensionDefinitionIterator returns [Object ret2] : ( (temp= identifier ) ) ;
public final Object behavioral_actions_iterator_dimensionDefinitionIterator() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("behavioral","actions","Iterator");
onEnterTemplateRule(metaType,"dimensionDefinitionIterator");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2782:3: ( ( (temp= identifier ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2783:3: ( (temp= identifier ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2783:3: ( (temp= identifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2783:4: (temp= identifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CA8AC1770B311DF9902E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2783:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2783:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_behavioral_actions_iterator_dimensionDefinitionIterator10999);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_iterator_dimensionDefinitionIterator"
// $ANTLR start "behavioral_actions_iterator_groupByFactIterator"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2791:1: behavioral_actions_iterator_groupByFactIterator returns [Object ret2] : () ;
public final Object behavioral_actions_iterator_groupByFactIterator() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("behavioral","actions","Iterator");
onEnterTemplateRule(metaType,"groupByFactIterator");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2796:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2797:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2797:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2797:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CAB1D1470B311DFA6D2E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "name", "fact");_exitInjectorAction();_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
setPredicateRef(ret,"ownedTypeDefinition","singleFromMany","OCL:self.factOfGroupBy.object.getType()->select(td |"+" td.isMany() and not td.oclIsKindOf(NestedTypeDefinition))",list,finder,true);
}
_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_iterator_groupByFactIterator"
// $ANTLR start "behavioral_actions_iterator_groupByGroupedFactsIterator"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2811:1: behavioral_actions_iterator_groupByGroupedFactsIterator returns [Object ret2] : () ;
public final Object behavioral_actions_iterator_groupByGroupedFactsIterator() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("behavioral","actions","Iterator");
onEnterTemplateRule(metaType,"groupByGroupedFactsIterator");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2816:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2817:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2817:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2817:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CAB1D1F70B311DFAC10E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
list.add(new PredicateSemantic("OCL:not self.groupedFactsOfGroupBy.object.getType().isMany() and self.groupedFactsOfGroupBy.object.getType().oclIsKindOf(ClassTypeDefinition)", "data_classes_classtypedefinition_manyFromSingle"));
list.add(new PredicateSemantic("OCL:not self.groupedFactsOfGroupBy.object.getType().isMany() and self.groupedFactsOfGroupBy.object.getType().oclIsKindOf(FunctionSignatureTypeDefinition)", "data_classes_functionsignaturetypedefinition_manyFromSingle"));
list.add(new PredicateSemantic(null, "data_classes_nestedtypedefinition_manyFromSingle"));
setPredicateRef(ret,"ownedTypeDefinition",null,"OCL:self.groupedFactsOfGroupBy.object.getType()",list,finder,false);
}
_exitInjectorAction();_enterInjectorAction();setProperty(ret, "name", "values");_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "behavioral_actions_iterator_groupByGroupedFactsIterator"
// $ANTLR start "dataaccess_expressions_expression_groupBy"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2834:1: dataaccess_expressions_expression_groupBy returns [Object ret2] : (ret= dataaccess_expressions_literals_objectliteral_groupBy ) ;
public final Object dataaccess_expressions_expression_groupBy() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2835:3: ( (ret= dataaccess_expressions_literals_objectliteral_groupBy ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2836:3: (ret= dataaccess_expressions_literals_objectliteral_groupBy )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2836:3: (ret= dataaccess_expressions_literals_objectliteral_groupBy )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2836:4: ret= dataaccess_expressions_literals_objectliteral_groupBy
{
pushFollow(FOLLOW_dataaccess_expressions_literals_objectliteral_groupBy_in_dataaccess_expressions_expression_groupBy11119);
ret=dataaccess_expressions_literals_objectliteral_groupBy();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_expression_groupBy"
// $ANTLR start "dataaccess_expressions_literals_objectliteral_groupBy"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2843:1: dataaccess_expressions_literals_objectliteral_groupBy returns [Object ret2] : ( (temp= data_classes_sapclass_groupByMapResult ) (temp= dataaccess_expressions_literals_valueinit_groupByMapResult ( ( ',' ) temp= dataaccess_expressions_literals_valueinit_groupByMapResult )* ) (temp= data_classes_typedefinition_groupByMapResult ) ) ;
public final Object dataaccess_expressions_literals_objectliteral_groupBy() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","literals","ObjectLiteral");
onEnterTemplateRule(metaType,"groupBy");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2848:3: ( ( (temp= data_classes_sapclass_groupByMapResult ) (temp= dataaccess_expressions_literals_valueinit_groupByMapResult ( ( ',' ) temp= dataaccess_expressions_literals_valueinit_groupByMapResult )* ) (temp= data_classes_typedefinition_groupByMapResult ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2849:3: ( (temp= data_classes_sapclass_groupByMapResult ) (temp= dataaccess_expressions_literals_valueinit_groupByMapResult ( ( ',' ) temp= dataaccess_expressions_literals_valueinit_groupByMapResult )* ) (temp= data_classes_typedefinition_groupByMapResult ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2849:3: ( (temp= data_classes_sapclass_groupByMapResult ) (temp= dataaccess_expressions_literals_valueinit_groupByMapResult ( ( ',' ) temp= dataaccess_expressions_literals_valueinit_groupByMapResult )* ) (temp= data_classes_typedefinition_groupByMapResult ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2849:4: (temp= data_classes_sapclass_groupByMapResult ) (temp= dataaccess_expressions_literals_valueinit_groupByMapResult ( ( ',' ) temp= dataaccess_expressions_literals_valueinit_groupByMapResult )* ) (temp= data_classes_typedefinition_groupByMapResult )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CAFD80470B311DF8A66E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2849:63: (temp= data_classes_sapclass_groupByMapResult )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2849:65: temp= data_classes_sapclass_groupByMapResult
{
pushFollow(FOLLOW_data_classes_sapclass_groupByMapResult_in_dataaccess_expressions_literals_objectliteral_groupBy11153);
temp=data_classes_sapclass_groupByMapResult();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "valueClass", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CAFD80B70B311DF96B7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2849:224: (temp= dataaccess_expressions_literals_valueinit_groupByMapResult ( ( ',' ) temp= dataaccess_expressions_literals_valueinit_groupByMapResult )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2849:226: temp= dataaccess_expressions_literals_valueinit_groupByMapResult ( ( ',' ) temp= dataaccess_expressions_literals_valueinit_groupByMapResult )*
{
pushFollow(FOLLOW_dataaccess_expressions_literals_valueinit_groupByMapResult_in_dataaccess_expressions_literals_objectliteral_groupBy11163);
temp=dataaccess_expressions_literals_valueinit_groupByMapResult();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "propertyValues", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2849:334: ( ( ',' ) temp= dataaccess_expressions_literals_valueinit_groupByMapResult )*
loop98:
do {
int alt98=2;
int LA98_0 = input.LA(1);
if ( (LA98_0==67) ) {
alt98=1;
}
switch (alt98) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2849:335: ( ',' ) temp= dataaccess_expressions_literals_valueinit_groupByMapResult
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2849:352: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2849:353: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CAFD80870B311DF8EF9E517C0A868C8");
}
match(input,67,FOLLOW_67_in_dataaccess_expressions_literals_objectliteral_groupBy11171); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_dataaccess_expressions_literals_valueinit_groupByMapResult_in_dataaccess_expressions_literals_objectliteral_groupBy11178);
temp=dataaccess_expressions_literals_valueinit_groupByMapResult();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "propertyValues", temp);
}
}
break;
default :
break loop98;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CAFD80F70B311DFC5CEE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2849:635: (temp= data_classes_typedefinition_groupByMapResult )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2849:637: temp= data_classes_typedefinition_groupByMapResult
{
pushFollow(FOLLOW_data_classes_typedefinition_groupByMapResult_in_dataaccess_expressions_literals_objectliteral_groupBy11191);
temp=data_classes_typedefinition_groupByMapResult();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_literals_objectliteral_groupBy"
// $ANTLR start "data_classes_typedefinition_groupByMapResult"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2857:1: data_classes_typedefinition_groupByMapResult returns [Object ret2] : (ret= data_classes_classtypedefinition_groupByMapResult ) ;
public final Object data_classes_typedefinition_groupByMapResult() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2858:3: ( (ret= data_classes_classtypedefinition_groupByMapResult ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2859:3: (ret= data_classes_classtypedefinition_groupByMapResult )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2859:3: (ret= data_classes_classtypedefinition_groupByMapResult )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2859:4: ret= data_classes_classtypedefinition_groupByMapResult
{
pushFollow(FOLLOW_data_classes_classtypedefinition_groupByMapResult_in_data_classes_typedefinition_groupByMapResult11231);
ret=data_classes_classtypedefinition_groupByMapResult();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_groupByMapResult"
// $ANTLR start "data_classes_classtypedefinition_groupByMapResult"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2866:1: data_classes_classtypedefinition_groupByMapResult returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_groupByMapResult() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"groupByMapResult");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2871:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2872:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2872:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2872:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CB2490C70B311DFCB38E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:self.ownerTypedElement.oclAsType(ObjectLiteral).valueClass", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_groupByMapResult"
// $ANTLR start "dataaccess_expressions_literals_valueinit_groupByMapResult"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2880:1: dataaccess_expressions_literals_valueinit_groupByMapResult returns [Object ret2] : ( (temp= data_classes_associationend_groupByMapResultPropertiesOtherEnd ) COLON (temp= dataaccess_expressions_expression ) ) ;
public final Object dataaccess_expressions_literals_valueinit_groupByMapResult() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","literals","ValueInit");
onEnterTemplateRule(metaType,"groupByMapResult");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2885:3: ( ( (temp= data_classes_associationend_groupByMapResultPropertiesOtherEnd ) COLON (temp= dataaccess_expressions_expression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2886:3: ( (temp= data_classes_associationend_groupByMapResultPropertiesOtherEnd ) COLON (temp= dataaccess_expressions_expression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2886:3: ( (temp= data_classes_associationend_groupByMapResultPropertiesOtherEnd ) COLON (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2886:4: (temp= data_classes_associationend_groupByMapResultPropertiesOtherEnd ) COLON (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CB4BA0570B311DFB2DEE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2886:63: (temp= data_classes_associationend_groupByMapResultPropertiesOtherEnd )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2886:65: temp= data_classes_associationend_groupByMapResultPropertiesOtherEnd
{
pushFollow(FOLLOW_data_classes_associationend_groupByMapResultPropertiesOtherEnd_in_dataaccess_expressions_literals_valueinit_groupByMapResult11305);
temp=data_classes_associationend_groupByMapResultPropertiesOtherEnd();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "forEnd", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CB4BA0670B311DFB1C1E517C0A868C8");
}
match(input,COLON,FOLLOW_COLON_in_dataaccess_expressions_literals_valueinit_groupByMapResult11312); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CB4BA0870B311DF8B00E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2886:326: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2886:328: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_literals_valueinit_groupByMapResult11320);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "value", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_literals_valueinit_groupByMapResult"
// $ANTLR start "data_classes_associationend_groupByMapResultPropertiesOtherEnd"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2894:1: data_classes_associationend_groupByMapResultPropertiesOtherEnd returns [Object ret2] : ( (temp= identifier ) (temp= data_classes_association_groupByMapResultProperties ) (temp= data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter ) (temp= data_classes_classtypedefinition_groupByMapResultAssociationEndType ) ) ;
public final Object data_classes_associationend_groupByMapResultPropertiesOtherEnd() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","AssociationEnd");
onEnterTemplateRule(metaType,"groupByMapResultPropertiesOtherEnd");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2899:3: ( ( (temp= identifier ) (temp= data_classes_association_groupByMapResultProperties ) (temp= data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter ) (temp= data_classes_classtypedefinition_groupByMapResultAssociationEndType ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2900:3: ( (temp= identifier ) (temp= data_classes_association_groupByMapResultProperties ) (temp= data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter ) (temp= data_classes_classtypedefinition_groupByMapResultAssociationEndType ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2900:3: ( (temp= identifier ) (temp= data_classes_association_groupByMapResultProperties ) (temp= data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter ) (temp= data_classes_classtypedefinition_groupByMapResultAssociationEndType ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2900:4: (temp= identifier ) (temp= data_classes_association_groupByMapResultProperties ) (temp= data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter ) (temp= data_classes_classtypedefinition_groupByMapResultAssociationEndType )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CB974F170B311DFB699E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2900:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2900:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_data_classes_associationend_groupByMapResultPropertiesOtherEnd11367);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CB974F470B311DF904CE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2900:190: (temp= data_classes_association_groupByMapResultProperties )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2900:192: temp= data_classes_association_groupByMapResultProperties
{
pushFollow(FOLLOW_data_classes_association_groupByMapResultProperties_in_data_classes_associationend_groupByMapResultPropertiesOtherEnd11377);
temp=data_classes_association_groupByMapResultProperties();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "association", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CB974F970B311DFCF30E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2900:365: (temp= data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2900:367: temp= data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter
{
pushFollow(FOLLOW_data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter_in_data_classes_associationend_groupByMapResultPropertiesOtherEnd11387);
temp=data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "signatureImplementations", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CB974FC70B311DFB4FFE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2900:585: (temp= data_classes_classtypedefinition_groupByMapResultAssociationEndType )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2900:587: temp= data_classes_classtypedefinition_groupByMapResultAssociationEndType
{
pushFollow(FOLLOW_data_classes_classtypedefinition_groupByMapResultAssociationEndType_in_data_classes_associationend_groupByMapResultPropertiesOtherEnd11397);
temp=data_classes_classtypedefinition_groupByMapResultAssociationEndType();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "type", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CB974FF70B311DFCC88E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "navigable", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_associationend_groupByMapResultPropertiesOtherEnd"
// $ANTLR start "data_classes_association_groupByMapResultProperties"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2908:1: data_classes_association_groupByMapResultProperties returns [Object ret2] : ( (temp= data_classes_associationend_groupByMapResultPropertiesLocalEnd ) ) ;
public final Object data_classes_association_groupByMapResultProperties() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","Association");
onEnterTemplateRule(metaType,"groupByMapResultProperties");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2913:3: ( ( (temp= data_classes_associationend_groupByMapResultPropertiesLocalEnd ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2914:3: ( (temp= data_classes_associationend_groupByMapResultPropertiesLocalEnd ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2914:3: ( (temp= data_classes_associationend_groupByMapResultPropertiesLocalEnd ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2914:4: (temp= data_classes_associationend_groupByMapResultPropertiesLocalEnd )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CBE2FE470B311DFB13EE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2914:63: (temp= data_classes_associationend_groupByMapResultPropertiesLocalEnd )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2914:65: temp= data_classes_associationend_groupByMapResultPropertiesLocalEnd
{
pushFollow(FOLLOW_data_classes_associationend_groupByMapResultPropertiesLocalEnd_in_data_classes_association_groupByMapResultProperties11447);
temp=data_classes_associationend_groupByMapResultPropertiesLocalEnd();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ends", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CBE2FE970B311DFADAAE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:'Query_to_'.concat(self.ends->last().name)", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "package_", null, null, "OCL:self.ends->select(e | e.type.oclAsType(ClassTypeDefinition).clazz.objectLiteral->notEmpty())."+" type.oclAsType(ClassTypeDefinition).clazz.package_", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_association_groupByMapResultProperties"
// $ANTLR start "data_classes_associationend_groupByMapResultPropertiesLocalEnd"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2922:1: data_classes_associationend_groupByMapResultPropertiesLocalEnd returns [Object ret2] : ( (temp= data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd ) ) ;
public final Object data_classes_associationend_groupByMapResultPropertiesLocalEnd() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","AssociationEnd");
onEnterTemplateRule(metaType,"groupByMapResultPropertiesLocalEnd");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2927:3: ( ( (temp= data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2928:3: ( (temp= data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2928:3: ( (temp= data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2928:4: (temp= data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CC0A0E270B311DFB090E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2928:63: (temp= data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2928:65: temp= data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd
{
pushFollow(FOLLOW_data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd_in_data_classes_associationend_groupByMapResultPropertiesLocalEnd11497);
temp=data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "type", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CC0A0E970B311DFC642E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "navigable", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "contributesToEquality", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:if self.name->notEmpty() then"+" if self.name.subString(1,12) = 'opposite_of_' then"+" self.name"+" else"+" 'opposite_of_'.concat(self.otherEnd().name)"+" endif"+" else"+" 'opposite_of_'.concat(self.otherEnd().name)"+" endif", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_associationend_groupByMapResultPropertiesLocalEnd"
// $ANTLR start "data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2936:1: data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"groupByMapResultPropertiesLocalEnd");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2941:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2942:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2942:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2942:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CC2EADF70B311DFC798E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.associationEnd.otherEnd().type.unique", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:self.associationEnd.otherEnd().valueInit->any(true).objectLiteral.valueClass", true);_exitInjectorAction();_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
list.add(new PredicateSemantic(null, "data_classes_actualobjectparameter_localAssociationEnd"));
setPredicateRef(ret,"ownedObjectParameters","localAssociationEnd","OCL:self.clazz.formalObjectParameters",list,finder,true);
}
_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:self.ownedObjectParameters", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd"
// $ANTLR start "data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2957:1: data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter returns [Object ret2] : (ret= data_classes_linktraversal_groupByMapResultPropertiesGetter ) ;
public final Object data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2958:3: ( (ret= data_classes_linktraversal_groupByMapResultPropertiesGetter ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2959:3: (ret= data_classes_linktraversal_groupByMapResultPropertiesGetter )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2959:3: (ret= data_classes_linktraversal_groupByMapResultPropertiesGetter )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2959:4: ret= data_classes_linktraversal_groupByMapResultPropertiesGetter
{
pushFollow(FOLLOW_data_classes_linktraversal_groupByMapResultPropertiesGetter_in_data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter11580);
ret=data_classes_linktraversal_groupByMapResultPropertiesGetter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter"
// $ANTLR start "data_classes_linktraversal_groupByMapResultPropertiesGetter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2966:1: data_classes_linktraversal_groupByMapResultPropertiesGetter returns [Object ret2] : ( (temp= data_classes_methodsignature_groupByMapResultProperties ) ) ;
public final Object data_classes_linktraversal_groupByMapResultPropertiesGetter() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","LinkTraversal");
onEnterTemplateRule(metaType,"groupByMapResultPropertiesGetter");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2971:3: ( ( (temp= data_classes_methodsignature_groupByMapResultProperties ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2972:3: ( (temp= data_classes_methodsignature_groupByMapResultProperties ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2972:3: ( (temp= data_classes_methodsignature_groupByMapResultProperties ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2972:4: (temp= data_classes_methodsignature_groupByMapResultProperties )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CC55BD570B311DFC386E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2972:63: (temp= data_classes_methodsignature_groupByMapResultProperties )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2972:65: temp= data_classes_methodsignature_groupByMapResultProperties
{
pushFollow(FOLLOW_data_classes_methodsignature_groupByMapResultProperties_in_data_classes_linktraversal_groupByMapResultPropertiesGetter11614);
temp=data_classes_methodsignature_groupByMapResultProperties();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "implements_", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_linktraversal_groupByMapResultPropertiesGetter"
// $ANTLR start "data_classes_methodsignature_groupByMapResultProperties"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2980:1: data_classes_methodsignature_groupByMapResultProperties returns [Object ret2] : () ;
public final Object data_classes_methodsignature_groupByMapResultProperties() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","MethodSignature");
onEnterTemplateRule(metaType,"groupByMapResultProperties");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2985:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2986:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2986:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2986:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CC7A5C870B311DF9B07E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:'.'.concat(self.implementation.oclAsType(AssociationEndSignatureImplementation).end.name)", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "owner", null, null, "OCL:self.implementation.oclAsType(AssociationEndSignatureImplementation)."+" end.otherEnd().type.clazz", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "output", null, null, "OCL:self.implementation.oclAsType(LinkTraversal).end.type", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "sideEffectFree", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_methodsignature_groupByMapResultProperties"
// $ANTLR start "data_classes_classtypedefinition_groupByMapResultAssociationEndType"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2994:1: data_classes_classtypedefinition_groupByMapResultAssociationEndType returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_groupByMapResultAssociationEndType() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"groupByMapResultAssociationEndType");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2999:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3000:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3000:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3000:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CCA16C070B311DF8599E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:self.associationEnd.valueInit->any(true).value.getType().oclAsType(ClassTypeDefinition).clazz", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:self.associationEnd.valueInit->any(true).value.getType().oclAsType(ClassTypeDefinition).objectParameters", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:self.associationEnd.valueInit->any(true).value.getType().oclAsType(ClassTypeDefinition).lowerMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:self.associationEnd.valueInit->any(true).value.getType().oclAsType(ClassTypeDefinition).upperMultiplicity", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:self.associationEnd.valueInit->any(true).value.getType().oclAsType(ClassTypeDefinition).ordered", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:self.associationEnd.valueInit->any(true).value.getType().oclAsType(ClassTypeDefinition).unique", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_groupByMapResultAssociationEndType"
// $ANTLR start "data_classes_sapclass_groupByMapResult"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3008:1: data_classes_sapclass_groupByMapResult returns [Object ret2] : () ;
public final Object data_classes_sapclass_groupByMapResult() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","SapClass");
onEnterTemplateRule(metaType,"groupByMapResult");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3013:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3014:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3014:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3014:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CCC87C570B311DF95E9E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "name", null, null, "OCL:self.objectLiteral.propertyValues.forEnd->iterate("+" i; acc='GroupByMapResult' | acc.concat('_').concat(i.name))", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "valueType", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "package_", null, null, "OCL:self.objectLiteral.getOwningClass().package_", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_sapclass_groupByMapResult"
// $ANTLR start "dataaccess_analytics_cellset_cellSet"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3022:1: dataaccess_analytics_cellset_cellSet returns [Object ret2] : ( 'aggregate' (temp= data_classes_typedefinition ) 'by' (temp= dataaccess_analytics_dimension ( ( ',' ) temp= dataaccess_analytics_dimension )* ) COLON ( ( 'key' (temp= data_classes_functionsignature_dimension ) ) | ) (temp= data_classes_functionsignature_aggregationFunction ) ) ;
public final Object dataaccess_analytics_cellset_cellSet() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","analytics","CellSet");
onEnterTemplateRule(metaType,"cellSet");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3027:3: ( ( 'aggregate' (temp= data_classes_typedefinition ) 'by' (temp= dataaccess_analytics_dimension ( ( ',' ) temp= dataaccess_analytics_dimension )* ) COLON ( ( 'key' (temp= data_classes_functionsignature_dimension ) ) | ) (temp= data_classes_functionsignature_aggregationFunction ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:3: ( 'aggregate' (temp= data_classes_typedefinition ) 'by' (temp= dataaccess_analytics_dimension ( ( ',' ) temp= dataaccess_analytics_dimension )* ) COLON ( ( 'key' (temp= data_classes_functionsignature_dimension ) ) | ) (temp= data_classes_functionsignature_aggregationFunction ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:3: ( 'aggregate' (temp= data_classes_typedefinition ) 'by' (temp= dataaccess_analytics_dimension ( ( ',' ) temp= dataaccess_analytics_dimension )* ) COLON ( ( 'key' (temp= data_classes_functionsignature_dimension ) ) | ) (temp= data_classes_functionsignature_aggregationFunction ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:4: 'aggregate' (temp= data_classes_typedefinition ) 'by' (temp= dataaccess_analytics_dimension ( ( ',' ) temp= dataaccess_analytics_dimension )* ) COLON ( ( 'key' (temp= data_classes_functionsignature_dimension ) ) | ) (temp= data_classes_functionsignature_aggregationFunction )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CCED1B370B311DF9223E517C0A868C8");
}
match(input,94,FOLLOW_94_in_dataaccess_analytics_cellset_cellSet11777); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CCED1B570B311DF82A9E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:149: (temp= data_classes_typedefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:151: temp= data_classes_typedefinition
{
pushFollow(FOLLOW_data_classes_typedefinition_in_dataaccess_analytics_cellset_cellSet11784);
temp=data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "factsType", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CCED1B670B311DF93FFE517C0A868C8");
}
match(input,75,FOLLOW_75_in_dataaccess_analytics_cellset_cellSet11790); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CCED1BB70B311DFA285E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:377: (temp= dataaccess_analytics_dimension ( ( ',' ) temp= dataaccess_analytics_dimension )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:379: temp= dataaccess_analytics_dimension ( ( ',' ) temp= dataaccess_analytics_dimension )*
{
pushFollow(FOLLOW_dataaccess_analytics_dimension_in_dataaccess_analytics_cellset_cellSet11797);
temp=dataaccess_analytics_dimension();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "dimensions", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:455: ( ( ',' ) temp= dataaccess_analytics_dimension )*
loop99:
do {
int alt99=2;
int LA99_0 = input.LA(1);
if ( (LA99_0==67) ) {
alt99=1;
}
switch (alt99) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:456: ( ',' ) temp= dataaccess_analytics_dimension
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:473: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:474: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CCED1B870B311DFBA23E517C0A868C8");
}
match(input,67,FOLLOW_67_in_dataaccess_analytics_cellset_cellSet11805); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_dataaccess_analytics_dimension_in_dataaccess_analytics_cellset_cellSet11812);
temp=dataaccess_analytics_dimension();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "dimensions", temp);
}
}
break;
default :
break loop99;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CCED1BC70B311DFC921E517C0A868C8");
}
match(input,COLON,FOLLOW_COLON_in_dataaccess_analytics_cellset_cellSet11822); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CCED1C570B311DFAC85E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:807: ( ( 'key' (temp= data_classes_functionsignature_dimension ) ) | )
int alt100=2;
int LA100_0 = input.LA(1);
if ( (LA100_0==83) ) {
alt100=1;
}
else if ( (LA100_0==NAME||LA100_0==LPAREN||LA100_0==58) ) {
alt100=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 100, 0, input);
throw nvae;
}
switch (alt100) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:808: ( 'key' (temp= data_classes_functionsignature_dimension ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:824: ( 'key' (temp= data_classes_functionsignature_dimension ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:825: 'key' (temp= data_classes_functionsignature_dimension )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CCED1C070B311DFC2C3E517C0A868C8");
}
match(input,83,FOLLOW_83_in_dataaccess_analytics_cellset_cellSet11832); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CCED1C370B311DFB70BE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:964: (temp= data_classes_functionsignature_dimension )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:966: temp= data_classes_functionsignature_dimension
{
pushFollow(FOLLOW_data_classes_functionsignature_dimension_in_dataaccess_analytics_cellset_cellSet11839);
temp=data_classes_functionsignature_dimension();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "valueFunction", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3028:1089:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CCED1C870B311DF9E1BE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3029:76: (temp= data_classes_functionsignature_aggregationFunction )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3029:78: temp= data_classes_functionsignature_aggregationFunction
{
pushFollow(FOLLOW_data_classes_functionsignature_aggregationFunction_in_dataaccess_analytics_cellset_cellSet11862);
temp=data_classes_functionsignature_aggregationFunction();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "aggregationFunction", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_analytics_cellset_cellSet"
// $ANTLR start "dataaccess_analytics_dimension"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3037:1: dataaccess_analytics_dimension returns [Object ret2] : ( (temp= identifier ) COLON (temp= data_classes_functionsignature_dimension ) ) ;
public final Object dataaccess_analytics_dimension() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","analytics","Dimension");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3042:3: ( ( (temp= identifier ) COLON (temp= data_classes_functionsignature_dimension ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3043:3: ( (temp= identifier ) COLON (temp= data_classes_functionsignature_dimension ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3043:3: ( (temp= identifier ) COLON (temp= data_classes_functionsignature_dimension ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3043:4: (temp= identifier ) COLON (temp= data_classes_functionsignature_dimension )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CD142B370B311DFA749E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3043:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3043:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_analytics_dimension11909);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CD142B470B311DFC7E7E517C0A868C8");
}
match(input,COLON,FOLLOW_COLON_in_dataaccess_analytics_dimension11916); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CD142B770B311DF8FEEE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3043:272: (temp= data_classes_functionsignature_dimension )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3043:274: temp= data_classes_functionsignature_dimension
{
pushFollow(FOLLOW_data_classes_functionsignature_dimension_in_dataaccess_analytics_dimension11924);
temp=data_classes_functionsignature_dimension();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "characteristicFunction", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_analytics_dimension"
// $ANTLR start "data_classes_functionsignature_dimension"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3051:1: data_classes_functionsignature_dimension returns [Object ret2] : ( (temp= data_classes_typedefinition ) (temp= data_classes_functionsignatureimplementation ) (temp= data_classes_parameter_dimension ) ) ;
public final Object data_classes_functionsignature_dimension() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","FunctionSignature");
onEnterTemplateRule(metaType,"dimension");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3056:3: ( ( (temp= data_classes_typedefinition ) (temp= data_classes_functionsignatureimplementation ) (temp= data_classes_parameter_dimension ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3057:3: ( (temp= data_classes_typedefinition ) (temp= data_classes_functionsignatureimplementation ) (temp= data_classes_parameter_dimension ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3057:3: ( (temp= data_classes_typedefinition ) (temp= data_classes_functionsignatureimplementation ) (temp= data_classes_parameter_dimension ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3057:4: (temp= data_classes_typedefinition ) (temp= data_classes_functionsignatureimplementation ) (temp= data_classes_parameter_dimension )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CD3B3B270B311DFA8FCE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3057:63: (temp= data_classes_typedefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3057:65: temp= data_classes_typedefinition
{
pushFollow(FOLLOW_data_classes_typedefinition_in_data_classes_functionsignature_dimension11971);
temp=data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "output", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CD3B3B570B311DFA421E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3057:209: (temp= data_classes_functionsignatureimplementation )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3057:211: temp= data_classes_functionsignatureimplementation
{
pushFollow(FOLLOW_data_classes_functionsignatureimplementation_in_data_classes_functionsignature_dimension11981);
temp=data_classes_functionsignatureimplementation();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "implementation", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CD3B3BA70B311DFBB37E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3057:380: (temp= data_classes_parameter_dimension )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3057:382: temp= data_classes_parameter_dimension
{
pushFollow(FOLLOW_data_classes_parameter_dimension_in_data_classes_functionsignature_dimension11991);
temp=data_classes_parameter_dimension();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "input", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CD3B3BD70B311DF8BB0E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "sideEffectFree", null, null, "OCL:self.implementation.isSideEffectFree()", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignature_dimension"
// $ANTLR start "data_classes_parameter_dimension"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3065:1: data_classes_parameter_dimension returns [Object ret2] : () ;
public final Object data_classes_parameter_dimension() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","Parameter");
onEnterTemplateRule(metaType,"dimension");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3070:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3071:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3071:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3071:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CD5FDA470B311DF991CE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "name", "fact");_exitInjectorAction();_enterInjectorAction();
{
List<PredicateSemantic> list = new ArrayList<PredicateSemantic>();
RuleNameFinder finder = new RuleNameFinder();
setPredicateRef(ret,"ownedTypeDefinition","dimension","OCL:let f=#context.oclAsType(data::classes::FunctionSignature) in"+" let ft=if f.dimension->notEmpty() then"+" f.dimension.cellSet.factsType"+" else"+" f.cellSetForValueFunction.factsType"+" endif in"+" if ft.oclIsKindOf(NestedTypeDefinition) then"+" ft.oclAsType(NestedTypeDefinition).type"+" else"+" ft"+" endif",list,finder,false);
}
_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_parameter_dimension"
// $ANTLR start "data_classes_typedefinition_dimension"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3085:1: data_classes_typedefinition_dimension returns [Object ret2] : (ret= data_classes_classtypedefinition_dimension ) ;
public final Object data_classes_typedefinition_dimension() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3086:3: ( (ret= data_classes_classtypedefinition_dimension ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3087:3: (ret= data_classes_classtypedefinition_dimension )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3087:3: (ret= data_classes_classtypedefinition_dimension )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3087:4: ret= data_classes_classtypedefinition_dimension
{
pushFollow(FOLLOW_data_classes_classtypedefinition_dimension_in_data_classes_typedefinition_dimension12074);
ret=data_classes_classtypedefinition_dimension();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_dimension"
// $ANTLR start "data_classes_classtypedefinition_dimension"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3094:1: data_classes_classtypedefinition_dimension returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_dimension() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"dimension");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3099:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3100:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3100:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3100:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CDAB89670B311DFC691E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:let f=#context.oclAsType(data::classes::FunctionSignature) in"+" let ft=if f.dimension->notEmpty() then"+" f.dimension.cellSet.factsType"+" else"+" f.cellSetForValueFunction.factsType"+" endif in"+" if ft.oclIsKindOf(NestedTypeDefinition) then"+" ft.oclAsType(NestedTypeDefinition).type.oclAsType(ClassTypeDefinition).clazz"+" else"+" ft.oclAsType(ClassTypeDefinition).clazz"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:let f=#context.oclAsType(data::classes::FunctionSignature) in"+" let ft=if f.dimension->notEmpty() then"+" f.dimension.cellSet.factsType"+" else"+" f.cellSetForValueFunction.factsType"+" endif in"+" if ft.oclIsKindOf(NestedTypeDefinition).oclIsKindOf(NestedTypeDefinition) then"+" ft.oclAsType(NestedTypeDefinition).oclAsType(NestedTypeDefinition).type.oclAsType(ClassTypeDefinition).objectParameters"+" else"+" ft.oclAsType(ClassTypeDefinition).objectParameters"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "lowerMultiplicity", null, null, "OCL:let f=#context.oclAsType(data::classes::FunctionSignature) in"+" let ft=if f.dimension->notEmpty() then"+" f.dimension.cellSet.factsType"+" else"+" f.cellSetForValueFunction.factsType"+" endif in"+" if ft.oclIsKindOf(NestedTypeDefinition).oclIsKindOf(NestedTypeDefinition) then"+" ft.oclAsType(NestedTypeDefinition).oclAsType(NestedTypeDefinition).type.lowerMultiplicity"+" else"+" 1"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "upperMultiplicity", null, null, "OCL:let f=#context.oclAsType(data::classes::FunctionSignature) in"+" let ft=if f.dimension->notEmpty() then"+" f.dimension.cellSet.factsType"+" else"+" f.cellSetForValueFunction.factsType"+" endif in"+" if ft.oclIsKindOf(NestedTypeDefinition).oclIsKindOf(NestedTypeDefinition) then"+" ft.oclAsType(NestedTypeDefinition).oclAsType(NestedTypeDefinition).type.oclAsType(ClassTypeDefinition).upperMultiplicity"+" else"+" 1"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "ordered", null, null, "OCL:let f=#context.oclAsType(data::classes::FunctionSignature) in"+" let ft=if f.dimension->notEmpty() then"+" f.dimension.cellSet.factsType"+" else"+" f.cellSetForValueFunction.factsType"+" endif in"+" if ft.oclIsKindOf(NestedTypeDefinition).oclIsKindOf(NestedTypeDefinition) then"+" ft.oclAsType(NestedTypeDefinition).oclAsType(NestedTypeDefinition).type.ordered"+" else"+" true"+" endif", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "unique", null, null, "OCL:let f=#context.oclAsType(data::classes::FunctionSignature) in"+" let ft=if f.dimension->notEmpty() then"+" f.dimension.cellSet.factsType"+" else"+" f.cellSetForValueFunction.factsType"+" endif in"+" if ft.oclIsKindOf(NestedTypeDefinition).oclIsKindOf(NestedTypeDefinition) then"+" ft.oclAsType(NestedTypeDefinition).oclAsType(NestedTypeDefinition).type.unique"+" else"+" true"+" endif", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_dimension"
// $ANTLR start "data_classes_functionsignature_aggregationFunction"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3108:1: data_classes_functionsignature_aggregationFunction returns [Object ret2] : ( (temp= data_classes_typedefinition ) (temp= data_classes_functionsignatureimplementation ) (temp= data_classes_parameter_aggregationFunction ) ) ;
public final Object data_classes_functionsignature_aggregationFunction() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","FunctionSignature");
onEnterTemplateRule(metaType,"aggregationFunction");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3113:3: ( ( (temp= data_classes_typedefinition ) (temp= data_classes_functionsignatureimplementation ) (temp= data_classes_parameter_aggregationFunction ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3114:3: ( (temp= data_classes_typedefinition ) (temp= data_classes_functionsignatureimplementation ) (temp= data_classes_parameter_aggregationFunction ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3114:3: ( (temp= data_classes_typedefinition ) (temp= data_classes_functionsignatureimplementation ) (temp= data_classes_parameter_aggregationFunction ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3114:4: (temp= data_classes_typedefinition ) (temp= data_classes_functionsignatureimplementation ) (temp= data_classes_parameter_aggregationFunction )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CDAB89C70B311DFA130E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3114:63: (temp= data_classes_typedefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3114:65: temp= data_classes_typedefinition
{
pushFollow(FOLLOW_data_classes_typedefinition_in_data_classes_functionsignature_aggregationFunction12148);
temp=data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "output", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CDAB89F70B311DFC8A1E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3114:209: (temp= data_classes_functionsignatureimplementation )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3114:211: temp= data_classes_functionsignatureimplementation
{
pushFollow(FOLLOW_data_classes_functionsignatureimplementation_in_data_classes_functionsignature_aggregationFunction12158);
temp=data_classes_functionsignatureimplementation();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "implementation", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CDAB8A470B311DF9BC2E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3114:380: (temp= data_classes_parameter_aggregationFunction )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3114:382: temp= data_classes_parameter_aggregationFunction
{
pushFollow(FOLLOW_data_classes_parameter_aggregationFunction_in_data_classes_functionsignature_aggregationFunction12168);
temp=data_classes_parameter_aggregationFunction();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "input", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CDAB8A770B311DFC6FCE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "sideEffectFree", null, null, "OCL:self.implementation.isSideEffectFree()", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignature_aggregationFunction"
// $ANTLR start "data_classes_parameter_aggregationFunction"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3122:1: data_classes_parameter_aggregationFunction returns [Object ret2] : () ;
public final Object data_classes_parameter_aggregationFunction() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","Parameter");
onEnterTemplateRule(metaType,"aggregationFunction");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3127:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3128:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3128:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3128:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CDF9A9270B311DF92BFE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "name", "values");_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_parameter_aggregationFunction"
// $ANTLR start "dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3136:1: dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( 'dim' LPAREN (temp= dataaccess_expressions_expression ) ',' (temp= identifier ) RPAREN ) ;
public final Object dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","analytics","DimensionExpression");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3141:3: ( ( 'dim' LPAREN (temp= dataaccess_expressions_expression ) ',' (temp= identifier ) RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3142:3: ( 'dim' LPAREN (temp= dataaccess_expressions_expression ) ',' (temp= identifier ) RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3142:3: ( 'dim' LPAREN (temp= dataaccess_expressions_expression ) ',' (temp= identifier ) RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3142:4: 'dim' LPAREN (temp= dataaccess_expressions_expression ) ',' (temp= identifier ) RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CDF9A9770B311DFB19DE517C0A868C8");
}
match(input,49,FOLLOW_49_in_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp12255); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CDF9A9870B311DF8976E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp12259); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CDF9A9A70B311DF9886E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3142:226: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3142:228: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp12267);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "facts", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CDF9A9B70B311DFCBF9E517C0A868C8");
}
match(input,67,FOLLOW_67_in_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp12273); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CDF9AA070B311DF8B8FE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3142:455: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3142:457: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp12280);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "dimensionParameter", null, temp, "OCL:self.cellSet.getType().oclAsType(FunctionSignatureTypeDefinition).signature.input->select(p|p.name=?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CE1E48070B311DF8C47E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp12287); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"cellSet" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp"
// $ANTLR start "dataaccess_expressions_literals_literal"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3152:1: dataaccess_expressions_literals_literal returns [Object ret2] : (ret= dataaccess_expressions_literals_binaryliteral | ret= dataaccess_expressions_literals_stringliteral | ret= dataaccess_expressions_literals_numberliteral | ret= dataaccess_expressions_literals_timepointliteral | ret= dataaccess_expressions_literals_booleanliteral ) ;
public final Object dataaccess_expressions_literals_literal() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3153:3: ( (ret= dataaccess_expressions_literals_binaryliteral | ret= dataaccess_expressions_literals_stringliteral | ret= dataaccess_expressions_literals_numberliteral | ret= dataaccess_expressions_literals_timepointliteral | ret= dataaccess_expressions_literals_booleanliteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3154:3: (ret= dataaccess_expressions_literals_binaryliteral | ret= dataaccess_expressions_literals_stringliteral | ret= dataaccess_expressions_literals_numberliteral | ret= dataaccess_expressions_literals_timepointliteral | ret= dataaccess_expressions_literals_booleanliteral )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3154:3: (ret= dataaccess_expressions_literals_binaryliteral | ret= dataaccess_expressions_literals_stringliteral | ret= dataaccess_expressions_literals_numberliteral | ret= dataaccess_expressions_literals_timepointliteral | ret= dataaccess_expressions_literals_booleanliteral )
int alt101=5;
switch ( input.LA(1) ) {
case BINARY:
{
alt101=1;
}
break;
case STRING:
{
alt101=2;
}
break;
case INT:
case FLOAT:
{
alt101=3;
}
break;
case DATE:
{
alt101=4;
}
break;
case BOOL:
{
alt101=5;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 101, 0, input);
throw nvae;
}
switch (alt101) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3154:4: ret= dataaccess_expressions_literals_binaryliteral
{
pushFollow(FOLLOW_dataaccess_expressions_literals_binaryliteral_in_dataaccess_expressions_literals_literal12317);
ret=dataaccess_expressions_literals_binaryliteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3155:5: ret= dataaccess_expressions_literals_stringliteral
{
pushFollow(FOLLOW_dataaccess_expressions_literals_stringliteral_in_dataaccess_expressions_literals_literal12325);
ret=dataaccess_expressions_literals_stringliteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3156:5: ret= dataaccess_expressions_literals_numberliteral
{
pushFollow(FOLLOW_dataaccess_expressions_literals_numberliteral_in_dataaccess_expressions_literals_literal12333);
ret=dataaccess_expressions_literals_numberliteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 4 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3157:5: ret= dataaccess_expressions_literals_timepointliteral
{
pushFollow(FOLLOW_dataaccess_expressions_literals_timepointliteral_in_dataaccess_expressions_literals_literal12341);
ret=dataaccess_expressions_literals_timepointliteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 5 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3158:5: ret= dataaccess_expressions_literals_booleanliteral
{
pushFollow(FOLLOW_dataaccess_expressions_literals_booleanliteral_in_dataaccess_expressions_literals_literal12349);
ret=dataaccess_expressions_literals_booleanliteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_literals_literal"
// $ANTLR start "dataaccess_expressions_literals_binaryliteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3165:1: dataaccess_expressions_literals_binaryliteral returns [Object ret2] : ( (temp= binarySymbol ) (temp= data_classes_typedefinition_BinaryLiteral ) ) ;
public final Object dataaccess_expressions_literals_binaryliteral() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","literals","BinaryLiteral");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3170:3: ( ( (temp= binarySymbol ) (temp= data_classes_typedefinition_BinaryLiteral ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3171:3: ( (temp= binarySymbol ) (temp= data_classes_typedefinition_BinaryLiteral ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3171:3: ( (temp= binarySymbol ) (temp= data_classes_typedefinition_BinaryLiteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3171:4: (temp= binarySymbol ) (temp= data_classes_typedefinition_BinaryLiteral )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CE4558270B311DFAD28E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3171:63: (temp= binarySymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3171:65: temp= binarySymbol
{
pushFollow(FOLLOW_binarySymbol_in_dataaccess_expressions_literals_binaryliteral12383);
temp=binarySymbol();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "literal", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CE4558670B311DFB7E2E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3171:195: (temp= data_classes_typedefinition_BinaryLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3171:197: temp= data_classes_typedefinition_BinaryLiteral
{
pushFollow(FOLLOW_data_classes_typedefinition_BinaryLiteral_in_dataaccess_expressions_literals_binaryliteral12393);
temp=data_classes_typedefinition_BinaryLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_literals_binaryliteral"
// $ANTLR start "data_classes_typedefinition_BinaryLiteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3179:1: data_classes_typedefinition_BinaryLiteral returns [Object ret2] : (ret= data_classes_classtypedefinition_BinaryLiteral ) ;
public final Object data_classes_typedefinition_BinaryLiteral() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3180:3: ( (ret= data_classes_classtypedefinition_BinaryLiteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3181:3: (ret= data_classes_classtypedefinition_BinaryLiteral )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3181:3: (ret= data_classes_classtypedefinition_BinaryLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3181:4: ret= data_classes_classtypedefinition_BinaryLiteral
{
pushFollow(FOLLOW_data_classes_classtypedefinition_BinaryLiteral_in_data_classes_typedefinition_BinaryLiteral12433);
ret=data_classes_classtypedefinition_BinaryLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_BinaryLiteral"
// $ANTLR start "data_classes_classtypedefinition_BinaryLiteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3188:1: data_classes_classtypedefinition_BinaryLiteral returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_BinaryLiteral() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"BinaryLiteral");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3193:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3194:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3194:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3194:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CE69F7C70B311DFC234E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = 'Binary')", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_BinaryLiteral"
// $ANTLR start "dataaccess_expressions_literals_stringliteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3202:1: dataaccess_expressions_literals_stringliteral returns [Object ret2] : ( (temp= stringSymbol ) (temp= data_classes_typedefinition_StringLiteral ) ) ;
public final Object dataaccess_expressions_literals_stringliteral() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","literals","StringLiteral");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3207:3: ( ( (temp= stringSymbol ) (temp= data_classes_typedefinition_StringLiteral ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3208:3: ( (temp= stringSymbol ) (temp= data_classes_typedefinition_StringLiteral ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3208:3: ( (temp= stringSymbol ) (temp= data_classes_typedefinition_StringLiteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3208:4: (temp= stringSymbol ) (temp= data_classes_typedefinition_StringLiteral )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CE9107270B311DF8A19E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3208:63: (temp= stringSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3208:65: temp= stringSymbol
{
pushFollow(FOLLOW_stringSymbol_in_dataaccess_expressions_literals_stringliteral12507);
temp=stringSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "literal", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CE9107670B311DFBBA4E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3208:195: (temp= data_classes_typedefinition_StringLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3208:197: temp= data_classes_typedefinition_StringLiteral
{
pushFollow(FOLLOW_data_classes_typedefinition_StringLiteral_in_dataaccess_expressions_literals_stringliteral12517);
temp=data_classes_typedefinition_StringLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_literals_stringliteral"
// $ANTLR start "data_classes_typedefinition_StringLiteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3216:1: data_classes_typedefinition_StringLiteral returns [Object ret2] : (ret= data_classes_classtypedefinition_StringLiteral ) ;
public final Object data_classes_typedefinition_StringLiteral() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3217:3: ( (ret= data_classes_classtypedefinition_StringLiteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3218:3: (ret= data_classes_classtypedefinition_StringLiteral )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3218:3: (ret= data_classes_classtypedefinition_StringLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3218:4: ret= data_classes_classtypedefinition_StringLiteral
{
pushFollow(FOLLOW_data_classes_classtypedefinition_StringLiteral_in_data_classes_typedefinition_StringLiteral12557);
ret=data_classes_classtypedefinition_StringLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_StringLiteral"
// $ANTLR start "data_classes_classtypedefinition_StringLiteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3225:1: data_classes_classtypedefinition_StringLiteral returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_StringLiteral() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"StringLiteral");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3230:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3231:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3231:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3231:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CEB817A70B311DFBF66E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = 'String')", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_StringLiteral"
// $ANTLR start "dataaccess_expressions_literals_numberliteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3239:1: dataaccess_expressions_literals_numberliteral returns [Object ret2] : ( ( ( (temp= integerAsStringSymbol ) ) | ( (temp= floatAsStringSymbol ) ) ) (temp= data_classes_typedefinition_NumberLiteral ) ) ;
public final Object dataaccess_expressions_literals_numberliteral() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","literals","NumberLiteral");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3244:3: ( ( ( ( (temp= integerAsStringSymbol ) ) | ( (temp= floatAsStringSymbol ) ) ) (temp= data_classes_typedefinition_NumberLiteral ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3245:3: ( ( ( (temp= integerAsStringSymbol ) ) | ( (temp= floatAsStringSymbol ) ) ) (temp= data_classes_typedefinition_NumberLiteral ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3245:3: ( ( ( (temp= integerAsStringSymbol ) ) | ( (temp= floatAsStringSymbol ) ) ) (temp= data_classes_typedefinition_NumberLiteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3245:4: ( ( (temp= integerAsStringSymbol ) ) | ( (temp= floatAsStringSymbol ) ) ) (temp= data_classes_typedefinition_NumberLiteral )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CEDCB6570B311DFBB73E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3245:63: ( ( (temp= integerAsStringSymbol ) ) | ( (temp= floatAsStringSymbol ) ) )
int alt102=2;
int LA102_0 = input.LA(1);
if ( (LA102_0==INT) ) {
alt102=1;
}
else if ( (LA102_0==FLOAT) ) {
alt102=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 102, 0, input);
throw nvae;
}
switch (alt102) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3245:64: ( (temp= integerAsStringSymbol ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3245:80: ( (temp= integerAsStringSymbol ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3245:81: (temp= integerAsStringSymbol )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CEB818070B311DFAA22E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3245:140: (temp= integerAsStringSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3245:142: temp= integerAsStringSymbol
{
pushFollow(FOLLOW_integerAsStringSymbol_in_dataaccess_expressions_literals_numberliteral12636);
temp=integerAsStringSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "literal", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3246:4: ( (temp= floatAsStringSymbol ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3246:20: ( (temp= floatAsStringSymbol ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3246:21: (temp= floatAsStringSymbol )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CEDCB6370B311DF9ED9E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3246:80: (temp= floatAsStringSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3246:82: temp= floatAsStringSymbol
{
pushFollow(FOLLOW_floatAsStringSymbol_in_dataaccess_expressions_literals_numberliteral12656);
temp=floatAsStringSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "literal", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CEDCB6970B311DFAA63E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3246:251: (temp= data_classes_typedefinition_NumberLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3246:253: temp= data_classes_typedefinition_NumberLiteral
{
pushFollow(FOLLOW_data_classes_typedefinition_NumberLiteral_in_dataaccess_expressions_literals_numberliteral12671);
temp=data_classes_typedefinition_NumberLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_literals_numberliteral"
// $ANTLR start "data_classes_typedefinition_NumberLiteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3254:1: data_classes_typedefinition_NumberLiteral returns [Object ret2] : (ret= data_classes_classtypedefinition_NumberLiteral ) ;
public final Object data_classes_typedefinition_NumberLiteral() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3255:3: ( (ret= data_classes_classtypedefinition_NumberLiteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3256:3: (ret= data_classes_classtypedefinition_NumberLiteral )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3256:3: (ret= data_classes_classtypedefinition_NumberLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3256:4: ret= data_classes_classtypedefinition_NumberLiteral
{
pushFollow(FOLLOW_data_classes_classtypedefinition_NumberLiteral_in_data_classes_typedefinition_NumberLiteral12711);
ret=data_classes_classtypedefinition_NumberLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_NumberLiteral"
// $ANTLR start "data_classes_classtypedefinition_NumberLiteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3263:1: data_classes_classtypedefinition_NumberLiteral returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_NumberLiteral() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"NumberLiteral");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3268:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3269:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3269:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3269:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF03C6A70B311DFB836E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = 'Number')", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_NumberLiteral"
// $ANTLR start "dataaccess_expressions_literals_timepointliteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3277:1: dataaccess_expressions_literals_timepointliteral returns [Object ret2] : ( (temp= dateSymbol ) (temp= data_classes_typedefinition_TimePointLiteral ) ) ;
public final Object dataaccess_expressions_literals_timepointliteral() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","literals","TimePointLiteral");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3282:3: ( ( (temp= dateSymbol ) (temp= data_classes_typedefinition_TimePointLiteral ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3283:3: ( (temp= dateSymbol ) (temp= data_classes_typedefinition_TimePointLiteral ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3283:3: ( (temp= dateSymbol ) (temp= data_classes_typedefinition_TimePointLiteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3283:4: (temp= dateSymbol ) (temp= data_classes_typedefinition_TimePointLiteral )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF03C7070B311DF988BE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3283:63: (temp= dateSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3283:65: temp= dateSymbol
{
pushFollow(FOLLOW_dateSymbol_in_dataaccess_expressions_literals_timepointliteral12785);
temp=dateSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "literal", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF03C7470B311DF98E2E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3283:193: (temp= data_classes_typedefinition_TimePointLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3283:195: temp= data_classes_typedefinition_TimePointLiteral
{
pushFollow(FOLLOW_data_classes_typedefinition_TimePointLiteral_in_dataaccess_expressions_literals_timepointliteral12795);
temp=data_classes_typedefinition_TimePointLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_literals_timepointliteral"
// $ANTLR start "data_classes_typedefinition_TimePointLiteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3291:1: data_classes_typedefinition_TimePointLiteral returns [Object ret2] : (ret= data_classes_classtypedefinition_TimePointLiteral ) ;
public final Object data_classes_typedefinition_TimePointLiteral() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3292:3: ( (ret= data_classes_classtypedefinition_TimePointLiteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3293:3: (ret= data_classes_classtypedefinition_TimePointLiteral )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3293:3: (ret= data_classes_classtypedefinition_TimePointLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3293:4: ret= data_classes_classtypedefinition_TimePointLiteral
{
pushFollow(FOLLOW_data_classes_classtypedefinition_TimePointLiteral_in_data_classes_typedefinition_TimePointLiteral12835);
ret=data_classes_classtypedefinition_TimePointLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_TimePointLiteral"
// $ANTLR start "data_classes_classtypedefinition_TimePointLiteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3300:1: data_classes_classtypedefinition_TimePointLiteral returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_TimePointLiteral() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"TimePointLiteral");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3305:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3306:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3306:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3306:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF4F75470B311DF99DDE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = 'TimePoint')", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_TimePointLiteral"
// $ANTLR start "dataaccess_expressions_literals_booleanliteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3314:1: dataaccess_expressions_literals_booleanliteral returns [Object ret2] : ( (temp= booleanSymbol ) (temp= data_classes_typedefinition_BooleanLiteral ) ) ;
public final Object dataaccess_expressions_literals_booleanliteral() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","literals","BooleanLiteral");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3319:3: ( ( (temp= booleanSymbol ) (temp= data_classes_typedefinition_BooleanLiteral ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3320:3: ( (temp= booleanSymbol ) (temp= data_classes_typedefinition_BooleanLiteral ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3320:3: ( (temp= booleanSymbol ) (temp= data_classes_typedefinition_BooleanLiteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3320:4: (temp= booleanSymbol ) (temp= data_classes_typedefinition_BooleanLiteral )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF4F75A70B311DF8AAAE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3320:63: (temp= booleanSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3320:65: temp= booleanSymbol
{
pushFollow(FOLLOW_booleanSymbol_in_dataaccess_expressions_literals_booleanliteral12909);
temp=booleanSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "literal", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF4F75E70B311DFA965E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3320:196: (temp= data_classes_typedefinition_BooleanLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3320:198: temp= data_classes_typedefinition_BooleanLiteral
{
pushFollow(FOLLOW_data_classes_typedefinition_BooleanLiteral_in_dataaccess_expressions_literals_booleanliteral12919);
temp=data_classes_typedefinition_BooleanLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_literals_booleanliteral"
// $ANTLR start "data_classes_typedefinition_BooleanLiteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3328:1: data_classes_typedefinition_BooleanLiteral returns [Object ret2] : (ret= data_classes_classtypedefinition_BooleanLiteral ) ;
public final Object data_classes_typedefinition_BooleanLiteral() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3329:3: ( (ret= data_classes_classtypedefinition_BooleanLiteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3330:3: (ret= data_classes_classtypedefinition_BooleanLiteral )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3330:3: (ret= data_classes_classtypedefinition_BooleanLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3330:4: ret= data_classes_classtypedefinition_BooleanLiteral
{
pushFollow(FOLLOW_data_classes_classtypedefinition_BooleanLiteral_in_data_classes_typedefinition_BooleanLiteral12959);
ret=data_classes_classtypedefinition_BooleanLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_BooleanLiteral"
// $ANTLR start "data_classes_classtypedefinition_BooleanLiteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3337:1: data_classes_classtypedefinition_BooleanLiteral returns [Object ret2] : () ;
public final Object data_classes_classtypedefinition_BooleanLiteral() throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"BooleanLiteral");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3342:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3343:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3343:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3343:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF7685C70B311DFC145E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = 'Boolean')", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_BooleanLiteral"
// $ANTLR start "dataaccess_expressions_literals_objectliteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3351:1: dataaccess_expressions_literals_objectliteral returns [Object ret2] : ( 'value' (temp= identifier ) (temp= data_classes_typedefinition_objectLiteral ) LPAREN (temp= dataaccess_expressions_literals_valueinit ( ( ',' ) temp= dataaccess_expressions_literals_valueinit )* )? RPAREN ) ;
public final Object dataaccess_expressions_literals_objectliteral() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","literals","ObjectLiteral");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false, new String[]{"objectLiteral"}) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3356:3: ( ( 'value' (temp= identifier ) (temp= data_classes_typedefinition_objectLiteral ) LPAREN (temp= dataaccess_expressions_literals_valueinit ( ( ',' ) temp= dataaccess_expressions_literals_valueinit )* )? RPAREN ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3357:3: ( 'value' (temp= identifier ) (temp= data_classes_typedefinition_objectLiteral ) LPAREN (temp= dataaccess_expressions_literals_valueinit ( ( ',' ) temp= dataaccess_expressions_literals_valueinit )* )? RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3357:3: ( 'value' (temp= identifier ) (temp= data_classes_typedefinition_objectLiteral ) LPAREN (temp= dataaccess_expressions_literals_valueinit ( ( ',' ) temp= dataaccess_expressions_literals_valueinit )* )? RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3357:4: 'value' (temp= identifier ) (temp= data_classes_typedefinition_objectLiteral ) LPAREN (temp= dataaccess_expressions_literals_valueinit ( ( ',' ) temp= dataaccess_expressions_literals_valueinit )* )? RPAREN
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF9B24170B311DF920DE517C0A868C8");
}
match(input,68,FOLLOW_68_in_dataaccess_expressions_literals_objectliteral13029); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF9B24670B311DFC38CE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3357:145: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3357:147: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_expressions_literals_objectliteral13036);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "valueClass", null, temp, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = ?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF9B24A70B311DF9AD1E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3357:352: (temp= data_classes_typedefinition_objectLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3357:354: temp= data_classes_typedefinition_objectLiteral
{
pushFollow(FOLLOW_data_classes_typedefinition_objectLiteral_in_dataaccess_expressions_literals_objectliteral13046);
temp=data_classes_typedefinition_objectLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF9B24B70B311DF9CF0E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_dataaccess_expressions_literals_objectliteral13053); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF9B25070B311DF8921E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3357:608: (temp= dataaccess_expressions_literals_valueinit ( ( ',' ) temp= dataaccess_expressions_literals_valueinit )* )?
int alt104=2;
int LA104_0 = input.LA(1);
if ( (LA104_0==NAME) ) {
alt104=1;
}
switch (alt104) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3357:610: temp= dataaccess_expressions_literals_valueinit ( ( ',' ) temp= dataaccess_expressions_literals_valueinit )*
{
pushFollow(FOLLOW_dataaccess_expressions_literals_valueinit_in_dataaccess_expressions_literals_objectliteral13061);
temp=dataaccess_expressions_literals_valueinit();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "propertyValues", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3357:701: ( ( ',' ) temp= dataaccess_expressions_literals_valueinit )*
loop103:
do {
int alt103=2;
int LA103_0 = input.LA(1);
if ( (LA103_0==67) ) {
alt103=1;
}
switch (alt103) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3357:702: ( ',' ) temp= dataaccess_expressions_literals_valueinit
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3357:719: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3357:720: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF9B24D70B311DF9E04E517C0A868C8");
}
match(input,67,FOLLOW_67_in_dataaccess_expressions_literals_objectliteral13069); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_dataaccess_expressions_literals_valueinit_in_dataaccess_expressions_literals_objectliteral13076);
temp=dataaccess_expressions_literals_valueinit();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "propertyValues", temp);
}
}
break;
default :
break loop103;
}
} while (true);
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CF9B25170B311DFB407E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_dataaccess_expressions_literals_objectliteral13088); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_literals_objectliteral"
// $ANTLR start "dataaccess_expressions_literals_valueinit"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3365:1: dataaccess_expressions_literals_valueinit returns [Object ret2] : ( (temp= identifier ) COLON (temp= dataaccess_expressions_expression ) ) ;
public final Object dataaccess_expressions_literals_valueinit() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("dataaccess","expressions","literals","ValueInit");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3370:3: ( ( (temp= identifier ) COLON (temp= dataaccess_expressions_expression ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3371:3: ( (temp= identifier ) COLON (temp= dataaccess_expressions_expression ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3371:3: ( (temp= identifier ) COLON (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3371:4: (temp= identifier ) COLON (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CFC234470B311DFC9CDE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3371:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3371:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_dataaccess_expressions_literals_valueinit13133);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "forEnd", null, temp, "OCL:#context(objectLiteral).oclAsType(dataaccess::expressions::literals::ObjectLiteral)"+" .valueClass.getAssociationEnds().otherEnd()->select(ae|ae.name=?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CFC234570B311DFCDADE517C0A868C8");
}
match(input,COLON,FOLLOW_COLON_in_dataaccess_expressions_literals_valueinit13140); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CFC234770B311DFA50AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3371:509: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3371:511: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_literals_valueinit13148);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "value", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "dataaccess_expressions_literals_valueinit"
// $ANTLR start "data_classes_typedefinition_objectLiteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3379:1: data_classes_typedefinition_objectLiteral returns [Object ret2] : (ret= data_classes_classtypedefinition_objectLiteral ) ;
public final Object data_classes_typedefinition_objectLiteral() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3380:3: ( (ret= data_classes_classtypedefinition_objectLiteral ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3381:3: (ret= data_classes_classtypedefinition_objectLiteral )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3381:3: (ret= data_classes_classtypedefinition_objectLiteral )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3381:4: ret= data_classes_classtypedefinition_objectLiteral
{
pushFollow(FOLLOW_data_classes_classtypedefinition_objectLiteral_in_data_classes_typedefinition_objectLiteral13188);
ret=data_classes_classtypedefinition_objectLiteral();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition_objectLiteral"
// $ANTLR start "data_classes_classtypedefinition_objectLiteral"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3388:1: data_classes_classtypedefinition_objectLiteral returns [Object ret2] : ( ( ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) | () ) ) ;
public final Object data_classes_classtypedefinition_objectLiteral() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType,"objectLiteral");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3393:3: ( ( ( ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) | () ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:3: ( ( ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) | () ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:3: ( ( ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) | () ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:4: ( ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) | () )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CFE944D70B311DFA644E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:63: ( ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) | () )
int alt106=2;
int LA106_0 = input.LA(1);
if ( (LA106_0==PIPE) && (synpred39_Class())) {
alt106=1;
}
else if ( (LA106_0==LPAREN) ) {
alt106=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 106, 0, input);
throw nvae;
}
switch (alt106) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:64: ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:89: ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:90: PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CFE944070B311DFAADBE517C0A868C8");
}
match(input,PIPE,FOLLOW_PIPE_in_data_classes_classtypedefinition_objectLiteral13230); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CFE944670B311DFCA2CE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:230: (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:232: temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )*
{
pushFollow(FOLLOW_data_classes_actualobjectparameter_in_data_classes_classtypedefinition_objectLiteral13238);
temp=data_classes_actualobjectparameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedObjectParameters", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:323: ( ( ',' ) temp= data_classes_actualobjectparameter )*
loop105:
do {
int alt105=2;
int LA105_0 = input.LA(1);
if ( (LA105_0==67) ) {
alt105=1;
}
switch (alt105) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:324: ( ',' ) temp= data_classes_actualobjectparameter
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:341: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:342: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CFE944370B311DFC510E517C0A868C8");
}
match(input,67,FOLLOW_67_in_data_classes_classtypedefinition_objectLiteral13246); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_data_classes_actualobjectparameter_in_data_classes_classtypedefinition_objectLiteral13253);
temp=data_classes_actualobjectparameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedObjectParameters", temp);
}
}
break;
default :
break loop105;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CFE944770B311DF96F3E517C0A868C8");
}
match(input,PIPE,FOLLOW_PIPE_in_data_classes_classtypedefinition_objectLiteral13263); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CFE944A70B311DFA64DE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:self.ownedObjectParameters", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3395:4: ()
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3395:20: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3395:21:
{
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77CFE945870B311DFA76EE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "clazz", null, null, "OCL:#context(objectLiteral).oclAsType(dataaccess::expressions::literals::ObjectLiteral).valueClass", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition_objectLiteral"
// $ANTLR start "primary_data_classes_typedefinition"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3403:1: primary_data_classes_typedefinition returns [Object ret2] : (ret= data_classes_classtypedefinition | ret= data_classes_functionsignaturetypedefinition | ( LPAREN ret= data_classes_typedefinition RPAREN ) ) ;
public final Object primary_data_classes_typedefinition() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3404:3: ( (ret= data_classes_classtypedefinition | ret= data_classes_functionsignaturetypedefinition | ( LPAREN ret= data_classes_typedefinition RPAREN ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3405:3: (ret= data_classes_classtypedefinition | ret= data_classes_functionsignaturetypedefinition | ( LPAREN ret= data_classes_typedefinition RPAREN ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3405:3: (ret= data_classes_classtypedefinition | ret= data_classes_functionsignaturetypedefinition | ( LPAREN ret= data_classes_typedefinition RPAREN ) )
int alt107=3;
switch ( input.LA(1) ) {
case NAME:
{
alt107=1;
}
break;
case 58:
{
alt107=2;
}
break;
case LPAREN:
{
alt107=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 107, 0, input);
throw nvae;
}
switch (alt107) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3405:4: ret= data_classes_classtypedefinition
{
pushFollow(FOLLOW_data_classes_classtypedefinition_in_primary_data_classes_typedefinition13322);
ret=data_classes_classtypedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3406:5: ret= data_classes_functionsignaturetypedefinition
{
pushFollow(FOLLOW_data_classes_functionsignaturetypedefinition_in_primary_data_classes_typedefinition13330);
ret=data_classes_functionsignaturetypedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3407:5: ( LPAREN ret= data_classes_typedefinition RPAREN )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3407:5: ( LPAREN ret= data_classes_typedefinition RPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3407:6: LPAREN ret= data_classes_typedefinition RPAREN
{
if ( state.backtracking==0 ) {
_enterOpdBrackSeq();
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,LPAREN,FOLLOW_LPAREN_in_primary_data_classes_typedefinition13339); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
pushFollow(FOLLOW_data_classes_typedefinition_in_primary_data_classes_typedefinition13345);
ret=data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,RPAREN,FOLLOW_RPAREN_in_primary_data_classes_typedefinition13349); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitOpdBrackSeq();
}
}
break;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "primary_data_classes_typedefinition"
// $ANTLR start "typedefinitions_priority_0"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3414:1: typedefinitions_priority_0 returns [Object ret2] : ( (ret= primary_data_classes_typedefinition ) ( ( ( ( STAR ) () )=> ( STAR ( (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] ) ) ) ) | ) ) ;
public final Object typedefinitions_priority_0() throws RecognitionException {
Object ret2 = null;
Object ret = null;
java.lang.String opName=null; org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3415:3: ( ( (ret= primary_data_classes_typedefinition ) ( ( ( ( STAR ) () )=> ( STAR ( (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] ) ) ) ) | ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3416:4: ( (ret= primary_data_classes_typedefinition ) ( ( ( ( STAR ) () )=> ( STAR ( (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] ) ) ) ) | ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3416:4: ( (ret= primary_data_classes_typedefinition ) ( ( ( ( STAR ) () )=> ( STAR ( (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] ) ) ) ) | ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3416:6: (ret= primary_data_classes_typedefinition ) ( ( ( ( STAR ) () )=> ( STAR ( (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] ) ) ) ) | )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3416:6: (ret= primary_data_classes_typedefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3416:8: ret= primary_data_classes_typedefinition
{
pushFollow(FOLLOW_primary_data_classes_typedefinition_in_typedefinitions_priority_013387);
ret=primary_data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3417:2: ( ( ( ( STAR ) () )=> ( STAR ( (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] ) ) ) ) | )
int alt108=2;
int LA108_0 = input.LA(1);
if ( (LA108_0==STAR) ) {
int LA108_1 = input.LA(2);
if ( (synpred40_Class()) ) {
alt108=1;
}
else if ( (true) ) {
alt108=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 108, 1, input);
throw nvae;
}
}
else if ( (LA108_0==EOF||LA108_0==NAME||LA108_0==INT||LA108_0==LCURL||LA108_0==RPAREN||LA108_0==LBRACKET||LA108_0==LBRACK_LCURL||LA108_0==LCURL_LBRACK||LA108_0==65||LA108_0==75) ) {
alt108=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 108, 0, input);
throw nvae;
}
switch (alt108) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:1: ( ( ( STAR ) () )=> ( STAR ( (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] ) ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:1: ( ( ( STAR ) () )=> ( STAR ( (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:2: ( ( STAR ) () )=> ( STAR ( (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:14: ( STAR ( (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:15: STAR ( (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] ) )
{
if ( state.backtracking==0 ) {
_enterOpSeq("*", 1, true);
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,STAR,FOLLOW_STAR_in_typedefinitions_priority_013404); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
opName = "*";
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:96: ( (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:97: (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:97: (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:98: ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp_in_typedefinitions_priority_013412);
ret=data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
this.setLocationAndComment(ret, firstToken);
}
}
}
if ( state.backtracking==0 ) {
_exitOpSeq();
}
}
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3421:1:
{
}
break;
}
}
if ( state.backtracking==0 ) {
this.setLocationAndComment(ret, firstToken);
ret2=ret;
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
}
return ret2;
}
// $ANTLR end "typedefinitions_priority_0"
// $ANTLR start "typedefinitions_priority_1"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3429:1: typedefinitions_priority_1 returns [Object ret2] : ( (ret= typedefinitions_priority_0 ( ( ( LBRACKET ) ( ( RBRACKET ) ) )=> ( LBRACKET ( ( RBRACKET )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] ) ) ) | ( ( LCURL ) ( ( RCURL ) ) )=> ( LCURL ( ( RCURL )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] ) ) ) )* ) ) ;
public final Object typedefinitions_priority_1() throws RecognitionException {
Object ret2 = null;
Object ret = null;
java.lang.String opName=null; org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3430:3: ( ( (ret= typedefinitions_priority_0 ( ( ( LBRACKET ) ( ( RBRACKET ) ) )=> ( LBRACKET ( ( RBRACKET )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] ) ) ) | ( ( LCURL ) ( ( RCURL ) ) )=> ( LCURL ( ( RCURL )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] ) ) ) )* ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:4: ( (ret= typedefinitions_priority_0 ( ( ( LBRACKET ) ( ( RBRACKET ) ) )=> ( LBRACKET ( ( RBRACKET )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] ) ) ) | ( ( LCURL ) ( ( RCURL ) ) )=> ( LCURL ( ( RCURL )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] ) ) ) )* ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:4: ( (ret= typedefinitions_priority_0 ( ( ( LBRACKET ) ( ( RBRACKET ) ) )=> ( LBRACKET ( ( RBRACKET )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] ) ) ) | ( ( LCURL ) ( ( RCURL ) ) )=> ( LCURL ( ( RCURL )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] ) ) ) )* ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:6: (ret= typedefinitions_priority_0 ( ( ( LBRACKET ) ( ( RBRACKET ) ) )=> ( LBRACKET ( ( RBRACKET )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] ) ) ) | ( ( LCURL ) ( ( RCURL ) ) )=> ( LCURL ( ( RCURL )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] ) ) ) )* )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:6: (ret= typedefinitions_priority_0 ( ( ( LBRACKET ) ( ( RBRACKET ) ) )=> ( LBRACKET ( ( RBRACKET )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] ) ) ) | ( ( LCURL ) ( ( RCURL ) ) )=> ( LCURL ( ( RCURL )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] ) ) ) )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:8: ret= typedefinitions_priority_0 ( ( ( LBRACKET ) ( ( RBRACKET ) ) )=> ( LBRACKET ( ( RBRACKET )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] ) ) ) | ( ( LCURL ) ( ( RCURL ) ) )=> ( LCURL ( ( RCURL )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] ) ) ) )*
{
pushFollow(FOLLOW_typedefinitions_priority_0_in_typedefinitions_priority_113461);
ret=typedefinitions_priority_0();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:38: ( ( ( LBRACKET ) ( ( RBRACKET ) ) )=> ( LBRACKET ( ( RBRACKET )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] ) ) ) | ( ( LCURL ) ( ( RCURL ) ) )=> ( LCURL ( ( RCURL )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] ) ) ) )*
loop109:
do {
int alt109=3;
int LA109_0 = input.LA(1);
if ( (LA109_0==LCURL) ) {
int LA109_2 = input.LA(2);
if ( (synpred43_Class()) ) {
alt109=2;
}
}
else if ( (LA109_0==LBRACKET) ) {
int LA109_3 = input.LA(2);
if ( (synpred41_Class()) ) {
alt109=1;
}
}
switch (alt109) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:39: ( ( LBRACKET ) ( ( RBRACKET ) ) )=> ( LBRACKET ( ( RBRACKET )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:65: ( LBRACKET ( ( RBRACKET )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:66: LBRACKET ( ( RBRACKET )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] ) )
{
if ( state.backtracking==0 ) {
_enterOpSeq("[", 2, false);
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,LBRACKET,FOLLOW_LBRACKET_in_typedefinitions_priority_113477); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
opName = "[";
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:152: ( ( RBRACKET )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:153: ( RBRACKET )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:165: (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:166: ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp_in_typedefinitions_priority_113489);
ret=data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
if ( state.backtracking==0 ) {
_exitOpSeq();
}
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:3: ( ( LCURL ) ( ( RCURL ) ) )=> ( LCURL ( ( RCURL )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:23: ( LCURL ( ( RCURL )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:24: LCURL ( ( RCURL )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] ) )
{
if ( state.backtracking==0 ) {
_enterOpSeq("{", 2, false);
}
if ( state.backtracking==0 ) {
_beforeSeqEl();
}
match(input,LCURL,FOLLOW_LCURL_in_typedefinitions_priority_113512); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
opName = "{";
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:107: ( ( RCURL )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:108: ( RCURL )=> (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:117: (ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:118: ret= data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[opName, ret, firstToken]
{
pushFollow(FOLLOW_data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp_in_typedefinitions_priority_113524);
ret=data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp(opName, ret, firstToken);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
}
if ( state.backtracking==0 ) {
_exitOpSeq();
}
}
}
break;
default :
break loop109;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
this.setLocationAndComment(ret, firstToken);
ret2=ret;
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
}
return ret2;
}
// $ANTLR end "typedefinitions_priority_1"
// $ANTLR start "data_classes_typedefinition"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3440:1: data_classes_typedefinition returns [Object ret2] : ret= typedefinitions_priority_1 ;
public final Object data_classes_typedefinition() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3441:3: (ret= typedefinitions_priority_1 )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3442:3: ret= typedefinitions_priority_1
{
pushFollow(FOLLOW_typedefinitions_priority_1_in_data_classes_typedefinition13561);
ret=typedefinitions_priority_1();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_typedefinition"
// $ANTLR start "data_classes_classtypedefinition"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3449:1: data_classes_classtypedefinition returns [Object ret2] : ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) | ( (temp= identifier ) ) ) ( ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) | () ) printmultiplicity[ret] ) ;
public final Object data_classes_classtypedefinition() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","ClassTypeDefinition");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3454:3: ( ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) | ( (temp= identifier ) ) ) ( ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) | () ) printmultiplicity[ret] ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:3: ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) | ( (temp= identifier ) ) ) ( ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) | () ) printmultiplicity[ret] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:3: ( ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) | ( (temp= identifier ) ) ) ( ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) | () ) printmultiplicity[ret] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:4: ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) | ( (temp= identifier ) ) ) ( ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) | () ) printmultiplicity[ret]
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D034F3170B311DFAFAAE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:64: ( ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) ) | ( (temp= identifier ) ) )
int alt110=2;
int LA110_0 = input.LA(1);
if ( (LA110_0==NAME) ) {
int LA110_1 = input.LA(2);
if ( (LA110_1==EOF||LA110_1==NAME||LA110_1==INT||(LA110_1>=PIPE && LA110_1<=LCURL)||LA110_1==RPAREN||LA110_1==LBRACKET||LA110_1==STAR||LA110_1==LBRACK_LCURL||LA110_1==LCURL_LBRACK||LA110_1==65||LA110_1==75) ) {
alt110=2;
}
else if ( (LA110_1==LANGLE) ) {
alt110=1;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 110, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 110, 0, input);
throw nvae;
}
switch (alt110) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:65: ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:81: ( (temp= data_generics_parameterizedclassinstantiation_typeDefinition ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:82: (temp= data_generics_parameterizedclassinstantiation_typeDefinition )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D00DE3770B311DF9CDAE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:141: (temp= data_generics_parameterizedclassinstantiation_typeDefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:143: temp= data_generics_parameterizedclassinstantiation_typeDefinition
{
pushFollow(FOLLOW_data_generics_parameterizedclassinstantiation_typeDefinition_in_data_classes_classtypedefinition13600);
temp=data_generics_parameterizedclassinstantiation_typeDefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "clazz", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:278: ( (temp= identifier ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:294: ( (temp= identifier ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:295: (temp= identifier )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D00DE3D70B311DF9923E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:354: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3455:356: temp= identifier
{
pushFollow(FOLLOW_identifier_in_data_classes_classtypedefinition13619);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "clazz", null, temp, "OCL:data::classes::SapClass.allInstances()->select(c | c.name = ?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D034F3F70B311DFB585E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3456:76: ( ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE ) | () )
int alt112=2;
int LA112_0 = input.LA(1);
if ( (LA112_0==PIPE) && (synpred45_Class())) {
alt112=1;
}
else if ( (LA112_0==EOF||LA112_0==NAME||LA112_0==INT||LA112_0==LCURL||LA112_0==RPAREN||LA112_0==LBRACKET||LA112_0==STAR||LA112_0==LBRACK_LCURL||LA112_0==LCURL_LBRACK||LA112_0==65||LA112_0==75) ) {
alt112=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 112, 0, input);
throw nvae;
}
switch (alt112) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3456:77: ( '|' )=> ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3456:102: ( PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3456:103: PIPE (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* ) PIPE
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D034F3270B311DFBC19E517C0A868C8");
}
match(input,PIPE,FOLLOW_PIPE_in_data_classes_classtypedefinition13643); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D034F3870B311DF9498E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3456:243: (temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3456:245: temp= data_classes_actualobjectparameter ( ( ',' ) temp= data_classes_actualobjectparameter )*
{
pushFollow(FOLLOW_data_classes_actualobjectparameter_in_data_classes_classtypedefinition13651);
temp=data_classes_actualobjectparameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedObjectParameters", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3456:336: ( ( ',' ) temp= data_classes_actualobjectparameter )*
loop111:
do {
int alt111=2;
int LA111_0 = input.LA(1);
if ( (LA111_0==67) ) {
alt111=1;
}
switch (alt111) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3456:337: ( ',' ) temp= data_classes_actualobjectparameter
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3456:354: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3456:355: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D034F3570B311DF9305E517C0A868C8");
}
match(input,67,FOLLOW_67_in_data_classes_classtypedefinition13659); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_data_classes_actualobjectparameter_in_data_classes_classtypedefinition13666);
temp=data_classes_actualobjectparameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedObjectParameters", temp);
}
}
break;
default :
break loop111;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D034F3970B311DF8E24E517C0A868C8");
}
match(input,PIPE,FOLLOW_PIPE_in_data_classes_classtypedefinition13676); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D034F3C70B311DF99C7E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setOclRef(ret, "objectParameters", null, null, "OCL:self.ownedObjectParameters", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3457:4: ()
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3457:20: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3457:21:
{
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D034F4070B311DF98C4E517C0A868C8");
}
pushFollow(FOLLOW_printmultiplicity_in_data_classes_classtypedefinition13698);
printmultiplicity(ret);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_classtypedefinition"
// $ANTLR start "data_generics_parameterizedclassinstantiation_typeDefinition"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3465:1: data_generics_parameterizedclassinstantiation_typeDefinition returns [Object ret2] : ( (temp= identifier ) LANGLE (temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )* ) RANGLE ) ;
public final Object data_generics_parameterizedclassinstantiation_typeDefinition() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","generics","ParameterizedClassInstantiation");
onEnterTemplateRule(metaType,"typeDefinition");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3470:3: ( ( (temp= identifier ) LANGLE (temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )* ) RANGLE ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3471:3: ( (temp= identifier ) LANGLE (temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )* ) RANGLE )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3471:3: ( (temp= identifier ) LANGLE (temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )* ) RANGLE )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3471:4: (temp= identifier ) LANGLE (temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )* ) RANGLE
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D034F4870B311DF8AC7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3471:63: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3471:65: temp= identifier
{
pushFollow(FOLLOW_identifier_in_data_generics_parameterizedclassinstantiation_typeDefinition13743);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setOclRef(ret, "parameterizedClass", null, temp, "OCL:data::classes::SapClass.allInstances()->select(c | c.isParameterizedClassDefinition())->select(c | c.name = ?)");
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D05C03070B311DFB738E517C0A868C8");
}
match(input,LANGLE,FOLLOW_LANGLE_in_data_generics_parameterizedclassinstantiation_typeDefinition13750); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D05C03370B311DF9B08E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3471:409: (temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )* )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3471:411: temp= data_generics_actualtypeparameter (temp= data_generics_actualtypeparameter )*
{
pushFollow(FOLLOW_data_generics_actualtypeparameter_in_data_generics_parameterizedclassinstantiation_typeDefinition13758);
temp=data_generics_actualtypeparameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "actualTypeParametersForInstantiation", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3471:516: (temp= data_generics_actualtypeparameter )*
loop113:
do {
int alt113=2;
int LA113_0 = input.LA(1);
if ( (LA113_0==NAME) ) {
alt113=1;
}
switch (alt113) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3471:518: temp= data_generics_actualtypeparameter
{
pushFollow(FOLLOW_data_generics_actualtypeparameter_in_data_generics_parameterizedclassinstantiation_typeDefinition13766);
temp=data_generics_actualtypeparameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "actualTypeParametersForInstantiation", temp);
}
}
break;
default :
break loop113;
}
} while (true);
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D05C03470B311DFA07FE517C0A868C8");
}
match(input,RANGLE,FOLLOW_RANGLE_in_data_generics_parameterizedclassinstantiation_typeDefinition13776); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D05C03970B311DF8D8CE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "name", list("PrimitiveTypes","String"), null, null, "parameterizedClass.name", null, null, false, null, true);_exitInjectorAction();_enterInjectorAction();setOclRef(ret, "package_", null, null, "OCL:#context(root).oclAsType(data::classes::SapClass).package_", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_generics_parameterizedclassinstantiation_typeDefinition"
// $ANTLR start "data_classes_functionsignaturetypedefinition"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3479:1: data_classes_functionsignaturetypedefinition returns [Object ret2] : ( (temp= data_classes_signature_functionSignatureTypeDefinition ) printmultiplicity[ret] ) ;
public final Object data_classes_functionsignaturetypedefinition() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","FunctionSignatureTypeDefinition");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3484:3: ( ( (temp= data_classes_signature_functionSignatureTypeDefinition ) printmultiplicity[ret] ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3485:3: ( (temp= data_classes_signature_functionSignatureTypeDefinition ) printmultiplicity[ret] )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3485:3: ( (temp= data_classes_signature_functionSignatureTypeDefinition ) printmultiplicity[ret] )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3485:4: (temp= data_classes_signature_functionSignatureTypeDefinition ) printmultiplicity[ret]
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D05C03F70B311DFC099E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3485:63: (temp= data_classes_signature_functionSignatureTypeDefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3485:65: temp= data_classes_signature_functionSignatureTypeDefinition
{
pushFollow(FOLLOW_data_classes_signature_functionSignatureTypeDefinition_in_data_classes_functionsignaturetypedefinition13824);
temp=data_classes_signature_functionSignatureTypeDefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "signature", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D05C04070B311DF8A0AE517C0A868C8");
}
pushFollow(FOLLOW_printmultiplicity_in_data_classes_functionsignaturetypedefinition13830);
printmultiplicity(ret);
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D05C04370B311DFA585E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "ownedSignature", list("data","classes","Signature"), null, null, "signature", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignaturetypedefinition"
// $ANTLR start "data_classes_signature_functionSignatureTypeDefinition"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3493:1: data_classes_signature_functionSignatureTypeDefinition returns [Object ret2] : (ret= data_classes_functionsignature_functionSignatureTypeDefinition ) ;
public final Object data_classes_signature_functionSignatureTypeDefinition() throws RecognitionException {
Object ret2 = null;
Object ret = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3494:3: ( (ret= data_classes_functionsignature_functionSignatureTypeDefinition ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3495:3: (ret= data_classes_functionsignature_functionSignatureTypeDefinition )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3495:3: (ret= data_classes_functionsignature_functionSignatureTypeDefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3495:4: ret= data_classes_functionsignature_functionSignatureTypeDefinition
{
pushFollow(FOLLOW_data_classes_functionsignature_functionSignatureTypeDefinition_in_data_classes_signature_functionSignatureTypeDefinition13871);
ret=data_classes_functionsignature_functionSignatureTypeDefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
}
if ( state.backtracking==0 ) {
ret2=ret;
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ret2;
}
// $ANTLR end "data_classes_signature_functionSignatureTypeDefinition"
// $ANTLR start "data_classes_functionsignature_functionSignatureTypeDefinition"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3502:1: data_classes_functionsignature_functionSignatureTypeDefinition returns [Object ret2] : ( 'function' ( ( 'const' ) | ) LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN COLON ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) ( ( LCURL ( INT ~ ( DDOT | RCURL ) | ~ STAR ) )=> ( (temp= data_classes_functionsignatureimplementation ) ) | () ) ) ;
public final Object data_classes_functionsignature_functionSignatureTypeDefinition() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","FunctionSignature");
onEnterTemplateRule(metaType,"functionSignatureTypeDefinition");
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3507:3: ( ( 'function' ( ( 'const' ) | ) LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN COLON ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) ( ( LCURL ( INT ~ ( DDOT | RCURL ) | ~ STAR ) )=> ( (temp= data_classes_functionsignatureimplementation ) ) | () ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3508:3: ( 'function' ( ( 'const' ) | ) LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN COLON ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) ( ( LCURL ( INT ~ ( DDOT | RCURL ) | ~ STAR ) )=> ( (temp= data_classes_functionsignatureimplementation ) ) | () ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3508:3: ( 'function' ( ( 'const' ) | ) LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN COLON ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) ( ( LCURL ( INT ~ ( DDOT | RCURL ) | ~ STAR ) )=> ( (temp= data_classes_functionsignatureimplementation ) ) | () ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3508:4: 'function' ( ( 'const' ) | ) LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN COLON ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) ) ( ( LCURL ( INT ~ ( DDOT | RCURL ) | ~ STAR ) )=> ( (temp= data_classes_functionsignatureimplementation ) ) | () )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D080A2270B311DF8AC5E517C0A868C8");
}
match(input,58,FOLLOW_58_in_data_classes_functionsignature_functionSignatureTypeDefinition13901); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D080A2870B311DF8D87E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3508:149: ( ( 'const' ) | )
int alt114=2;
int LA114_0 = input.LA(1);
if ( (LA114_0==64) ) {
alt114=1;
}
else if ( (LA114_0==LPAREN) ) {
alt114=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 114, 0, input);
throw nvae;
}
switch (alt114) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3508:150: ( 'const' )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3508:166: ( 'const' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3508:167: 'const'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D080A2670B311DFB0FCE517C0A868C8");
}
match(input,64,FOLLOW_64_in_data_classes_functionsignature_functionSignatureTypeDefinition13910); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "sideEffectFree", java.lang.Boolean.TRUE);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3508:328:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
setProperty(ret, "sideEffectFree", java.lang.Boolean.FALSE);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D080A2970B311DFC8EAE517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_data_classes_functionsignature_functionSignatureTypeDefinition13929); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0A7B2070B311DFC832E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:159: (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )?
int alt116=2;
int LA116_0 = input.LA(1);
if ( (LA116_0==NAME||LA116_0==LPAREN||LA116_0==58) ) {
alt116=1;
}
switch (alt116) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:161: temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )*
{
pushFollow(FOLLOW_data_classes_parameter_in_data_classes_functionsignature_functionSignatureTypeDefinition13937);
temp=data_classes_parameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "input", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:224: ( ( ',' ) temp= data_classes_parameter )*
loop115:
do {
int alt115=2;
int LA115_0 = input.LA(1);
if ( (LA115_0==67) ) {
alt115=1;
}
switch (alt115) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:225: ( ',' ) temp= data_classes_parameter
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:242: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:243: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D080A2B70B311DF8B61E517C0A868C8");
}
match(input,67,FOLLOW_67_in_data_classes_functionsignature_functionSignatureTypeDefinition13945); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_data_classes_parameter_in_data_classes_functionsignature_functionSignatureTypeDefinition13952);
temp=data_classes_parameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "input", temp);
}
}
break;
default :
break loop115;
}
} while (true);
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0A7B2170B311DFA595E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_data_classes_functionsignature_functionSignatureTypeDefinition13964); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0A7B2270B311DF8A09E517C0A868C8");
}
match(input,COLON,FOLLOW_COLON_in_data_classes_functionsignature_functionSignatureTypeDefinition13969); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0A7B2C70B311DFC57CE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:648: ( ( (temp= data_classes_typedefinition ) ) | ( 'void' ) )
int alt117=2;
int LA117_0 = input.LA(1);
if ( (LA117_0==NAME||LA117_0==LPAREN||LA117_0==58) ) {
alt117=1;
}
else if ( (LA117_0==86) ) {
alt117=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 117, 0, input);
throw nvae;
}
switch (alt117) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:649: ( (temp= data_classes_typedefinition ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:665: ( (temp= data_classes_typedefinition ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:666: (temp= data_classes_typedefinition )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0A7B2870B311DF9EAEE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:725: (temp= data_classes_typedefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:727: temp= data_classes_typedefinition
{
pushFollow(FOLLOW_data_classes_typedefinition_in_data_classes_functionsignature_functionSignatureTypeDefinition13983);
temp=data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "output", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:830: ( 'void' )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:846: ( 'void' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3509:847: 'void'
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0A7B2A70B311DF9797E517C0A868C8");
}
match(input,86,FOLLOW_86_in_data_classes_functionsignature_functionSignatureTypeDefinition13998); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0A7B2F70B311DFB39EE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "ownedTypeDefinitions", list("data","classes","TypeDefinition"), null, null, "output", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0A7B3570B311DF855AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3510:328: ( ( LCURL ( INT ~ ( DDOT | RCURL ) | ~ STAR ) )=> ( (temp= data_classes_functionsignatureimplementation ) ) | () )
int alt118=2;
switch ( input.LA(1) ) {
case LCURL:
{
int LA118_1 = input.LA(2);
if ( (synpred46_Class()) ) {
alt118=1;
}
else if ( (true) ) {
alt118=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 118, 1, input);
throw nvae;
}
}
break;
case 65:
{
int LA118_2 = input.LA(2);
if ( (synpred46_Class()) ) {
alt118=1;
}
else if ( (true) ) {
alt118=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 118, 2, input);
throw nvae;
}
}
break;
case EOF:
case NAME:
case INT:
case RPAREN:
case LBRACKET:
case STAR:
case LBRACK_LCURL:
case LCURL_LBRACK:
case 75:
{
alt118=2;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 118, 0, input);
throw nvae;
}
switch (alt118) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3510:329: ( LCURL ( INT ~ ( DDOT | RCURL ) | ~ STAR ) )=> ( (temp= data_classes_functionsignatureimplementation ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3510:386: ( (temp= data_classes_functionsignatureimplementation ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3510:387: (temp= data_classes_functionsignatureimplementation )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0A7B3270B311DF9F4CE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3510:446: (temp= data_classes_functionsignatureimplementation )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3510:448: temp= data_classes_functionsignatureimplementation
{
pushFollow(FOLLOW_data_classes_functionsignatureimplementation_in_data_classes_functionsignature_functionSignatureTypeDefinition14043);
temp=data_classes_functionsignatureimplementation();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "implementation", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3511:4: ()
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3511:20: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3511:21:
{
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignature_functionSignatureTypeDefinition"
// $ANTLR start "data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3519:1: data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( RBRACKET ) ;
public final Object data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NestedTypeDefinition");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3524:3: ( ( RBRACKET ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3525:3: ( RBRACKET )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3525:3: ( RBRACKET )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3525:4: RBRACKET
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0CC51270B311DFCEC9E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "ownedTypeDefinition", list("data","classes","TypeDefinition"), null, null, "type", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0CC51370B311DFBAA6E517C0A868C8");
}
match(input,RBRACKET,FOLLOW_RBRACKET_in_data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp14106); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0CC51C70B311DFB8C6E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"type" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp"
// $ANTLR start "data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3535:1: data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : ( RCURL ) ;
public final Object data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NestedTypeDefinition");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3540:3: ( ( RCURL ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3541:3: ( RCURL )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3541:3: ( RCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3541:4: RCURL
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0CC52370B311DFB9D0E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "ownedTypeDefinition", list("data","classes","TypeDefinition"), null, null, "type", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0CC52470B311DFB445E517C0A868C8");
}
match(input,RCURL,FOLLOW_RCURL_in_data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp14147); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0CC52D70B311DFBC4BE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"type" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp"
// $ANTLR start "data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3551:1: data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp[java.lang.String opName, Object left, org.antlr.runtime.Token firstToken] returns [Object ret2] : () ;
public final Object data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp(java.lang.String opName, Object left, org.antlr.runtime.Token firstToken) throws RecognitionException {
Object ret2 = null;
List<String> metaType=list("data","classes","NestedTypeDefinition");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3556:3: ( () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3557:3: ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3557:3: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3557:4:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0F361670B311DFC3CEE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "ownedTypeDefinition", list("data","classes","TypeDefinition"), null, null, "type", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D0F361F70B311DFB293E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
// discarding operator name instead of storing it here
setProperty(ret,"type" , left);
ret2 = createOrResolve(ret, firstToken);
onRuleElementCreationCommited(ret2);
}
}
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp"
// $ANTLR start "data_classes_functionsignature"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3567:1: data_classes_functionsignature returns [Object ret2] : ( 'function' LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN ( ( COLON (temp= data_classes_typedefinition ) ) | ) (temp= data_classes_functionsignatureimplementation )? ) ;
public final Object data_classes_functionsignature() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","FunctionSignature");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, true, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3572:3: ( ( 'function' LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN ( ( COLON (temp= data_classes_typedefinition ) ) | ) (temp= data_classes_functionsignatureimplementation )? ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:3: ( 'function' LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN ( ( COLON (temp= data_classes_typedefinition ) ) | ) (temp= data_classes_functionsignatureimplementation )? )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:3: ( 'function' LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN ( ( COLON (temp= data_classes_typedefinition ) ) | ) (temp= data_classes_functionsignatureimplementation )? )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:4: 'function' LPAREN (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )? RPAREN ( ( COLON (temp= data_classes_typedefinition ) ) | ) (temp= data_classes_functionsignatureimplementation )?
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D13F10070B311DFB737E517C0A868C8");
}
match(input,58,FOLLOW_58_in_data_classes_functionsignature14219); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D13F10170B311DFC9F1E517C0A868C8");
}
match(input,LPAREN,FOLLOW_LPAREN_in_data_classes_functionsignature14223); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D13F10670B311DFC461E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:231: (temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )* )?
int alt120=2;
int LA120_0 = input.LA(1);
if ( (LA120_0==NAME||LA120_0==LPAREN||LA120_0==58) ) {
alt120=1;
}
switch (alt120) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:233: temp= data_classes_parameter ( ( ',' ) temp= data_classes_parameter )*
{
pushFollow(FOLLOW_data_classes_parameter_in_data_classes_functionsignature14231);
temp=data_classes_parameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "input", temp);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:296: ( ( ',' ) temp= data_classes_parameter )*
loop119:
do {
int alt119=2;
int LA119_0 = input.LA(1);
if ( (LA119_0==67) ) {
alt119=1;
}
switch (alt119) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:297: ( ',' ) temp= data_classes_parameter
{
if ( state.backtracking==0 ) {
_enterSepSeq();
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:314: ( ',' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:315: ','
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D13F10370B311DF92AEE517C0A868C8");
}
match(input,67,FOLLOW_67_in_data_classes_functionsignature14239); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitSepSeq();
}
pushFollow(FOLLOW_data_classes_parameter_in_data_classes_functionsignature14246);
temp=data_classes_parameter();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "input", temp);
}
}
break;
default :
break loop119;
}
} while (true);
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D13F10770B311DF8C64E517C0A868C8");
}
match(input,RPAREN,FOLLOW_RPAREN_in_data_classes_functionsignature14258); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D13F11070B311DFAF1BE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:638: ( ( COLON (temp= data_classes_typedefinition ) ) | )
int alt121=2;
int LA121_0 = input.LA(1);
if ( (LA121_0==COLON) ) {
alt121=1;
}
else if ( (LA121_0==EOF||LA121_0==LCURL||LA121_0==65) ) {
alt121=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 121, 0, input);
throw nvae;
}
switch (alt121) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:639: ( COLON (temp= data_classes_typedefinition ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:655: ( COLON (temp= data_classes_typedefinition ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:656: COLON (temp= data_classes_typedefinition )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D13F10B70B311DF9A0EE517C0A868C8");
}
match(input,COLON,FOLLOW_COLON_in_data_classes_functionsignature14269); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D13F10E70B311DF9DB7E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:797: (temp= data_classes_typedefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:799: temp= data_classes_typedefinition
{
pushFollow(FOLLOW_data_classes_typedefinition_in_data_classes_functionsignature14277);
temp=data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "output", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3573:902:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D13F11370B311DF9756E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setRef(ret, "ownedTypeDefinitions", list("data","classes","TypeDefinition"), null, null, "output", null, null, false, null, true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D13F11570B311DF8495E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3574:328: (temp= data_classes_functionsignatureimplementation )?
int alt122=2;
int LA122_0 = input.LA(1);
if ( (LA122_0==LCURL||LA122_0==65) ) {
alt122=1;
}
switch (alt122) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3574:330: temp= data_classes_functionsignatureimplementation
{
pushFollow(FOLLOW_data_classes_functionsignatureimplementation_in_data_classes_functionsignature14303);
temp=data_classes_functionsignatureimplementation();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "implementation", temp);
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, true);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_functionsignature"
// $ANTLR start "data_classes_parameter"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3582:1: data_classes_parameter returns [Object ret2] : ( (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) ;
public final Object data_classes_parameter() throws RecognitionException {
Object ret2 = null;
Object temp = null;
List<String> metaType=list("data","classes","Parameter");
onEnterTemplateRule(metaType);
IModelElementProxy ret=(getBacktrackingLevel()==0) ? createModelElementProxy(metaType, false, false) : null;
org.antlr.runtime.Token firstToken=input.LT(1);
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3587:3: ( ( (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:3: ( (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:3: ( (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:4: (temp= data_classes_typedefinition ) (temp= identifier ) ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D16620270B311DFBD6AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:63: (temp= data_classes_typedefinition )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:65: temp= data_classes_typedefinition
{
pushFollow(FOLLOW_data_classes_typedefinition_in_data_classes_parameter14352);
temp=data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "ownedTypeDefinition", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D16620470B311DFCA6AE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:222: (temp= identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:224: temp= identifier
{
pushFollow(FOLLOW_identifier_in_data_classes_parameter14362);
temp=identifier();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "name", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D16620C70B311DFA27DE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:350: ( ( EQUALS (temp= dataaccess_expressions_expression ) ) | )
int alt123=2;
int LA123_0 = input.LA(1);
if ( (LA123_0==EQUALS) ) {
alt123=1;
}
else if ( (LA123_0==PIPE||LA123_0==RPAREN||LA123_0==67) ) {
alt123=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ret2;}
NoViableAltException nvae =
new NoViableAltException("", 123, 0, input);
throw nvae;
}
switch (alt123) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:351: ( EQUALS (temp= dataaccess_expressions_expression ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:367: ( EQUALS (temp= dataaccess_expressions_expression ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:368: EQUALS (temp= dataaccess_expressions_expression )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D16620870B311DF8493E517C0A868C8");
}
match(input,EQUALS,FOLLOW_EQUALS_in_data_classes_parameter14375); if (state.failed) return ret2;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D16620A70B311DF9189E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:510: (temp= dataaccess_expressions_expression )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:512: temp= dataaccess_expressions_expression
{
pushFollow(FOLLOW_dataaccess_expressions_expression_in_data_classes_parameter14383);
temp=dataaccess_expressions_expression();
checkFollows();
state._fsp--;
if (state.failed) return ret2;
if ( state.backtracking==0 ) {
setProperty(ret, "defaultValue", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3588:627:
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
ret2 = commitCreation(ret, firstToken, false);
}
}
}
catch (Exception e) {
handleExceptionInTemplateRule(e, firstToken, ret);
}
finally {
onExitTemplateRule(metaType);
}
return ret2;
}
// $ANTLR end "data_classes_parameter"
// $ANTLR start "printmultiplicity"
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3597:1: printmultiplicity[Object ret] : ( ( ( integerSymbol DDOT STAR | integerSymbol DDOT integerSymbol )=> ( (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol DDOT )=> ( LBRACKET (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LCURL integerSymbol DDOT )=> ( LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LBRACK_LCURL integerSymbol DDOT )=> ( LBRACK_LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK integerSymbol DDOT )=> ( LCURL_LBRACK (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( STAR | integerSymbol ~ DDOT )=> ( ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol RBRACKET | LBRACKET STAR RBRACKET )=> ( LBRACKET ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LBRACKET RBRACKET )=> ( LBRACKET RBRACKET ) | ( LCURL STAR RCURL | LCURL integerSymbol RCURL )=> ( LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LCURL RCURL )=> ( LCURL RCURL ) | ( LBRACK_LCURL STAR RCURL_RBRACK | LBRACK_LCURL integerSymbol RCURL_RBRACK )=> ( LBRACK_LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK STAR RBRACK_RCURL | LCURL_LBRACK integerSymbol RBRACK_RCURL )=> ( LCURL_LBRACK ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( LCURL_LBRACK RBRACK_RCURL )=> ( LCURL_LBRACK RBRACK_RCURL ) | ( LBRACK_LCURL RCURL_RBRACK )=> ( LBRACK_LCURL RCURL_RBRACK ) | () ) ) ;
public final void printmultiplicity(Object ret) throws RecognitionException {
Object temp = null;
try {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3598:3: ( ( ( ( integerSymbol DDOT STAR | integerSymbol DDOT integerSymbol )=> ( (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol DDOT )=> ( LBRACKET (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LCURL integerSymbol DDOT )=> ( LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LBRACK_LCURL integerSymbol DDOT )=> ( LBRACK_LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK integerSymbol DDOT )=> ( LCURL_LBRACK (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( STAR | integerSymbol ~ DDOT )=> ( ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol RBRACKET | LBRACKET STAR RBRACKET )=> ( LBRACKET ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LBRACKET RBRACKET )=> ( LBRACKET RBRACKET ) | ( LCURL STAR RCURL | LCURL integerSymbol RCURL )=> ( LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LCURL RCURL )=> ( LCURL RCURL ) | ( LBRACK_LCURL STAR RCURL_RBRACK | LBRACK_LCURL integerSymbol RCURL_RBRACK )=> ( LBRACK_LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK STAR RBRACK_RCURL | LCURL_LBRACK integerSymbol RBRACK_RCURL )=> ( LCURL_LBRACK ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( LCURL_LBRACK RBRACK_RCURL )=> ( LCURL_LBRACK RBRACK_RCURL ) | ( LBRACK_LCURL RCURL_RBRACK )=> ( LBRACK_LCURL RCURL_RBRACK ) | () ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:3: ( ( ( integerSymbol DDOT STAR | integerSymbol DDOT integerSymbol )=> ( (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol DDOT )=> ( LBRACKET (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LCURL integerSymbol DDOT )=> ( LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LBRACK_LCURL integerSymbol DDOT )=> ( LBRACK_LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK integerSymbol DDOT )=> ( LCURL_LBRACK (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( STAR | integerSymbol ~ DDOT )=> ( ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol RBRACKET | LBRACKET STAR RBRACKET )=> ( LBRACKET ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LBRACKET RBRACKET )=> ( LBRACKET RBRACKET ) | ( LCURL STAR RCURL | LCURL integerSymbol RCURL )=> ( LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LCURL RCURL )=> ( LCURL RCURL ) | ( LBRACK_LCURL STAR RCURL_RBRACK | LBRACK_LCURL integerSymbol RCURL_RBRACK )=> ( LBRACK_LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK STAR RBRACK_RCURL | LCURL_LBRACK integerSymbol RBRACK_RCURL )=> ( LCURL_LBRACK ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( LCURL_LBRACK RBRACK_RCURL )=> ( LCURL_LBRACK RBRACK_RCURL ) | ( LBRACK_LCURL RCURL_RBRACK )=> ( LBRACK_LCURL RCURL_RBRACK ) | () ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:3: ( ( ( integerSymbol DDOT STAR | integerSymbol DDOT integerSymbol )=> ( (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol DDOT )=> ( LBRACKET (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LCURL integerSymbol DDOT )=> ( LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LBRACK_LCURL integerSymbol DDOT )=> ( LBRACK_LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK integerSymbol DDOT )=> ( LCURL_LBRACK (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( STAR | integerSymbol ~ DDOT )=> ( ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol RBRACKET | LBRACKET STAR RBRACKET )=> ( LBRACKET ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LBRACKET RBRACKET )=> ( LBRACKET RBRACKET ) | ( LCURL STAR RCURL | LCURL integerSymbol RCURL )=> ( LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LCURL RCURL )=> ( LCURL RCURL ) | ( LBRACK_LCURL STAR RCURL_RBRACK | LBRACK_LCURL integerSymbol RCURL_RBRACK )=> ( LBRACK_LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK STAR RBRACK_RCURL | LCURL_LBRACK integerSymbol RBRACK_RCURL )=> ( LCURL_LBRACK ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( LCURL_LBRACK RBRACK_RCURL )=> ( LCURL_LBRACK RBRACK_RCURL ) | ( LBRACK_LCURL RCURL_RBRACK )=> ( LBRACK_LCURL RCURL_RBRACK ) | () ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:4: ( ( integerSymbol DDOT STAR | integerSymbol DDOT integerSymbol )=> ( (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol DDOT )=> ( LBRACKET (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LCURL integerSymbol DDOT )=> ( LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LBRACK_LCURL integerSymbol DDOT )=> ( LBRACK_LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK integerSymbol DDOT )=> ( LCURL_LBRACK (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( STAR | integerSymbol ~ DDOT )=> ( ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol RBRACKET | LBRACKET STAR RBRACKET )=> ( LBRACKET ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LBRACKET RBRACKET )=> ( LBRACKET RBRACKET ) | ( LCURL STAR RCURL | LCURL integerSymbol RCURL )=> ( LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LCURL RCURL )=> ( LCURL RCURL ) | ( LBRACK_LCURL STAR RCURL_RBRACK | LBRACK_LCURL integerSymbol RCURL_RBRACK )=> ( LBRACK_LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK STAR RBRACK_RCURL | LCURL_LBRACK integerSymbol RBRACK_RCURL )=> ( LCURL_LBRACK ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( LCURL_LBRACK RBRACK_RCURL )=> ( LCURL_LBRACK RBRACK_RCURL ) | ( LBRACK_LCURL RCURL_RBRACK )=> ( LBRACK_LCURL RCURL_RBRACK ) | () )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D24BA0770B311DF8F91E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:63: ( ( integerSymbol DDOT STAR | integerSymbol DDOT integerSymbol )=> ( (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol DDOT )=> ( LBRACKET (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LCURL integerSymbol DDOT )=> ( LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LBRACK_LCURL integerSymbol DDOT )=> ( LBRACK_LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK integerSymbol DDOT )=> ( LCURL_LBRACK (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( STAR | integerSymbol ~ DDOT )=> ( ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol RBRACKET | LBRACKET STAR RBRACKET )=> ( LBRACKET ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LBRACKET RBRACKET )=> ( LBRACKET RBRACKET ) | ( LCURL STAR RCURL | LCURL integerSymbol RCURL )=> ( LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LCURL RCURL )=> ( LCURL RCURL ) | ( LBRACK_LCURL STAR RCURL_RBRACK | LBRACK_LCURL integerSymbol RCURL_RBRACK )=> ( LBRACK_LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK STAR RBRACK_RCURL | LCURL_LBRACK integerSymbol RBRACK_RCURL )=> ( LCURL_LBRACK ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( LCURL_LBRACK RBRACK_RCURL )=> ( LCURL_LBRACK RBRACK_RCURL ) | ( LBRACK_LCURL RCURL_RBRACK )=> ( LBRACK_LCURL RCURL_RBRACK ) | () )
int alt134=15;
alt134 = dfa134.predict(input);
switch (alt134) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:64: ( integerSymbol DDOT STAR | integerSymbol DDOT integerSymbol )=> ( (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:144: ( (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:145: (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D18ABF370B311DFA240E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:204: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:206: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity14460);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "lowerMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D18ABF470B311DFB918E517C0A868C8");
}
match(input,DDOT,FOLLOW_DDOT_in_printmultiplicity14467); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D18ABFE70B311DFAA85E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:429: ( ( STAR ) | ( (temp= integerSymbol ) ) )
int alt124=2;
int LA124_0 = input.LA(1);
if ( (LA124_0==STAR) ) {
alt124=1;
}
else if ( (LA124_0==INT) ) {
alt124=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 124, 0, input);
throw nvae;
}
switch (alt124) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:430: ( STAR )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:446: ( STAR )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:447: STAR
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D18ABF970B311DFA493E517C0A868C8");
}
match(input,STAR,FOLLOW_STAR_in_printmultiplicity14478); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", new Integer(-1));
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:603: ( (temp= integerSymbol ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:619: ( (temp= integerSymbol ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:620: (temp= integerSymbol )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D18ABFC70B311DFB8C2E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:679: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:681: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity14496);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D18AC0370B311DFB47AE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:4: ( LBRACKET integerSymbol DDOT )=> ( LBRACKET (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:53: ( LBRACKET (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:54: LBRACKET (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D18AC0570B311DFB7FDE517C0A868C8");
}
match(input,LBRACKET,FOLLOW_LBRACKET_in_printmultiplicity14533); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D18AC0770B311DF9AA3E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:198: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:200: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity14541);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "lowerMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D18AC0870B311DF932AE517C0A868C8");
}
match(input,DDOT,FOLLOW_DDOT_in_printmultiplicity14548); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1CF670B311DF8CBDE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:423: ( ( STAR ) | ( (temp= integerSymbol ) ) )
int alt125=2;
int LA125_0 = input.LA(1);
if ( (LA125_0==STAR) ) {
alt125=1;
}
else if ( (LA125_0==INT) ) {
alt125=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 125, 0, input);
throw nvae;
}
switch (alt125) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:424: ( STAR )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:440: ( STAR )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:441: STAR
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1CF170B311DFBCAEE517C0A868C8");
}
match(input,STAR,FOLLOW_STAR_in_printmultiplicity14559); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", new Integer(-1));
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:597: ( (temp= integerSymbol ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:613: ( (temp= integerSymbol ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:614: (temp= integerSymbol )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1CF470B311DFA0E6E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:673: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:675: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity14577);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1CFB70B311DFA38CE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1CFC70B311DFA3D7E517C0A868C8");
}
match(input,RBRACKET,FOLLOW_RBRACKET_in_printmultiplicity14594); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:4: ( LCURL integerSymbol DDOT )=> ( LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL )
{
if ( state.backtracking==0 ) {
_enterAlt(2);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:50: ( LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:51: LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1CFE70B311DFB70DE517C0A868C8");
}
match(input,LCURL,FOLLOW_LCURL_in_printmultiplicity14619); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1D0070B311DFA54BE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:192: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:194: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity14627);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "lowerMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1D0170B311DFC0A5E517C0A868C8");
}
match(input,DDOT,FOLLOW_DDOT_in_printmultiplicity14634); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1D0B70B311DFC26EE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:417: ( ( STAR ) | ( (temp= integerSymbol ) ) )
int alt126=2;
int LA126_0 = input.LA(1);
if ( (LA126_0==STAR) ) {
alt126=1;
}
else if ( (LA126_0==INT) ) {
alt126=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 126, 0, input);
throw nvae;
}
switch (alt126) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:418: ( STAR )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:434: ( STAR )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:435: STAR
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1D0670B311DF81A7E517C0A868C8");
}
match(input,STAR,FOLLOW_STAR_in_printmultiplicity14645); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", new Integer(-1));
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:591: ( (temp= integerSymbol ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:607: ( (temp= integerSymbol ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:608: (temp= integerSymbol )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1D0970B311DFA44FE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:667: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:669: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity14663);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1D1070B311DFC29BE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1D1170B311DF8C59E517C0A868C8");
}
match(input,RCURL,FOLLOW_RCURL_in_printmultiplicity14680); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 4 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:4: ( LBRACK_LCURL integerSymbol DDOT )=> ( LBRACK_LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK )
{
if ( state.backtracking==0 ) {
_enterAlt(3);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:57: ( LBRACK_LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:58: LBRACK_LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1D1370B311DF91C4E517C0A868C8");
}
match(input,LBRACK_LCURL,FOLLOW_LBRACK_LCURL_in_printmultiplicity14705); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1D1570B311DFBDE6E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:206: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:208: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity14713);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "lowerMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1D1670B311DFA636E517C0A868C8");
}
match(input,DDOT,FOLLOW_DDOT_in_printmultiplicity14720); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8DF070B311DFCFA0E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:431: ( ( STAR ) | ( (temp= integerSymbol ) ) )
int alt127=2;
int LA127_0 = input.LA(1);
if ( (LA127_0==STAR) ) {
alt127=1;
}
else if ( (LA127_0==INT) ) {
alt127=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 127, 0, input);
throw nvae;
}
switch (alt127) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:432: ( STAR )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:448: ( STAR )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:449: STAR
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1D1B70B311DFBBBDE517C0A868C8");
}
match(input,STAR,FOLLOW_STAR_in_printmultiplicity14731); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", new Integer(-1));
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:605: ( (temp= integerSymbol ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:621: ( (temp= integerSymbol ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:622: (temp= integerSymbol )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1B1D1E70B311DFA0B5E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:681: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:683: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity14749);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8DF570B311DFCDB8E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8DF670B311DF9431E517C0A868C8");
}
match(input,RCURL_RBRACK,FOLLOW_RCURL_RBRACK_in_printmultiplicity14766); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 5 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:4: ( LCURL_LBRACK integerSymbol DDOT )=> ( LCURL_LBRACK (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL )
{
if ( state.backtracking==0 ) {
_enterAlt(4);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:57: ( LCURL_LBRACK (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:58: LCURL_LBRACK (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8DF870B311DFA55EE517C0A868C8");
}
match(input,LCURL_LBRACK,FOLLOW_LCURL_LBRACK_in_printmultiplicity14791); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8DFA70B311DFAD1CE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:206: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:208: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity14799);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "lowerMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8DFB70B311DF9AB1E517C0A868C8");
}
match(input,DDOT,FOLLOW_DDOT_in_printmultiplicity14806); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8E0570B311DF9066E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:431: ( ( STAR ) | ( (temp= integerSymbol ) ) )
int alt128=2;
int LA128_0 = input.LA(1);
if ( (LA128_0==STAR) ) {
alt128=1;
}
else if ( (LA128_0==INT) ) {
alt128=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 128, 0, input);
throw nvae;
}
switch (alt128) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:432: ( STAR )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:448: ( STAR )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:449: STAR
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8E0070B311DFC3F3E517C0A868C8");
}
match(input,STAR,FOLLOW_STAR_in_printmultiplicity14817); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", new Integer(-1));
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:605: ( (temp= integerSymbol ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:621: ( (temp= integerSymbol ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:622: (temp= integerSymbol )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8E0370B311DF915CE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:681: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:683: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity14835);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8E0A70B311DF82FFE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8E0B70B311DFCC8CE517C0A868C8");
}
match(input,RBRACK_RCURL,FOLLOW_RBRACK_RCURL_in_printmultiplicity14852); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 6 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:4: ( STAR | integerSymbol ~ DDOT )=> ( ( ( STAR ) | ( (temp= integerSymbol ) ) ) )
{
if ( state.backtracking==0 ) {
_enterAlt(5);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:52: ( ( ( STAR ) | ( (temp= integerSymbol ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:53: ( ( STAR ) | ( (temp= integerSymbol ) ) )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8E1670B311DFB9F6E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:113: ( ( STAR ) | ( (temp= integerSymbol ) ) )
int alt129=2;
int LA129_0 = input.LA(1);
if ( (LA129_0==STAR) ) {
alt129=1;
}
else if ( (LA129_0==INT) ) {
alt129=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 129, 0, input);
throw nvae;
}
switch (alt129) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:114: ( STAR )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:130: ( STAR )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:131: STAR
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8E1170B311DFA77FE517C0A868C8");
}
match(input,STAR,FOLLOW_STAR_in_printmultiplicity14886); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", new Integer(-1));
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:287: ( (temp= integerSymbol ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:303: ( (temp= integerSymbol ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:304: (temp= integerSymbol )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8E1470B311DFC585E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:363: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:365: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity14904);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1D8E1D70B311DFA0BBE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 7 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:4: ( LBRACKET integerSymbol RBRACKET | LBRACKET STAR RBRACKET )=> ( LBRACKET ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET )
{
if ( state.backtracking==0 ) {
_enterAlt(6);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:82: ( LBRACKET ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:83: LBRACKET ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD7E070B311DFBFC5E517C0A868C8");
}
match(input,LBRACKET,FOLLOW_LBRACKET_in_printmultiplicity14949); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD7EA70B311DFC7F1E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:228: ( ( STAR ) | ( (temp= integerSymbol ) ) )
int alt130=2;
int LA130_0 = input.LA(1);
if ( (LA130_0==STAR) ) {
alt130=1;
}
else if ( (LA130_0==INT) ) {
alt130=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 130, 0, input);
throw nvae;
}
switch (alt130) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:229: ( STAR )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:245: ( STAR )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:246: STAR
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD7E570B311DF868CE517C0A868C8");
}
match(input,STAR,FOLLOW_STAR_in_printmultiplicity14960); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", new Integer(-1));
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:402: ( (temp= integerSymbol ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:418: ( (temp= integerSymbol ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:419: (temp= integerSymbol )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD7E870B311DFC42BE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:478: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:480: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity14978);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD7F170B311DFB5C2E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD7F270B311DFB24FE517C0A868C8");
}
match(input,RBRACKET,FOLLOW_RBRACKET_in_printmultiplicity14995); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 8 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3613:4: ( LBRACKET RBRACKET )=> ( LBRACKET RBRACKET )
{
if ( state.backtracking==0 ) {
_enterAlt(7);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3613:43: ( LBRACKET RBRACKET )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3613:44: LBRACKET RBRACKET
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD7F470B311DFC884E517C0A868C8");
}
match(input,LBRACKET,FOLLOW_LBRACKET_in_printmultiplicity15018); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD7FD70B311DFB6DFE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD7FE70B311DFA395E517C0A868C8");
}
match(input,RBRACKET,FOLLOW_RBRACKET_in_printmultiplicity15026); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 9 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:4: ( LCURL STAR RCURL | LCURL integerSymbol RCURL )=> ( LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL )
{
if ( state.backtracking==0 ) {
_enterAlt(8);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:70: ( LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:71: LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD80070B311DF937AE517C0A868C8");
}
match(input,LCURL,FOLLOW_LCURL_in_printmultiplicity15059); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD80A70B311DF8AB5E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:213: ( ( STAR ) | ( (temp= integerSymbol ) ) )
int alt131=2;
int LA131_0 = input.LA(1);
if ( (LA131_0==STAR) ) {
alt131=1;
}
else if ( (LA131_0==INT) ) {
alt131=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 131, 0, input);
throw nvae;
}
switch (alt131) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:214: ( STAR )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:230: ( STAR )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:231: STAR
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD80570B311DFB0F1E517C0A868C8");
}
match(input,STAR,FOLLOW_STAR_in_printmultiplicity15070); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", new Integer(-1));
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:387: ( (temp= integerSymbol ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:403: ( (temp= integerSymbol ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:404: (temp= integerSymbol )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD80870B311DF9C84E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:463: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:465: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity15088);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD81170B311DF8E79E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D1FD81270B311DFA13EE517C0A868C8");
}
match(input,RCURL,FOLLOW_RCURL_in_printmultiplicity15105); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 10 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3616:4: ( LCURL RCURL )=> ( LCURL RCURL )
{
if ( state.backtracking==0 ) {
_enterAlt(9);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3616:37: ( LCURL RCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3616:38: LCURL RCURL
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D2248E070B311DFA19AE517C0A868C8");
}
match(input,LCURL,FOLLOW_LCURL_in_printmultiplicity15128); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D2248E970B311DFA4AEE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D2248EA70B311DFBE53E517C0A868C8");
}
match(input,RCURL,FOLLOW_RCURL_in_printmultiplicity15136); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 11 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:4: ( LBRACK_LCURL STAR RCURL_RBRACK | LBRACK_LCURL integerSymbol RCURL_RBRACK )=> ( LBRACK_LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK )
{
if ( state.backtracking==0 ) {
_enterAlt(10);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:99: ( LBRACK_LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:100: LBRACK_LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D2248EC70B311DFAB71E517C0A868C8");
}
match(input,LBRACK_LCURL,FOLLOW_LBRACK_LCURL_in_printmultiplicity15169); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D2248F670B311DF9C59E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:249: ( ( STAR ) | ( (temp= integerSymbol ) ) )
int alt132=2;
int LA132_0 = input.LA(1);
if ( (LA132_0==STAR) ) {
alt132=1;
}
else if ( (LA132_0==INT) ) {
alt132=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 132, 0, input);
throw nvae;
}
switch (alt132) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:250: ( STAR )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:266: ( STAR )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:267: STAR
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D2248F170B311DFA7AAE517C0A868C8");
}
match(input,STAR,FOLLOW_STAR_in_printmultiplicity15180); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", new Integer(-1));
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:423: ( (temp= integerSymbol ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:439: ( (temp= integerSymbol ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:440: (temp= integerSymbol )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D2248F470B311DFC34EE517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:499: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:501: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity15198);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D2248FD70B311DFC4DCE517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D2248FE70B311DFC8F8E517C0A868C8");
}
match(input,RCURL_RBRACK,FOLLOW_RCURL_RBRACK_in_printmultiplicity15215); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 12 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:4: ( LCURL_LBRACK STAR RBRACK_RCURL | LCURL_LBRACK integerSymbol RBRACK_RCURL )=> ( LCURL_LBRACK ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL )
{
if ( state.backtracking==0 ) {
_enterAlt(11);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:99: ( LCURL_LBRACK ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:100: LCURL_LBRACK ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D22490070B311DFCED9E517C0A868C8");
}
match(input,LCURL_LBRACK,FOLLOW_LCURL_LBRACK_in_printmultiplicity15248); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D22490A70B311DFC4B0E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:249: ( ( STAR ) | ( (temp= integerSymbol ) ) )
int alt133=2;
int LA133_0 = input.LA(1);
if ( (LA133_0==STAR) ) {
alt133=1;
}
else if ( (LA133_0==INT) ) {
alt133=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 133, 0, input);
throw nvae;
}
switch (alt133) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:250: ( STAR )
{
if ( state.backtracking==0 ) {
_enterAlt(0);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:266: ( STAR )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:267: STAR
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D22490570B311DFBAB8E517C0A868C8");
}
match(input,STAR,FOLLOW_STAR_in_printmultiplicity15259); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", new Integer(-1));
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:423: ( (temp= integerSymbol ) )
{
if ( state.backtracking==0 ) {
_enterAlt(1);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:439: ( (temp= integerSymbol ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:440: (temp= integerSymbol )
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D22490870B311DF9340E517C0A868C8");
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:499: (temp= integerSymbol )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:501: temp= integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_printmultiplicity15277);
temp=integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( state.backtracking==0 ) {
setProperty(ret, "upperMultiplicity", temp);
}
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D24B9E270B311DF9568E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D24B9E370B311DF83ECE517C0A868C8");
}
match(input,RBRACK_RCURL,FOLLOW_RBRACK_RCURL_in_printmultiplicity15294); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 13 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3621:4: ( LCURL_LBRACK RBRACK_RCURL )=> ( LCURL_LBRACK RBRACK_RCURL )
{
if ( state.backtracking==0 ) {
_enterAlt(12);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3621:52: ( LCURL_LBRACK RBRACK_RCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3621:53: LCURL_LBRACK RBRACK_RCURL
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D24B9E570B311DFAEF9E517C0A868C8");
}
match(input,LCURL_LBRACK,FOLLOW_LCURL_LBRACK_in_printmultiplicity15317); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D24B9EE70B311DF8249E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D24B9EF70B311DF9439E517C0A868C8");
}
match(input,RBRACK_RCURL,FOLLOW_RBRACK_RCURL_in_printmultiplicity15325); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 14 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3622:4: ( LBRACK_LCURL RCURL_RBRACK )=> ( LBRACK_LCURL RCURL_RBRACK )
{
if ( state.backtracking==0 ) {
_enterAlt(13);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3622:52: ( LBRACK_LCURL RCURL_RBRACK )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3622:53: LBRACK_LCURL RCURL_RBRACK
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D24B9F170B311DFB777E517C0A868C8");
}
match(input,LBRACK_LCURL,FOLLOW_LBRACK_LCURL_in_printmultiplicity15348); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D24B9FA70B311DFA177E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", -1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", true);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", true);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D24B9FB70B311DF980EE517C0A868C8");
}
match(input,RCURL_RBRACK,FOLLOW_RCURL_RBRACK_in_printmultiplicity15356); if (state.failed) return ;
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
case 15 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3623:4: ()
{
if ( state.backtracking==0 ) {
_enterAlt(14);
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3623:21: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3623:22:
{
if ( state.backtracking==0 ) {
_beforeSeqEl("E00EA3B77D24BA0570B311DFBBA7E517C0A868C8");
}
if ( state.backtracking==0 ) {
_enterInjectorAction();setProperty(ret, "lowerMultiplicity", 0);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "upperMultiplicity", 1);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "ordered", false);_exitInjectorAction();_enterInjectorAction();setProperty(ret, "unique", false);_exitInjectorAction();
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
_exitAlt();
}
}
break;
}
if ( state.backtracking==0 ) {
_afterSeqEl();
}
}
if ( state.backtracking==0 ) {
}
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
}
return ;
}
// $ANTLR end "printmultiplicity"
// $ANTLR start synpred1_Class
public final void synpred1_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:4: ( '|' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:372:5: '|'
{
match(input,PIPE,FOLLOW_PIPE_in_synpred1_Class849); if (state.failed) return ;
}
}
// $ANTLR end synpred1_Class
// $ANTLR start synpred2_Class
public final void synpred2_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:295: ( data_classes_methodsignature )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:296: data_classes_methodsignature
{
pushFollow(FOLLOW_data_classes_methodsignature_in_synpred2_Class963);
data_classes_methodsignature();
checkFollows();
state._fsp--;
if (state.failed) return ;
}
}
// $ANTLR end synpred2_Class
// $ANTLR start synpred3_Class
public final void synpred3_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:408: ( data_classes_methodsignature )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:373:409: data_classes_methodsignature
{
pushFollow(FOLLOW_data_classes_methodsignature_in_synpred3_Class975);
data_classes_methodsignature();
checkFollows();
state._fsp--;
if (state.failed) return ;
}
}
// $ANTLR end synpred3_Class
// $ANTLR start synpred4_Class
public final void synpred4_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:4: ( ( 'return' | ( NAME EQUALS ) ) | 'store' | 'delete' )
int alt136=3;
switch ( input.LA(1) ) {
case NAME:
case 66:
{
alt136=1;
}
break;
case 52:
{
alt136=2;
}
break;
case 95:
{
alt136=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 136, 0, input);
throw nvae;
}
switch (alt136) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:5: ( 'return' | ( NAME EQUALS ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:5: ( 'return' | ( NAME EQUALS ) )
int alt135=2;
int LA135_0 = input.LA(1);
if ( (LA135_0==66) ) {
alt135=1;
}
else if ( (LA135_0==NAME) ) {
alt135=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 135, 0, input);
throw nvae;
}
switch (alt135) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:6: 'return'
{
match(input,66,FOLLOW_66_in_synpred4_Class2121); if (state.failed) return ;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:17: ( NAME EQUALS )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:17: ( NAME EQUALS )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:18: NAME EQUALS
{
match(input,NAME,FOLLOW_NAME_in_synpred4_Class2126); if (state.failed) return ;
match(input,EQUALS,FOLLOW_EQUALS_in_synpred4_Class2128); if (state.failed) return ;
}
}
break;
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:34: 'store'
{
match(input,52,FOLLOW_52_in_synpred4_Class2134); if (state.failed) return ;
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:600:44: 'delete'
{
match(input,95,FOLLOW_95_in_synpred4_Class2138); if (state.failed) return ;
}
break;
}}
// $ANTLR end synpred4_Class
// $ANTLR start synpred5_Class
public final void synpred5_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:601:5: ( behavioral_actions_namedvaluedeclaration )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:601:6: behavioral_actions_namedvaluedeclaration
{
pushFollow(FOLLOW_behavioral_actions_namedvaluedeclaration_in_synpred5_Class2152);
behavioral_actions_namedvaluedeclaration();
checkFollows();
state._fsp--;
if (state.failed) return ;
}
}
// $ANTLR end synpred5_Class
// $ANTLR start synpred6_Class
public final void synpred6_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:602:5: ( ( NAME ~ NAME ) | ( NAME EOF ) | ~ NAME )
int alt137=3;
int LA137_0 = input.LA(1);
if ( (LA137_0==NAME) ) {
int LA137_1 = input.LA(2);
if ( ((LA137_1>=STRING && LA137_1<=102)) ) {
alt137=1;
}
else if ( (LA137_1==EOF) ) {
alt137=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 137, 1, input);
throw nvae;
}
}
else if ( ((LA137_0>=STRING && LA137_0<=102)) ) {
alt137=3;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 137, 0, input);
throw nvae;
}
switch (alt137) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:602:6: ( NAME ~ NAME )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:602:6: ( NAME ~ NAME )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:602:7: NAME ~ NAME
{
match(input,NAME,FOLLOW_NAME_in_synpred6_Class2167); if (state.failed) return ;
if ( (input.LA(1)>=STRING && input.LA(1)<=102) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:602:21: ( NAME EOF )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:602:21: ( NAME EOF )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:602:22: NAME EOF
{
match(input,NAME,FOLLOW_NAME_in_synpred6_Class2176); if (state.failed) return ;
match(input,EOF,FOLLOW_EOF_in_synpred6_Class2178); if (state.failed) return ;
}
}
break;
case 3 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:602:34: ~ NAME
{
if ( (input.LA(1)>=STRING && input.LA(1)<=102) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
break;
}}
// $ANTLR end synpred6_Class
// $ANTLR start synpred7_Class
public final void synpred7_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:626:5: ( NAME EQUALS )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:626:6: NAME EQUALS
{
match(input,NAME,FOLLOW_NAME_in_synpred7_Class2292); if (state.failed) return ;
match(input,EQUALS,FOLLOW_EQUALS_in_synpred7_Class2294); if (state.failed) return ;
}
}
// $ANTLR end synpred7_Class
// $ANTLR start synpred8_Class
public final void synpred8_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:736:4: ( '___1000___' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:736:5: '___1000___'
{
match(input,97,FOLLOW_97_in_synpred8_Class2715); if (state.failed) return ;
}
}
// $ANTLR end synpred8_Class
// $ANTLR start synpred9_Class
public final void synpred9_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:737:5: ( '___2000___' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:737:6: '___2000___'
{
match(input,98,FOLLOW_98_in_synpred9_Class2729); if (state.failed) return ;
}
}
// $ANTLR end synpred9_Class
// $ANTLR start synpred10_Class
public final void synpred10_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:738:5: ( '___3000___' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:738:6: '___3000___'
{
match(input,99,FOLLOW_99_in_synpred10_Class2743); if (state.failed) return ;
}
}
// $ANTLR end synpred10_Class
// $ANTLR start synpred11_Class
public final void synpred11_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:914:146: ( identifier EQUALS )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:914:147: identifier EQUALS
{
pushFollow(FOLLOW_identifier_in_synpred11_Class3430);
identifier();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,EQUALS,FOLLOW_EQUALS_in_synpred11_Class3432); if (state.failed) return ;
}
}
// $ANTLR end synpred11_Class
// $ANTLR start synpred12_Class
public final void synpred12_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:54: ( ( DOT ) ( ( 'count' ) | ( ( ( PIPE identifier ) | ( identifier ) ) ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:55: ( DOT ) ( ( 'count' ) | ( ( ( PIPE identifier ) | ( identifier ) ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:55: ( DOT )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:56: DOT
{
match(input,DOT,FOLLOW_DOT_in_synpred12_Class4860); if (state.failed) return ;
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:60: ( ( 'count' ) | ( ( ( PIPE identifier ) | ( identifier ) ) ) )
int alt139=2;
int LA139_0 = input.LA(1);
if ( (LA139_0==89) ) {
alt139=1;
}
else if ( (LA139_0==NAME||LA139_0==PIPE) ) {
alt139=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 139, 0, input);
throw nvae;
}
switch (alt139) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:61: ( 'count' )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:61: ( 'count' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:62: 'count'
{
match(input,89,FOLLOW_89_in_synpred12_Class4864); if (state.failed) return ;
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:71: ( ( ( PIPE identifier ) | ( identifier ) ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:71: ( ( ( PIPE identifier ) | ( identifier ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:72: ( ( PIPE identifier ) | ( identifier ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:72: ( ( PIPE identifier ) | ( identifier ) )
int alt138=2;
int LA138_0 = input.LA(1);
if ( (LA138_0==PIPE) ) {
alt138=1;
}
else if ( (LA138_0==NAME) ) {
alt138=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 138, 0, input);
throw nvae;
}
switch (alt138) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:73: ( PIPE identifier )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:73: ( PIPE identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:74: PIPE identifier
{
match(input,PIPE,FOLLOW_PIPE_in_synpred12_Class4870); if (state.failed) return ;
pushFollow(FOLLOW_identifier_in_synpred12_Class4872);
identifier();
checkFollows();
state._fsp--;
if (state.failed) return ;
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:93: ( identifier )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:93: ( identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:94: identifier
{
pushFollow(FOLLOW_identifier_in_synpred12_Class4878);
identifier();
checkFollows();
state._fsp--;
if (state.failed) return ;
}
}
break;
}
}
}
break;
}
}
}
// $ANTLR end synpred12_Class
// $ANTLR start synpred13_Class
public final void synpred13_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:194: ( 'count' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1240:195: 'count'
{
match(input,89,FOLLOW_89_in_synpred13_Class4894); if (state.failed) return ;
}
}
// $ANTLR end synpred13_Class
// $ANTLR start synpred14_Class
public final void synpred14_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1241:3: ( ( ( PIPE identifier ) | ( identifier ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1241:4: ( ( PIPE identifier ) | ( identifier ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1241:4: ( ( PIPE identifier ) | ( identifier ) )
int alt140=2;
int LA140_0 = input.LA(1);
if ( (LA140_0==PIPE) ) {
alt140=1;
}
else if ( (LA140_0==NAME) ) {
alt140=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 140, 0, input);
throw nvae;
}
switch (alt140) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1241:5: ( PIPE identifier )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1241:5: ( PIPE identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1241:6: PIPE identifier
{
match(input,PIPE,FOLLOW_PIPE_in_synpred14_Class4909); if (state.failed) return ;
pushFollow(FOLLOW_identifier_in_synpred14_Class4911);
identifier();
checkFollows();
state._fsp--;
if (state.failed) return ;
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1241:25: ( identifier )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1241:25: ( identifier )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1241:26: identifier
{
pushFollow(FOLLOW_identifier_in_synpred14_Class4917);
identifier();
checkFollows();
state._fsp--;
if (state.failed) return ;
}
}
break;
}
}
}
// $ANTLR end synpred14_Class
// $ANTLR start synpred15_Class
public final void synpred15_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1242:3: ( ( DCOLON ) () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1242:4: ( DCOLON ) ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1242:4: ( DCOLON )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1242:5: DCOLON
{
match(input,DCOLON,FOLLOW_DCOLON_in_synpred15_Class4936); if (state.failed) return ;
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1242:12: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1242:13:
{
}
}
}
// $ANTLR end synpred15_Class
// $ANTLR start synpred16_Class
public final void synpred16_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1243:3: ( ( LPAREN ) () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1243:4: ( LPAREN ) ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1243:4: ( LPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1243:5: LPAREN
{
match(input,LPAREN,FOLLOW_LPAREN_in_synpred16_Class4964); if (state.failed) return ;
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1243:12: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1243:13:
{
}
}
}
// $ANTLR end synpred16_Class
// $ANTLR start synpred17_Class
public final void synpred17_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1244:3: ( ( ARROW ) () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1244:4: ( ARROW ) ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1244:4: ( ARROW )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1244:5: ARROW
{
match(input,ARROW,FOLLOW_ARROW_in_synpred17_Class4992); if (state.failed) return ;
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1244:11: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1244:12:
{
}
}
}
// $ANTLR end synpred17_Class
// $ANTLR start synpred18_Class
public final void synpred18_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1255:3: ( ( LBRACKET ) () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1255:4: ( LBRACKET ) ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1255:4: ( LBRACKET )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1255:5: LBRACKET
{
match(input,LBRACKET,FOLLOW_LBRACKET_in_synpred18_Class5110); if (state.failed) return ;
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1255:14: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1255:15:
{
}
}
}
// $ANTLR end synpred18_Class
// $ANTLR start synpred19_Class
public final void synpred19_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:35: ( ( EQUALSEQUALS ) () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:36: ( EQUALSEQUALS ) ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:36: ( EQUALSEQUALS )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:37: EQUALSEQUALS
{
match(input,EQUALSEQUALS,FOLLOW_EQUALSEQUALS_in_synpred19_Class5177); if (state.failed) return ;
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:50: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1265:51:
{
}
}
}
// $ANTLR end synpred19_Class
// $ANTLR start synpred20_Class
public final void synpred20_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1268:3: ( ( '<=>' ) () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1268:4: ( '<=>' ) ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1268:4: ( '<=>' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1268:5: '<=>'
{
match(input,74,FOLLOW_74_in_synpred20_Class5210); if (state.failed) return ;
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1268:11: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1268:12:
{
}
}
}
// $ANTLR end synpred20_Class
// $ANTLR start synpred21_Class
public final void synpred21_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:35: ( ( '?' ) () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:36: ( '?' ) ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:36: ( '?' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:37: '?'
{
match(input,93,FOLLOW_93_in_synpred21_Class5281); if (state.failed) return ;
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:41: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1280:42:
{
}
}
}
// $ANTLR end synpred21_Class
// $ANTLR start synpred22_Class
public final void synpred22_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:77: ( identifier LPAREN )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1368:78: identifier LPAREN
{
pushFollow(FOLLOW_identifier_in_synpred22_Class5584);
identifier();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,LPAREN,FOLLOW_LPAREN_in_synpred22_Class5586); if (state.failed) return ;
}
}
// $ANTLR end synpred22_Class
// $ANTLR start synpred23_Class
public final void synpred23_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1370:4: ( identifier EQUALS )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1370:5: identifier EQUALS
{
pushFollow(FOLLOW_identifier_in_synpred23_Class5676);
identifier();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,EQUALS,FOLLOW_EQUALS_in_synpred23_Class5678); if (state.failed) return ;
}
}
// $ANTLR end synpred23_Class
// $ANTLR start synpred24_Class
public final void synpred24_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1372:4: ( identifier '+=' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1372:5: identifier '+='
{
pushFollow(FOLLOW_identifier_in_synpred24_Class5731);
identifier();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,80,FOLLOW_80_in_synpred24_Class5733); if (state.failed) return ;
}
}
// $ANTLR end synpred24_Class
// $ANTLR start synpred25_Class
public final void synpred25_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1374:4: ( identifier '-=' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1374:5: identifier '-='
{
pushFollow(FOLLOW_identifier_in_synpred25_Class5784);
identifier();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,76,FOLLOW_76_in_synpred25_Class5786); if (state.failed) return ;
}
}
// $ANTLR end synpred25_Class
// $ANTLR start synpred26_Class
public final void synpred26_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1376:4: ( identifier (~ ( LPAREN | EQUALS ) | EOF ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1376:5: identifier (~ ( LPAREN | EQUALS ) | EOF )
{
pushFollow(FOLLOW_identifier_in_synpred26_Class5837);
identifier();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( input.LA(1)==EOF||(input.LA(1)>=NAME && input.LA(1)<=SEMICOLON)||input.LA(1)==RPAREN||(input.LA(1)>=DOT && input.LA(1)<=102) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
}
// $ANTLR end synpred26_Class
// $ANTLR start synpred27_Class
public final void synpred27_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1399:4: ( '___1000___' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1399:5: '___1000___'
{
match(input,97,FOLLOW_97_in_synpred27_Class5916); if (state.failed) return ;
}
}
// $ANTLR end synpred27_Class
// $ANTLR start synpred28_Class
public final void synpred28_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1400:5: ( '___2000___' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1400:6: '___2000___'
{
match(input,98,FOLLOW_98_in_synpred28_Class5930); if (state.failed) return ;
}
}
// $ANTLR end synpred28_Class
// $ANTLR start synpred29_Class
public final void synpred29_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1401:5: ( '___3000___' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1401:6: '___3000___'
{
match(input,99,FOLLOW_99_in_synpred29_Class5944); if (state.failed) return ;
}
}
// $ANTLR end synpred29_Class
// $ANTLR start synpred30_Class
public final void synpred30_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1757:4: ( '|' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:1757:5: '|'
{
match(input,PIPE,FOLLOW_PIPE_in_synpred30_Class7360); if (state.failed) return ;
}
}
// $ANTLR end synpred30_Class
// $ANTLR start synpred31_Class
public final void synpred31_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2060:4: ( '___1002___' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2060:5: '___1002___'
{
match(input,100,FOLLOW_100_in_synpred31_Class8427); if (state.failed) return ;
}
}
// $ANTLR end synpred31_Class
// $ANTLR start synpred32_Class
public final void synpred32_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2061:5: ( '___2002___' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2061:6: '___2002___'
{
match(input,101,FOLLOW_101_in_synpred32_Class8441); if (state.failed) return ;
}
}
// $ANTLR end synpred32_Class
// $ANTLR start synpred33_Class
public final void synpred33_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2062:5: ( '___3002___' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2062:6: '___3002___'
{
match(input,102,FOLLOW_102_in_synpred33_Class8455); if (state.failed) return ;
}
}
// $ANTLR end synpred33_Class
// $ANTLR start synpred34_Class
public final void synpred34_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2131:231: ( behavioral_actions_constant_nonEmptyAccumulator SEMICOLON )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2131:232: behavioral_actions_constant_nonEmptyAccumulator SEMICOLON
{
pushFollow(FOLLOW_behavioral_actions_constant_nonEmptyAccumulator_in_synpred34_Class8665);
behavioral_actions_constant_nonEmptyAccumulator();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,SEMICOLON,FOLLOW_SEMICOLON_in_synpred34_Class8667); if (state.failed) return ;
}
}
// $ANTLR end synpred34_Class
// $ANTLR start synpred35_Class
public final void synpred35_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2178:64: ( data_classes_typedefinition NAME )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2178:65: data_classes_typedefinition NAME
{
pushFollow(FOLLOW_data_classes_typedefinition_in_synpred35_Class8930);
data_classes_typedefinition();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,NAME,FOLLOW_NAME_in_synpred35_Class8932); if (state.failed) return ;
}
}
// $ANTLR end synpred35_Class
// $ANTLR start synpred36_Class
public final void synpred36_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2665:4: ( '___1000___' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2665:5: '___1000___'
{
match(input,97,FOLLOW_97_in_synpred36_Class10567); if (state.failed) return ;
}
}
// $ANTLR end synpred36_Class
// $ANTLR start synpred37_Class
public final void synpred37_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2666:5: ( '___2000___' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2666:6: '___2000___'
{
match(input,98,FOLLOW_98_in_synpred37_Class10581); if (state.failed) return ;
}
}
// $ANTLR end synpred37_Class
// $ANTLR start synpred38_Class
public final void synpred38_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2667:5: ( '___3000___' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:2667:6: '___3000___'
{
match(input,99,FOLLOW_99_in_synpred38_Class10595); if (state.failed) return ;
}
}
// $ANTLR end synpred38_Class
// $ANTLR start synpred39_Class
public final void synpred39_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:64: ( '|' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3394:65: '|'
{
match(input,PIPE,FOLLOW_PIPE_in_synpred39_Class13220); if (state.failed) return ;
}
}
// $ANTLR end synpred39_Class
// $ANTLR start synpred40_Class
public final void synpred40_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:2: ( ( STAR ) () )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:3: ( STAR ) ()
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:3: ( STAR )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:4: STAR
{
match(input,STAR,FOLLOW_STAR_in_synpred40_Class13395); if (state.failed) return ;
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:9: ()
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3418:10:
{
}
}
}
// $ANTLR end synpred40_Class
// $ANTLR start synpred41_Class
public final void synpred41_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:39: ( ( LBRACKET ) ( ( RBRACKET ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:40: ( LBRACKET ) ( ( RBRACKET ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:40: ( LBRACKET )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:41: LBRACKET
{
match(input,LBRACKET,FOLLOW_LBRACKET_in_synpred41_Class13465); if (state.failed) return ;
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:50: ( ( RBRACKET ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:51: ( RBRACKET )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:51: ( RBRACKET )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3431:52: RBRACKET
{
match(input,RBRACKET,FOLLOW_RBRACKET_in_synpred41_Class13469); if (state.failed) return ;
}
}
}
}
// $ANTLR end synpred41_Class
// $ANTLR start synpred43_Class
public final void synpred43_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:3: ( ( LCURL ) ( ( RCURL ) ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:4: ( LCURL ) ( ( RCURL ) )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:4: ( LCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:5: LCURL
{
match(input,LCURL,FOLLOW_LCURL_in_synpred43_Class13500); if (state.failed) return ;
}
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:11: ( ( RCURL ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:12: ( RCURL )
{
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:12: ( RCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3432:13: RCURL
{
match(input,RCURL,FOLLOW_RCURL_in_synpred43_Class13504); if (state.failed) return ;
}
}
}
}
// $ANTLR end synpred43_Class
// $ANTLR start synpred45_Class
public final void synpred45_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3456:77: ( '|' )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3456:78: '|'
{
match(input,PIPE,FOLLOW_PIPE_in_synpred45_Class13633); if (state.failed) return ;
}
}
// $ANTLR end synpred45_Class
// $ANTLR start synpred46_Class
public final void synpred46_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3510:329: ( LCURL ( INT ~ ( DDOT | RCURL ) | ~ STAR ) )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3510:330: LCURL ( INT ~ ( DDOT | RCURL ) | ~ STAR )
{
match(input,LCURL,FOLLOW_LCURL_in_synpred46_Class14012); if (state.failed) return ;
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3510:336: ( INT ~ ( DDOT | RCURL ) | ~ STAR )
int alt141=2;
int LA141_0 = input.LA(1);
if ( (LA141_0==INT) ) {
int LA141_1 = input.LA(2);
if ( ((LA141_1>=NAME && LA141_1<=LCURL)||(LA141_1>=LANGLE && LA141_1<=STAR)||(LA141_1>=LBRACK_LCURL && LA141_1<=102)) ) {
alt141=1;
}
else if ( (LA141_1==EOF) ) {
alt141=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 141, 1, input);
throw nvae;
}
}
else if ( ((LA141_0>=NAME && LA141_0<=STRING)||(LA141_0>=FLOAT && LA141_0<=ITERATE)||(LA141_0>=DDOT && LA141_0<=102)) ) {
alt141=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 141, 0, input);
throw nvae;
}
switch (alt141) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3510:337: INT ~ ( DDOT | RCURL )
{
match(input,INT,FOLLOW_INT_in_synpred46_Class14015); if (state.failed) return ;
if ( (input.LA(1)>=NAME && input.LA(1)<=LCURL)||(input.LA(1)>=LANGLE && input.LA(1)<=STAR)||(input.LA(1)>=LBRACK_LCURL && input.LA(1)<=102) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3510:359: ~ STAR
{
if ( (input.LA(1)>=NAME && input.LA(1)<=ITERATE)||(input.LA(1)>=DDOT && input.LA(1)<=102) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
break;
}
}
}
// $ANTLR end synpred46_Class
// $ANTLR start synpred47_Class
public final void synpred47_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:64: ( integerSymbol DDOT STAR | integerSymbol DDOT integerSymbol )
int alt142=2;
int LA142_0 = input.LA(1);
if ( (LA142_0==INT) ) {
int LA142_1 = input.LA(2);
if ( (LA142_1==DDOT) ) {
int LA142_2 = input.LA(3);
if ( (LA142_2==STAR) ) {
alt142=1;
}
else if ( (LA142_2==INT) ) {
alt142=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 142, 2, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 142, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 142, 0, input);
throw nvae;
}
switch (alt142) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:65: integerSymbol DDOT STAR
{
pushFollow(FOLLOW_integerSymbol_in_synpred47_Class14435);
integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,DDOT,FOLLOW_DDOT_in_synpred47_Class14437); if (state.failed) return ;
match(input,STAR,FOLLOW_STAR_in_synpred47_Class14439); if (state.failed) return ;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3599:91: integerSymbol DDOT integerSymbol
{
pushFollow(FOLLOW_integerSymbol_in_synpred47_Class14443);
integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,DDOT,FOLLOW_DDOT_in_synpred47_Class14445); if (state.failed) return ;
pushFollow(FOLLOW_integerSymbol_in_synpred47_Class14447);
integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
}
break;
}}
// $ANTLR end synpred47_Class
// $ANTLR start synpred48_Class
public final void synpred48_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:4: ( LBRACKET integerSymbol DDOT )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3601:5: LBRACKET integerSymbol DDOT
{
match(input,LBRACKET,FOLLOW_LBRACKET_in_synpred48_Class14519); if (state.failed) return ;
pushFollow(FOLLOW_integerSymbol_in_synpred48_Class14521);
integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,DDOT,FOLLOW_DDOT_in_synpred48_Class14523); if (state.failed) return ;
}
}
// $ANTLR end synpred48_Class
// $ANTLR start synpred49_Class
public final void synpred49_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:4: ( LCURL integerSymbol DDOT )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3603:5: LCURL integerSymbol DDOT
{
match(input,LCURL,FOLLOW_LCURL_in_synpred49_Class14605); if (state.failed) return ;
pushFollow(FOLLOW_integerSymbol_in_synpred49_Class14607);
integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,DDOT,FOLLOW_DDOT_in_synpred49_Class14609); if (state.failed) return ;
}
}
// $ANTLR end synpred49_Class
// $ANTLR start synpred50_Class
public final void synpred50_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:4: ( LBRACK_LCURL integerSymbol DDOT )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3605:5: LBRACK_LCURL integerSymbol DDOT
{
match(input,LBRACK_LCURL,FOLLOW_LBRACK_LCURL_in_synpred50_Class14691); if (state.failed) return ;
pushFollow(FOLLOW_integerSymbol_in_synpred50_Class14693);
integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,DDOT,FOLLOW_DDOT_in_synpred50_Class14695); if (state.failed) return ;
}
}
// $ANTLR end synpred50_Class
// $ANTLR start synpred51_Class
public final void synpred51_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:4: ( LCURL_LBRACK integerSymbol DDOT )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3607:5: LCURL_LBRACK integerSymbol DDOT
{
match(input,LCURL_LBRACK,FOLLOW_LCURL_LBRACK_in_synpred51_Class14777); if (state.failed) return ;
pushFollow(FOLLOW_integerSymbol_in_synpred51_Class14779);
integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,DDOT,FOLLOW_DDOT_in_synpred51_Class14781); if (state.failed) return ;
}
}
// $ANTLR end synpred51_Class
// $ANTLR start synpred52_Class
public final void synpred52_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:4: ( STAR | integerSymbol ~ DDOT )
int alt143=2;
int LA143_0 = input.LA(1);
if ( (LA143_0==STAR) ) {
alt143=1;
}
else if ( (LA143_0==INT) ) {
alt143=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 143, 0, input);
throw nvae;
}
switch (alt143) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:5: STAR
{
match(input,STAR,FOLLOW_STAR_in_synpred52_Class14863); if (state.failed) return ;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3609:12: integerSymbol ~ DDOT
{
pushFollow(FOLLOW_integerSymbol_in_synpred52_Class14867);
integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
if ( (input.LA(1)>=NAME && input.LA(1)<=STAR)||(input.LA(1)>=LBRACK_LCURL && input.LA(1)<=102) ) {
input.consume();
state.errorRecovery=false;state.failed=false;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
MismatchedSetException mse = new MismatchedSetException(null,input);
throw mse;
}
}
break;
}}
// $ANTLR end synpred52_Class
// $ANTLR start synpred53_Class
public final void synpred53_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:4: ( LBRACKET integerSymbol RBRACKET | LBRACKET STAR RBRACKET )
int alt144=2;
int LA144_0 = input.LA(1);
if ( (LA144_0==LBRACKET) ) {
int LA144_1 = input.LA(2);
if ( (LA144_1==STAR) ) {
alt144=2;
}
else if ( (LA144_1==INT) ) {
alt144=1;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 144, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 144, 0, input);
throw nvae;
}
switch (alt144) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:5: LBRACKET integerSymbol RBRACKET
{
match(input,LBRACKET,FOLLOW_LBRACKET_in_synpred53_Class14927); if (state.failed) return ;
pushFollow(FOLLOW_integerSymbol_in_synpred53_Class14929);
integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,RBRACKET,FOLLOW_RBRACKET_in_synpred53_Class14931); if (state.failed) return ;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3611:39: LBRACKET STAR RBRACKET
{
match(input,LBRACKET,FOLLOW_LBRACKET_in_synpred53_Class14935); if (state.failed) return ;
match(input,STAR,FOLLOW_STAR_in_synpred53_Class14937); if (state.failed) return ;
match(input,RBRACKET,FOLLOW_RBRACKET_in_synpred53_Class14939); if (state.failed) return ;
}
break;
}}
// $ANTLR end synpred53_Class
// $ANTLR start synpred54_Class
public final void synpred54_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3613:4: ( LBRACKET RBRACKET )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3613:5: LBRACKET RBRACKET
{
match(input,LBRACKET,FOLLOW_LBRACKET_in_synpred54_Class15006); if (state.failed) return ;
match(input,RBRACKET,FOLLOW_RBRACKET_in_synpred54_Class15008); if (state.failed) return ;
}
}
// $ANTLR end synpred54_Class
// $ANTLR start synpred55_Class
public final void synpred55_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:4: ( LCURL STAR RCURL | LCURL integerSymbol RCURL )
int alt145=2;
int LA145_0 = input.LA(1);
if ( (LA145_0==LCURL) ) {
int LA145_1 = input.LA(2);
if ( (LA145_1==STAR) ) {
alt145=1;
}
else if ( (LA145_1==INT) ) {
alt145=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 145, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 145, 0, input);
throw nvae;
}
switch (alt145) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:5: LCURL STAR RCURL
{
match(input,LCURL,FOLLOW_LCURL_in_synpred55_Class15037); if (state.failed) return ;
match(input,STAR,FOLLOW_STAR_in_synpred55_Class15039); if (state.failed) return ;
match(input,RCURL,FOLLOW_RCURL_in_synpred55_Class15041); if (state.failed) return ;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3614:24: LCURL integerSymbol RCURL
{
match(input,LCURL,FOLLOW_LCURL_in_synpred55_Class15045); if (state.failed) return ;
pushFollow(FOLLOW_integerSymbol_in_synpred55_Class15047);
integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,RCURL,FOLLOW_RCURL_in_synpred55_Class15049); if (state.failed) return ;
}
break;
}}
// $ANTLR end synpred55_Class
// $ANTLR start synpred56_Class
public final void synpred56_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3616:4: ( LCURL RCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3616:5: LCURL RCURL
{
match(input,LCURL,FOLLOW_LCURL_in_synpred56_Class15116); if (state.failed) return ;
match(input,RCURL,FOLLOW_RCURL_in_synpred56_Class15118); if (state.failed) return ;
}
}
// $ANTLR end synpred56_Class
// $ANTLR start synpred57_Class
public final void synpred57_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:4: ( LBRACK_LCURL STAR RCURL_RBRACK | LBRACK_LCURL integerSymbol RCURL_RBRACK )
int alt146=2;
int LA146_0 = input.LA(1);
if ( (LA146_0==LBRACK_LCURL) ) {
int LA146_1 = input.LA(2);
if ( (LA146_1==STAR) ) {
alt146=1;
}
else if ( (LA146_1==INT) ) {
alt146=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 146, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 146, 0, input);
throw nvae;
}
switch (alt146) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:5: LBRACK_LCURL STAR RCURL_RBRACK
{
match(input,LBRACK_LCURL,FOLLOW_LBRACK_LCURL_in_synpred57_Class15147); if (state.failed) return ;
match(input,STAR,FOLLOW_STAR_in_synpred57_Class15149); if (state.failed) return ;
match(input,RCURL_RBRACK,FOLLOW_RCURL_RBRACK_in_synpred57_Class15151); if (state.failed) return ;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3617:38: LBRACK_LCURL integerSymbol RCURL_RBRACK
{
match(input,LBRACK_LCURL,FOLLOW_LBRACK_LCURL_in_synpred57_Class15155); if (state.failed) return ;
pushFollow(FOLLOW_integerSymbol_in_synpred57_Class15157);
integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,RCURL_RBRACK,FOLLOW_RCURL_RBRACK_in_synpred57_Class15159); if (state.failed) return ;
}
break;
}}
// $ANTLR end synpred57_Class
// $ANTLR start synpred58_Class
public final void synpred58_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:4: ( LCURL_LBRACK STAR RBRACK_RCURL | LCURL_LBRACK integerSymbol RBRACK_RCURL )
int alt147=2;
int LA147_0 = input.LA(1);
if ( (LA147_0==LCURL_LBRACK) ) {
int LA147_1 = input.LA(2);
if ( (LA147_1==STAR) ) {
alt147=1;
}
else if ( (LA147_1==INT) ) {
alt147=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 147, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
new NoViableAltException("", 147, 0, input);
throw nvae;
}
switch (alt147) {
case 1 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:5: LCURL_LBRACK STAR RBRACK_RCURL
{
match(input,LCURL_LBRACK,FOLLOW_LCURL_LBRACK_in_synpred58_Class15226); if (state.failed) return ;
match(input,STAR,FOLLOW_STAR_in_synpred58_Class15228); if (state.failed) return ;
match(input,RBRACK_RCURL,FOLLOW_RBRACK_RCURL_in_synpred58_Class15230); if (state.failed) return ;
}
break;
case 2 :
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3619:38: LCURL_LBRACK integerSymbol RBRACK_RCURL
{
match(input,LCURL_LBRACK,FOLLOW_LCURL_LBRACK_in_synpred58_Class15234); if (state.failed) return ;
pushFollow(FOLLOW_integerSymbol_in_synpred58_Class15236);
integerSymbol();
checkFollows();
state._fsp--;
if (state.failed) return ;
match(input,RBRACK_RCURL,FOLLOW_RBRACK_RCURL_in_synpred58_Class15238); if (state.failed) return ;
}
break;
}}
// $ANTLR end synpred58_Class
// $ANTLR start synpred59_Class
public final void synpred59_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3621:4: ( LCURL_LBRACK RBRACK_RCURL )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3621:5: LCURL_LBRACK RBRACK_RCURL
{
match(input,LCURL_LBRACK,FOLLOW_LCURL_LBRACK_in_synpred59_Class15305); if (state.failed) return ;
match(input,RBRACK_RCURL,FOLLOW_RBRACK_RCURL_in_synpred59_Class15307); if (state.failed) return ;
}
}
// $ANTLR end synpred59_Class
// $ANTLR start synpred60_Class
public final void synpred60_Class_fragment() throws RecognitionException {
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3622:4: ( LBRACK_LCURL RCURL_RBRACK )
// C:\\Documents and Settings\\D043530\\runtime-workspace\\com.sap.ap.cts.editor\\generated\\generated\\Class.g:3622:5: LBRACK_LCURL RCURL_RBRACK
{
match(input,LBRACK_LCURL,FOLLOW_LBRACK_LCURL_in_synpred60_Class15336); if (state.failed) return ;
match(input,RCURL_RBRACK,FOLLOW_RCURL_RBRACK_in_synpred60_Class15338); if (state.failed) return ;
}
}
// $ANTLR end synpred60_Class
// Delegated rules
public final boolean synpred51_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred51_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred52_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred52_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred10_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred10_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred49_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred49_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred33_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred33_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred37_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred37_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred35_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred35_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred39_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred39_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred41_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred41_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred34_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred34_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred56_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred56_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred24_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred24_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred55_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred55_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred58_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred58_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred26_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred26_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred17_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred17_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred29_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred29_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred22_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred22_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred12_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred12_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred6_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred6_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred4_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred4_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred14_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred14_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred2_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred2_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred43_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred43_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred9_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred9_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred46_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred46_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred15_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred15_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred1_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred1_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred16_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred16_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred38_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred38_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred57_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred57_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred8_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred8_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred18_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred18_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred23_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred23_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred45_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred45_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred36_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred36_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred3_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred3_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred19_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred19_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred30_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred30_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred31_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred31_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred11_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred11_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred5_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred5_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred28_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred28_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred7_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred7_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred48_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred48_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred20_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred20_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred25_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred25_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred60_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred60_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred50_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred50_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred47_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred47_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred54_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred54_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred27_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred27_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred32_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred32_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred40_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred40_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred13_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred13_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred21_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred21_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred59_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred59_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
public final boolean synpred53_Class() {
state.backtracking++;
int start = input.mark();
try {
synpred53_Class_fragment(); // can never throw exception
} catch (RecognitionException re) {
System.err.println("impossible: "+re);
}
boolean success = !state.failed;
input.rewind(start);
state.backtracking--;
state.failed=false;
return success;
}
protected DFA29 dfa29 = new DFA29(this);
protected DFA58 dfa58 = new DFA58(this);
protected DFA57 dfa57 = new DFA57(this);
protected DFA134 dfa134 = new DFA134(this);
static final String DFA29_eotS =
"\36\uffff";
static final String DFA29_eofS =
"\36\uffff";
static final String DFA29_minS =
"\1\4\3\uffff\1\0\1\uffff\3\0\25\uffff";
static final String DFA29_maxS =
"\1\137\3\uffff\1\0\1\uffff\3\0\25\uffff";
static final String DFA29_acceptS =
"\1\uffff\3\1\1\uffff\1\2\3\uffff\17\3\1\4\2\uffff\1\5\1\6\1\uffff";
static final String DFA29_specialS =
"\1\0\3\uffff\1\1\1\uffff\1\2\1\3\1\4\25\uffff}>";
static final String[] DFA29_transitionS = {
"\1\4\1\12\1\13\1\14\1\16\1\11\1\15\7\uffff\1\7\40\uffff\1\21"+
"\1\2\1\30\1\uffff\1\34\1\22\1\24\1\6\2\uffff\1\33\2\uffff\1"+
"\10\1\uffff\1\1\1\uffff\1\17\4\uffff\1\27\3\uffff\1\23\1\26"+
"\2\uffff\1\34\1\5\2\uffff\1\30\4\uffff\1\25\1\uffff\1\30\1\uffff"+
"\1\20\1\3",
"",
"",
"",
"\1\uffff",
"",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA29_eot = DFA.unpackEncodedString(DFA29_eotS);
static final short[] DFA29_eof = DFA.unpackEncodedString(DFA29_eofS);
static final char[] DFA29_min = DFA.unpackEncodedStringToUnsignedChars(DFA29_minS);
static final char[] DFA29_max = DFA.unpackEncodedStringToUnsignedChars(DFA29_maxS);
static final short[] DFA29_accept = DFA.unpackEncodedString(DFA29_acceptS);
static final short[] DFA29_special = DFA.unpackEncodedString(DFA29_specialS);
static final short[][] DFA29_transition;
static {
int numStates = DFA29_transitionS.length;
DFA29_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA29_transition[i] = DFA.unpackEncodedString(DFA29_transitionS[i]);
}
}
class DFA29 extends DFA {
public DFA29(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 29;
this.eot = DFA29_eot;
this.eof = DFA29_eof;
this.min = DFA29_min;
this.max = DFA29_max;
this.accept = DFA29_accept;
this.special = DFA29_special;
this.transition = DFA29_transition;
}
public String getDescription() {
return "600:3: ( ( ( 'return' | ( NAME EQUALS ) ) | 'store' | 'delete' )=> (ret= behavioral_actions_statementwithargument ) | ( behavioral_actions_namedvaluedeclaration )=> (ret= behavioral_actions_namedvaluedeclaration ) | ( ( NAME ~ NAME ) | ( NAME EOF ) | ~ NAME )=> (ret= behavioral_actions_expressionstatement ) | ret= behavioral_actions_statementwithnestedblocks | ret= persistence_actions_rollback | ret= behavioral_actions_linkmanipulationstatement )";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA29_0 = input.LA(1);
int index29_0 = input.index();
input.rewind();
s = -1;
if ( (LA29_0==66) && (synpred4_Class())) {s = 1;}
else if ( (LA29_0==52) && (synpred4_Class())) {s = 2;}
else if ( (LA29_0==95) && (synpred4_Class())) {s = 3;}
else if ( (LA29_0==NAME) ) {s = 4;}
else if ( (LA29_0==82) && (synpred5_Class())) {s = 5;}
else if ( (LA29_0==58) ) {s = 6;}
else if ( (LA29_0==LPAREN) ) {s = 7;}
else if ( (LA29_0==64) ) {s = 8;}
else if ( (LA29_0==BINARY) && (synpred6_Class())) {s = 9;}
else if ( (LA29_0==STRING) && (synpred6_Class())) {s = 10;}
else if ( (LA29_0==INT) && (synpred6_Class())) {s = 11;}
else if ( (LA29_0==FLOAT) && (synpred6_Class())) {s = 12;}
else if ( (LA29_0==DATE) && (synpred6_Class())) {s = 13;}
else if ( (LA29_0==BOOL) && (synpred6_Class())) {s = 14;}
else if ( (LA29_0==68) && (synpred6_Class())) {s = 15;}
else if ( (LA29_0==94) && (synpred6_Class())) {s = 16;}
else if ( (LA29_0==51) && (synpred6_Class())) {s = 17;}
else if ( (LA29_0==56) && (synpred6_Class())) {s = 18;}
else if ( (LA29_0==77) && (synpred6_Class())) {s = 19;}
else if ( (LA29_0==57) && (synpred6_Class())) {s = 20;}
else if ( (LA29_0==90) && (synpred6_Class())) {s = 21;}
else if ( (LA29_0==78) && (synpred6_Class())) {s = 22;}
else if ( (LA29_0==73) && (synpred6_Class())) {s = 23;}
else if ( (LA29_0==53||LA29_0==85||LA29_0==92) ) {s = 24;}
else if ( (LA29_0==61) ) {s = 27;}
else if ( (LA29_0==55||LA29_0==81) ) {s = 28;}
input.seek(index29_0);
if ( s>=0 ) return s;
break;
case 1 :
int LA29_4 = input.LA(1);
int index29_4 = input.index();
input.rewind();
s = -1;
if ( (synpred4_Class()) ) {s = 3;}
else if ( (synpred5_Class()) ) {s = 5;}
else if ( (synpred6_Class()) ) {s = 23;}
input.seek(index29_4);
if ( s>=0 ) return s;
break;
case 2 :
int LA29_6 = input.LA(1);
int index29_6 = input.index();
input.rewind();
s = -1;
if ( (synpred5_Class()) ) {s = 5;}
else if ( (synpred6_Class()) ) {s = 23;}
input.seek(index29_6);
if ( s>=0 ) return s;
break;
case 3 :
int LA29_7 = input.LA(1);
int index29_7 = input.index();
input.rewind();
s = -1;
if ( (synpred5_Class()) ) {s = 5;}
else if ( (synpred6_Class()) ) {s = 23;}
input.seek(index29_7);
if ( s>=0 ) return s;
break;
case 4 :
int LA29_8 = input.LA(1);
int index29_8 = input.index();
input.rewind();
s = -1;
if ( (synpred5_Class()) ) {s = 5;}
else if ( (synpred6_Class()) ) {s = 23;}
input.seek(index29_8);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 29, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA58_eotS =
"\14\uffff";
static final String DFA58_eofS =
"\1\1\13\uffff";
static final String DFA58_minS =
"\1\13\1\uffff\5\0\5\uffff";
static final String DFA58_maxS =
"\1\135\1\uffff\5\0\5\uffff";
static final String DFA58_acceptS =
"\1\uffff\1\6\5\uffff\1\1\1\2\1\3\1\4\1\5";
static final String DFA58_specialS =
"\2\uffff\1\3\1\4\1\0\1\2\1\1\5\uffff}>";
static final String[] DFA58_transitionS = {
"\1\1\4\uffff\2\1\1\4\1\1\1\uffff\1\2\1\3\1\5\1\6\2\1\40\uffff"+
"\1\1\7\uffff\1\1\4\uffff\1\1\1\uffff\2\1\21\uffff\1\1",
"",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
""
};
static final short[] DFA58_eot = DFA.unpackEncodedString(DFA58_eotS);
static final short[] DFA58_eof = DFA.unpackEncodedString(DFA58_eofS);
static final char[] DFA58_min = DFA.unpackEncodedStringToUnsignedChars(DFA58_minS);
static final char[] DFA58_max = DFA.unpackEncodedStringToUnsignedChars(DFA58_maxS);
static final short[] DFA58_accept = DFA.unpackEncodedString(DFA58_acceptS);
static final short[] DFA58_special = DFA.unpackEncodedString(DFA58_specialS);
static final short[][] DFA58_transition;
static {
int numStates = DFA58_transitionS.length;
DFA58_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA58_transition[i] = DFA.unpackEncodedString(DFA58_transitionS[i]);
}
}
class DFA58 extends DFA {
public DFA58(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 58;
this.eot = DFA58_eot;
this.eof = DFA58_eof;
this.min = DFA58_min;
this.max = DFA58_max;
this.accept = DFA58_accept;
this.special = DFA58_special;
this.transition = DFA58_transition;
}
public String getDescription() {
return "()* loopback of 1240:53: ( ( ( DOT ) ( ( 'count' ) | ( ( ( PIPE identifier ) | ( identifier ) ) ) ) )=> ( DOT ( ( 'count' )=> (ret= dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp[opName, ret, firstToken] ) | ( ( ( PIPE identifier ) | ( identifier ) ) )=> (ret= dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp[opName, ret, firstToken] ) ) ) | ( ( DCOLON ) () )=> ( DCOLON ( (ret= dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp[opName, ret, firstToken] ) ) ) | ( ( LPAREN ) () )=> ( LPAREN ( (ret= dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen[opName, ret, firstToken] ) ) ) | ( ( ARROW ) () )=> ( ARROW ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) ) ) | ( ( LBRACKET ) () )=> ( LBRACKET ( (ret= dataaccess_query_selection_dataaccess_query_Selection_lbracketOp[opName, ret, firstToken] ) ) ) )*";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA58_4 = input.LA(1);
int index58_4 = input.index();
input.rewind();
s = -1;
if ( (synpred16_Class()) ) {s = 9;}
else if ( (true) ) {s = 1;}
input.seek(index58_4);
if ( s>=0 ) return s;
break;
case 1 :
int LA58_6 = input.LA(1);
int index58_6 = input.index();
input.rewind();
s = -1;
if ( (synpred18_Class()) ) {s = 11;}
else if ( (true) ) {s = 1;}
input.seek(index58_6);
if ( s>=0 ) return s;
break;
case 2 :
int LA58_5 = input.LA(1);
int index58_5 = input.index();
input.rewind();
s = -1;
if ( (synpred17_Class()) ) {s = 10;}
else if ( (true) ) {s = 1;}
input.seek(index58_5);
if ( s>=0 ) return s;
break;
case 3 :
int LA58_2 = input.LA(1);
int index58_2 = input.index();
input.rewind();
s = -1;
if ( (synpred12_Class()) ) {s = 7;}
else if ( (true) ) {s = 1;}
input.seek(index58_2);
if ( s>=0 ) return s;
break;
case 4 :
int LA58_3 = input.LA(1);
int index58_3 = input.index();
input.rewind();
s = -1;
if ( (synpred15_Class()) ) {s = 8;}
else if ( (true) ) {s = 1;}
input.seek(index58_3);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 58, _s, input);
error(nvae);
throw nvae;
}
}
static final String DFA57_eotS =
"\16\uffff";
static final String DFA57_eofS =
"\16\uffff";
static final String DFA57_minS =
"\1\33\2\uffff\2\22\11\uffff";
static final String DFA57_maxS =
"\1\127\2\uffff\2\30\11\uffff";
static final String DFA57_acceptS =
"\1\uffff\1\1\1\2\2\uffff\1\7\1\10\1\11\1\12\1\13\1\3\1\5\1\4\1"+
"\6";
static final String DFA57_specialS =
"\16\uffff}>";
static final String[] DFA57_transitionS = {
"\1\3\1\4\1\5\23\uffff\1\11\12\uffff\1\1\11\uffff\1\6\1\2\1"+
"\10\16\uffff\1\7",
"",
"",
"\1\12\5\uffff\1\13",
"\1\14\5\uffff\1\15",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA57_eot = DFA.unpackEncodedString(DFA57_eotS);
static final short[] DFA57_eof = DFA.unpackEncodedString(DFA57_eofS);
static final char[] DFA57_min = DFA.unpackEncodedStringToUnsignedChars(DFA57_minS);
static final char[] DFA57_max = DFA.unpackEncodedStringToUnsignedChars(DFA57_maxS);
static final short[] DFA57_accept = DFA.unpackEncodedString(DFA57_acceptS);
static final short[] DFA57_special = DFA.unpackEncodedString(DFA57_specialS);
static final short[][] DFA57_transition;
static {
int numStates = DFA57_transitionS.length;
DFA57_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA57_transition[i] = DFA.unpackEncodedString(DFA57_transitionS[i]);
}
}
class DFA57 extends DFA {
public DFA57(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 57;
this.eot = DFA57_eot;
this.eof = DFA57_eof;
this.min = DFA57_min;
this.max = DFA57_max;
this.accept = DFA57_accept;
this.special = DFA57_special;
this.transition = DFA57_transition;
}
public String getDescription() {
return "1244:102: ( (ret= dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp[opName, ret, firstToken] ) | (ret= persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp[opName, ret, firstToken] ) | (ret= dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp[opName, ret, firstToken] ) )";
}
}
static final String DFA134_eotS =
"\26\uffff";
static final String DFA134_eofS =
"\1\7\25\uffff";
static final String DFA134_minS =
"\1\4\6\0\17\uffff";
static final String DFA134_maxS =
"\1\135\6\0\17\uffff";
static final String DFA134_acceptS =
"\7\uffff\1\17\1\1\1\6\1\2\1\7\1\10\1\3\1\11\1\12\1\4\1\13\1\16"+
"\1\5\1\14\1\15";
static final String DFA134_specialS =
"\1\uffff\1\1\1\2\1\5\1\4\1\3\1\0\17\uffff}>";
static final String[] DFA134_transitionS = {
"\1\7\1\uffff\1\1\4\uffff\1\7\1\3\3\uffff\4\7\1\uffff\3\7\1"+
"\2\2\7\3\uffff\1\6\1\uffff\1\4\1\uffff\1\5\30\uffff\1\7\5\uffff"+
"\1\7\1\uffff\1\7\4\uffff\1\7\1\uffff\2\7\21\uffff\1\7",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"\1\uffff",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
};
static final short[] DFA134_eot = DFA.unpackEncodedString(DFA134_eotS);
static final short[] DFA134_eof = DFA.unpackEncodedString(DFA134_eofS);
static final char[] DFA134_min = DFA.unpackEncodedStringToUnsignedChars(DFA134_minS);
static final char[] DFA134_max = DFA.unpackEncodedStringToUnsignedChars(DFA134_maxS);
static final short[] DFA134_accept = DFA.unpackEncodedString(DFA134_acceptS);
static final short[] DFA134_special = DFA.unpackEncodedString(DFA134_specialS);
static final short[][] DFA134_transition;
static {
int numStates = DFA134_transitionS.length;
DFA134_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
DFA134_transition[i] = DFA.unpackEncodedString(DFA134_transitionS[i]);
}
}
class DFA134 extends DFA {
public DFA134(BaseRecognizer recognizer) {
this.recognizer = recognizer;
this.decisionNumber = 134;
this.eot = DFA134_eot;
this.eof = DFA134_eof;
this.min = DFA134_min;
this.max = DFA134_max;
this.accept = DFA134_accept;
this.special = DFA134_special;
this.transition = DFA134_transition;
}
public String getDescription() {
return "3599:63: ( ( integerSymbol DDOT STAR | integerSymbol DDOT integerSymbol )=> ( (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol DDOT )=> ( LBRACKET (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LCURL integerSymbol DDOT )=> ( LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LBRACK_LCURL integerSymbol DDOT )=> ( LBRACK_LCURL (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK integerSymbol DDOT )=> ( LCURL_LBRACK (temp= integerSymbol ) DDOT ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( STAR | integerSymbol ~ DDOT )=> ( ( ( STAR ) | ( (temp= integerSymbol ) ) ) ) | ( LBRACKET integerSymbol RBRACKET | LBRACKET STAR RBRACKET )=> ( LBRACKET ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACKET ) | ( LBRACKET RBRACKET )=> ( LBRACKET RBRACKET ) | ( LCURL STAR RCURL | LCURL integerSymbol RCURL )=> ( LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL ) | ( LCURL RCURL )=> ( LCURL RCURL ) | ( LBRACK_LCURL STAR RCURL_RBRACK | LBRACK_LCURL integerSymbol RCURL_RBRACK )=> ( LBRACK_LCURL ( ( STAR ) | ( (temp= integerSymbol ) ) ) RCURL_RBRACK ) | ( LCURL_LBRACK STAR RBRACK_RCURL | LCURL_LBRACK integerSymbol RBRACK_RCURL )=> ( LCURL_LBRACK ( ( STAR ) | ( (temp= integerSymbol ) ) ) RBRACK_RCURL ) | ( LCURL_LBRACK RBRACK_RCURL )=> ( LCURL_LBRACK RBRACK_RCURL ) | ( LBRACK_LCURL RCURL_RBRACK )=> ( LBRACK_LCURL RCURL_RBRACK ) | () )";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
int LA134_6 = input.LA(1);
int index134_6 = input.index();
input.rewind();
s = -1;
if ( (synpred52_Class()) ) {s = 9;}
else if ( (true) ) {s = 7;}
input.seek(index134_6);
if ( s>=0 ) return s;
break;
case 1 :
int LA134_1 = input.LA(1);
int index134_1 = input.index();
input.rewind();
s = -1;
if ( (synpred47_Class()) ) {s = 8;}
else if ( (synpred52_Class()) ) {s = 9;}
else if ( (true) ) {s = 7;}
input.seek(index134_1);
if ( s>=0 ) return s;
break;
case 2 :
int LA134_2 = input.LA(1);
int index134_2 = input.index();
input.rewind();
s = -1;
if ( (synpred48_Class()) ) {s = 10;}
else if ( (synpred53_Class()) ) {s = 11;}
else if ( (synpred54_Class()) ) {s = 12;}
else if ( (true) ) {s = 7;}
input.seek(index134_2);
if ( s>=0 ) return s;
break;
case 3 :
int LA134_5 = input.LA(1);
int index134_5 = input.index();
input.rewind();
s = -1;
if ( (synpred51_Class()) ) {s = 19;}
else if ( (synpred58_Class()) ) {s = 20;}
else if ( (synpred59_Class()) ) {s = 21;}
else if ( (true) ) {s = 7;}
input.seek(index134_5);
if ( s>=0 ) return s;
break;
case 4 :
int LA134_4 = input.LA(1);
int index134_4 = input.index();
input.rewind();
s = -1;
if ( (synpred50_Class()) ) {s = 16;}
else if ( (synpred57_Class()) ) {s = 17;}
else if ( (synpred60_Class()) ) {s = 18;}
else if ( (true) ) {s = 7;}
input.seek(index134_4);
if ( s>=0 ) return s;
break;
case 5 :
int LA134_3 = input.LA(1);
int index134_3 = input.index();
input.rewind();
s = -1;
if ( (synpred49_Class()) ) {s = 13;}
else if ( (synpred55_Class()) ) {s = 14;}
else if ( (synpred56_Class()) ) {s = 15;}
else if ( (true) ) {s = 7;}
input.seek(index134_3);
if ( s>=0 ) return s;
break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
new NoViableAltException(getDescription(), 134, _s, input);
error(nvae);
throw nvae;
}
}
public static final BitSet FOLLOW_NAME_in_identifier63 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_NAME_in_identifierOrKeyword94 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_49_in_identifierOrKeyword102 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_50_in_identifierOrKeyword110 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_51_in_identifierOrKeyword118 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_52_in_identifierOrKeyword126 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_53_in_identifierOrKeyword134 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_54_in_identifierOrKeyword142 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_55_in_identifierOrKeyword150 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_56_in_identifierOrKeyword158 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_57_in_identifierOrKeyword166 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_58_in_identifierOrKeyword174 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_59_in_identifierOrKeyword182 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_60_in_identifierOrKeyword190 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_61_in_identifierOrKeyword198 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_62_in_identifierOrKeyword206 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_63_in_identifierOrKeyword214 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_64_in_identifierOrKeyword222 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_65_in_identifierOrKeyword230 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_66_in_identifierOrKeyword238 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_67_in_identifierOrKeyword246 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_68_in_identifierOrKeyword254 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_69_in_identifierOrKeyword262 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_70_in_identifierOrKeyword270 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_71_in_identifierOrKeyword278 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_72_in_identifierOrKeyword286 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_73_in_identifierOrKeyword294 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_74_in_identifierOrKeyword302 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_75_in_identifierOrKeyword310 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_76_in_identifierOrKeyword318 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_77_in_identifierOrKeyword326 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_78_in_identifierOrKeyword334 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_79_in_identifierOrKeyword342 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_80_in_identifierOrKeyword350 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_81_in_identifierOrKeyword358 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_82_in_identifierOrKeyword366 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_83_in_identifierOrKeyword374 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_84_in_identifierOrKeyword382 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_85_in_identifierOrKeyword390 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_86_in_identifierOrKeyword398 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_87_in_identifierOrKeyword406 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_88_in_identifierOrKeyword414 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_89_in_identifierOrKeyword422 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_90_in_identifierOrKeyword430 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_91_in_identifierOrKeyword438 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_92_in_identifierOrKeyword446 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_93_in_identifierOrKeyword454 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_94_in_identifierOrKeyword462 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_95_in_identifierOrKeyword470 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_96_in_identifierOrKeyword478 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_STRING_in_stringSymbol509 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_INT_in_integerSymbol540 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_INT_in_longSymbol571 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_INT_in_integerAsStringSymbol602 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_FLOAT_in_floatAsStringSymbol633 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_BOOL_in_booleanSymbol664 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_BINARY_in_binarySymbol695 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_DATE_in_dateSymbol726 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_sapclass_in_main754 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_main757 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_68_in_data_classes_sapclass__impl794 = new BitSet(new long[]{0x0000000000000000L,0x0000000008000000L});
public static final BitSet FOLLOW_91_in_data_classes_sapclass__impl812 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_data_classes_sapclass__impl819 = new BitSet(new long[]{0x4000000000005800L});
public static final BitSet FOLLOW_data_generics_classparameterization_in_data_classes_sapclass__impl829 = new BitSet(new long[]{0x4000000000001800L});
public static final BitSet FOLLOW_PIPE_in_data_classes_sapclass__impl859 = new BitSet(new long[]{0x0400000000040010L});
public static final BitSet FOLLOW_data_classes_parameter_in_data_classes_sapclass__impl867 = new BitSet(new long[]{0x0000000000000800L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_data_classes_sapclass__impl875 = new BitSet(new long[]{0x0400000000040010L});
public static final BitSet FOLLOW_data_classes_parameter_in_data_classes_sapclass__impl882 = new BitSet(new long[]{0x0000000000000800L,0x0000000000000008L});
public static final BitSet FOLLOW_PIPE_in_data_classes_sapclass__impl892 = new BitSet(new long[]{0x4000000000001000L});
public static final BitSet FOLLOW_62_in_data_classes_sapclass__impl907 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_data_classes_typeadapter_implements_in_data_classes_sapclass__impl914 = new BitSet(new long[]{0x0000000000001000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_data_classes_sapclass__impl922 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_data_classes_typeadapter_implements_in_data_classes_sapclass__impl929 = new BitSet(new long[]{0x0000000000001000L,0x0000000000000008L});
public static final BitSet FOLLOW_LCURL_in_data_classes_sapclass__impl954 = new BitSet(new long[]{0x0400000000042010L,0x0000000100500001L});
public static final BitSet FOLLOW_data_classes_methodsignature_in_data_classes_sapclass__impl969 = new BitSet(new long[]{0x0400000000042010L,0x0000000100500001L});
public static final BitSet FOLLOW_data_classes_methodsignature_in_data_classes_sapclass__impl981 = new BitSet(new long[]{0x0400000000042010L,0x0000000100500001L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_property_in_data_classes_sapclass__impl996 = new BitSet(new long[]{0x0000000000002010L,0x0000000100000000L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_property_in_data_classes_sapclass__impl1004 = new BitSet(new long[]{0x0000000000002010L,0x0000000100000000L});
public static final BitSet FOLLOW_RCURL_in_data_classes_sapclass__impl1019 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_sapclass__impl_in_data_classes_sapclass1057 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_generics_formaltypeparameter_in_data_classes_sapclass1062 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_data_classes_typeadapter_implements1098 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LANGLE_in_data_generics_classparameterization1145 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_data_generics_formaltypeparameter_in_data_generics_classparameterization1153 = new BitSet(new long[]{0x0000000000008000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_data_generics_classparameterization1161 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_data_generics_formaltypeparameter_in_data_generics_classparameterization1168 = new BitSet(new long[]{0x0000000000008000L,0x0000000000000008L});
public static final BitSet FOLLOW_RANGLE_in_data_generics_classparameterization1178 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_data_generics_formaltypeparameter1223 = new BitSet(new long[]{0x0000000000010002L});
public static final BitSet FOLLOW_COLON_in_data_generics_formaltypeparameter1236 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_data_generics_parameterizedclassinstantiation_typeDefinition_in_data_generics_formaltypeparameter1255 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_data_generics_formaltypeparameter1281 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_in_behavioral_actions_block1343 = new BitSet(new long[]{0x27B80000000427F0L,0x00000000D4266215L});
public static final BitSet FOLLOW_behavioral_actions_statement_in_behavioral_actions_block1360 = new BitSet(new long[]{0x0000000000020000L});
public static final BitSet FOLLOW_SEMICOLON_in_behavioral_actions_block1369 = new BitSet(new long[]{0x27B80000000407F0L,0x00000000D4266215L});
public static final BitSet FOLLOW_behavioral_actions_statement_in_behavioral_actions_block1377 = new BitSet(new long[]{0x0000000000020000L});
public static final BitSet FOLLOW_SEMICOLON_in_behavioral_actions_block1387 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_RCURL_in_behavioral_actions_block1408 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_65_in_ui_templates_stringtemplate1449 = new BitSet(new long[]{0x070C0000000607F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_ui_templates_stringtemplate1465 = new BitSet(new long[]{0x0000000000020000L});
public static final BitSet FOLLOW_SEMICOLON_in_ui_templates_stringtemplate1474 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_ui_templates_stringtemplate1482 = new BitSet(new long[]{0x0000000000020000L});
public static final BitSet FOLLOW_SEMICOLON_in_ui_templates_stringtemplate1494 = new BitSet(new long[]{0x0004000000000000L});
public static final BitSet FOLLOW_50_in_ui_templates_stringtemplate1514 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_64_in_data_classes_methodsignature1560 = new BitSet(new long[]{0x0400000000040010L,0x0000000000500000L});
public static final BitSet FOLLOW_84_in_data_classes_methodsignature1583 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_converterbetweenparametrizations_in_data_classes_methodsignature1590 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_typedefinition_converter_in_data_classes_methodsignature1600 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_data_classes_methodsignature1629 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_86_in_data_classes_methodsignature1647 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_data_classes_methodsignature1660 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_data_classes_methodsignature1672 = new BitSet(new long[]{0x04000000000C0010L});
public static final BitSet FOLLOW_data_classes_parameter_in_data_classes_methodsignature1680 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_data_classes_methodsignature1688 = new BitSet(new long[]{0x0400000000040010L});
public static final BitSet FOLLOW_data_classes_parameter_in_data_classes_methodsignature1695 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_RPAREN_in_data_classes_methodsignature1707 = new BitSet(new long[]{0x0000000000021000L,0x0000000000000022L});
public static final BitSet FOLLOW_data_classes_signatureimplementation_in_data_classes_methodsignature1724 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_SEMICOLON_in_data_classes_methodsignature1740 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_converter_in_data_classes_typedefinition_converter1827 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_converter_in_data_classes_actualobjectparameter_converter1904 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_variableexpression_converter_in_dataaccess_expressions_expression_converter1944 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignatureimplementation_in_data_classes_signatureimplementation2011 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_nativeimpl_in_data_classes_signatureimplementation2019 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_block_in_data_classes_functionsignatureimplementation2046 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ui_templates_stringtemplate_in_data_classes_functionsignatureimplementation2054 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_69_in_data_classes_nativeimpl2084 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_statementwithargument_in_behavioral_actions_statement2144 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_namedvaluedeclaration_in_behavioral_actions_statement2158 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_expressionstatement_in_behavioral_actions_statement2190 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_statementwithnestedblocks_in_behavioral_actions_statement2199 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_persistence_actions_rollback_in_behavioral_actions_statement2207 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_linkmanipulationstatement_in_behavioral_actions_statement2215 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_whileloop_in_behavioral_actions_singleblockstatement2242 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_foreach_in_behavioral_actions_singleblockstatement2250 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_return_in_behavioral_actions_statementwithargument2277 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_persistence_actions_statementwithentityargument_in_behavioral_actions_statementwithargument2285 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_assignment_in_behavioral_actions_statementwithargument2300 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_namedvaluewithoptionalinitexpression_in_behavioral_actions_namedvaluedeclaration2335 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_expressionstatement2382 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_singleblockstatement_in_behavioral_actions_statementwithnestedblocks2422 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_ifelse_in_behavioral_actions_statementwithnestedblocks2430 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_53_in_behavioral_actions_ifelse2484 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_behavioral_actions_ifelse2488 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_ifelse2496 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_behavioral_actions_ifelse2503 = new BitSet(new long[]{0x0000000000001000L});
public static final BitSet FOLLOW_behavioral_actions_block_in_behavioral_actions_ifelse2511 = new BitSet(new long[]{0x0040000000000002L});
public static final BitSet FOLLOW_54_in_behavioral_actions_ifelse2519 = new BitSet(new long[]{0x0000000000001000L});
public static final BitSet FOLLOW_behavioral_actions_block_in_behavioral_actions_ifelse2526 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_92_in_behavioral_actions_whileloop2571 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_behavioral_actions_whileloop2575 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_whileloop2583 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_behavioral_actions_whileloop2590 = new BitSet(new long[]{0x0000000000001000L});
public static final BitSet FOLLOW_behavioral_actions_block_in_behavioral_actions_whileloop2598 = new BitSet(new long[]{0x0000000000001002L});
public static final BitSet FOLLOW_behavioral_actions_block_in_behavioral_actions_whileloop2606 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen2656 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen2664 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen2671 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen2683 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_functionCallExpression_in_data_classes_typedefinition_functionCallExpression2721 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignaturetypedefinition_functionCallExpression_in_data_classes_typedefinition_functionCallExpression2735 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_nestedtypedefinition_functionCallExpression_in_data_classes_typedefinition_functionCallExpression2749 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_66_in_behavioral_actions_return2940 = new BitSet(new long[]{0x07080000000407F2L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_return2947 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_persistence_actions_store_in_persistence_actions_statementwithentityargument2989 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_persistence_actions_delete_in_persistence_actions_statementwithentityargument2997 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_52_in_persistence_actions_store3027 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_persistence_actions_store3034 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_95_in_persistence_actions_delete3077 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_persistence_actions_delete3084 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_61_in_persistence_actions_rollback3127 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_behavioral_actions_assignment3171 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_EQUALS_in_behavioral_actions_assignment3178 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_assignment3186 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_variable_in_behavioral_actions_namedvaluewithoptionalinitexpression3226 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_constant_in_behavioral_actions_namedvaluewithoptionalinitexpression3234 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_82_in_behavioral_actions_variable3269 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_behavioral_actions_variable3276 = new BitSet(new long[]{0x0000000000100002L});
public static final BitSet FOLLOW_EQUALS_in_behavioral_actions_variable3289 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_variable3297 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_behavioral_actions_variable3330 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_behavioral_actions_variable3340 = new BitSet(new long[]{0x0000000000100002L});
public static final BitSet FOLLOW_EQUALS_in_behavioral_actions_variable3353 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_variable3361 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_64_in_behavioral_actions_constant3425 = new BitSet(new long[]{0x0400000000040010L});
public static final BitSet FOLLOW_identifier_in_behavioral_actions_constant3445 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_EQUALS_in_behavioral_actions_constant3452 = new BitSet(new long[]{0x07080000000407F2L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_constant3460 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_behavioral_actions_constant3482 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_behavioral_actions_constant3494 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_EQUALS_in_behavioral_actions_constant3501 = new BitSet(new long[]{0x07080000000407F2L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_constant3509 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_addlink_in_behavioral_actions_linkmanipulationstatement3559 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_removelink_in_behavioral_actions_linkmanipulationstatement3567 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_81_in_behavioral_actions_addlink3597 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_behavioral_actions_addlink3601 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_behavioral_actions_addlink3609 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_behavioral_actions_addlink3615 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_addlink3622 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_behavioral_actions_addlink3630 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_addlink3637 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_behavioral_actions_addlink3645 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_55_in_behavioral_actions_removelink3686 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_behavioral_actions_removelink3690 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_behavioral_actions_removelink3698 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_behavioral_actions_removelink3704 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_removelink3711 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_behavioral_actions_removelink3719 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_removelink3726 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_behavioral_actions_removelink3734 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_associationend_property_in_data_classes_classtypedefinition_property3779 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_localAssociationEnd_in_data_classes_actualobjectparameter_localAssociationEnd3832 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_variableexpression_localAssociationEnd_in_dataaccess_expressions_expression_localAssociationEnd3872 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_96_in_data_classes_associationend_property3948 = new BitSet(new long[]{0x0000000000000010L,0x0000000100000000L});
public static final BitSet FOLLOW_data_classes_association_property_in_data_classes_associationend_property3970 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_associationend_in_data_classes_association_property4020 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_in_data_classes_associationend4070 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_data_classes_associationend4080 = new BitSet(new long[]{0x0000000000021000L});
public static final BitSet FOLLOW_LCURL_in_data_classes_associationend4095 = new BitSet(new long[]{0x0000000000300000L,0x0000000000011000L});
public static final BitSet FOLLOW_data_classes_associationendsignatureimplementation_property_in_data_classes_associationend4103 = new BitSet(new long[]{0x0000000000002000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_data_classes_associationend4111 = new BitSet(new long[]{0x0000000000300000L,0x0000000000011000L});
public static final BitSet FOLLOW_data_classes_associationendsignatureimplementation_property_in_data_classes_associationend4118 = new BitSet(new long[]{0x0000000000002000L,0x0000000000000008L});
public static final BitSet FOLLOW_RCURL_in_data_classes_associationend4128 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_SEMICOLON_in_data_classes_associationend4143 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_extentmodifyingassociationendsignatureimplementation_property_in_data_classes_associationendsignatureimplementation_property4188 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_linktraversal_property_in_data_classes_associationendsignatureimplementation_property4196 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_linkmanipulationatposition_property_in_data_classes_extentmodifyingassociationendsignatureimplementation_property4223 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_linksetting_property_in_data_classes_extentmodifyingassociationendsignatureimplementation_property4231 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_linkaddition_property_in_data_classes_linkmanipulationatposition_property4258 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_linkremoval_property_in_data_classes_linkmanipulationatposition_property4266 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_DOT_in_data_classes_linktraversal_property4297 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_methodsignature_propertyGetter_in_data_classes_linktraversal_property4305 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_EQUALS_in_data_classes_linksetting_property4389 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_methodsignature_propertySetter_in_data_classes_linksetting_property4397 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_parameter_propertyModifier_in_data_classes_methodsignature_propertySetter4444 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_80_in_data_classes_linkaddition_property4490 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_methodsignature_propertyAdder_in_data_classes_linkaddition_property4497 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_parameter_propertyModifier_in_data_classes_methodsignature_propertyAdder4544 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_76_in_data_classes_linkremoval_property4590 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_methodsignature_propertyRemover_in_data_classes_linkremoval_property4597 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_parameter_propertyModifier_in_data_classes_methodsignature_propertyRemover4647 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_literals_literal_in_primary_dataaccess_expressions_expression4727 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_literals_objectliteral_in_primary_dataaccess_expressions_expression4735 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_fp_anonymousfunctionexpr_in_primary_dataaccess_expressions_expression4743 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_variableexpression_in_primary_dataaccess_expressions_expression4751 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_objectbasedexpression_in_primary_dataaccess_expressions_expression4759 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_objectcreationexpression_in_primary_dataaccess_expressions_expression4767 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_this_in_primary_dataaccess_expressions_expression4775 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_query_oqlquery_in_primary_dataaccess_expressions_expression4783 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_persistence_expressions_all_in_primary_dataaccess_expressions_expression4791 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_persistence_expressions_commit_in_primary_dataaccess_expressions_expression4799 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LPAREN_in_primary_dataaccess_expressions_expression4808 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_primary_dataaccess_expressions_expression4814 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_primary_dataaccess_expressions_expression4818 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_primary_dataaccess_expressions_expression_in_expressions_priority_04856 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_DOT_in_expressions_priority_04888 = new BitSet(new long[]{0x0000000000000810L,0x0000000003000000L});
public static final BitSet FOLLOW_dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp_in_expressions_priority_04900 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp_in_expressions_priority_04925 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_DCOLON_in_expressions_priority_04945 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp_in_expressions_priority_04953 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_LPAREN_in_expressions_priority_04973 = new BitSet(new long[]{0x07080000000C07F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_functioncallexpression_dataaccess_expressions_FunctionCallExpression_lparen_in_expressions_priority_04981 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_ARROW_in_expressions_priority_05001 = new BitSet(new long[]{0x1002000038000000L,0x00000000008001C0L});
public static final BitSet FOLLOW_dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp_in_expressions_priority_05009 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp_in_expressions_priority_05018 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp_in_expressions_priority_05027 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp_in_expressions_priority_05036 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp_in_expressions_priority_05045 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp_in_expressions_priority_05054 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp_in_expressions_priority_05063 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp_in_expressions_priority_05072 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp_in_expressions_priority_05081 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp_in_expressions_priority_05090 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp_in_expressions_priority_05099 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_LBRACKET_in_expressions_priority_05119 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_query_selection_dataaccess_query_Selection_lbracketOp_in_expressions_priority_05127 = new BitSet(new long[]{0x0000000001E40002L});
public static final BitSet FOLLOW_expressions_priority_0_in_expressions_priority_15173 = new BitSet(new long[]{0x0000000002000002L,0x0000000000000400L});
public static final BitSet FOLLOW_EQUALSEQUALS_in_expressions_priority_15186 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp_in_expressions_priority_15194 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_expressions_priority_0_in_expressions_priority_15198 = new BitSet(new long[]{0x0000000002000002L,0x0000000000000400L});
public static final BitSet FOLLOW_74_in_expressions_priority_15219 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp_in_expressions_priority_15226 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_expressions_priority_0_in_expressions_priority_15230 = new BitSet(new long[]{0x0000000002000002L,0x0000000000000400L});
public static final BitSet FOLLOW_expressions_priority_1_in_expressions_priority_25277 = new BitSet(new long[]{0x0000000000000002L,0x0000000020000000L});
public static final BitSet FOLLOW_93_in_expressions_priority_25290 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark_in_expressions_priority_25297 = new BitSet(new long[]{0x0000000000000002L,0x0000000020000000L});
public static final BitSet FOLLOW_expressions_priority_2_in_dataaccess_expressions_expression5334 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_89_in_dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp5364 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_typedefinition_objectCount_in_dataaccess_expressions_objectcount_dataaccess_expressions_ObjectCount_dotOp5371 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_objectCount_in_data_classes_typedefinition_objectCount5403 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark5478 = new BitSet(new long[]{0x0000000000010000L});
public static final BitSet FOLLOW_COLON_in_dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark5485 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_ternary_dataaccess_expressions_Ternary_questionmark5493 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_analytics_groupby_in_dataaccess_expressions_objectbasedexpression5525 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_PIPE_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5563 = new BitSet(new long[]{0x0000000000000010L,0x0000000001000000L});
public static final BitSet FOLLOW_identifier_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5605 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_88_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5620 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5630 = new BitSet(new long[]{0x07080000000C07F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5638 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5646 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5653 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5665 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5697 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_EQUALS_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5704 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5712 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5752 = new BitSet(new long[]{0x0000000000000000L,0x0000000000010000L});
public static final BitSet FOLLOW_80_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5758 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5765 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5805 = new BitSet(new long[]{0x0000000000000000L,0x0000000000001000L});
public static final BitSet FOLLOW_76_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5811 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5818 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_dataaccess_expressions_methodcallexpression_dataaccess_expressions_MethodCallExpression_dotOp5871 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_methodCallExpression_in_data_classes_typedefinition_methodCallExpression5922 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignaturetypedefinition_methodCallExpression_in_data_classes_typedefinition_methodCallExpression5936 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_nestedtypedefinition_methodCallExpression_in_data_classes_typedefinition_methodCallExpression5950 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_dataaccess_expressions_variableexpression6145 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_typedefinition_BooleanLiteral_in_dataaccess_expressions_equals_dataaccess_expressions_Equals_equalsOp6193 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_typedefinition_BooleanLiteral_in_dataaccess_expressions_contentequals_dataaccess_expressions_ContentEquals_equivalenceOp6233 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignaturetypedefinition_anonymousFunctionExp_in_dataaccess_expressions_fp_anonymousfunctionexpr6283 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignaturetypedefinition_cellSet_in_dataaccess_expressions_fp_anonymousfunctionexpr6303 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignaturetypedefinition_cellSet_in_data_classes_typedefinition_cellSet6354 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_signature_cellSet_in_data_classes_functionsignaturetypedefinition_cellSet6388 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignature_cellSet_in_data_classes_signature_cellSet6431 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignatureimplementation_cellSet_in_data_classes_functionsignature_cellSet6465 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_analytics_cellset_cellSet_in_data_classes_functionsignatureimplementation_cellSet6508 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_signature_anonymousFunctionExp_in_data_classes_functionsignaturetypedefinition_anonymousFunctionExp6542 = new BitSet(new long[]{0x0000000541001040L});
public static final BitSet FOLLOW_printmultiplicity_in_data_classes_functionsignaturetypedefinition_anonymousFunctionExp6548 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignature_anonymousFunctionExp_in_data_classes_signature_anonymousFunctionExp6589 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_64_in_data_classes_functionsignature_anonymousFunctionExp6625 = new BitSet(new long[]{0x0400000000000000L});
public static final BitSet FOLLOW_58_in_data_classes_functionsignature_anonymousFunctionExp6643 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_data_classes_functionsignature_anonymousFunctionExp6647 = new BitSet(new long[]{0x04000000000C0010L});
public static final BitSet FOLLOW_data_classes_parameter_in_data_classes_functionsignature_anonymousFunctionExp6655 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_data_classes_functionsignature_anonymousFunctionExp6663 = new BitSet(new long[]{0x0400000000040010L});
public static final BitSet FOLLOW_data_classes_parameter_in_data_classes_functionsignature_anonymousFunctionExp6670 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_RPAREN_in_data_classes_functionsignature_anonymousFunctionExp6682 = new BitSet(new long[]{0x0000000000010000L});
public static final BitSet FOLLOW_COLON_in_data_classes_functionsignature_anonymousFunctionExp6687 = new BitSet(new long[]{0x0400000000040010L,0x0000000000400000L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_data_classes_functionsignature_anonymousFunctionExp6701 = new BitSet(new long[]{0x0000000000001000L,0x0000000000000002L});
public static final BitSet FOLLOW_86_in_data_classes_functionsignature_anonymousFunctionExp6716 = new BitSet(new long[]{0x0000000000001000L,0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignatureimplementation_in_data_classes_functionsignature_anonymousFunctionExp6732 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp6780 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_typedefinition_functionFromMethodExpr_in_dataaccess_expressions_fp_functionfrommethodexpr_dataaccess_expressions_fp_FunctionFromMethodExpr_dcolonOp6790 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignaturetypedefinition_functionFromMethodExpr_in_data_classes_typedefinition_functionFromMethodExpr6822 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_56_in_dataaccess_expressions_objectcreationexpression6892 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_dataaccess_expressions_objectcreationexpression6904 = new BitSet(new long[]{0x0000000000000800L});
public static final BitSet FOLLOW_data_classes_typedefinition_objectCreationExpression_in_dataaccess_expressions_objectcreationexpression6914 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_data_generics_parameterizedclassinstantiation_objectCreationExpression_in_dataaccess_expressions_objectcreationexpression6940 = new BitSet(new long[]{0x0000000000000800L});
public static final BitSet FOLLOW_data_classes_typedefinition_objectCreationExpression_in_dataaccess_expressions_objectcreationexpression6956 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_dataaccess_expressions_objectcreationexpression6968 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_dataaccess_expressions_methodcallexpression_objectCreationExpression_in_dataaccess_expressions_objectcreationexpression6976 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_dataaccess_expressions_objectcreationexpression6984 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_dataaccess_expressions_methodcallexpression_objectCreationExpression_in_dataaccess_expressions_objectcreationexpression6991 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_expressions_objectcreationexpression7003 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_data_generics_parameterizedclassinstantiation_objectCreationExpression7048 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_LANGLE_in_data_generics_parameterizedclassinstantiation_objectCreationExpression7055 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_data_generics_actualtypeparameter_in_data_generics_parameterizedclassinstantiation_objectCreationExpression7063 = new BitSet(new long[]{0x0000000000008010L});
public static final BitSet FOLLOW_data_generics_actualtypeparameter_in_data_generics_parameterizedclassinstantiation_objectCreationExpression7071 = new BitSet(new long[]{0x0000000000008010L});
public static final BitSet FOLLOW_RANGLE_in_data_generics_parameterizedclassinstantiation_objectCreationExpression7081 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_thisInObjectCreationExpression_in_dataaccess_expressions_methodcallexpression_objectCreationExpression7129 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_dataaccess_expressions_methodcallexpression_objectCreationExpression7139 = new BitSet(new long[]{0x0000000000010000L});
public static final BitSet FOLLOW_COLON_in_dataaccess_expressions_methodcallexpression_objectCreationExpression7146 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_methodcallexpression_objectCreationExpression7154 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_this_thisInObjectCreationExpression_in_dataaccess_expressions_expression_thisInObjectCreationExpression7194 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_typedefinition_thisInObjectCreationExpression_in_dataaccess_expressions_this_thisInObjectCreationExpression7228 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_data_generics_actualtypeparameter7275 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_objectCreationExpression_in_data_classes_typedefinition_objectCreationExpression7318 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_PIPE_in_data_classes_classtypedefinition_objectCreationExpression7370 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_data_classes_actualobjectparameter_in_data_classes_classtypedefinition_objectCreationExpression7378 = new BitSet(new long[]{0x0000000000000800L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_data_classes_classtypedefinition_objectCreationExpression7386 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_data_classes_actualobjectparameter_in_data_classes_classtypedefinition_objectCreationExpression7393 = new BitSet(new long[]{0x0000000000000800L,0x0000000000000008L});
public static final BitSet FOLLOW_PIPE_in_data_classes_classtypedefinition_objectCreationExpression7403 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_thisInObjectCreationExpression_in_data_classes_typedefinition_thisInObjectCreationExpression7452 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_data_classes_actualobjectparameter7526 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_77_in_dataaccess_expressions_this7572 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_typedefinition_this_in_dataaccess_expressions_this7579 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_this_in_data_classes_typedefinition_this7619 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_73_in_persistence_expressions_commit7689 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_typedefinition_commit_in_persistence_expressions_commit7696 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_commit_in_data_classes_typedefinition_commit7736 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_78_in_persistence_expressions_all7806 = new BitSet(new long[]{0x0000000001000010L});
public static final BitSet FOLLOW_LBRACKET_in_persistence_expressions_all7815 = new BitSet(new long[]{0x0000000000000000L,0x0000000000004000L});
public static final BitSet FOLLOW_78_in_persistence_expressions_all7819 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_persistence_expressions_all7823 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_LBRACKET_in_persistence_expressions_all7841 = new BitSet(new long[]{0x0000000000000000L,0x0000000000008000L});
public static final BitSet FOLLOW_79_in_persistence_expressions_all7845 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_persistence_expressions_all7849 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_LBRACKET_in_persistence_expressions_all7867 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_persistence_expressions_all7875 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_persistence_expressions_all7882 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_persistence_expressions_all7911 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_typedefinition_allQuery_in_persistence_expressions_all7921 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_allQuery_in_data_classes_typedefinition_allQuery7961 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_85_in_behavioral_actions_foreach8031 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_60_in_dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp8072 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp8076 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_expressions_head_dataaccess_expressions_Head_arrowOp8081 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_71_in_dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp8115 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp8119 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_expressions_tail_dataaccess_expressions_Tail_arrowOp8124 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_INCLUDING_in_dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp8159 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp8164 = new BitSet(new long[]{0x07080000000C07F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp8172 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_expressions_collectionexpressions_including_dataaccess_expressions_collectionExpressions_Including_arrowOp8181 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_EXCLUDING_in_dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp8219 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp8224 = new BitSet(new long[]{0x07080000000C07F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp8232 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_expressions_collectionexpressions_excluding_dataaccess_expressions_collectionExpressions_Excluding_arrowOp8241 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_INCLUDING_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8276 = new BitSet(new long[]{0x0000000001000000L});
public static final BitSet FOLLOW_LBRACKET_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8281 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8289 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8296 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8301 = new BitSet(new long[]{0x07080000000C07F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8309 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_expressions_collectionexpressions_includingat_dataaccess_expressions_collectionExpressions_IncludingAt_arrowOp8318 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_EXCLUDING_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8356 = new BitSet(new long[]{0x0000000001000000L});
public static final BitSet FOLLOW_LBRACKET_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8361 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8369 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8376 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8381 = new BitSet(new long[]{0x07080000000C07F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8389 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_expressions_collectionexpressions_excludingat_dataaccess_expressions_collectionExpressions_ExcludingAt_arrowOp8398 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_includingExpression_in_data_classes_typedefinition_includingExpression8433 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignaturetypedefinition_includingExpression_in_data_classes_typedefinition_includingExpression8447 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_nestedtypedefinition_includingExpression_in_data_classes_typedefinition_includingExpression8461 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ITERATE_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8654 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8659 = new BitSet(new long[]{0x0400000000060010L});
public static final BitSet FOLLOW_behavioral_actions_constant_nonEmptyAccumulator_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8680 = new BitSet(new long[]{0x0000000000020000L});
public static final BitSet FOLLOW_SEMICOLON_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8689 = new BitSet(new long[]{0x0400000000060010L});
public static final BitSet FOLLOW_behavioral_actions_constant_emptyAccumulator_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8707 = new BitSet(new long[]{0x0400000000060010L});
public static final BitSet FOLLOW_behavioral_actions_iterator_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8722 = new BitSet(new long[]{0x0000000000000800L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8730 = new BitSet(new long[]{0x0400000000060010L});
public static final BitSet FOLLOW_behavioral_actions_iterator_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8737 = new BitSet(new long[]{0x0000000000000800L,0x0000000000000008L});
public static final BitSet FOLLOW_PIPE_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8747 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8755 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_expressions_collectionexpressions_iterate_dataaccess_expressions_collectionExpressions_Iterate_arrowOp8762 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_behavioral_actions_constant_nonEmptyAccumulator8839 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_behavioral_actions_constant_nonEmptyAccumulator8851 = new BitSet(new long[]{0x0000000000100002L});
public static final BitSet FOLLOW_EQUALS_in_behavioral_actions_constant_nonEmptyAccumulator8864 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_behavioral_actions_constant_nonEmptyAccumulator8872 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_behavioral_actions_iterator8945 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_behavioral_actions_iterator8955 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_behavioral_actions_iterator8975 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_iterator_selection_in_dataaccess_query_selection_dataaccess_query_Selection_lbracketOp9031 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_query_selection_dataaccess_query_Selection_lbracketOp9041 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_dataaccess_query_selection_dataaccess_query_Selection_lbracketOp9048 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_57_in_dataaccess_query_oqlquery9326 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_dataaccess_query_oqlquery9333 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000008L});
public static final BitSet FOLLOW_67_in_dataaccess_query_oqlquery9341 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_dataaccess_query_oqlquery9348 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000008L});
public static final BitSet FOLLOW_90_in_dataaccess_query_oqlquery9375 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_query_fromclause_in_dataaccess_query_oqlquery9382 = new BitSet(new long[]{0x8000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_dataaccess_query_oqlquery9390 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_query_fromclause_in_dataaccess_query_oqlquery9397 = new BitSet(new long[]{0x8000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_63_in_dataaccess_query_oqlquery9406 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_query_oqlquery9413 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_typedefinition_oqlQueryResult_in_dataaccess_query_oqlquery9423 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_query_fromclause9470 = new BitSet(new long[]{0x0800000000000000L});
public static final BitSet FOLLOW_59_in_dataaccess_query_fromclause9476 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_behavioral_actions_iterator_fromClause_in_dataaccess_query_fromclause9483 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_behavioral_actions_iterator_fromClause9530 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_oqlQueryResult_in_data_classes_typedefinition_oqlQueryResult9693 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_sapclass_oqlQueryResult_in_data_classes_classtypedefinition_oqlQueryResult9727 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_oqlQueryResultProperties_in_data_classes_typedefinition_oqlQueryResultProperties9810 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_associationend_oqlQueryResultProperties_in_data_classes_classtypedefinition_oqlQueryResultProperties9844 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_association_oqlQueryResultProperties_in_data_classes_associationend_oqlQueryResultProperties9894 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_associationend_oqlQueryResultPropertiesOtherEnd_in_data_classes_association_oqlQueryResultProperties9944 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter_in_data_classes_associationend_oqlQueryResultPropertiesOtherEnd9994 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_linktraversal_oqlQueryResultPropertiesGetter_in_data_classes_associationendsignatureimplementation_oqlQueryResultPropertiesGetter10037 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_methodsignature_oqlQueryResultProperties_in_data_classes_linktraversal_oqlQueryResultPropertiesGetter10071 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_oqlQueryResultAssociationEndType_in_data_classes_typedefinition_oqlQueryResultAssociationEndType10151 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_70_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10222 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10226 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_dataaccess_expressions_navigationstep_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10234 = new BitSet(new long[]{0x0000000000300000L});
public static final BitSet FOLLOW_DOT_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10243 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_dataaccess_expressions_navigationstep_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10251 = new BitSet(new long[]{0x0000000000300000L});
public static final BitSet FOLLOW_EQUALS_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10261 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10269 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_expressions_replace_dataaccess_expressions_Replace_arrowOp10276 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_87_in_persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp10310 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp10314 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp10319 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_typedefinition_Snapshot_in_persistence_expressions_snapshot_persistence_expressions_Snapshot_arrowOp10327 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_Snapshot_in_data_classes_typedefinition_Snapshot10359 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_dataaccess_expressions_navigationstep10433 = new BitSet(new long[]{0x0000000001000002L});
public static final BitSet FOLLOW_LBRACKET_in_dataaccess_expressions_navigationstep10446 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_navigationstep10454 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_dataaccess_expressions_navigationstep10461 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_72_in_dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp10516 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp10520 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp10528 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_expressions_map_dataaccess_expressions_Map_arrowOp10535 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_map_in_data_classes_typedefinition_map10573 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignaturetypedefinition_map_in_data_classes_typedefinition_map10587 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_nestedtypedefinition_map_in_data_classes_typedefinition_map10601 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_51_in_dataaccess_analytics_groupby10792 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_analytics_groupby10799 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000800L});
public static final BitSet FOLLOW_75_in_dataaccess_analytics_groupby10805 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_dataaccess_analytics_dimensiondefinition_in_dataaccess_analytics_groupby10812 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000108L});
public static final BitSet FOLLOW_67_in_dataaccess_analytics_groupby10820 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_dataaccess_analytics_dimensiondefinition_in_dataaccess_analytics_groupby10827 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000108L});
public static final BitSet FOLLOW_behavioral_actions_iterator_groupByFactIterator_in_dataaccess_analytics_groupby10840 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000100L});
public static final BitSet FOLLOW_72_in_dataaccess_analytics_groupby10852 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_groupBy_in_dataaccess_analytics_groupby10859 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_behavioral_actions_iterator_groupByGroupedFactsIterator_in_dataaccess_analytics_groupby10869 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_iterator_dimensionDefinitionIterator_in_dataaccess_analytics_dimensiondefinition10937 = new BitSet(new long[]{0x0000000000010000L});
public static final BitSet FOLLOW_COLON_in_dataaccess_analytics_dimensiondefinition10944 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_analytics_dimensiondefinition10952 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_behavioral_actions_iterator_dimensionDefinitionIterator10999 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_literals_objectliteral_groupBy_in_dataaccess_expressions_expression_groupBy11119 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_sapclass_groupByMapResult_in_dataaccess_expressions_literals_objectliteral_groupBy11153 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_dataaccess_expressions_literals_valueinit_groupByMapResult_in_dataaccess_expressions_literals_objectliteral_groupBy11163 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_dataaccess_expressions_literals_objectliteral_groupBy11171 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_dataaccess_expressions_literals_valueinit_groupByMapResult_in_dataaccess_expressions_literals_objectliteral_groupBy11178 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_data_classes_typedefinition_groupByMapResult_in_dataaccess_expressions_literals_objectliteral_groupBy11191 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_groupByMapResult_in_data_classes_typedefinition_groupByMapResult11231 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_associationend_groupByMapResultPropertiesOtherEnd_in_dataaccess_expressions_literals_valueinit_groupByMapResult11305 = new BitSet(new long[]{0x0000000000010000L});
public static final BitSet FOLLOW_COLON_in_dataaccess_expressions_literals_valueinit_groupByMapResult11312 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_literals_valueinit_groupByMapResult11320 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_data_classes_associationend_groupByMapResultPropertiesOtherEnd11367 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_association_groupByMapResultProperties_in_data_classes_associationend_groupByMapResultPropertiesOtherEnd11377 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter_in_data_classes_associationend_groupByMapResultPropertiesOtherEnd11387 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_groupByMapResultAssociationEndType_in_data_classes_associationend_groupByMapResultPropertiesOtherEnd11397 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_associationend_groupByMapResultPropertiesLocalEnd_in_data_classes_association_groupByMapResultProperties11447 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_groupByMapResultPropertiesLocalEnd_in_data_classes_associationend_groupByMapResultPropertiesLocalEnd11497 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_linktraversal_groupByMapResultPropertiesGetter_in_data_classes_associationendsignatureimplementation_groupByMapResultPropertiesGetter11580 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_methodsignature_groupByMapResultProperties_in_data_classes_linktraversal_groupByMapResultPropertiesGetter11614 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_94_in_dataaccess_analytics_cellset_cellSet11777 = new BitSet(new long[]{0x0400000000040010L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_dataaccess_analytics_cellset_cellSet11784 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000800L});
public static final BitSet FOLLOW_75_in_dataaccess_analytics_cellset_cellSet11790 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_dataaccess_analytics_dimension_in_dataaccess_analytics_cellset_cellSet11797 = new BitSet(new long[]{0x0000000000010000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_dataaccess_analytics_cellset_cellSet11805 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_dataaccess_analytics_dimension_in_dataaccess_analytics_cellset_cellSet11812 = new BitSet(new long[]{0x0000000000010000L,0x0000000000000008L});
public static final BitSet FOLLOW_COLON_in_dataaccess_analytics_cellset_cellSet11822 = new BitSet(new long[]{0x0400000000040010L,0x0000000000080000L});
public static final BitSet FOLLOW_83_in_dataaccess_analytics_cellset_cellSet11832 = new BitSet(new long[]{0x0400000000040010L});
public static final BitSet FOLLOW_data_classes_functionsignature_dimension_in_dataaccess_analytics_cellset_cellSet11839 = new BitSet(new long[]{0x0400000000040010L,0x0000000000080000L});
public static final BitSet FOLLOW_data_classes_functionsignature_aggregationFunction_in_dataaccess_analytics_cellset_cellSet11862 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_dataaccess_analytics_dimension11909 = new BitSet(new long[]{0x0000000000010000L});
public static final BitSet FOLLOW_COLON_in_dataaccess_analytics_dimension11916 = new BitSet(new long[]{0x0400000000040010L});
public static final BitSet FOLLOW_data_classes_functionsignature_dimension_in_dataaccess_analytics_dimension11924 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_data_classes_functionsignature_dimension11971 = new BitSet(new long[]{0x0000000000001000L,0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignatureimplementation_in_data_classes_functionsignature_dimension11981 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_parameter_dimension_in_data_classes_functionsignature_dimension11991 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_dimension_in_data_classes_typedefinition_dimension12074 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_data_classes_functionsignature_aggregationFunction12148 = new BitSet(new long[]{0x0000000000001000L,0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignatureimplementation_in_data_classes_functionsignature_aggregationFunction12158 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_parameter_aggregationFunction_in_data_classes_functionsignature_aggregationFunction12168 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_49_in_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp12255 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp12259 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp12267 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp12273 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp12280 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_analytics_dimensionexpression_dataaccess_analytics_DimensionExpression_arrowOp12287 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_literals_binaryliteral_in_dataaccess_expressions_literals_literal12317 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_literals_stringliteral_in_dataaccess_expressions_literals_literal12325 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_literals_numberliteral_in_dataaccess_expressions_literals_literal12333 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_literals_timepointliteral_in_dataaccess_expressions_literals_literal12341 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dataaccess_expressions_literals_booleanliteral_in_dataaccess_expressions_literals_literal12349 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_binarySymbol_in_dataaccess_expressions_literals_binaryliteral12383 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_typedefinition_BinaryLiteral_in_dataaccess_expressions_literals_binaryliteral12393 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_BinaryLiteral_in_data_classes_typedefinition_BinaryLiteral12433 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_stringSymbol_in_dataaccess_expressions_literals_stringliteral12507 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_typedefinition_StringLiteral_in_dataaccess_expressions_literals_stringliteral12517 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_StringLiteral_in_data_classes_typedefinition_StringLiteral12557 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_integerAsStringSymbol_in_dataaccess_expressions_literals_numberliteral12636 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_floatAsStringSymbol_in_dataaccess_expressions_literals_numberliteral12656 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_typedefinition_NumberLiteral_in_dataaccess_expressions_literals_numberliteral12671 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_NumberLiteral_in_data_classes_typedefinition_NumberLiteral12711 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_dateSymbol_in_dataaccess_expressions_literals_timepointliteral12785 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_typedefinition_TimePointLiteral_in_dataaccess_expressions_literals_timepointliteral12795 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_TimePointLiteral_in_data_classes_typedefinition_TimePointLiteral12835 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_booleanSymbol_in_dataaccess_expressions_literals_booleanliteral12909 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_typedefinition_BooleanLiteral_in_dataaccess_expressions_literals_booleanliteral12919 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_BooleanLiteral_in_data_classes_typedefinition_BooleanLiteral12959 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_68_in_dataaccess_expressions_literals_objectliteral13029 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_dataaccess_expressions_literals_objectliteral13036 = new BitSet(new long[]{0x0000000000000800L});
public static final BitSet FOLLOW_data_classes_typedefinition_objectLiteral_in_dataaccess_expressions_literals_objectliteral13046 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_dataaccess_expressions_literals_objectliteral13053 = new BitSet(new long[]{0x0000000000080010L});
public static final BitSet FOLLOW_dataaccess_expressions_literals_valueinit_in_dataaccess_expressions_literals_objectliteral13061 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_dataaccess_expressions_literals_objectliteral13069 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_dataaccess_expressions_literals_valueinit_in_dataaccess_expressions_literals_objectliteral13076 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_RPAREN_in_dataaccess_expressions_literals_objectliteral13088 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_dataaccess_expressions_literals_valueinit13133 = new BitSet(new long[]{0x0000000000010000L});
public static final BitSet FOLLOW_COLON_in_dataaccess_expressions_literals_valueinit13140 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_dataaccess_expressions_literals_valueinit13148 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_objectLiteral_in_data_classes_typedefinition_objectLiteral13188 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_PIPE_in_data_classes_classtypedefinition_objectLiteral13230 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_data_classes_actualobjectparameter_in_data_classes_classtypedefinition_objectLiteral13238 = new BitSet(new long[]{0x0000000000000800L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_data_classes_classtypedefinition_objectLiteral13246 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_data_classes_actualobjectparameter_in_data_classes_classtypedefinition_objectLiteral13253 = new BitSet(new long[]{0x0000000000000800L,0x0000000000000008L});
public static final BitSet FOLLOW_PIPE_in_data_classes_classtypedefinition_objectLiteral13263 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_classtypedefinition_in_primary_data_classes_typedefinition13322 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignaturetypedefinition_in_primary_data_classes_typedefinition13330 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LPAREN_in_primary_data_classes_typedefinition13339 = new BitSet(new long[]{0x0400000000040010L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_primary_data_classes_typedefinition13345 = new BitSet(new long[]{0x0000000000080000L});
public static final BitSet FOLLOW_RPAREN_in_primary_data_classes_typedefinition13349 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_primary_data_classes_typedefinition_in_typedefinitions_priority_013387 = new BitSet(new long[]{0x0000000040000002L});
public static final BitSet FOLLOW_STAR_in_typedefinitions_priority_013404 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_starTypeOp_in_typedefinitions_priority_013412 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_typedefinitions_priority_0_in_typedefinitions_priority_113461 = new BitSet(new long[]{0x0000000001001002L});
public static final BitSet FOLLOW_LBRACKET_in_typedefinitions_priority_113477 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp_in_typedefinitions_priority_113489 = new BitSet(new long[]{0x0000000001001002L});
public static final BitSet FOLLOW_LCURL_in_typedefinitions_priority_113512 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp_in_typedefinitions_priority_113524 = new BitSet(new long[]{0x0000000001001002L});
public static final BitSet FOLLOW_typedefinitions_priority_1_in_data_classes_typedefinition13561 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_generics_parameterizedclassinstantiation_typeDefinition_in_data_classes_classtypedefinition13600 = new BitSet(new long[]{0x0000000541001840L});
public static final BitSet FOLLOW_identifier_in_data_classes_classtypedefinition13619 = new BitSet(new long[]{0x0000000541001840L});
public static final BitSet FOLLOW_PIPE_in_data_classes_classtypedefinition13643 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_data_classes_actualobjectparameter_in_data_classes_classtypedefinition13651 = new BitSet(new long[]{0x0000000000000800L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_data_classes_classtypedefinition13659 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_data_classes_actualobjectparameter_in_data_classes_classtypedefinition13666 = new BitSet(new long[]{0x0000000000000800L,0x0000000000000008L});
public static final BitSet FOLLOW_PIPE_in_data_classes_classtypedefinition13676 = new BitSet(new long[]{0x0000000541001040L});
public static final BitSet FOLLOW_printmultiplicity_in_data_classes_classtypedefinition13698 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_data_generics_parameterizedclassinstantiation_typeDefinition13743 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_LANGLE_in_data_generics_parameterizedclassinstantiation_typeDefinition13750 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_data_generics_actualtypeparameter_in_data_generics_parameterizedclassinstantiation_typeDefinition13758 = new BitSet(new long[]{0x0000000000008010L});
public static final BitSet FOLLOW_data_generics_actualtypeparameter_in_data_generics_parameterizedclassinstantiation_typeDefinition13766 = new BitSet(new long[]{0x0000000000008010L});
public static final BitSet FOLLOW_RANGLE_in_data_generics_parameterizedclassinstantiation_typeDefinition13776 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_signature_functionSignatureTypeDefinition_in_data_classes_functionsignaturetypedefinition13824 = new BitSet(new long[]{0x0000000541001040L});
public static final BitSet FOLLOW_printmultiplicity_in_data_classes_functionsignaturetypedefinition13830 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignature_functionSignatureTypeDefinition_in_data_classes_signature_functionSignatureTypeDefinition13871 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_58_in_data_classes_functionsignature_functionSignatureTypeDefinition13901 = new BitSet(new long[]{0x0000000000040000L,0x0000000000000001L});
public static final BitSet FOLLOW_64_in_data_classes_functionsignature_functionSignatureTypeDefinition13910 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_data_classes_functionsignature_functionSignatureTypeDefinition13929 = new BitSet(new long[]{0x04000000000C0010L});
public static final BitSet FOLLOW_data_classes_parameter_in_data_classes_functionsignature_functionSignatureTypeDefinition13937 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_data_classes_functionsignature_functionSignatureTypeDefinition13945 = new BitSet(new long[]{0x0400000000040010L});
public static final BitSet FOLLOW_data_classes_parameter_in_data_classes_functionsignature_functionSignatureTypeDefinition13952 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_RPAREN_in_data_classes_functionsignature_functionSignatureTypeDefinition13964 = new BitSet(new long[]{0x0000000000010000L});
public static final BitSet FOLLOW_COLON_in_data_classes_functionsignature_functionSignatureTypeDefinition13969 = new BitSet(new long[]{0x0400000000040010L,0x0000000000400000L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_data_classes_functionsignature_functionSignatureTypeDefinition13983 = new BitSet(new long[]{0x0000000000001002L,0x0000000000000002L});
public static final BitSet FOLLOW_86_in_data_classes_functionsignature_functionSignatureTypeDefinition13998 = new BitSet(new long[]{0x0000000000001002L,0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignatureimplementation_in_data_classes_functionsignature_functionSignatureTypeDefinition14043 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RBRACKET_in_data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lbracketTypeOp14106 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_RCURL_in_data_classes_nestedtypedefinition_data_classes_NestedTypeDefinition_lcurlTypeOp14147 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_58_in_data_classes_functionsignature14219 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_data_classes_functionsignature14223 = new BitSet(new long[]{0x04000000000C0010L});
public static final BitSet FOLLOW_data_classes_parameter_in_data_classes_functionsignature14231 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_67_in_data_classes_functionsignature14239 = new BitSet(new long[]{0x0400000000040010L});
public static final BitSet FOLLOW_data_classes_parameter_in_data_classes_functionsignature14246 = new BitSet(new long[]{0x0000000000080000L,0x0000000000000008L});
public static final BitSet FOLLOW_RPAREN_in_data_classes_functionsignature14258 = new BitSet(new long[]{0x0000000000011002L,0x0000000000000002L});
public static final BitSet FOLLOW_COLON_in_data_classes_functionsignature14269 = new BitSet(new long[]{0x0400000000040010L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_data_classes_functionsignature14277 = new BitSet(new long[]{0x0000000000001002L,0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_functionsignatureimplementation_in_data_classes_functionsignature14303 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_data_classes_parameter14352 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_data_classes_parameter14362 = new BitSet(new long[]{0x0000000000100002L});
public static final BitSet FOLLOW_EQUALS_in_data_classes_parameter14375 = new BitSet(new long[]{0x07080000000407F0L,0x0000000044006211L});
public static final BitSet FOLLOW_dataaccess_expressions_expression_in_data_classes_parameter14383 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity14460 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_DDOT_in_printmultiplicity14467 = new BitSet(new long[]{0x0000000040000040L});
public static final BitSet FOLLOW_STAR_in_printmultiplicity14478 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity14496 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACKET_in_printmultiplicity14533 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity14541 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_DDOT_in_printmultiplicity14548 = new BitSet(new long[]{0x0000000040000040L});
public static final BitSet FOLLOW_STAR_in_printmultiplicity14559 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity14577 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_printmultiplicity14594 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_in_printmultiplicity14619 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity14627 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_DDOT_in_printmultiplicity14634 = new BitSet(new long[]{0x0000000040000040L});
public static final BitSet FOLLOW_STAR_in_printmultiplicity14645 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity14663 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_RCURL_in_printmultiplicity14680 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACK_LCURL_in_printmultiplicity14705 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity14713 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_DDOT_in_printmultiplicity14720 = new BitSet(new long[]{0x0000000040000040L});
public static final BitSet FOLLOW_STAR_in_printmultiplicity14731 = new BitSet(new long[]{0x0000000200000000L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity14749 = new BitSet(new long[]{0x0000000200000000L});
public static final BitSet FOLLOW_RCURL_RBRACK_in_printmultiplicity14766 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_LBRACK_in_printmultiplicity14791 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity14799 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_DDOT_in_printmultiplicity14806 = new BitSet(new long[]{0x0000000040000040L});
public static final BitSet FOLLOW_STAR_in_printmultiplicity14817 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity14835 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_RBRACK_RCURL_in_printmultiplicity14852 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_STAR_in_printmultiplicity14886 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity14904 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACKET_in_printmultiplicity14949 = new BitSet(new long[]{0x0000000040000040L});
public static final BitSet FOLLOW_STAR_in_printmultiplicity14960 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity14978 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_printmultiplicity14995 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACKET_in_printmultiplicity15018 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_printmultiplicity15026 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_in_printmultiplicity15059 = new BitSet(new long[]{0x0000000040000040L});
public static final BitSet FOLLOW_STAR_in_printmultiplicity15070 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity15088 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_RCURL_in_printmultiplicity15105 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_in_printmultiplicity15128 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_RCURL_in_printmultiplicity15136 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACK_LCURL_in_printmultiplicity15169 = new BitSet(new long[]{0x0000000040000040L});
public static final BitSet FOLLOW_STAR_in_printmultiplicity15180 = new BitSet(new long[]{0x0000000200000000L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity15198 = new BitSet(new long[]{0x0000000200000000L});
public static final BitSet FOLLOW_RCURL_RBRACK_in_printmultiplicity15215 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_LBRACK_in_printmultiplicity15248 = new BitSet(new long[]{0x0000000040000040L});
public static final BitSet FOLLOW_STAR_in_printmultiplicity15259 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_integerSymbol_in_printmultiplicity15277 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_RBRACK_RCURL_in_printmultiplicity15294 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_LBRACK_in_printmultiplicity15317 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_RBRACK_RCURL_in_printmultiplicity15325 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACK_LCURL_in_printmultiplicity15348 = new BitSet(new long[]{0x0000000200000000L});
public static final BitSet FOLLOW_RCURL_RBRACK_in_printmultiplicity15356 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_PIPE_in_synpred1_Class849 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_methodsignature_in_synpred2_Class963 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_methodsignature_in_synpred3_Class975 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_66_in_synpred4_Class2121 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_NAME_in_synpred4_Class2126 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_EQUALS_in_synpred4_Class2128 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_52_in_synpred4_Class2134 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_95_in_synpred4_Class2138 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_namedvaluedeclaration_in_synpred5_Class2152 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_NAME_in_synpred6_Class2167 = new BitSet(new long[]{0xFFFFFFFFFFFFFFE0L,0x0000007FFFFFFFFFL});
public static final BitSet FOLLOW_set_in_synpred6_Class2169 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_NAME_in_synpred6_Class2176 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_synpred6_Class2178 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_set_in_synpred6_Class2183 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_NAME_in_synpred7_Class2292 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_EQUALS_in_synpred7_Class2294 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_97_in_synpred8_Class2715 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_98_in_synpred9_Class2729 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_99_in_synpred10_Class2743 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_synpred11_Class3430 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_EQUALS_in_synpred11_Class3432 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_DOT_in_synpred12_Class4860 = new BitSet(new long[]{0x0000000000000810L,0x0000000002000000L});
public static final BitSet FOLLOW_89_in_synpred12_Class4864 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_PIPE_in_synpred12_Class4870 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_synpred12_Class4872 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_synpred12_Class4878 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_89_in_synpred13_Class4894 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_PIPE_in_synpred14_Class4909 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_identifier_in_synpred14_Class4911 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_synpred14_Class4917 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_DCOLON_in_synpred15_Class4936 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LPAREN_in_synpred16_Class4964 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ARROW_in_synpred17_Class4992 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACKET_in_synpred18_Class5110 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_EQUALSEQUALS_in_synpred19_Class5177 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_74_in_synpred20_Class5210 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_93_in_synpred21_Class5281 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_synpred22_Class5584 = new BitSet(new long[]{0x0000000000040000L});
public static final BitSet FOLLOW_LPAREN_in_synpred22_Class5586 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_synpred23_Class5676 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_EQUALS_in_synpred23_Class5678 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_synpred24_Class5731 = new BitSet(new long[]{0x0000000000000000L,0x0000000000010000L});
public static final BitSet FOLLOW_80_in_synpred24_Class5733 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_synpred25_Class5784 = new BitSet(new long[]{0x0000000000000000L,0x0000000000001000L});
public static final BitSet FOLLOW_76_in_synpred25_Class5786 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_identifier_in_synpred26_Class5837 = new BitSet(new long[]{0xFFFFFFFFFFEBFFF0L,0x0000007FFFFFFFFFL});
public static final BitSet FOLLOW_set_in_synpred26_Class5839 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_97_in_synpred27_Class5916 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_98_in_synpred28_Class5930 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_99_in_synpred29_Class5944 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_PIPE_in_synpred30_Class7360 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_100_in_synpred31_Class8427 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_101_in_synpred32_Class8441 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_102_in_synpred33_Class8455 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_behavioral_actions_constant_nonEmptyAccumulator_in_synpred34_Class8665 = new BitSet(new long[]{0x0000000000020000L});
public static final BitSet FOLLOW_SEMICOLON_in_synpred34_Class8667 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_data_classes_typedefinition_in_synpred35_Class8930 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_NAME_in_synpred35_Class8932 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_97_in_synpred36_Class10567 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_98_in_synpred37_Class10581 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_99_in_synpred38_Class10595 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_PIPE_in_synpred39_Class13220 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_STAR_in_synpred40_Class13395 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACKET_in_synpred41_Class13465 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_synpred41_Class13469 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_in_synpred43_Class13500 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_RCURL_in_synpred43_Class13504 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_PIPE_in_synpred45_Class13633 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_in_synpred46_Class14012 = new BitSet(new long[]{0xFFFFFFFFBFFFFFF0L,0x0000007FFFFFFFFFL});
public static final BitSet FOLLOW_INT_in_synpred46_Class14015 = new BitSet(new long[]{0xFFFFFFFF7FFFDFF0L,0x0000007FFFFFFFFFL});
public static final BitSet FOLLOW_set_in_synpred46_Class14017 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_set_in_synpred46_Class14028 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_integerSymbol_in_synpred47_Class14435 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_DDOT_in_synpred47_Class14437 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_STAR_in_synpred47_Class14439 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_integerSymbol_in_synpred47_Class14443 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_DDOT_in_synpred47_Class14445 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_synpred47_Class14447 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACKET_in_synpred48_Class14519 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_synpred48_Class14521 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_DDOT_in_synpred48_Class14523 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_in_synpred49_Class14605 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_synpred49_Class14607 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_DDOT_in_synpred49_Class14609 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACK_LCURL_in_synpred50_Class14691 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_synpred50_Class14693 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_DDOT_in_synpred50_Class14695 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_LBRACK_in_synpred51_Class14777 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_synpred51_Class14779 = new BitSet(new long[]{0x0000000080000000L});
public static final BitSet FOLLOW_DDOT_in_synpred51_Class14781 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_STAR_in_synpred52_Class14863 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_integerSymbol_in_synpred52_Class14867 = new BitSet(new long[]{0xFFFFFFFF7FFFFFF0L,0x0000007FFFFFFFFFL});
public static final BitSet FOLLOW_set_in_synpred52_Class14869 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACKET_in_synpred53_Class14927 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_synpred53_Class14929 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_synpred53_Class14931 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACKET_in_synpred53_Class14935 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_STAR_in_synpred53_Class14937 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_synpred53_Class14939 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACKET_in_synpred54_Class15006 = new BitSet(new long[]{0x0000000004000000L});
public static final BitSet FOLLOW_RBRACKET_in_synpred54_Class15008 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_in_synpred55_Class15037 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_STAR_in_synpred55_Class15039 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_RCURL_in_synpred55_Class15041 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_in_synpred55_Class15045 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_synpred55_Class15047 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_RCURL_in_synpred55_Class15049 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_in_synpred56_Class15116 = new BitSet(new long[]{0x0000000000002000L});
public static final BitSet FOLLOW_RCURL_in_synpred56_Class15118 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACK_LCURL_in_synpred57_Class15147 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_STAR_in_synpred57_Class15149 = new BitSet(new long[]{0x0000000200000000L});
public static final BitSet FOLLOW_RCURL_RBRACK_in_synpred57_Class15151 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACK_LCURL_in_synpred57_Class15155 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_synpred57_Class15157 = new BitSet(new long[]{0x0000000200000000L});
public static final BitSet FOLLOW_RCURL_RBRACK_in_synpred57_Class15159 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_LBRACK_in_synpred58_Class15226 = new BitSet(new long[]{0x0000000040000000L});
public static final BitSet FOLLOW_STAR_in_synpred58_Class15228 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_RBRACK_RCURL_in_synpred58_Class15230 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_LBRACK_in_synpred58_Class15234 = new BitSet(new long[]{0x0000000000000040L});
public static final BitSet FOLLOW_integerSymbol_in_synpred58_Class15236 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_RBRACK_RCURL_in_synpred58_Class15238 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LCURL_LBRACK_in_synpred59_Class15305 = new BitSet(new long[]{0x0000000800000000L});
public static final BitSet FOLLOW_RBRACK_RCURL_in_synpred59_Class15307 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_LBRACK_LCURL_in_synpred60_Class15336 = new BitSet(new long[]{0x0000000200000000L});
public static final BitSet FOLLOW_RCURL_RBRACK_in_synpred60_Class15338 = new BitSet(new long[]{0x0000000000000002L});
}