JavaPatternMatching/src/mycompiler/myparser/JavaParser.java

4119 lines
171 KiB
Java
Raw Normal View History

2014-07-09 08:52:23 +00:00
// created by jay 0.7 (c) 1998 Axel.Schreiner@informatik.uni-osnabrueck.de
// line 2 "./../src/mycompiler/myparser/JavaParser.jay"
/*
Backup von JavaParser.jay 10.April 17 Uhr
*/
package mycompiler.myparser;
import mycompiler.myclass.FieldDeclaration;
import mycompiler.myclass.GenericDeclarationList;
import mycompiler.myclass.Field;
import java.util.Vector;
import mycompiler.SourceFile;
import mycompiler.AClassOrInterface;
import mycompiler.myclass.Class;
import mycompiler.myclass.ClassBody;
import mycompiler.myclass.Constructor;
import mycompiler.myclass.Constant;
import mycompiler.myclass.ImportDeclarations;
import mycompiler.myclass.DeclId;
import mycompiler.myclass.ExceptionList;
import mycompiler.myclass.FormalParameter;
import mycompiler.myclass.Method;
import mycompiler.myclass.ParameterList;
import mycompiler.myclass.UsedId;
import mycompiler.myinterface.Interface;
import mycompiler.myinterface.InterfaceBody;
import mycompiler.mymodifier.Abstract;
import mycompiler.mymodifier.Final;
import mycompiler.mymodifier.Modifier;
import mycompiler.mymodifier.Modifiers;
import mycompiler.mymodifier.Private;
import mycompiler.mymodifier.Protected;
import mycompiler.mymodifier.Public;
import mycompiler.mymodifier.Static;
import mycompiler.myoperator.AndOp;
import mycompiler.myoperator.DivideOp;
import mycompiler.myoperator.EqualOp;
import mycompiler.myoperator.GreaterEquOp;
import mycompiler.myoperator.GreaterOp;
import mycompiler.myoperator.LessEquOp;
import mycompiler.myoperator.LessOp;
import mycompiler.myoperator.MinusOp;
import mycompiler.myoperator.ModuloOp;
import mycompiler.myoperator.NotEqualOp;
import mycompiler.myoperator.Operator;
import mycompiler.myoperator.OrOp;
import mycompiler.myoperator.PlusOp;
import mycompiler.myoperator.TimesOp;
import mycompiler.mystatement.ArgumentList;
import mycompiler.mystatement.Assign;
import mycompiler.mystatement.Binary;
import mycompiler.mystatement.Block;
import mycompiler.mystatement.BoolLiteral;
import mycompiler.mystatement.FloatLiteral;
import mycompiler.mystatement.DoubleLiteral;
import mycompiler.mystatement.LongLiteral;
import mycompiler.mystatement.CastExpr;
import mycompiler.mystatement.CharLiteral;
import mycompiler.mystatement.EmptyStmt;
import mycompiler.mystatement.Expr;
import mycompiler.mystatement.ExprStmt;
import mycompiler.mystatement.IfStmt;
import mycompiler.mystatement.InstanceOf;
import mycompiler.mystatement.IntLiteral;
import mycompiler.mystatement.Literal;
import mycompiler.mystatement.InstVar;
import mycompiler.mystatement.LocalOrFieldVar;
import mycompiler.mystatement.LocalVarDecl;
import mycompiler.mystatement.MethodCall;
import mycompiler.mystatement.NegativeExpr;
import mycompiler.mystatement.NewClass;
import mycompiler.mystatement.NotExpr;
import mycompiler.mystatement.Null;
import mycompiler.mystatement.PositivExpr;
import mycompiler.mystatement.PostDecExpr;
import mycompiler.mystatement.PostIncExpr;
import mycompiler.mystatement.PreDecExpr;
import mycompiler.mystatement.PreIncExpr;
import mycompiler.mystatement.Receiver;
import mycompiler.mystatement.Return;
import mycompiler.mystatement.Statement;
import mycompiler.mystatement.StringLiteral;
import mycompiler.mystatement.This;
import mycompiler.mystatement.UnaryMinus;
import mycompiler.mystatement.UnaryNot;
import mycompiler.mystatement.UnaryPlus;
import mycompiler.mystatement.WhileStmt;
import mycompiler.mystatement.ForStmt;
import mycompiler.mystatement.LambdaExpression;
import mycompiler.mytype.BaseType;
import mycompiler.mytype.BooleanType;
import mycompiler.mytype.CharacterType;
import mycompiler.mytype.GenericTypeVar;
import mycompiler.mytype.BoundedGenericTypeVar;
import mycompiler.mytype.IntegerType;
import mycompiler.mytype.ParaList;
import mycompiler.mytype.RefType;
import mycompiler.mytype.Type;
import mycompiler.mytype.TypePlaceholder;
import mycompiler.mytype.Void;
import mycompiler.mytype.WildcardType;
import mycompiler.mytype.ExtendsWildcardType;
import mycompiler.mytype.SuperWildcardType;
import mycompiler.mytype.Pair;
public class JavaParser{
public Vector path = new Vector();
//PL 05-07-30 eingefuegt. ANFANG
private Vector<Type> containedTypes = new Vector<Type>();
private Vector<UsedId> usedIdsToCheck = new Vector<UsedId>();
//Vektor aller Typdeklarationen die in aktueller Klasse vorkommen.
//wird nach Beendigung der Klasse des Attributs der jeweiligen
//Klasse zugeordnet
//nach dem Parsen wird mit wandleGeneric2RefType die
//die RefTypes gesetzt.
void initContainedTypes() {
this.containedTypes = new Vector<Type>();
}
void initUsedIdsToCheck() {
this.usedIdsToCheck = new Vector<UsedId>();
}
//PL 05-07-30 eingefuegt. ENDE
//LUAR 07-05-29 Anfang f<>r Wildcard Test
public Vector<Pair> testPair = new Vector<Pair>();
//LUAR 07-05-29 Ende
// line 132 "-"
// %token constants
//{ //ergaenzt PL 23.01.01 wieder entfernt 21.12.01
public static final int ABSTRACT = 257;
public static final int BOOLEAN = 258;
public static final int BREAK = 259;
public static final int CASE = 260;
public static final int CATCH = 261;
public static final int CHAR = 262;
public static final int CLASS = 263;
public static final int CONTINUE = 264;
public static final int DEFAULT = 265;
public static final int DO = 266;
public static final int ELSE = 267;
public static final int EXTENDS = 268;
public static final int FINAL = 269;
public static final int FINALLY = 270;
public static final int FOR = 271;
public static final int IF = 272;
public static final int INSTANCEOF = 273;
public static final int INT = 274;
public static final int NEW = 275;
public static final int PRIVATE = 276;
public static final int PROTECTED = 277;
public static final int PUBLIC = 278;
public static final int PACKAGE = 279;
public static final int IMPORT = 280;
public static final int INTERFACE = 281;
public static final int IMPLEMENTS = 282;
public static final int RETURN = 283;
public static final int STATIC = 284;
public static final int SUPER = 285;
public static final int SWITCH = 286;
public static final int THIS = 287;
public static final int THROW = 288;
public static final int THROWS = 289;
public static final int TRY = 290;
public static final int VOID = 291;
public static final int WHILE = 292;
public static final int INTLITERAL = 293;
public static final int LONGLITERAL = 294;
public static final int DOUBLELITERAL = 295;
public static final int FLOATLITERAL = 296;
public static final int BOOLLITERAL = 297;
public static final int JNULL = 298;
public static final int CHARLITERAL = 299;
public static final int STRINGLITERAL = 300;
public static final int IDENTIFIER = 301;
public static final int EQUAL = 302;
public static final int LESSEQUAL = 303;
public static final int GREATEREQUAL = 304;
public static final int NOTEQUAL = 305;
public static final int LOGICALOR = 306;
public static final int LOGICALAND = 307;
public static final int INCREMENT = 308;
public static final int DECREMENT = 309;
public static final int SHIFTLEFT = 310;
public static final int SHIFTRIGHT = 311;
public static final int UNSIGNEDSHIFTRIGHT = 312;
public static final int SIGNEDSHIFTRIGHT = 313;
public static final int PLUSEQUAL = 314;
public static final int MINUSEQUAL = 315;
public static final int TIMESEQUAL = 316;
public static final int DIVIDEEQUAL = 317;
public static final int ANDEQUAL = 318;
public static final int OREQUAL = 319;
public static final int XOREQUAL = 320;
public static final int MODULOEQUAL = 321;
public static final int SHIFTLEFTEQUAL = 322;
public static final int SIGNEDSHIFTRIGHTEQUAL = 323;
public static final int UNSIGNEDSHIFTRIGHTEQUAL = 324;
public static final int BRACE = 325;
public static final int RELOP = 326;
public static final int OP = 327;
public static final int EOF = 328;
public static final int LAMBDAASSIGNMENT = 329;
public static final int ENDOFGENERICVARDECLARATION = 330;
public static final int yyErrorCode = 256;
/** thrown for irrecoverable syntax errors and stack overflow.
*/
public static class yyException extends java.lang.Exception {
public Token token;
public yyException (String message, Token token) {
super(message);
this.token=token;
}
}
/** must be implemented by a scanner object to supply input to the parser.
*/
public interface yyInput {
/** move on to next token.
@return false if positioned beyond tokens.
@throws IOException on input error.
*/
boolean advance () throws java.io.IOException;
/** classifies current token.
Should not be called if advance() returned false.
@return current %token or single character.
*/
int token ();
/** associated with current token.
Should not be called if advance() returned false.
@return value for token().
*/
Object value ();
}
/** simplified error message.
@see <a href="#yyerror(java.lang.String, java.lang.String[])">yyerror</a>
*/
public void yyerror (String message) {
yyerror(message, null);
}
/** (syntax) error message.
Can be overwritten to control message format.
@param message text to be displayed.
@param expected vector of acceptable tokens, if available.
*/
public String yyerror (String message, String[] expected) {
if (expected != null && expected.length > 0) {
System.err.print(message+", expecting");
message+=", expecting";
for (int n = 0; n < expected.length; ++ n){
System.err.print(" "+expected[n]);
message+=" "+expected[n];}
System.err.println();
return message;
} else{
System.err.println(message);
return message;}
}
/** debugging support, requires the package jay.yydebug.
Set to null to suppress debugging messages.
*/
//t protected jay.yydebug.yyDebug yydebug;
protected static final int yyFinal = 15;
//t public static final String yyRule [] = {
//t "$accept : compilationunit",
//t "compilationunit : typedeclarations",
//t "compilationunit : importdeclarations typedeclarations",
//t "compilationunit : packagedeclaration importdeclarations typedeclarations",
//t "compilationunit : packagedeclaration typedeclarations",
//t "compilationunit : type type compilationunit",
//t "packagedeclaration : PACKAGE name ';'",
//t "importdeclarations : importdeclaration",
//t "importdeclarations : importdeclarations importdeclaration",
//t "importdeclaration : IMPORT importqualifiedname ';'",
//t "typedeclarations : typedeclaration",
//t "typedeclarations : typedeclarations typedeclaration",
//t "name : qualifiedname",
//t "name : simplename",
//t "typedeclaration : classdeclaration",
//t "typedeclaration : interfacedeclaration",
//t "qualifiedname : name '.' IDENTIFIER",
//t "importqualifiedname : name '.' IDENTIFIER",
//t "importqualifiedname : name '.' '*'",
//t "simplename : IDENTIFIER",
//t "classdeclaration : CLASS classidentifier classbody",
//t "classdeclaration : modifiers CLASS classidentifier classbody",
//t "classdeclaration : CLASS classidentifier super classbody",
//t "classdeclaration : modifiers CLASS classidentifier super classbody",
//t "classdeclaration : CLASS classidentifier interfaces classbody",
//t "classdeclaration : modifiers CLASS classidentifier interfaces classbody",
//t "classdeclaration : CLASS classidentifier super interfaces classbody",
//t "classdeclaration : modifiers CLASS classidentifier super interfaces classbody",
//t "interfaceidentifier : IDENTIFIER",
//t "interfaceidentifier : IDENTIFIER '<' boundedClassParameters '>'",
//t "classidentifier : IDENTIFIER",
//t "classidentifier : IDENTIFIER '<' boundedClassParameters '>'",
//t "interfacedeclaration : INTERFACE interfaceidentifier interfacebody",
//t "interfacedeclaration : modifiers INTERFACE interfaceidentifier interfacebody",
//t "interfacedeclaration : INTERFACE interfaceidentifier extendsinterfaces interfacebody",
//t "interfacedeclaration : modifiers INTERFACE interfaceidentifier extendsinterfaces interfacebody",
//t "paralist : IDENTIFIER",
//t "paralist : IDENTIFIER '<' paralist '>'",
//t "paralist : wildcardparameter",
//t "paralist : paralist ',' IDENTIFIER",
//t "paralist : paralist ',' IDENTIFIER '<' paralist '>'",
//t "paralist : paralist ',' wildcardparameter",
//t "wildcardparameter : '?'",
//t "wildcardparameter : '?' EXTENDS referencetype",
//t "wildcardparameter : '?' SUPER referencetype",
//t "classbody : '{' '}'",
//t "classbody : '{' classbodydeclarations '}'",
//t "modifiers : modifier",
//t "modifiers : modifiers modifier",
//t "super : EXTENDS classtype",
//t "interfaces : IMPLEMENTS interfacetype",
//t "interfaces : interfaces ',' interfacetype",
//t "interfacebody : '{' '}'",
//t "interfacebody : '{' interfacememberdeclarations '}'",
//t "extendsinterfaces : EXTENDS interfacetype",
//t "extendsinterfaces : extendsinterfaces ',' interfacetype",
//t "classbodydeclarations : classbodydeclaration",
//t "classbodydeclarations : classbodydeclarations classbodydeclaration",
//t "modifier : PUBLIC",
//t "modifier : PROTECTED",
//t "modifier : PRIVATE",
//t "modifier : STATIC",
//t "modifier : ABSTRACT",
//t "modifier : FINAL",
//t "classtype : classorinterfacetype",
//t "interfacememberdeclarations : interfacememberdeclaration",
//t "interfacememberdeclarations : interfacememberdeclarations interfacememberdeclaration",
//t "interfacetype : classorinterfacetype",
//t "classbodydeclaration : classmemberdeclaration",
//t "classbodydeclaration : staticinitializer",
//t "classbodydeclaration : constructordeclaration",
2014-08-07 10:11:18 +00:00
//t "typename : simplename",
//t "typename : IDENTIFIER '.' typename",
2014-07-09 08:52:23 +00:00
//t "classorinterfacetype : simplename parameter",
//t "typelist : type",
//t "typelist : typelist ',' type",
//t "parameter :",
//t "parameter : '<' typelist '>'",
//t "interfacememberdeclaration : constantdeclaration",
//t "interfacememberdeclaration : abstractmethoddeclaration",
//t "classmemberdeclaration : fielddeclaration",
//t "classmemberdeclaration : methoddeclaration",
//t "staticinitializer : STATIC block",
//t "constructordeclaration : constructordeclarator constructorbody",
//t "constructordeclaration : modifiers constructordeclarator constructorbody",
//t "constantdeclaration : modifiers type IDENTIFIER '=' expression ';'",
//t "abstractmethoddeclaration : methodheader ';'",
//t "fielddeclarator : variabledeclarator '=' expression",
2014-07-09 13:07:40 +00:00
//t "fielddeclarator : variabledeclarator",
//t "genericdeclarationlist : '<' boundedMethodParameters '>'",
2014-07-09 08:52:23 +00:00
//t "fielddeclaration : fielddeclarator ';'",
//t "fielddeclaration : type fielddeclarator ';'",
//t "fielddeclaration : genericdeclarationlist type fielddeclarator ';'",
//t "fielddeclaration : variabledeclarators ';'",
//t "fielddeclaration : type variabledeclarators ';'",
//t "fielddeclaration : modifiers type variabledeclarators ';'",
//t "methoddeclaration : methodheader methodbody",
//t "block : '{' '}'",
//t "block : '{' blockstatements '}'",
//t "constructordeclarator : simplename '(' ')'",
//t "constructordeclarator : simplename '(' formalparameterlist ')'",
//t "constructorbody : '{' '}'",
//t "constructorbody : '{' explicitconstructorinvocation '}'",
//t "constructorbody : '{' blockstatements '}'",
//t "constructorbody : '{' explicitconstructorinvocation blockstatements '}'",
//t "throws : THROWS classtypelist",
//t "boundedClassParameter : boundedMethodParameter",
//t "boundedClassParameters : boundedClassParameter",
//t "boundedClassParameters : boundedClassParameters ',' boundedClassParameter",
//t "boundedMethodParameter : IDENTIFIER",
//t "boundedMethodParameter : IDENTIFIER EXTENDS boundedclassidentifierlist",
//t "boundedclassidentifierlist : referencetype",
//t "boundedclassidentifierlist : boundedclassidentifierlist '&' referencetype",
//t "boundedMethodParameters : boundedMethodParameter",
//t "boundedMethodParameters : boundedMethodParameters ',' boundedMethodParameter",
//t "methodheader : genericdeclarationlist type methoddeclarator",
//t "methodheader : type methoddeclarator",
//t "methodheader : modifiers type methoddeclarator",
//t "methodheader : modifiers genericdeclarationlist type methoddeclarator",
//t "methodheader : type methoddeclarator throws",
//t "methodheader : genericdeclarationlist type methoddeclarator throws",
//t "methodheader : modifiers type methoddeclarator throws",
//t "methodheader : modifiers genericdeclarationlist type methoddeclarator throws",
//t "methodheader : VOID methoddeclarator",
//t "methodheader : modifiers VOID methoddeclarator",
//t "methodheader : VOID methoddeclarator throws",
//t "methodheader : modifiers VOID methoddeclarator throws",
//t "methodheader : genericdeclarationlist VOID methoddeclarator",
//t "methodheader : modifiers genericdeclarationlist VOID methoddeclarator",
//t "methodheader : genericdeclarationlist VOID methoddeclarator throws",
//t "methodheader : modifiers genericdeclarationlist VOID methoddeclarator throws",
//t "methodheader : methoddeclarator",
//t "methodheader : genericdeclarationlist methoddeclarator",
//t "methodheader : modifiers methoddeclarator",
//t "methodheader : methoddeclarator throws",
//t "methodheader : modifiers methoddeclarator throws",
//t "type : primitivetype",
//t "type : primitivetype '[' ']'",
//t "type : referencetype",
//t "type : referencetype '[' ']'",
//t "variabledeclarators : variabledeclarator",
//t "variabledeclarators : variabledeclarators ',' variabledeclarator",
//t "methodbody : block",
//t "blockstatements : blockstatement",
//t "blockstatements : blockstatements blockstatement",
//t "formalparameterlist : formalparameter",
//t "formalparameterlist : formalparameterlist ',' formalparameter",
//t "explicitconstructorinvocation : THIS '(' ')' ';'",
//t "explicitconstructorinvocation : THIS '(' argumentlist ')' ';'",
//t "classtypelist : classtype",
//t "classtypelist : classtypelist ',' classtype",
//t "methoddeclarator : IDENTIFIER '(' ')'",
//t "methoddeclarator : IDENTIFIER '(' formalparameterlist ')'",
//t "primitivetype : BOOLEAN",
//t "primitivetype : numerictype",
2014-08-07 10:11:18 +00:00
//t "referencelongtype : typename parameter",
2014-07-09 08:52:23 +00:00
//t "referencetype : classorinterfacetype",
//t "variabledeclarator : variabledeclaratorid",
//t "blockstatement : localvariabledeclarationstatement",
//t "blockstatement : statement",
//t "formalparameter : type variabledeclaratorid",
//t "formalparameter : variabledeclaratorid",
//t "argumentlist : expression",
//t "argumentlist : argumentlist ',' expression",
//t "numerictype : integraltype",
//t "variabledeclaratorid : IDENTIFIER",
//t "variableinitializer : expression",
//t "localvariabledeclarationstatement : localvariabledeclaration ';'",
//t "statement : statementwithouttrailingsubstatement",
//t "statement : ifthenstatement",
//t "statement : ifthenelsestatement",
//t "statement : whilestatement",
//t "statement : forstatement",
//t "expression : assignmentexpression",
//t "expression : classinstancecreationexpression",
//t "integraltype : INT",
//t "integraltype : CHAR",
//t "localvariabledeclaration : type variabledeclarators",
//t "localvariabledeclaration : variabledeclarators",
//t "statementwithouttrailingsubstatement : block",
//t "statementwithouttrailingsubstatement : emptystatement",
//t "statementwithouttrailingsubstatement : expressionstatement",
//t "statementwithouttrailingsubstatement : returnstatement",
//t "ifthenstatement : IF '(' expression ')' statement",
//t "ifthenelsestatement : IF '(' expression ')' statementnoshortif ELSE statement",
//t "whilestatement : WHILE '(' expression ')' statement",
//t "forstatement : FOR '(' expression ';' expression ';' expression ')' statement",
//t "forstatement : FOR '(' expression ';' expression ';' ')' statement",
//t "forstatement : FOR '(' expression ';' ';' expression ')' statement",
//t "forstatement : FOR '(' ';' expression ';' expression ')' statement",
//t "forstatement : FOR '(' expression ';' ';' ')' statement",
//t "forstatement : FOR '(' ';' expression ';' ')' statement",
//t "forstatement : FOR '(' ';' ';' expression ')' statement",
//t "forstatement : FOR '(' ';' ';' ')' statement",
//t "assignmentexpression : conditionalexpression",
//t "assignmentexpression : assignment",
//t "emptystatement : ';'",
//t "expressionstatement : statementexpression ';'",
//t "returnstatement : RETURN ';'",
//t "returnstatement : RETURN expression ';'",
//t "statementnoshortif : statementwithouttrailingsubstatement",
//t "statementnoshortif : ifthenelsestatementnoshortif",
//t "statementnoshortif : whilestatementnoshortif",
//t "conditionalexpression : conditionalorexpression",
//t "assignment : lefthandside assignmentoperator assignmentexpression",
//t "assignment : lefthandside assignmentoperator classinstancecreationexpression",
//t "statementexpression : assignment",
//t "statementexpression : preincrementexpression",
//t "statementexpression : predecrementexpression",
//t "statementexpression : postincrementexpression",
//t "statementexpression : postdecrementexpression",
//t "statementexpression : methodinvocation",
//t "ifthenelsestatementnoshortif : IF '(' expression ')' statementnoshortif ELSE statementnoshortif",
//t "whilestatementnoshortif : WHILE '(' expression ')' statementnoshortif",
//t "conditionalorexpression : conditionalandexpression",
//t "conditionalorexpression : conditionalorexpression LOGICALOR conditionalandexpression",
//t "lambdaassignmentoperator : LAMBDAASSIGNMENT",
//t "lambdabody : block",
//t "lambdabody : expression",
//t "lambdaexpressionparameter : '(' ')'",
//t "lambdaexpressionparameter : '(' formalparameterlist ')'",
//t "lambdaexpression : lambdaexpressionparameter lambdaassignmentoperator lambdabody",
//t "lefthandside : name",
//t "assignmentoperator : '='",
//t "assignmentoperator : TIMESEQUAL",
//t "assignmentoperator : DIVIDEEQUAL",
//t "assignmentoperator : MODULOEQUAL",
//t "assignmentoperator : PLUSEQUAL",
//t "assignmentoperator : MINUSEQUAL",
//t "preincrementexpression : INCREMENT unaryexpression",
//t "predecrementexpression : DECREMENT unaryexpression",
//t "postincrementexpression : postfixexpression INCREMENT",
//t "postdecrementexpression : postfixexpression DECREMENT",
//t "methodinvocation : name '(' ')'",
//t "methodinvocation : name '(' argumentlist ')'",
//t "methodinvocation : primary '.' IDENTIFIER '(' ')'",
//t "methodinvocation : primary '.' IDENTIFIER '(' argumentlist ')'",
//t "classinstancecreationexpression : NEW classtype '(' ')'",
//t "classinstancecreationexpression : NEW classtype '(' argumentlist ')'",
//t "conditionalandexpression : inclusiveorexpression",
//t "conditionalandexpression : conditionalandexpression LOGICALAND inclusiveorexpression",
//t "unaryexpression : preincrementexpression",
//t "unaryexpression : predecrementexpression",
//t "unaryexpression : '+' unaryexpression",
//t "unaryexpression : '-' unaryexpression",
//t "unaryexpression : unaryexpressionnotplusminus",
//t "postfixexpression : primary",
//t "postfixexpression : name",
//t "postfixexpression : postincrementexpression",
//t "postfixexpression : postdecrementexpression",
//t "primary : primarynonewarray",
//t "inclusiveorexpression : exclusiveorexpression",
//t "inclusiveorexpression : inclusiveorexpression '|' exclusiveorexpression",
//t "primarynonewarray : literal",
//t "primarynonewarray : THIS",
//t "primarynonewarray : methodinvocation",
//t "primarynonewarray : lambdaexpression",
//t "unaryexpressionnotplusminus : postfixexpression",
//t "unaryexpressionnotplusminus : '!' unaryexpression",
//t "unaryexpressionnotplusminus : castexpression",
//t "exclusiveorexpression : andexpression",
//t "exclusiveorexpression : exclusiveorexpression '^' andexpression",
//t "literal : INTLITERAL",
//t "literal : BOOLLITERAL",
//t "literal : CHARLITERAL",
//t "literal : STRINGLITERAL",
//t "literal : LONGLITERAL",
//t "literal : FLOATLITERAL",
//t "literal : DOUBLELITERAL",
//t "literal : JNULL",
//t "castexpression : '(' primitivetype ')' unaryexpression",
//t "andexpression : equalityexpression",
//t "andexpression : andexpression '&' equalityexpression",
//t "equalityexpression : relationalexpression",
//t "equalityexpression : equalityexpression EQUAL relationalexpression",
//t "equalityexpression : equalityexpression NOTEQUAL relationalexpression",
//t "relationalexpression : shiftexpression",
//t "relationalexpression : relationalexpression '<' shiftexpression",
//t "relationalexpression : relationalexpression '>' shiftexpression",
//t "relationalexpression : relationalexpression LESSEQUAL shiftexpression",
//t "relationalexpression : relationalexpression GREATEREQUAL shiftexpression",
//t "relationalexpression : relationalexpression INSTANCEOF referencetype",
//t "shiftexpression : additiveexpression",
//t "additiveexpression : multiplicativeexpression",
//t "additiveexpression : additiveexpression '+' multiplicativeexpression",
//t "additiveexpression : additiveexpression '-' multiplicativeexpression",
//t "multiplicativeexpression : unaryexpression",
//t "multiplicativeexpression : multiplicativeexpression '*' unaryexpression",
//t "multiplicativeexpression : multiplicativeexpression '/' unaryexpression",
//t "multiplicativeexpression : multiplicativeexpression '%' unaryexpression",
//t };
protected static final String yyName [] = {
"end-of-file",null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,"'!'",null,null,null,"'%'","'&'",
null,"'('","')'","'*'","'+'","','","'-'","'.'","'/'",null,null,null,
null,null,null,null,null,null,null,null,"';'","'<'","'='","'>'","'?'",
null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,
"'['",null,"']'","'^'",null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,"'{'","'|'","'}'",null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,
"ABSTRACT","BOOLEAN","BREAK","CASE","CATCH","CHAR","CLASS","CONTINUE",
"DEFAULT","DO","ELSE","EXTENDS","FINAL","FINALLY","FOR","IF",
"INSTANCEOF","INT","NEW","PRIVATE","PROTECTED","PUBLIC","PACKAGE",
"IMPORT","INTERFACE","IMPLEMENTS","RETURN","STATIC","SUPER","SWITCH",
"THIS","THROW","THROWS","TRY","VOID","WHILE","INTLITERAL",
"LONGLITERAL","DOUBLELITERAL","FLOATLITERAL","BOOLLITERAL","JNULL",
"CHARLITERAL","STRINGLITERAL","IDENTIFIER","EQUAL","LESSEQUAL",
"GREATEREQUAL","NOTEQUAL","LOGICALOR","LOGICALAND","INCREMENT",
"DECREMENT","SHIFTLEFT","SHIFTRIGHT","UNSIGNEDSHIFTRIGHT",
"SIGNEDSHIFTRIGHT","PLUSEQUAL","MINUSEQUAL","TIMESEQUAL",
"DIVIDEEQUAL","ANDEQUAL","OREQUAL","XOREQUAL","MODULOEQUAL",
"SHIFTLEFTEQUAL","SIGNEDSHIFTRIGHTEQUAL","UNSIGNEDSHIFTRIGHTEQUAL",
"BRACE","RELOP","OP","EOF","LAMBDAASSIGNMENT",
"ENDOFGENERICVARDECLARATION",
};
/** index-checked interface to yyName[].
@param token single character or %token value.
@return token name or [illegal] or [unknown].
*/
//t public static final String yyname (int token) {
//t if (token < 0 || token > yyName.length) return "[illegal]";
//t String name;
//t if ((name = yyName[token]) != null) return name;
//t return "[unknown]";
//t }
/** computes list of expected tokens on error by tracing the tables.
@param state for which to compute the list.
@return list of token names.
*/
protected String[] yyExpecting (int state) {
// yyCheck durch yyCheckInit.yyCheck; ersetzt PL 25.1.01
int token, n, len = 0;
boolean[] ok = new boolean[yyName.length];
if ((n = yySindex[state]) != 0)
for (token = n < 0 ? -n : 0;
token < yyName.length && n+token < yyTable.length; ++ token)
if (yyCheckInit.yyCheck[n+token] == token && !ok[token] && yyName[token] != null) {
++ len;
ok[token] = true;
}
if ((n = yyRindex[state]) != 0)
for (token = n < 0 ? -n : 0;
token < yyName.length && n+token < yyTable.length; ++ token)
if (yyCheckInit.yyCheck[n+token] == token && !ok[token] && yyName[token] != null) {
++ len;
ok[token] = true;
}
String result[] = new String[len];
for (n = token = 0; n < len; ++ token)
if (ok[token]) result[n++] = yyName[token];
return result;
}
/** the generated parser, with debugging messages.
Maintains a state and a value stack, currently with fixed maximum size.
@param yyLex scanner.
@param yydebug debug message writer implementing yyDebug, or null.
@return result of the last reduction, if any.
@throws yyException on irrecoverable parse error.
*/
public Object yyparse (yyInput yyLex, Object yydebug)
throws java.io.IOException, yyException {
//t this.yydebug = (jay.yydebug.yyDebug)yydebug;
return yyparse(yyLex);
}
/** initial size and increment of the state/value stack [default 256].
This is not final so that it can be overwritten outside of invocations
of yyparse().
*/
protected int yyMax;
/** executed at the beginning of a reduce action.
Used as $$ = yyDefault($1), prior to the user-specified action, if any.
Can be overwritten to provide deep copy, etc.
@param first value for $1, or null.
@return first.
*/
protected Object yyDefault (Object first) {
return first;
}
/** the generated parser.
Maintains a state and a value stack, currently with fixed maximum size.
@param yyLex scanner.
@return result of the last reduction, if any.
@throws yyException on irrecoverable parse error.
*/
public Object yyparse (yyInput yyLex)
throws java.io.IOException, yyException {
// yyCheck durch yyCheckInit.yyCheck; ersetzt PL 23.1.01
yyCheckInit.yyCheckInit(); // initial yyCheck eingefuegt PL 25.1.01
if (yyMax <= 0) yyMax = 256; // initial size
int yyState = 0, yyStates[] = new int[yyMax]; // state stack
Object yyVal = null, yyVals[] = new Object[yyMax]; // value stack
int yyToken = -1; // current input
int yyErrorFlag = 0; // #tks to shift
Scanner yyScanner = (Scanner)yyLex;
String yyErrorString = "irrecoverable syntax error";
yyLoop: for (int yyTop = 0;; ++ yyTop) {
if (yyTop >= yyStates.length) { // dynamically increase
int[] i = new int[yyStates.length+yyMax];
System.arraycopy(yyStates, 0, i, 0, yyStates.length);
yyStates = i;
Object[] o = new Object[yyVals.length+yyMax];
System.arraycopy(yyVals, 0, o, 0, yyVals.length);
yyVals = o;
}
yyStates[yyTop] = yyState;
yyVals[yyTop] = yyVal;
//t if (yydebug != null) yydebug.push(yyState, yyVal);
yyDiscarded: for (;;) { // discarding a token does not change stack
int yyN;
if ((yyN = yyDefRed[yyState]) == 0) { // else [default] reduce (yyN)
if (yyToken < 0) {
yyToken = yyLex.advance() ? yyLex.token() : 0;
//t if (yydebug != null)
//t yydebug.lex(yyState, yyToken, yyname(yyToken), yyLex.value());
}
if ((yyN = yySindex[yyState]) != 0 && (yyN += yyToken) >= 0
&& yyN < yyTable.length && yyCheckInit.yyCheck[yyN] == yyToken) {
//t if (yydebug != null)
//t yydebug.shift(yyState, yyTable[yyN], yyErrorFlag-1);
yyState = yyTable[yyN]; // shift to yyN
yyVal = yyLex.value();
yyToken = -1;
if (yyErrorFlag > 0) -- yyErrorFlag;
continue yyLoop;
}
if ((yyN = yyRindex[yyState]) != 0 && (yyN += yyToken) >= 0
&& yyN < yyTable.length && yyCheckInit.yyCheck[yyN] == yyToken)
yyN = yyTable[yyN]; // reduce (yyN)
else
switch (yyErrorFlag) {
case 0:
yyErrorString=yyerror("syntax error", yyExpecting(yyState));
//t if (yydebug != null) yydebug.error("syntax error");
case 1: case 2:
yyErrorFlag = 3;
do {
if ((yyN = yySindex[yyStates[yyTop]]) != 0
&& (yyN += yyErrorCode) >= 0 && yyN < yyTable.length
&& yyCheckInit.yyCheck[yyN] == yyErrorCode) {
//t if (yydebug != null)
//t yydebug.shift(yyStates[yyTop], yyTable[yyN], 3);
yyState = yyTable[yyN];
yyVal = yyLex.value();
continue yyLoop;
}
//t if (yydebug != null) yydebug.pop(yyStates[yyTop]);
} while (-- yyTop >= 0);
//t if (yydebug != null) yydebug.reject();
throw new yyException(yyErrorString, yyScanner.token);
case 3:
if (yyToken == 0) {
//t if (yydebug != null) yydebug.reject();
throw new yyException(yyErrorString+"at end-of-file", yyScanner.token);
}
//t if (yydebug != null)
//t yydebug.discard(yyState, yyToken, yyname(yyToken),
//t yyLex.value());
yyToken = -1;
continue yyDiscarded; // leave stack alone
}
}
int yyV = yyTop + 1-yyLen[yyN];
//t if (yydebug != null)
//t yydebug.reduce(yyState, yyStates[yyV-1], yyN, yyRule[yyN], yyLen[yyN]);
yyVal = yyDefault(yyV > yyTop ? null : yyVals[yyV]);
switch (yyN) {
case 1:
2014-08-07 10:11:18 +00:00
// line 327 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((SourceFile)yyVals[0+yyTop]);
}
break;
case 2:
2014-08-07 10:11:18 +00:00
// line 331 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((SourceFile)yyVals[0+yyTop]).addImports(((ImportDeclarations)yyVals[-1+yyTop]));
yyVal=((SourceFile)yyVals[0+yyTop]);
}
break;
case 3:
2014-08-07 10:11:18 +00:00
// line 336 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Package*/
((SourceFile)yyVals[0+yyTop]).setPackageName(((UsedId)yyVals[-2+yyTop]));
((SourceFile)yyVals[0+yyTop]).addImports(((ImportDeclarations)yyVals[-1+yyTop]));
yyVal=((SourceFile)yyVals[0+yyTop]);
}
break;
case 4:
2014-08-07 10:11:18 +00:00
// line 343 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Package*/
((SourceFile)yyVals[0+yyTop]).setPackageName(((UsedId)yyVals[-1+yyTop]));
yyVal=((SourceFile)yyVals[0+yyTop]);
}
break;
case 5:
2014-08-07 10:11:18 +00:00
// line 349 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
this.testPair.add(new Pair(((Type)yyVals[-2+yyTop]),((Type)yyVals[-1+yyTop])));
yyVal=((SourceFile)yyVals[0+yyTop]);
}
break;
case 6:
2014-08-07 10:11:18 +00:00
// line 355 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Package*/
yyVal = ((UsedId)yyVals[-1+yyTop]);
}
break;
case 7:
2014-08-07 10:11:18 +00:00
// line 361 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ImportDeclarations declarations=new ImportDeclarations();
declarations.addElement(((UsedId)yyVals[0+yyTop]));
yyVal=declarations;
}
break;
case 8:
2014-08-07 10:11:18 +00:00
// line 367 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((ImportDeclarations)yyVals[-1+yyTop]).addElement(((UsedId)yyVals[0+yyTop]));
yyVal=((ImportDeclarations)yyVals[-1+yyTop]);
}
break;
case 9:
2014-08-07 10:11:18 +00:00
// line 373 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((UsedId)yyVals[-1+yyTop]);
}
break;
case 10:
2014-08-07 10:11:18 +00:00
// line 378 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
SourceFile Scfile = new SourceFile();
Scfile.addElement(((AClassOrInterface)yyVals[0+yyTop]));
yyVal=Scfile;
}
break;
case 11:
2014-08-07 10:11:18 +00:00
// line 384 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((SourceFile)yyVals[-1+yyTop]).addElement(((AClassOrInterface)yyVals[0+yyTop]));
yyVal=((SourceFile)yyVals[-1+yyTop]);
}
break;
case 12:
2014-08-07 10:11:18 +00:00
// line 390 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((UsedId)yyVals[0+yyTop]);
}
break;
case 13:
2014-08-07 10:11:18 +00:00
// line 394 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((UsedId)yyVals[0+yyTop]);
}
break;
case 14:
2014-08-07 10:11:18 +00:00
// line 399 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Class)yyVals[0+yyTop]);
}
break;
case 15:
2014-08-07 10:11:18 +00:00
// line 403 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Interface*/
yyVal=((Interface)yyVals[0+yyTop]);
}
break;
case 16:
2014-08-07 10:11:18 +00:00
// line 410 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((UsedId)yyVals[-2+yyTop]).set_Name(((Token)yyVals[0+yyTop]).getLexem());
((UsedId)yyVals[-2+yyTop]).setOffset(((UsedId)yyVals[-2+yyTop]).getOffset());
yyVal=((UsedId)yyVals[-2+yyTop]);
}
break;
case 17:
2014-08-07 10:11:18 +00:00
// line 417 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((UsedId)yyVals[-2+yyTop]).set_Name(((Token)yyVals[0+yyTop]).getLexem());
((UsedId)yyVals[-2+yyTop]).setOffset(((UsedId)yyVals[-2+yyTop]).getOffset());
yyVal=((UsedId)yyVals[-2+yyTop]);
}
break;
case 18:
2014-08-07 10:11:18 +00:00
// line 423 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((UsedId)yyVals[-2+yyTop]).set_Name("*");
((UsedId)yyVals[-2+yyTop]).setOffset(((UsedId)yyVals[-2+yyTop]).getOffset());
yyVal=((UsedId)yyVals[-2+yyTop]);
}
break;
case 19:
2014-08-07 10:11:18 +00:00
// line 431 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
UsedId UI = new UsedId(((Token)yyVals[0+yyTop]).getOffset());
UI.set_Name( ((Token)yyVals[0+yyTop]).getLexem() );
UI.setOffset(((Token)yyVals[0+yyTop]).getOffset());/*hinzugef<65>gt hoth: 07.04.2006*/
yyVal = UI;
}
break;
case 20:
2014-08-07 10:11:18 +00:00
// line 439 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Um das hier uebersichtlicher zu halten,*/
/* gibt es einen allumfassenden Konstruktor fuer Class*/
/* Parameter:*/
/* String name, */
/* Modifiers mod,*/
/* ClassBody classbody, */
/* Vector<Type> containedtypes, */
/* UsedId superclass, */
/* Vector<UsedId> SuperInterfaces, */
/* Vector<Type> Parameterliste*/
yyVal = new Class(((ClassAndParameter)yyVals[-1+yyTop]).getName(), null, ((ClassBody)yyVals[0+yyTop]), containedTypes, usedIdsToCheck, null, null, ((ClassAndParameter)yyVals[-1+yyTop]).getParaVector(), ((Token)yyVals[-2+yyTop]).getOffset());
2014-07-09 08:52:23 +00:00
this.initContainedTypes();
this.initUsedIdsToCheck();
}
break;
case 21:
2014-08-07 10:11:18 +00:00
// line 456 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = new Class(((ClassAndParameter)yyVals[-1+yyTop]).getName(), ((Modifiers)yyVals[-3+yyTop]), ((ClassBody)yyVals[0+yyTop]), containedTypes,usedIdsToCheck, null, null, ((ClassAndParameter)yyVals[-1+yyTop]).getParaVector(), ((Token)yyVals[-2+yyTop]).getOffset());
2014-07-09 08:52:23 +00:00
this.initContainedTypes();
this.initUsedIdsToCheck();
}
break;
case 22:
2014-08-07 10:11:18 +00:00
// line 462 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = new Class(((ClassAndParameter)yyVals[-2+yyTop]).getName(), null, ((ClassBody)yyVals[0+yyTop]), containedTypes,usedIdsToCheck, ((UsedId)yyVals[-1+yyTop]), null, ((ClassAndParameter)yyVals[-2+yyTop]).getParaVector(), ((Token)yyVals[-3+yyTop]).getOffset());
2014-07-09 08:52:23 +00:00
this.initContainedTypes();
this.initUsedIdsToCheck();
}
break;
case 23:
2014-08-07 10:11:18 +00:00
// line 468 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = new Class(((ClassAndParameter)yyVals[-2+yyTop]).getName(), ((Modifiers)yyVals[-4+yyTop]), ((ClassBody)yyVals[0+yyTop]), containedTypes, usedIdsToCheck, ((UsedId)yyVals[-1+yyTop]), null, ((ClassAndParameter)yyVals[-2+yyTop]).getParaVector(), ((Token)yyVals[-3+yyTop]).getOffset());
2014-07-09 08:52:23 +00:00
this.initContainedTypes();
this.initUsedIdsToCheck();
}
break;
case 24:
2014-08-07 10:11:18 +00:00
// line 475 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = new Class(((ClassAndParameter)yyVals[-2+yyTop]).getName(), null, ((ClassBody)yyVals[0+yyTop]), containedTypes, usedIdsToCheck, null, ((InterfaceList)yyVals[-1+yyTop]).getVector(), ((ClassAndParameter)yyVals[-2+yyTop]).getParaVector(), ((Token)yyVals[-3+yyTop]).getOffset());
2014-07-09 08:52:23 +00:00
this.initContainedTypes();
this.initUsedIdsToCheck();
}
break;
case 25:
2014-08-07 10:11:18 +00:00
// line 481 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = new Class(((ClassAndParameter)yyVals[-2+yyTop]).getName(), ((Modifiers)yyVals[-4+yyTop]), ((ClassBody)yyVals[0+yyTop]), containedTypes, usedIdsToCheck, null, ((InterfaceList)yyVals[-1+yyTop]).getVector(), ((ClassAndParameter)yyVals[-2+yyTop]).getParaVector(), ((Token)yyVals[-3+yyTop]).getOffset());
2014-07-09 08:52:23 +00:00
this.initContainedTypes();
this.initUsedIdsToCheck();
}
break;
case 26:
2014-08-07 10:11:18 +00:00
// line 487 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = new Class(((ClassAndParameter)yyVals[-3+yyTop]).getName(), null, ((ClassBody)yyVals[0+yyTop]), containedTypes,usedIdsToCheck, ((UsedId)yyVals[-2+yyTop]), ((InterfaceList)yyVals[-1+yyTop]).getVector(), ((ClassAndParameter)yyVals[-3+yyTop]).getParaVector(), ((Token)yyVals[-4+yyTop]).getOffset());
2014-07-09 08:52:23 +00:00
this.initContainedTypes();
this.initUsedIdsToCheck();
}
break;
case 27:
2014-08-07 10:11:18 +00:00
// line 493 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = new Class(((ClassAndParameter)yyVals[-3+yyTop]).getName(), ((Modifiers)yyVals[-5+yyTop]), ((ClassBody)yyVals[0+yyTop]), containedTypes, usedIdsToCheck, ((UsedId)yyVals[-2+yyTop]), ((InterfaceList)yyVals[-1+yyTop]).getVector(), ((ClassAndParameter)yyVals[-3+yyTop]).getParaVector(), ((Token)yyVals[-4+yyTop]).getOffset());
2014-07-09 08:52:23 +00:00
this.initContainedTypes();
this.initUsedIdsToCheck();
}
break;
case 28:
2014-08-07 10:11:18 +00:00
// line 500 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* HOTI*/
/* Verbindet den Namen eines Interfaces mit einer optionalen Parameterliste*/
yyVal = new InterfaceAndParameter(((Token)yyVals[0+yyTop]).getLexem());
}
break;
case 29:
2014-08-07 10:11:18 +00:00
// line 506 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = new InterfaceAndParameter(((Token)yyVals[-3+yyTop]).getLexem(), ((ParaList)yyVals[-1+yyTop]));
}
break;
case 30:
2014-08-07 10:11:18 +00:00
// line 511 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Hilfskonstrukt, um die Grammatik ueberschaubar zu halten*/
/* Verbindet den Namen einer Klasse mit einer optionalen Parameterliste*/
yyVal = new ClassAndParameter(((Token)yyVals[0+yyTop]).getLexem());
}
break;
case 31:
2014-08-07 10:11:18 +00:00
// line 517 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = new ClassAndParameter(((Token)yyVals[-3+yyTop]).getLexem(), ((ParaList)yyVals[-1+yyTop]));
}
break;
case 32:
2014-08-07 10:11:18 +00:00
// line 522 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Interface*/
Interface ic = new Interface(((InterfaceAndParameter)yyVals[-1+yyTop]).getName(), ((Token)yyVals[-2+yyTop]).getOffset());
2014-07-09 08:52:23 +00:00
ic.setParaList(((InterfaceAndParameter)yyVals[-1+yyTop]).getParaVector());
ic.setInterfaceBody(((InterfaceBody)yyVals[0+yyTop]));
ic.setContainedTypes(containedTypes);
initContainedTypes();
yyVal = ic;
}
break;
case 33:
2014-08-07 10:11:18 +00:00
// line 532 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Interface ic = new Interface(((InterfaceAndParameter)yyVals[-1+yyTop]).getName(), ((Modifiers)yyVals[-3+yyTop]), ((Token)yyVals[-2+yyTop]).getOffset());
2014-07-09 08:52:23 +00:00
ic.setInterfaceBody(((InterfaceBody)yyVals[0+yyTop]));
ic.setParaList(((InterfaceAndParameter)yyVals[-1+yyTop]).getParaVector());
ic.setContainedTypes(containedTypes);
initContainedTypes();
yyVal = ic;
}
break;
case 34:
2014-08-07 10:11:18 +00:00
// line 541 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Interface ic = new Interface(((InterfaceAndParameter)yyVals[-2+yyTop]).getName(), ((Token)yyVals[-3+yyTop]).getOffset());
2014-07-09 08:52:23 +00:00
ic.setParaList(((InterfaceAndParameter)yyVals[-2+yyTop]).getParaVector());
ic.setSuperInterfaces(((InterfaceList)yyVals[-1+yyTop]).getVector());
ic.setInterfaceBody(((InterfaceBody)yyVals[0+yyTop]));
ic.setContainedTypes(containedTypes);
initContainedTypes();
yyVal = ic;
}
break;
case 35:
2014-08-07 10:11:18 +00:00
// line 551 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Interface ic = new Interface(((InterfaceAndParameter)yyVals[-2+yyTop]).getName(), ((Modifiers)yyVals[-4+yyTop]), ((Token)yyVals[-3+yyTop]).getOffset());
2014-07-09 08:52:23 +00:00
ic.setParaList(((InterfaceAndParameter)yyVals[-2+yyTop]).getParaVector());
ic.setSuperInterfaces(((InterfaceList)yyVals[-1+yyTop]).getVector());
ic.setInterfaceBody(((InterfaceBody)yyVals[0+yyTop]));
ic.setContainedTypes(containedTypes);
initContainedTypes();
yyVal = ic;
}
break;
case 36:
2014-08-07 10:11:18 +00:00
// line 562 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ParaList pl = new ParaList();
/* #JB# 05.04.2005 */
/* ########################################################### */
pl.getParalist().addElement(new GenericTypeVar(((Token)yyVals[0+yyTop]).getLexem(), ((Token)yyVals[0+yyTop]).getOffset()));
/*pl.getParalist().addElement( new TypePlaceholder($1.getLexem()) );*/
/* ########################################################### */
org.apache.log4j.Logger.getLogger("parser").debug( "IDENTIFIER --> Paralist f<>r " + ((Token)yyVals[0+yyTop]).getLexem() + " TV");
yyVal = pl;
}
break;
case 37:
2014-08-07 10:11:18 +00:00
// line 573 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ParaList pl = new ParaList();
RefType t = new RefType( ((Token)yyVals[-3+yyTop]).getLexem(),((Token)yyVals[-3+yyTop]).getOffset() );
t.set_ParaList( ((ParaList)yyVals[-1+yyTop]).get_ParaList() );
pl.getParalist().addElement(t);
org.apache.log4j.Logger.getLogger("parser").debug( "IDENTIFIER '<' paralist '>' --> Paralist f<>r " + ((Token)yyVals[-3+yyTop]).getLexem() + ": RefType");
yyVal = pl;
}
break;
case 38:
2014-08-07 10:11:18 +00:00
// line 582 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ParaList pl = new ParaList();
pl.getParalist().addElement(((WildcardType)yyVals[0+yyTop]));
yyVal = pl;
}
break;
case 39:
2014-08-07 10:11:18 +00:00
// line 588 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* #JB# 05.04.2005 */
/* ########################################################### */
((ParaList)yyVals[-2+yyTop]).getParalist().addElement(new GenericTypeVar(((Token)yyVals[0+yyTop]).getLexem(),((Token)yyVals[0+yyTop]).getOffset()));
/*$1.getParalist().addElement(new TypePlaceholder($3.getLexem()));*/
/* ########################################################### */
org.apache.log4j.Logger.getLogger("parser").debug( "paralist ',' IDENTIFIER --> Paralist f<>r " + ((Token)yyVals[0+yyTop]).getLexem() + ": TV");
org.apache.log4j.Logger.getLogger("parser").debug( "paralist: " + ((ParaList)yyVals[-2+yyTop]).getParalist());
yyVal=((ParaList)yyVals[-2+yyTop]);
}
break;
case 40:
2014-08-07 10:11:18 +00:00
// line 601 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
RefType t = new RefType( ((Token)yyVals[-3+yyTop]).getLexem() ,((Token)yyVals[-3+yyTop]).getOffset() );
t.set_ParaList( ((ParaList)yyVals[-1+yyTop]).get_ParaList() );
((ParaList)yyVals[-5+yyTop]).getParalist().addElement(t);
org.apache.log4j.Logger.getLogger("parser").debug( "paralist ',' IDENTIFIER '<' paralist '>' --> Paralist f<>r " + ((Token)yyVals[-3+yyTop]).getLexem() + ": RefType");
yyVal=((ParaList)yyVals[-5+yyTop]);
}
break;
case 41:
2014-08-07 10:11:18 +00:00
// line 609 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((ParaList)yyVals[-2+yyTop]).getParalist().addElement(((WildcardType)yyVals[0+yyTop]));
yyVal=((ParaList)yyVals[-2+yyTop]);
}
break;
case 42:
2014-08-07 10:11:18 +00:00
// line 615 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/*Luar 29.11.06 Offset auf -1, da keine Angabe vorhanden*/
WildcardType wc = new WildcardType(-1);
yyVal = wc;
}
break;
case 43:
2014-08-07 10:11:18 +00:00
// line 621 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ExtendsWildcardType ewc = new ExtendsWildcardType(((Token)yyVals[-1+yyTop]).getOffset(),((RefType)yyVals[0+yyTop]));
yyVal = ewc;
}
break;
case 44:
2014-08-07 10:11:18 +00:00
// line 626 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
SuperWildcardType swc = new SuperWildcardType(((Token)yyVals[-1+yyTop]).getOffset(),((RefType)yyVals[0+yyTop]));
yyVal = swc;
}
break;
case 45:
2014-08-07 10:11:18 +00:00
// line 632 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ClassBody CB = new ClassBody();
yyVal = CB;
}
break;
case 46:
2014-08-07 10:11:18 +00:00
// line 638 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = ((ClassBody)yyVals[-1+yyTop]);
}
break;
case 47:
2014-08-07 10:11:18 +00:00
// line 643 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Modifiers Mod = new Modifiers();
Mod.addModifier(((Modifier)yyVals[0+yyTop]));
yyVal = Mod;
}
break;
case 48:
2014-08-07 10:11:18 +00:00
// line 649 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Modifiers)yyVals[-1+yyTop]).addModifier(((Modifier)yyVals[0+yyTop]));
yyVal = ((Modifiers)yyVals[-1+yyTop]);
}
break;
case 49:
2014-08-07 10:11:18 +00:00
// line 655 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = ((UsedId)yyVals[0+yyTop]);
}
break;
case 50:
2014-08-07 10:11:18 +00:00
// line 660 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Interface*/
InterfaceList il = new InterfaceList();
il.addInterface(((UsedId)yyVals[0+yyTop]));
yyVal = il;
}
break;
case 51:
2014-08-07 10:11:18 +00:00
// line 667 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((InterfaceList)yyVals[-2+yyTop]).addInterface(((UsedId)yyVals[0+yyTop]));
yyVal = ((InterfaceList)yyVals[-2+yyTop]);
}
break;
case 52:
2014-08-07 10:11:18 +00:00
// line 673 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Interface*/
yyVal = new InterfaceBody();
}
break;
case 53:
2014-08-07 10:11:18 +00:00
// line 678 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = ((InterfaceBody)yyVals[-1+yyTop]);
}
break;
case 54:
2014-08-07 10:11:18 +00:00
// line 685 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Interface*/
InterfaceList il = new InterfaceList();
il.addInterface(((UsedId)yyVals[0+yyTop]));
yyVal = il;
}
break;
case 55:
2014-08-07 10:11:18 +00:00
// line 692 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((InterfaceList)yyVals[-2+yyTop]).addInterface(((UsedId)yyVals[0+yyTop]));
yyVal = ((InterfaceList)yyVals[-2+yyTop]);
}
break;
case 56:
2014-08-07 10:11:18 +00:00
// line 699 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ClassBody CB = new ClassBody();
CB.addField( ((Field)yyVals[0+yyTop]) );
yyVal=CB;
}
break;
case 57:
2014-08-07 10:11:18 +00:00
// line 705 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((ClassBody)yyVals[-1+yyTop]).addField(((Field)yyVals[0+yyTop]));
yyVal = ((ClassBody)yyVals[-1+yyTop]);
}
break;
case 58:
2014-08-07 10:11:18 +00:00
// line 712 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Public Pub = new Public();
yyVal=Pub;
}
break;
case 59:
2014-08-07 10:11:18 +00:00
// line 717 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Protected Pro = new Protected();
yyVal=Pro;
}
break;
case 60:
2014-08-07 10:11:18 +00:00
// line 722 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Private Pri = new Private();
yyVal=Pri;
}
break;
case 61:
2014-08-07 10:11:18 +00:00
// line 727 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Static Sta = new Static();
yyVal=Sta;
}
break;
case 62:
2014-08-07 10:11:18 +00:00
// line 732 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Abstract Abs = new Abstract();
yyVal=Abs;
}
break;
case 63:
2014-08-07 10:11:18 +00:00
// line 737 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{ Final fin = new Final();
yyVal = fin;
}
break;
case 64:
2014-08-07 10:11:18 +00:00
// line 743 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/*PL 05-07-30 eingefuegt containedTypes ANFANG*/
RefType RT = new RefType(-1);
/*RT.set_UsedId($1);*/
/*RT.setName(RT.get_UsedId().get_Name_1Element());*/
RT.set_ParaList(((UsedId)yyVals[0+yyTop]).get_RealParaList());
RT.setName(((UsedId)yyVals[0+yyTop]).get_Name_1Element());
containedTypes.addElement(RT);
/*PL 05-07-30 eingefuegt containedTypes ENDE*/
yyVal = ((UsedId)yyVals[0+yyTop]);
}
break;
case 65:
2014-08-07 10:11:18 +00:00
// line 758 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Interface*/
InterfaceBody ib = new InterfaceBody();
ib.addElement(((Field)yyVals[0+yyTop]));
yyVal = ib;
}
break;
case 66:
2014-08-07 10:11:18 +00:00
// line 765 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((InterfaceBody)yyVals[-1+yyTop]).addElement(((Field)yyVals[0+yyTop]));
yyVal = ((InterfaceBody)yyVals[-1+yyTop]);
}
break;
case 67:
2014-08-07 10:11:18 +00:00
// line 771 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Interfaces*/
yyVal = ((UsedId)yyVals[0+yyTop]);
}
break;
case 68:
2014-08-07 10:11:18 +00:00
// line 777 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Field)yyVals[0+yyTop]);
}
break;
case 69:
2014-08-07 10:11:18 +00:00
// line 782 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Method)yyVals[0+yyTop]);
}
break;
case 70:
2014-08-07 10:11:18 +00:00
// line 786 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Field)yyVals[0+yyTop]);
}
break;
case 71:
2014-08-07 10:11:18 +00:00
// line 792 "./../src/mycompiler/myparser/JavaParser.jay"
{
yyVal=((UsedId)yyVals[0+yyTop]);
}
break;
case 72:
// line 796 "./../src/mycompiler/myparser/JavaParser.jay"
{
UsedId UI = new UsedId(((Token)yyVals[-2+yyTop]).getOffset());
UI.set_Name( ((Token)yyVals[-2+yyTop]).getLexem() + "." + ((UsedId)yyVals[0+yyTop]) );
UI.setOffset(((Token)yyVals[-2+yyTop]).getOffset());/*hinzugef<65>gt hoth: 07.04.2006*/
yyVal = UI;
}
break;
case 73:
// line 804 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
if (((Vector)yyVals[0+yyTop]) != null) {
/*$1.set_ParaList($2.get_ParaList());*/
((UsedId)yyVals[-1+yyTop]).set_ParaList(((Vector)yyVals[0+yyTop]));/*<2A>nderung von Andreas Stadelmeier. Type statt GenericVarType*/
/* otth: originale (also diese) Parameterliste retten */
/*((UsedId)$1).vParaOrg = new Vector<Type>( $2.get_ParaList() );*/
}
yyVal=((UsedId)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 74:
// line 815 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Vector<Type> tl = new Vector<Type>();
tl.add(((Type)yyVals[0+yyTop]));
yyVal = tl;
}
break;
2014-08-07 10:11:18 +00:00
case 75:
// line 821 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Vector)yyVals[-2+yyTop]).add(((Type)yyVals[0+yyTop]));
yyVal=((Vector)yyVals[-2+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 76:
// line 828 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{ yyVal = null; }
break;
2014-08-07 10:11:18 +00:00
case 77:
// line 830 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = ((Vector)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 78:
// line 835 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Interfaces, Spezialform Konstantendef.*/
yyVal = ((Constant)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 79:
// line 840 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = ((Method)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 80:
// line 845 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Field)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 81:
// line 849 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Method)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 82:
// line 854 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Method STAT = new Method(((Token)yyVals[-1+yyTop]).getOffset());
DeclId DST = new DeclId();
DST.set_Name(((Token)yyVals[-1+yyTop]).getLexem());
STAT.set_DeclId(DST);
Static ST = new Static();
Modifiers MOD = new Modifiers();
MOD.addModifier(ST);
STAT.set_Modifiers(MOD);
STAT.set_Block(((Block)yyVals[0+yyTop]));
yyVal=STAT;
}
break;
2014-08-07 10:11:18 +00:00
case 83:
// line 868 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Constructor)yyVals[-1+yyTop]).set_Block(((Block)yyVals[0+yyTop]));
yyVal = ((Constructor)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 84:
// line 873 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Constructor)yyVals[-1+yyTop]).set_Block(((Block)yyVals[0+yyTop]));
((Constructor)yyVals[-1+yyTop]).set_Modifiers(((Modifiers)yyVals[-2+yyTop]));
yyVal = ((Constructor)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 85:
// line 880 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Interface*/
Constant c = new Constant(((Token)yyVals[-3+yyTop]).getLexem(), ((Modifiers)yyVals[-5+yyTop]));
c.setType(((Type)yyVals[-4+yyTop]));
c.setValue(((Expr)yyVals[-1+yyTop]));
yyVal = c;
}
break;
2014-08-07 10:11:18 +00:00
case 86:
// line 889 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/* SCJU: Interface*/
yyVal = ((Method)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 87:
// line 914 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
FieldDeclaration ret = new FieldDeclaration(((DeclId)yyVals[-2+yyTop]).getOffset());
ret.set_DeclId(((DeclId)yyVals[-2+yyTop]));
ret.setWert(((Expr)yyVals[0+yyTop]));
yyVal=ret;
}
break;
2014-08-07 10:11:18 +00:00
case 88:
// line 921 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
2014-07-09 13:07:40 +00:00
FieldDeclaration ret = new FieldDeclaration(((DeclId)yyVals[0+yyTop]).getOffset());
ret.set_DeclId(((DeclId)yyVals[0+yyTop]));
yyVal=ret;
}
break;
2014-08-07 10:11:18 +00:00
case 89:
// line 928 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 13:07:40 +00:00
{
GenericDeclarationList ret = new GenericDeclarationList(((GenericVarDeclarationList)yyVals[-1+yyTop]).getElements(),((GenericVarDeclarationList)yyVals[-1+yyTop]).getEndOffset());
2014-07-09 08:52:23 +00:00
yyVal = ret;
}
break;
2014-08-07 10:11:18 +00:00
case 90:
// line 935 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((FieldDeclaration)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 91:
// line 939 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((FieldDeclaration)yyVals[-1+yyTop]).setType(((Type)yyVals[-2+yyTop]));
yyVal=((FieldDeclaration)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 92:
// line 944 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{/*angef<65>gt von Andreas Stadelmeier*/
((FieldDeclaration)yyVals[-1+yyTop]).setType(((Type)yyVals[-2+yyTop]));
((FieldDeclaration)yyVals[-1+yyTop]).setGenericParameter(((GenericDeclarationList)yyVals[-3+yyTop]));
yyVal=((FieldDeclaration)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 93:
// line 951 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((FieldDeclaration)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 94:
// line 956 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
org.apache.log4j.Logger.getLogger("parser").debug("T->Parser->fielddeclaration ...: type " + ((Type)yyVals[-2+yyTop]));
((FieldDeclaration)yyVals[-1+yyTop]).setType(((Type)yyVals[-2+yyTop]));
yyVal = ((FieldDeclaration)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 95:
// line 963 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((FieldDeclaration)yyVals[-1+yyTop]).setType(((Type)yyVals[-2+yyTop]));
for(int i=0;i<(((FieldDeclaration)yyVals[-1+yyTop]).getDeclIdVector().size());i++)
{
((FieldDeclaration)yyVals[-1+yyTop]).getDeclIdVector().elementAt(i).modifiers=((Modifiers)yyVals[-3+yyTop]);
}
yyVal = ((FieldDeclaration)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 96:
// line 973 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Method)yyVals[-1+yyTop]).set_Block(((Block)yyVals[0+yyTop]));
yyVal=((Method)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 97:
// line 980 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Block Bl = new Block();
yyVal=Bl;
}
break;
2014-08-07 10:11:18 +00:00
case 98:
// line 986 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Block)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 99:
// line 991 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Constructor CON = new Constructor(null); /*TODO: Der Parser kann sowieso nicht zwischen einem Konstruktor und einer Methode unterscheiden. Das hier kann wegfallen...*/
DeclId DIDCon = new DeclId();
DIDCon.set_Name(((UsedId)yyVals[-2+yyTop]).get_Name_1Element());
CON.set_DeclId(DIDCon);
yyVal=CON;
}
break;
2014-08-07 10:11:18 +00:00
case 100:
// line 999 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Constructor CONpara = new Constructor(null);
DeclId DIconpara = new DeclId();
DIconpara.set_Name(((UsedId)yyVals[-3+yyTop]).get_Name_1Element());
CONpara.set_DeclId(DIconpara);
CONpara.setParameterList(((ParameterList)yyVals[-1+yyTop]));
yyVal=CONpara;
}
break;
2014-08-07 10:11:18 +00:00
case 101:
// line 1009 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Block CBL = new Block();
yyVal=CBL;
}
break;
2014-08-07 10:11:18 +00:00
case 102:
// line 1014 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Block CBLexpl = new Block();
CBLexpl.set_Statement(((Statement)yyVals[-1+yyTop]));
yyVal=CBLexpl;
}
break;
2014-08-07 10:11:18 +00:00
case 103:
// line 1020 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Block)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 104:
// line 1024 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Block CBes = new Block();
CBes.set_Statement(((Statement)yyVals[-2+yyTop]));
for(int j=0;j<((Block)yyVals[-1+yyTop]).statements.size();j++)
{
CBes.set_Statement((Statement)((Block)yyVals[-1+yyTop]).statements.elementAt(j));
}
yyVal=CBes;
}
break;
2014-08-07 10:11:18 +00:00
case 105:
// line 1035 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ExceptionList EL = new ExceptionList();
EL.set_addElem(((RefType)yyVals[0+yyTop]));
yyVal=EL;
}
break;
2014-08-07 10:11:18 +00:00
case 106:
// line 1042 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal = ((GenericTypeVar)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 107:
// line 1047 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ParaList p = new ParaList();
p.add_ParaList(((GenericTypeVar)yyVals[0+yyTop]));
yyVal=p;
}
break;
2014-08-07 10:11:18 +00:00
case 108:
// line 1053 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((ParaList)yyVals[-2+yyTop]).add_ParaList(((GenericTypeVar)yyVals[0+yyTop]));
yyVal=((ParaList)yyVals[-2+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 109:
// line 1060 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=new GenericTypeVar(((Token)yyVals[0+yyTop]).getLexem(),((Token)yyVals[0+yyTop]).getOffset());
}
break;
2014-08-07 10:11:18 +00:00
case 110:
// line 1064 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
BoundedGenericTypeVar gtv=new BoundedGenericTypeVar(((Token)yyVals[-2+yyTop]).getLexem(), ((BoundedClassIdentifierList)yyVals[0+yyTop]), ((Token)yyVals[-2+yyTop]).getOffset() ,((BoundedClassIdentifierList)yyVals[0+yyTop]).getEndOffset());
2014-07-09 08:52:23 +00:00
/*gtv.setBounds($3);*/
yyVal=gtv;
}
break;
2014-08-07 10:11:18 +00:00
case 111:
// line 1071 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Vector<Type> vec=new Vector<Type>();
vec.addElement(((RefType)yyVals[0+yyTop]));
containedTypes.addElement(((RefType)yyVals[0+yyTop]));
yyVal=new BoundedClassIdentifierList(vec, ((RefType)yyVals[0+yyTop]).getOffset()+((RefType)yyVals[0+yyTop]).getName().length());
2014-07-09 08:52:23 +00:00
}
break;
2014-08-07 10:11:18 +00:00
case 112:
// line 1078 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((BoundedClassIdentifierList)yyVals[-2+yyTop]).addElement(((RefType)yyVals[0+yyTop]));
((BoundedClassIdentifierList)yyVals[-2+yyTop]).addOffsetOff(((RefType)yyVals[0+yyTop]));
containedTypes.addElement(((RefType)yyVals[0+yyTop]));
yyVal=((BoundedClassIdentifierList)yyVals[-2+yyTop]);
2014-07-09 08:52:23 +00:00
}
break;
2014-08-07 10:11:18 +00:00
case 113:
// line 1086 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
2014-07-09 13:07:40 +00:00
GenericVarDeclarationList vec=new GenericVarDeclarationList();
2014-07-09 08:52:23 +00:00
vec.addElement(((GenericTypeVar)yyVals[0+yyTop]));
yyVal=vec;
}
break;
2014-08-07 10:11:18 +00:00
case 114:
// line 1092 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
2014-07-09 13:07:40 +00:00
((GenericVarDeclarationList)yyVals[-2+yyTop]).addElement(((GenericTypeVar)yyVals[0+yyTop]));
yyVal=((GenericVarDeclarationList)yyVals[-2+yyTop]);
2014-07-09 08:52:23 +00:00
}
break;
2014-08-07 10:11:18 +00:00
case 115:
// line 1100 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Method)yyVals[0+yyTop]).setType(((Type)yyVals[-1+yyTop]));
((Method)yyVals[0+yyTop]).setGenericParameter(((GenericDeclarationList)yyVals[-2+yyTop]));
yyVal=((Method)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 116:
// line 1106 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Method)yyVals[0+yyTop]).setType(((Type)yyVals[-1+yyTop]));
yyVal=((Method)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 117:
// line 1111 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Method)yyVals[0+yyTop]).set_Modifiers(((Modifiers)yyVals[-2+yyTop]));
((Method)yyVals[0+yyTop]).setType(((Type)yyVals[-1+yyTop]));
yyVal=((Method)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 118:
// line 1117 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Method)yyVals[0+yyTop]).set_Modifiers(((Modifiers)yyVals[-3+yyTop]));
((Method)yyVals[0+yyTop]).setGenericParameter(((GenericDeclarationList)yyVals[-2+yyTop]));
((Method)yyVals[0+yyTop]).setType(((Type)yyVals[-1+yyTop]));
yyVal=((Method)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 119:
// line 1124 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Method)yyVals[-1+yyTop]).setType(((Type)yyVals[-2+yyTop]));
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
yyVal=((Method)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 120:
// line 1130 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Method)yyVals[-1+yyTop]).setGenericParameter(((GenericDeclarationList)yyVals[-3+yyTop]));
((Method)yyVals[-1+yyTop]).setType(((Type)yyVals[-2+yyTop]));
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
yyVal=((Method)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 121:
// line 1137 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Method)yyVals[-1+yyTop]).set_Modifiers(((Modifiers)yyVals[-3+yyTop]));
((Method)yyVals[-1+yyTop]).setType(((Type)yyVals[-2+yyTop]));
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
yyVal=((Method)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 122:
// line 1144 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Method)yyVals[-1+yyTop]).set_Modifiers(((Modifiers)yyVals[-4+yyTop]));
((Method)yyVals[-1+yyTop]).setGenericParameter(((GenericDeclarationList)yyVals[-3+yyTop]));
((Method)yyVals[-1+yyTop]).setType(((Type)yyVals[-2+yyTop]));
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
yyVal=((Method)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 123:
// line 1152 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Void Voit = new Void(((Token)yyVals[-1+yyTop]).getOffset());
((Method)yyVals[0+yyTop]).setType(Voit);
yyVal=((Method)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 124:
// line 1158 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Void voit = new Void(((Token)yyVals[-1+yyTop]).getOffset());
((Method)yyVals[0+yyTop]).set_Modifiers(((Modifiers)yyVals[-2+yyTop]));
((Method)yyVals[0+yyTop]).setType(voit);
yyVal=((Method)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 125:
// line 1165 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Void voyt = new Void(((Token)yyVals[-2+yyTop]).getOffset());
((Method)yyVals[-1+yyTop]).setType(voyt);
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
yyVal=((Method)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 126:
// line 1172 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Void voyd = new Void(((Token)yyVals[-2+yyTop]).getOffset());
((Method)yyVals[-1+yyTop]).set_Modifiers(((Modifiers)yyVals[-3+yyTop]));
((Method)yyVals[-1+yyTop]).setType(voyd);
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
yyVal=((Method)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 127:
// line 1180 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Void Voit = new Void(((Token)yyVals[-1+yyTop]).getOffset());
((Method)yyVals[0+yyTop]).setType(Voit);
((Method)yyVals[0+yyTop]).setGenericParameter(((GenericDeclarationList)yyVals[-2+yyTop]));
yyVal=((Method)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 128:
// line 1187 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Void voit = new Void(((Token)yyVals[-1+yyTop]).getOffset());
((Method)yyVals[0+yyTop]).set_Modifiers(((Modifiers)yyVals[-3+yyTop]));
((Method)yyVals[0+yyTop]).setType(voit);
((Method)yyVals[0+yyTop]).setGenericParameter(((GenericDeclarationList)yyVals[-2+yyTop]));
yyVal=((Method)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 129:
// line 1195 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Void voyt = new Void(((Token)yyVals[-2+yyTop]).getOffset());
((Method)yyVals[-1+yyTop]).setType(voyt);
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
((Method)yyVals[-1+yyTop]).setGenericParameter(((GenericDeclarationList)yyVals[-3+yyTop]));
yyVal=((Method)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 130:
// line 1203 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Void voyd = new Void(((Token)yyVals[-2+yyTop]).getOffset());
((Method)yyVals[-1+yyTop]).set_Modifiers(((Modifiers)yyVals[-4+yyTop]));
((Method)yyVals[-1+yyTop]).setType(voyd);
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
((Method)yyVals[-1+yyTop]).setGenericParameter(((GenericDeclarationList)yyVals[-3+yyTop]));
yyVal=((Method)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 131:
// line 1213 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/*auskommentiert von Andreas Stadelmeier (a10023) $1.setType(TypePlaceholder.fresh()); */
yyVal=((Method)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 132:
// line 1218 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/*auskommentiert von Andreas Stadelmeier (a10023) $4.setType(TypePlaceholder.fresh());*/
((Method)yyVals[0+yyTop]).setGenericParameter(((GenericDeclarationList)yyVals[-1+yyTop]));
yyVal=((Method)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 133:
// line 1225 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Method)yyVals[0+yyTop]).set_Modifiers(((Modifiers)yyVals[-1+yyTop]));
/*auskommentiert von Andreas Stadelmeier (a10023) $2.setType(TypePlaceholder.fresh());*/
yyVal=((Method)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 134:
// line 1231 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/*auskommentiert von Andreas Stadelmeier (a10023) $1.setType(TypePlaceholder.fresh());*/
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
yyVal=((Method)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 135:
// line 1237 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Method)yyVals[-1+yyTop]).set_Modifiers(((Modifiers)yyVals[-2+yyTop]));
/*auskommentiert von Andreas Stadelmeier (a10023) $2.setType(TypePlaceholder.fresh());*/
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
yyVal=((Method)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 136:
// line 1246 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((BaseType)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 137:
// line 1250 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((BaseType)yyVals[-2+yyTop]).setArray(true);
}
break;
2014-08-07 10:11:18 +00:00
case 138:
// line 1254 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((RefType)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 139:
// line 1264 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((RefType)yyVals[-2+yyTop]).setArray(true);
}
break;
2014-08-07 10:11:18 +00:00
case 140:
// line 1268 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
FieldDeclaration IVD = new FieldDeclaration(((DeclId)yyVals[0+yyTop]).getOffset());
IVD.getDeclIdVector().addElement( ((DeclId)yyVals[0+yyTop]) );
IVD.setOffset(((DeclId)yyVals[0+yyTop]).getOffset());
yyVal = IVD;
}
break;
2014-08-07 10:11:18 +00:00
case 141:
// line 1275 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((FieldDeclaration)yyVals[-2+yyTop]).getDeclIdVector().addElement(((DeclId)yyVals[0+yyTop]));
yyVal=((FieldDeclaration)yyVals[-2+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 142:
// line 1281 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Block)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 143:
// line 1286 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Block Blstat = new Block();
Blstat.set_Statement(((Statement)yyVals[0+yyTop]));
yyVal=Blstat;
}
break;
2014-08-07 10:11:18 +00:00
case 144:
// line 1293 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((Block)yyVals[-1+yyTop]).set_Statement(((Statement)yyVals[0+yyTop]));
yyVal=((Block)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 145:
// line 1299 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ParameterList PL = new ParameterList();
PL.set_AddParameter(((FormalParameter)yyVals[0+yyTop]));
yyVal = PL;
}
break;
2014-08-07 10:11:18 +00:00
case 146:
// line 1305 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((ParameterList)yyVals[-2+yyTop]).set_AddParameter(((FormalParameter)yyVals[0+yyTop]));
yyVal = ((ParameterList)yyVals[-2+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 147:
// line 1311 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
This THCON = new This(((Token)yyVals[-3+yyTop]).getOffset(),((Token)yyVals[-3+yyTop]).getLexem().length());
yyVal=THCON;
}
break;
2014-08-07 10:11:18 +00:00
case 148:
// line 1316 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
This THCONargl = new This(((Token)yyVals[-4+yyTop]).getOffset(),((Token)yyVals[-4+yyTop]).getLexem().length());
THCONargl.set_ArgumentList(((ArgumentList)yyVals[-2+yyTop]));
yyVal=THCONargl;
}
break;
2014-08-07 10:11:18 +00:00
case 149:
// line 1325 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
RefType RT = new RefType(-1);
RT.set_UsedId(((UsedId)yyVals[0+yyTop]));
RT.setName(RT.get_UsedId().get_Name_1Element());
yyVal=RT;
}
break;
2014-08-07 10:11:18 +00:00
case 150:
// line 1332 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((RefType)yyVals[-2+yyTop]).set_UsedId(((UsedId)yyVals[0+yyTop]));
((RefType)yyVals[-2+yyTop]).setName(((RefType)yyVals[-2+yyTop]).get_UsedId().get_Name_1Element());
yyVal=((RefType)yyVals[-2+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 151:
// line 1339 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Method met = new Method(((Token)yyVals[-2+yyTop]).getOffset());
/* #JB# 10.04.2005 */
/* ########################################################### */
met.setLineNumber(((Token)yyVals[-2+yyTop]).getLineNumber());
met.setOffset(((Token)yyVals[-2+yyTop]).getOffset());/*hinzugef<65>gt hoth: 07.04.2006*/
/* ########################################################### */
DeclId DImethod = new DeclId();
DImethod.set_Name(((Token)yyVals[-2+yyTop]).getLexem());
met.set_DeclId(DImethod);
yyVal = met;
}
break;
2014-08-07 10:11:18 +00:00
case 152:
// line 1352 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Method met_para = new Method(((Token)yyVals[-3+yyTop]).getOffset());
/* #JB# 10.04.2005 */
/* ########################################################### */
met_para.setLineNumber(((Token)yyVals[-3+yyTop]).getLineNumber());
met_para.setOffset(((Token)yyVals[-3+yyTop]).getOffset());/*hinzugef<65>gt hoth: 07.04.2006*/
/* ########################################################### */
DeclId Dimet_para = new DeclId();
Dimet_para.set_Name(((Token)yyVals[-3+yyTop]).getLexem());
met_para.set_DeclId(Dimet_para);
met_para.setParameterList(((ParameterList)yyVals[-1+yyTop]));
yyVal = met_para;
}
break;
2014-08-07 10:11:18 +00:00
case 153:
// line 1367 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
BooleanType BT = new BooleanType();
/* #JB# 05.04.2005 */
/* ########################################################### */
/*BT.setName($1.getLexem());*/
/* ########################################################### */
yyVal=BT;
}
break;
2014-08-07 10:11:18 +00:00
case 154:
// line 1376 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((BaseType)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 155:
// line 1381 "./../src/mycompiler/myparser/JavaParser.jay"
{
if (((Vector)yyVals[0+yyTop]) != null) {
/*$1.set_ParaList($2.get_ParaList());*/
((UsedId)yyVals[-1+yyTop]).set_ParaList(((Vector)yyVals[0+yyTop]));/*<2A>nderung von Andreas Stadelmeier. Type statt GenericVarType*/
/* otth: originale (also diese) Parameterliste retten */
/*((UsedId)$1).vParaOrg = new Vector<Type>( $2.get_ParaList() );*/
}
UsedId uid = ((UsedId)yyVals[-1+yyTop]);
RefType RT = new RefType(uid.getOffset());
RT.set_ParaList(uid.get_RealParaList());
RT.setName(uid.getQualifiedName());
/*PL 05-07-30 eingefuegt containedTypes ANFANG*/
containedTypes.addElement(RT);
/*PL 05-07-30 eingefuegt containedTypes ENDE*/
yyVal=RT;
}
break;
case 156:
// line 1403 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
org.apache.log4j.Logger.getLogger("parser").debug("T->Parser->referenctype: " + ((UsedId)yyVals[0+yyTop]));
RefType RT = new RefType(((UsedId)yyVals[0+yyTop]).getOffset());
/*ausgetauscht PL 05-07-30*/
/*RT.set_UsedId($1); */
/*RT.setName(RT.get_UsedId().get_Name_1Element());*/
RT.set_ParaList(((UsedId)yyVals[0+yyTop]).get_RealParaList());
RT.setName(((UsedId)yyVals[0+yyTop]).getQualifiedName());
/*PL 05-07-30 eingefuegt containedTypes ANFANG*/
containedTypes.addElement(RT);
/*PL 05-07-30 eingefuegt containedTypes ENDE*/
yyVal=RT;
}
break;
2014-08-07 10:11:18 +00:00
case 157:
// line 1425 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((DeclId)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 158:
// line 1446 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((LocalVarDecl)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 159:
// line 1450 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Statement)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 160:
// line 1455 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
FormalParameter FP = new FormalParameter(((DeclId)yyVals[0+yyTop]));
FP.setType(((Type)yyVals[-1+yyTop]));
/*FP.set_DeclId($2); //auskommentiert von Andreas Stadelmeier. DeclId wird nun dem Konstruktor von FormalParameter <20>bergeben.*/
yyVal=FP;
}
break;
2014-08-07 10:11:18 +00:00
case 161:
// line 1480 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
org.apache.log4j.Logger.getLogger("parser").debug("\nFunktionsdeklaration mit typlosen Parametern: " + ((DeclId)yyVals[0+yyTop]).name);
FormalParameter FP = new FormalParameter(((DeclId)yyVals[0+yyTop]));
/* #JB# 31.03.2005*/
/* ###########################################################*/
/*Type T = TypePlaceholder.fresh(); //auskommentiert von Andreas Stadelmeier*/
/* Type T = new TypePlaceholder(""); /* otth: Name wird automatisch berechnet * /*/
/* ###########################################################*/
/*org.apache.log4j.Logger.getLogger("parser").debug("\n--> berechneter Name: " + T.getName());*/
/*auskommentiert von Andreas Stadelmeier (a10023) FP.setType( T );*/
/*FP.set_DeclId($1);*/
yyVal=FP;
}
break;
2014-08-07 10:11:18 +00:00
case 162:
// line 1499 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ArgumentList AL = new ArgumentList();
AL.expr.addElement(((Expr)yyVals[0+yyTop]));
yyVal=AL;
}
break;
2014-08-07 10:11:18 +00:00
case 163:
// line 1505 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
((ArgumentList)yyVals[-2+yyTop]).expr.addElement(((Expr)yyVals[0+yyTop]));
yyVal=((ArgumentList)yyVals[-2+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 164:
// line 1511 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((BaseType)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 165:
// line 1516 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
DeclId DI = new DeclId();
/* #JB# 10.04.2005 */
/* ########################################################### */
DI.setLineNumber(((Token)yyVals[0+yyTop]).getLineNumber());
DI.setOffset(((Token)yyVals[0+yyTop]).getOffset());/*hinzugef<65>gt hoth: 07.04.2006*/
/* ########################################################### */
DI.set_Name(((Token)yyVals[0+yyTop]).getLexem());
yyVal=DI;
}
break;
2014-08-07 10:11:18 +00:00
case 166:
// line 1528 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
2014-07-09 13:07:40 +00:00
yyVal=((Expr)yyVals[0+yyTop]);
2014-07-09 08:52:23 +00:00
}
break;
2014-08-07 10:11:18 +00:00
case 167:
// line 1533 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
2014-07-09 13:07:40 +00:00
yyVal=((LocalVarDecl)yyVals[-1+yyTop]);
2014-07-09 08:52:23 +00:00
}
break;
2014-08-07 10:11:18 +00:00
case 168:
// line 1538 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
2014-07-09 13:07:40 +00:00
yyVal=((Statement)yyVals[0+yyTop]);
2014-07-09 08:52:23 +00:00
}
break;
2014-08-07 10:11:18 +00:00
case 169:
// line 1542 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((IfStmt)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 170:
// line 1546 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
2014-07-09 13:07:40 +00:00
yyVal=((IfStmt)yyVals[0+yyTop]);
2014-07-09 08:52:23 +00:00
}
break;
2014-08-07 10:11:18 +00:00
case 171:
// line 1550 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
2014-07-09 13:07:40 +00:00
yyVal=((WhileStmt)yyVals[0+yyTop]);
2014-07-09 08:52:23 +00:00
}
break;
2014-08-07 10:11:18 +00:00
case 172:
// line 1554 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
2014-07-09 13:07:40 +00:00
yyVal=((ForStmt)yyVals[0+yyTop]);
2014-07-09 08:52:23 +00:00
}
break;
2014-08-07 10:11:18 +00:00
case 173:
// line 1559 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
2014-07-09 13:07:40 +00:00
yyVal=((Expr)yyVals[0+yyTop]);
2014-07-09 08:52:23 +00:00
}
break;
2014-08-07 10:11:18 +00:00
case 174:
// line 1563 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 13:07:40 +00:00
{
yyVal=((NewClass)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 175:
// line 1568 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
IntegerType IT = new IntegerType();
/* #JB# 05.04.2005 */
/* ########################################################### */
/*IT.setName($1.getLexem());*/
/* ########################################################### */
yyVal=IT;
}
break;
2014-08-07 10:11:18 +00:00
case 176:
// line 1577 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
CharacterType CT = new CharacterType();
/* #JB# 05.04.2005 */
/* ########################################################### */
/*CT.setName($1.getLexem());*/
/* ########################################################### */
yyVal=CT;
}
break;
2014-08-07 10:11:18 +00:00
case 177:
// line 1587 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
org.apache.log4j.Logger.getLogger("parser").debug("P -> Lokale Variable angelegt!");
LocalVarDecl LVD = new LocalVarDecl(((Type)yyVals[-1+yyTop]).getOffset(),((Type)yyVals[-1+yyTop]).getVariableLength());
LVD.setType(((Type)yyVals[-1+yyTop]));
LVD.setDeclidVector(((FieldDeclaration)yyVals[0+yyTop]).getDeclIdVector());
yyVal = LVD;
}
break;
2014-08-07 10:11:18 +00:00
case 178:
// line 1598 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
org.apache.log4j.Logger.getLogger("parser").debug("P -> Lokale Variable angelegt!");
LocalVarDecl LVD = new LocalVarDecl(((FieldDeclaration)yyVals[0+yyTop]).getOffset(),((FieldDeclaration)yyVals[0+yyTop]).getVariableLength());
/*auskommentiert von Andreas Stadelmeier (a10023) LVD.setType(TypePlaceholder.fresh());*/
LVD.setDeclidVector(((FieldDeclaration)yyVals[0+yyTop]).getDeclIdVector());
yyVal = LVD;
}
break;
2014-08-07 10:11:18 +00:00
case 179:
// line 1608 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Block)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 180:
// line 1612 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((EmptyStmt)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 181:
// line 1616 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((ExprStmt)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 182:
// line 1620 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Return)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 183:
// line 1625 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
IfStmt Ifst = new IfStmt(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
Ifst.set_Expr(((Expr)yyVals[-2+yyTop]));
Ifst.set_Then_block(((Statement)yyVals[0+yyTop]));
yyVal=Ifst;
}
break;
2014-08-07 10:11:18 +00:00
case 184:
// line 1633 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
IfStmt IfstElst = new IfStmt(((Expr)yyVals[-4+yyTop]).getOffset(),((Expr)yyVals[-4+yyTop]).getVariableLength());
IfstElst.set_Expr(((Expr)yyVals[-4+yyTop]));
IfstElst.set_Then_block(((Statement)yyVals[-2+yyTop]));
IfstElst.set_Else_block(((Statement)yyVals[0+yyTop]));
yyVal=IfstElst;
}
break;
2014-08-07 10:11:18 +00:00
case 185:
// line 1642 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
WhileStmt Whlst = new WhileStmt(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
Whlst.set_Expr(((Expr)yyVals[-2+yyTop]));
Whlst.set_Loop_block(((Statement)yyVals[0+yyTop]));
yyVal=Whlst;
}
break;
2014-08-07 10:11:18 +00:00
case 186:
// line 1653 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ForStmt Fst = new ForStmt(((Expr)yyVals[-6+yyTop]).getOffset(),((Expr)yyVals[-6+yyTop]).getVariableLength());
Fst.set_head_Initializer(((Expr)yyVals[-6+yyTop]));
Fst.set_head_Condition(((Expr)yyVals[-4+yyTop]));
Fst.set_head_Loop_expr(((Expr)yyVals[-2+yyTop]));
Fst.set_body_Loop_block(((Statement)yyVals[0+yyTop]));
/*Typannahme*/
yyVal = Fst;
}
break;
2014-08-07 10:11:18 +00:00
case 187:
// line 1665 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ForStmt Fst = new ForStmt(((Expr)yyVals[-5+yyTop]).getOffset(),((Expr)yyVals[-5+yyTop]).getVariableLength());
Fst.set_head_Initializer(((Expr)yyVals[-5+yyTop]));
Fst.set_head_Condition(((Expr)yyVals[-3+yyTop]));
Fst.set_body_Loop_block(((Statement)yyVals[0+yyTop]));
/*Typannahme*/
yyVal = Fst;
}
break;
2014-08-07 10:11:18 +00:00
case 188:
// line 1676 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ForStmt Fst = new ForStmt(((Expr)yyVals[-5+yyTop]).getOffset(),((Expr)yyVals[-5+yyTop]).getVariableLength());
Fst.set_head_Initializer(((Expr)yyVals[-5+yyTop]));
Fst.set_head_Loop_expr(((Expr)yyVals[-2+yyTop]));
Fst.set_body_Loop_block(((Statement)yyVals[0+yyTop]));
/*Typannahme*/
yyVal = Fst;
}
break;
2014-08-07 10:11:18 +00:00
case 189:
// line 1687 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ForStmt Fst = new ForStmt(((Expr)yyVals[-4+yyTop]).getOffset(),((Expr)yyVals[-4+yyTop]).getVariableLength());
Fst.set_head_Condition(((Expr)yyVals[-4+yyTop]));
Fst.set_head_Loop_expr(((Expr)yyVals[-2+yyTop]));
Fst.set_body_Loop_block(((Statement)yyVals[0+yyTop]));
/*Typannahme*/
yyVal = Fst;
}
break;
2014-08-07 10:11:18 +00:00
case 190:
// line 1698 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ForStmt Fst = new ForStmt(((Expr)yyVals[-4+yyTop]).getOffset(),((Expr)yyVals[-4+yyTop]).getVariableLength());
Fst.set_head_Initializer(((Expr)yyVals[-4+yyTop]));
Fst.set_body_Loop_block(((Statement)yyVals[0+yyTop]));
/*Typannahme*/
yyVal = Fst;
}
break;
2014-08-07 10:11:18 +00:00
case 191:
// line 1708 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ForStmt Fst = new ForStmt(((Expr)yyVals[-3+yyTop]).getOffset(),((Expr)yyVals[-3+yyTop]).getVariableLength());
Fst.set_head_Condition(((Expr)yyVals[-3+yyTop]));
Fst.set_body_Loop_block(((Statement)yyVals[0+yyTop]));
/*Typannahme*/
yyVal = Fst;
}
break;
2014-08-07 10:11:18 +00:00
case 192:
// line 1718 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ForStmt Fst = new ForStmt(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
Fst.set_head_Loop_expr(((Expr)yyVals[-2+yyTop]));
Fst.set_body_Loop_block(((Statement)yyVals[0+yyTop]));
/*Typannahme*/
yyVal = Fst;
}
break;
2014-08-07 10:11:18 +00:00
case 193:
// line 1728 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ForStmt Fst = new ForStmt(((Statement)yyVals[0+yyTop]).getOffset(),((Statement)yyVals[0+yyTop]).getVariableLength());
Fst.set_body_Loop_block(((Statement)yyVals[0+yyTop]));
/*Typannahme*/
yyVal = Fst;
}
break;
2014-08-07 10:11:18 +00:00
case 194:
// line 1737 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
org.apache.log4j.Logger.getLogger("parser").debug("conditionalexpression");
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 195:
// line 1742 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Assign)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 196:
// line 1748 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
EmptyStmt Empst = new EmptyStmt();
yyVal=Empst;
}
break;
2014-08-07 10:11:18 +00:00
case 197:
// line 1754 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 198:
// line 1759 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Return ret = new Return(-1,-1);
yyVal= ret;
}
break;
2014-08-07 10:11:18 +00:00
case 199:
// line 1764 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Return retexp = new Return(((Expr)yyVals[-1+yyTop]).getOffset(),((Expr)yyVals[-1+yyTop]).getVariableLength());
retexp.set_ReturnExpr(((Expr)yyVals[-1+yyTop]));
yyVal=retexp;
}
break;
2014-08-07 10:11:18 +00:00
case 200:
// line 1771 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Statement)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 201:
// line 1775 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((IfStmt)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 202:
// line 1779 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((WhileStmt)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 203:
// line 1784 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 204:
// line 1790 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
org.apache.log4j.Logger.getLogger("parser").debug("\nParser --> Zuweisung1!\n");
Assign Ass = new Assign(((UsedId)yyVals[-2+yyTop]).getOffset(),((UsedId)yyVals[-2+yyTop]).getVariableLength());
LocalOrFieldVar LOFV = new LocalOrFieldVar(((UsedId)yyVals[-2+yyTop]).getOffset(),((UsedId)yyVals[-2+yyTop]).getVariableLength());
LOFV.set_UsedId(((UsedId)yyVals[-2+yyTop]));
/*auskommentiert von Andreas Stadelmeier (a10023) LOFV.setType(TypePlaceholder.fresh());*/
/*auskommentiert von Andreas Stadelmeier (a10023) Ass.setType(TypePlaceholder.fresh());*/
if( ((Operator)yyVals[-1+yyTop]) == null )
{
org.apache.log4j.Logger.getLogger("parser").debug("\nParser --> Zuweisung1 --> " + ((Expr)yyVals[0+yyTop]) + " \n");
Ass.set_Expr( LOFV,((Expr)yyVals[0+yyTop]) );
}
else
{
Binary Bin = new Binary(((Expr)yyVals[0+yyTop]).getOffset(),((Expr)yyVals[0+yyTop]).getVariableLength());
Bin.set_Expr1(LOFV);
Bin.set_Operator(((Operator)yyVals[-1+yyTop]));
Bin.set_Expr2(((Expr)yyVals[0+yyTop]));
org.apache.log4j.Logger.getLogger("parser").debug("\nParser --> Zuweisung1 --> Binary\n");
/*auskommentiert von Andreas Stadelmeier (a10023) Bin.setType(TypePlaceholder.fresh());*/
Ass.set_Expr( LOFV, Bin );
}
yyVal=Ass;
}
break;
2014-08-07 10:11:18 +00:00
case 205:
// line 1815 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Assign Ass =new Assign(((UsedId)yyVals[-2+yyTop]).getOffset(),((UsedId)yyVals[-2+yyTop]).getVariableLength());
LocalOrFieldVar LOFV = new LocalOrFieldVar(((UsedId)yyVals[-2+yyTop]).getOffset(),((UsedId)yyVals[-2+yyTop]).getVariableLength());
LOFV.set_UsedId(((UsedId)yyVals[-2+yyTop]));
/*auskommentiert von Andreas Stadelmeier (a10023) LOFV.setType(TypePlaceholder.fresh());*/
/*auskommentiert von Andreas Stadelmeier (a10023) Ass.setType(TypePlaceholder.fresh());*/
if(((Operator)yyVals[-1+yyTop])==null)
{
Ass.set_Expr(LOFV,((NewClass)yyVals[0+yyTop]));
}
else
{
Binary Bin = new Binary(((NewClass)yyVals[0+yyTop]).getOffset(),((NewClass)yyVals[0+yyTop]).getVariableLength());
Bin.set_Expr1(LOFV);
Bin.set_Operator(((Operator)yyVals[-1+yyTop]));
/*auskommentiert von Andreas Stadelmeier (a10023) Bin.setType(TypePlaceholder.fresh());*/
Bin.set_Expr2(((NewClass)yyVals[0+yyTop]));
Ass.set_Expr(LOFV,Bin);
}
yyVal=Ass;
}
break;
2014-08-07 10:11:18 +00:00
case 206:
// line 1838 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
2014-07-09 13:07:40 +00:00
yyVal=((Assign)yyVals[0+yyTop]);
2014-07-09 08:52:23 +00:00
}
break;
2014-08-07 10:11:18 +00:00
case 207:
// line 1842 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 208:
// line 1846 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 209:
// line 1850 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 210:
// line 1854 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
2014-07-09 13:07:40 +00:00
yyVal=((Expr)yyVals[0+yyTop]);
2014-07-09 08:52:23 +00:00
}
break;
2014-08-07 10:11:18 +00:00
case 211:
// line 1858 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 13:07:40 +00:00
{
yyVal=((MethodCall)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 212:
// line 1869 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
IfStmt IfElno = new IfStmt(((Expr)yyVals[-4+yyTop]).getOffset(),((Expr)yyVals[-4+yyTop]).getVariableLength());
IfElno.set_Expr(((Expr)yyVals[-4+yyTop]));
IfElno.set_Then_block(((Statement)yyVals[-2+yyTop]));
IfElno.set_Else_block(((Statement)yyVals[0+yyTop]));
yyVal=IfElno;
}
break;
2014-08-07 10:11:18 +00:00
case 213:
// line 1878 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
WhileStmt Whstno = new WhileStmt(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
Whstno.set_Expr(((Expr)yyVals[-2+yyTop]));
Whstno.set_Loop_block(((Statement)yyVals[0+yyTop]));
yyVal=Whstno;
}
break;
2014-08-07 10:11:18 +00:00
case 214:
// line 1886 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 215:
// line 1890 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Binary LogOr = new Binary(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
OrOp OrO = new OrOp(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
LogOr.set_Expr1(((Expr)yyVals[-2+yyTop]));
LogOr.set_Expr2(((Expr)yyVals[0+yyTop]));
LogOr.set_Operator(OrO);
/*auskommentiert von Andreas Stadelmeier (a10023) LogOr.setType(TypePlaceholder.fresh());*/
yyVal=LogOr;
}
break;
2014-08-07 10:11:18 +00:00
case 216:
// line 1903 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=null;
}
break;
2014-08-07 10:11:18 +00:00
case 217:
// line 1908 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Block)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 218:
// line 1912 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
/*Lambdabody kann auch nur aus einer Expression bestehen. In diesem Fall wird ein Block erstellt, welcher als einziges Statement ein return statment mit der expression hat.*/
/*Bsp.: Aus der Expression |var=="hallo"| wird: |{return var=="hallo";}|*/
Block ret=new Block();
ret.statements.add((Statement)new Return(0,0).set_ReturnExpr(((Expr)yyVals[0+yyTop])));
/*ret.statements.add((ExprStmt)$1);*/
yyVal=ret;
}
break;
2014-08-07 10:11:18 +00:00
case 219:
// line 1922 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=null;
}
break;
2014-08-07 10:11:18 +00:00
case 220:
// line 1926 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((ParameterList)yyVals[-1+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 221:
// line 1931 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
LambdaExpression lambda = new LambdaExpression(/*((ParameSterList)$2).getOffset(),((ParameterList)$2).getVariableLength()*/0,0);
if(((ParameterList)yyVals[-2+yyTop])!=null)lambda.setParameterList(((ParameterList)yyVals[-2+yyTop]));
lambda.setBody((Block)((Block)yyVals[0+yyTop]));
yyVal=lambda;
}
break;
2014-08-07 10:11:18 +00:00
case 222:
// line 1950 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((UsedId)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 223:
// line 1955 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=null;
}
break;
2014-08-07 10:11:18 +00:00
case 224:
// line 1959 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
TimesOp TEO = new TimesOp(-1,-1);
yyVal=TEO;
}
break;
2014-08-07 10:11:18 +00:00
case 225:
// line 1964 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
DivideOp DEO = new DivideOp(-1,-1);
yyVal=DEO;
}
break;
2014-08-07 10:11:18 +00:00
case 226:
// line 1969 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
ModuloOp MEO = new ModuloOp(-1,-1);
yyVal=MEO;
}
break;
2014-08-07 10:11:18 +00:00
case 227:
// line 1974 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
PlusOp PEO = new PlusOp(-1,-1);
yyVal=PEO;
}
break;
2014-08-07 10:11:18 +00:00
case 228:
// line 1979 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
MinusOp MEO = new MinusOp(-1,-1);
yyVal=MEO;
}
break;
2014-08-07 10:11:18 +00:00
case 229:
// line 1991 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
PreIncExpr PRINC = new PreIncExpr(((Expr)yyVals[0+yyTop]).getOffset(),((Expr)yyVals[0+yyTop]).getVariableLength());
PRINC.set_Expr(((Expr)yyVals[0+yyTop]));
yyVal=PRINC;
}
break;
2014-08-07 10:11:18 +00:00
case 230:
// line 1998 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
PreDecExpr PRDEC = new PreDecExpr(((Expr)yyVals[0+yyTop]).getOffset(),((Expr)yyVals[0+yyTop]).getVariableLength());
PRDEC.set_Expr(((Expr)yyVals[0+yyTop]));
yyVal=PRDEC;
}
break;
2014-08-07 10:11:18 +00:00
case 231:
// line 2005 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
PostIncExpr PIE = new PostIncExpr(((Expr)yyVals[-1+yyTop]).getOffset(),((Expr)yyVals[-1+yyTop]).getVariableLength());
PIE.set_Expr(((Expr)yyVals[-1+yyTop]));
yyVal=PIE;
}
break;
2014-08-07 10:11:18 +00:00
case 232:
// line 2012 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
PostDecExpr PDE = new PostDecExpr(((Expr)yyVals[-1+yyTop]).getOffset(),((Expr)yyVals[-1+yyTop]).getVariableLength());
PDE.set_Expr(((Expr)yyVals[-1+yyTop]));
yyVal=PDE;
}
break;
2014-08-07 10:11:18 +00:00
case 233:
// line 2020 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
org.apache.log4j.Logger.getLogger("parser").debug("M1");
MethodCall MC = new MethodCall(((UsedId)yyVals[-2+yyTop]).getOffset(),((UsedId)yyVals[-2+yyTop]).getVariableLength());
UsedId udidmeth = new UsedId(((UsedId)yyVals[-2+yyTop]).getOffset());
udidmeth.set_Name((String)((((UsedId)yyVals[-2+yyTop]).get_Name()).elementAt(((UsedId)yyVals[-2+yyTop]).get_Name().size()-1)));
MC.set_UsedId(udidmeth);
Receiver rec = null;
if (((UsedId)yyVals[-2+yyTop]).get_Name().size() > 2) {
((UsedId)yyVals[-2+yyTop]).removeLast();
/*macht aus der Liste von Strings */
/*in usedid.name einen InstVar */
InstVar INSTVA = new InstVar(((UsedId)yyVals[-2+yyTop]),((UsedId)yyVals[-2+yyTop]).getOffset(),((UsedId)yyVals[-2+yyTop]).getVariableLength());
/*auskommentiert von Andreas Stadelmeier (a10023) INSTVA.setType(TypePlaceholder.fresh());*/
rec = new Receiver(INSTVA);
}
else if (((UsedId)yyVals[-2+yyTop]).get_Name().size() == 2) {
LocalOrFieldVar LOFV = new LocalOrFieldVar(((UsedId)yyVals[-2+yyTop]).getOffset(),((UsedId)yyVals[-2+yyTop]).getVariableLength());
((UsedId)yyVals[-2+yyTop]).removeLast();
LOFV.set_UsedId(((UsedId)yyVals[-2+yyTop]));
/*auskommentiert von Andreas Stadelmeier (a10023) LOFV.setType(TypePlaceholder.fresh());*/
rec = new Receiver(LOFV);
}
MC.set_Receiver(rec);
/*auskommentiert von Andreas Stadelmeier (a10023) MC.setType(TypePlaceholder.fresh());*/
yyVal=MC;
}
break;
2014-08-07 10:11:18 +00:00
case 234:
// line 2050 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
org.apache.log4j.Logger.getLogger("parser").debug("M2");
MethodCall MCarg = new MethodCall(((UsedId)yyVals[-3+yyTop]).getOffset(),((UsedId)yyVals[-3+yyTop]).getVariableLength());
UsedId udidmeth = new UsedId(((UsedId)yyVals[-3+yyTop]).getOffset());
udidmeth.set_Name((String)((((UsedId)yyVals[-3+yyTop]).get_Name()).elementAt(((UsedId)yyVals[-3+yyTop]).get_Name().size()-1)));
MCarg.set_UsedId(udidmeth);
Receiver rec = null;
if (((UsedId)yyVals[-3+yyTop]).get_Name().size() > 2) {
((UsedId)yyVals[-3+yyTop]).removeLast();
/*macht aus der Liste von Strings */
/*in usedid.name einen InstVar */
InstVar INSTVA = new InstVar(((UsedId)yyVals[-3+yyTop]),((UsedId)yyVals[-3+yyTop]).getOffset(),((UsedId)yyVals[-3+yyTop]).getVariableLength());
/*auskommentiert von Andreas Stadelmeier (a10023) INSTVA.setType(TypePlaceholder.fresh());*/
rec = new Receiver(INSTVA);
}
else if (((UsedId)yyVals[-3+yyTop]).get_Name().size() == 2) {
LocalOrFieldVar LOFV = new LocalOrFieldVar(((UsedId)yyVals[-3+yyTop]).getOffset(),((UsedId)yyVals[-3+yyTop]).getVariableLength());
((UsedId)yyVals[-3+yyTop]).removeLast();
LOFV.set_UsedId(((UsedId)yyVals[-3+yyTop]));
/*auskommentiert von Andreas Stadelmeier (a10023) LOFV.setType(TypePlaceholder.fresh());*/
rec = new Receiver(LOFV);
}
MCarg.set_Receiver(rec);
MCarg.set_ArgumentList(((ArgumentList)yyVals[-1+yyTop]));
/*auskommentiert von Andreas Stadelmeier (a10023) MCarg.setType(TypePlaceholder.fresh());*/
yyVal=MCarg;
}
break;
2014-08-07 10:11:18 +00:00
case 235:
// line 2081 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
org.apache.log4j.Logger.getLogger("parser").debug("M3");
MethodCall MCpr = new MethodCall(((Expr)yyVals[-4+yyTop]).getOffset(),((Expr)yyVals[-4+yyTop]).getVariableLength());
/* PL 05-08-21 primary ist kein UsedId*/
/*$1.usedid.set_Name($3.getLexem());*/
/*MCpr.set_UsedId($1.get_UsedId());*/
UsedId udidmeth = new UsedId(((Expr)yyVals[-4+yyTop]).getOffset());
udidmeth.set_Name(((Token)yyVals[-2+yyTop]).getLexem());
MCpr.set_UsedId(udidmeth);
/* #JB# 04.06.2005 */
/* ########################################################### */
MCpr.set_Receiver(new Receiver(((Expr)yyVals[-4+yyTop])));
/* ########################################################### */
/*auskommentiert von Andreas Stadelmeier (a10023) MCpr.setType(TypePlaceholder.fresh());*/
yyVal=MCpr;
}
break;
2014-08-07 10:11:18 +00:00
case 236:
// line 2100 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
org.apache.log4j.Logger.getLogger("parser").debug("M4");
MethodCall MCPA = new MethodCall(((Expr)yyVals[-5+yyTop]).getOffset(),((Expr)yyVals[-5+yyTop]).getVariableLength());
/* PL 05-08-21 primary ist kein UsedId*/
/*$1.usedid.set_Name($3.getLexem());*/
/*MCPA.set_UsedId($1.get_UsedId());*/
UsedId udidmeth = new UsedId(((Token)yyVals[-3+yyTop]).getOffset());
udidmeth.set_Name(((Token)yyVals[-3+yyTop]).getLexem());
MCPA.set_UsedId(udidmeth);
/* #JB# 04.06.2005 */
/* ########################################################### */
MCPA.set_Receiver(new Receiver(((Expr)yyVals[-5+yyTop])));
/* ########################################################### */
MCPA.set_ArgumentList(((ArgumentList)yyVals[-1+yyTop]));
/*auskommentiert von Andreas Stadelmeier (a10023) MCPA.setType(TypePlaceholder.fresh());*/
yyVal=MCPA;
}
break;
2014-08-07 10:11:18 +00:00
case 237:
// line 2123 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
NewClass NC = new NewClass(((UsedId)yyVals[-2+yyTop]).getOffset(),((UsedId)yyVals[-2+yyTop]).getVariableLength());
NC.set_UsedId(((UsedId)yyVals[-2+yyTop]));
usedIdsToCheck.addElement(((UsedId)yyVals[-2+yyTop]));
/*auskommentiert von Andreas Stadelmeier (a10023) NC.setType(TypePlaceholder.fresh());*/
yyVal=NC;
}
break;
2014-08-07 10:11:18 +00:00
case 238:
// line 2131 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
NewClass NCarg = new NewClass(((UsedId)yyVals[-3+yyTop]).getOffset(),((UsedId)yyVals[-3+yyTop]).getVariableLength());
NCarg.set_UsedId(((UsedId)yyVals[-3+yyTop]));
usedIdsToCheck.addElement(((UsedId)yyVals[-3+yyTop]));
NCarg.set_ArgumentList(((ArgumentList)yyVals[-1+yyTop]));
/*auskommentiert von Andreas Stadelmeier (a10023) NCarg.setType(TypePlaceholder.fresh());*/
yyVal=NCarg;
}
break;
2014-08-07 10:11:18 +00:00
case 239:
// line 2141 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 240:
// line 2145 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Binary And = new Binary(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
AndOp AndO = new AndOp(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
And.set_Expr1(((Expr)yyVals[-2+yyTop]));
And.set_Expr2(((Expr)yyVals[0+yyTop]));
And.set_Operator(AndO);
/*auskommentiert von Andreas Stadelmeier (a10023) And.setType(TypePlaceholder.fresh());*/
yyVal=And;
}
break;
2014-08-07 10:11:18 +00:00
case 241:
// line 2161 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 242:
// line 2165 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 243:
// line 2169 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
PositivExpr POSEX=new PositivExpr(((Expr)yyVals[0+yyTop]).getOffset(),((Expr)yyVals[0+yyTop]).getVariableLength());
UnaryPlus UP= new UnaryPlus();
POSEX.set_UnaryPlus(UP);
POSEX.set_Expr(((Expr)yyVals[0+yyTop]));
yyVal=POSEX;
}
break;
2014-08-07 10:11:18 +00:00
case 244:
// line 2177 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
NegativeExpr NEGEX=new NegativeExpr(((Expr)yyVals[0+yyTop]).getOffset(),((Expr)yyVals[0+yyTop]).getVariableLength());
UnaryMinus UM=new UnaryMinus();
NEGEX.set_UnaryMinus(UM);
NEGEX.set_Expr(((Expr)yyVals[0+yyTop]));
yyVal=NEGEX;
}
break;
2014-08-07 10:11:18 +00:00
case 245:
// line 2185 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 246:
// line 2190 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 247:
// line 2194 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
if (((UsedId)yyVals[0+yyTop]).get_Name().size() > 1) {
/*macht aus der Liste von Strings */
/*in usedid.name einen InstVar */
InstVar INSTVA = new InstVar(((UsedId)yyVals[0+yyTop]),((UsedId)yyVals[0+yyTop]).getOffset(),((UsedId)yyVals[0+yyTop]).getVariableLength());
/*auskommentiert von Andreas Stadelmeier (a10023) INSTVA.setType(TypePlaceholder.fresh());*/
yyVal = INSTVA;
}
else {
LocalOrFieldVar Postincexpr = new LocalOrFieldVar(((UsedId)yyVals[0+yyTop]).getOffset(),((UsedId)yyVals[0+yyTop]).getVariableLength());
Postincexpr.set_UsedId(((UsedId)yyVals[0+yyTop]));
/*auskommentiert von Andreas Stadelmeier (a10023) Postincexpr.setType(TypePlaceholder.fresh());*/
yyVal=Postincexpr;
}
}
break;
2014-08-07 10:11:18 +00:00
case 248:
// line 2212 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 249:
// line 2216 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 250:
// line 2221 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 251:
// line 2226 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
2014-07-09 13:07:40 +00:00
yyVal=((Expr)yyVals[0+yyTop]);
2014-07-09 08:52:23 +00:00
}
break;
2014-08-07 10:11:18 +00:00
case 253:
// line 2232 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 13:07:40 +00:00
{
yyVal=((Literal)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 254:
// line 2236 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
This T = new This(((Token)yyVals[0+yyTop]).getOffset(),((Token)yyVals[0+yyTop]).getLexem().length());
UsedId UT = new UsedId(((Token)yyVals[0+yyTop]).getOffset());
UT.set_Name(((Token)yyVals[0+yyTop]).getLexem());
T.set_UsedId(UT);
yyVal=T;
}
break;
2014-08-07 10:11:18 +00:00
case 255:
// line 2257 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((MethodCall)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 256:
// line 2261 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 257:
// line 2266 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{yyVal=((Expr)yyVals[0+yyTop]);}
break;
2014-08-07 10:11:18 +00:00
case 258:
// line 2268 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{NotExpr NE=new NotExpr(((Expr)yyVals[0+yyTop]).getOffset(),((Expr)yyVals[0+yyTop]).getVariableLength());
UnaryNot UN=new UnaryNot();
NE.set_UnaryNot(UN);
NE.set_Expr(((Expr)yyVals[0+yyTop]));
yyVal=NE;
}
break;
2014-08-07 10:11:18 +00:00
case 259:
// line 2274 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{yyVal=((CastExpr)yyVals[0+yyTop]);}
break;
2014-08-07 10:11:18 +00:00
case 260:
// line 2276 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{yyVal=((Expr)yyVals[0+yyTop]);}
break;
2014-08-07 10:11:18 +00:00
case 262:
// line 2281 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{IntLiteral IL = new IntLiteral();
IL.set_Int(((Token)yyVals[0+yyTop]).String2Int());
yyVal = IL;
}
break;
2014-08-07 10:11:18 +00:00
case 263:
// line 2286 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{BoolLiteral BL = new BoolLiteral();
BL.set_Bool(((Token)yyVals[0+yyTop]).String2Bool());
yyVal = BL;
}
break;
2014-08-07 10:11:18 +00:00
case 264:
// line 2290 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{CharLiteral CL = new CharLiteral();
CL.set_Char(((Token)yyVals[0+yyTop]).CharInString());
yyVal=CL;
}
break;
2014-08-07 10:11:18 +00:00
case 265:
// line 2295 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
StringLiteral ST = new StringLiteral();
ST.set_String(((Token)yyVals[0+yyTop]).get_String());
yyVal=ST;
}
break;
2014-08-07 10:11:18 +00:00
case 266:
// line 2300 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{ LongLiteral LL = new LongLiteral();
LL.set_Long(((Token)yyVals[0+yyTop]).String2Long());
yyVal = LL;
}
break;
2014-08-07 10:11:18 +00:00
case 267:
// line 2304 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
FloatLiteral FL = new FloatLiteral();
FL.set_Float(((Token)yyVals[0+yyTop]).String2Float());
yyVal = FL;
}
break;
2014-08-07 10:11:18 +00:00
case 268:
// line 2309 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
DoubleLiteral DL = new DoubleLiteral();
DL.set_Double(((Token)yyVals[0+yyTop]).String2Double());
yyVal = DL;
}
break;
2014-08-07 10:11:18 +00:00
case 269:
// line 2315 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Null NN = new Null();
yyVal=NN;
}
break;
2014-08-07 10:11:18 +00:00
case 270:
// line 2321 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
CastExpr CaEx=new CastExpr(((Expr)yyVals[0+yyTop]).getOffset(),((Expr)yyVals[0+yyTop]).getVariableLength());
CaEx.set_Type(((BaseType)yyVals[-2+yyTop]));
CaEx.set_Expr(((Expr)yyVals[0+yyTop]));
yyVal=CaEx;
}
break;
2014-08-07 10:11:18 +00:00
case 271:
// line 2330 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 272:
// line 2334 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
}
break;
2014-08-07 10:11:18 +00:00
case 273:
// line 2338 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 274:
// line 2342 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Binary EQ = new Binary(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
EqualOp EO = new EqualOp(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
EQ.set_Expr1(((Expr)yyVals[-2+yyTop]));
EQ.set_Expr2(((Expr)yyVals[0+yyTop]));
EQ.set_Operator(EO);
/*auskommentiert von Andreas Stadelmeier (a10023) EQ.setType(TypePlaceholder.fresh());*/
yyVal=EQ;
}
break;
2014-08-07 10:11:18 +00:00
case 275:
// line 2352 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Binary NEQ = new Binary(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
NotEqualOp NEO = new NotEqualOp(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
NEQ.set_Expr1(((Expr)yyVals[-2+yyTop]));
NEQ.set_Expr2(((Expr)yyVals[0+yyTop]));
NEQ.set_Operator(NEO);
/*auskommentiert von Andreas Stadelmeier (a10023) NEQ.setType(TypePlaceholder.fresh());*/
yyVal=NEQ;
}
break;
2014-08-07 10:11:18 +00:00
case 276:
// line 2363 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 277:
// line 2367 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Binary LO = new Binary(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
LessOp LOO = new LessOp(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
LO.set_Expr1(((Expr)yyVals[-2+yyTop]));
LO.set_Expr2(((Expr)yyVals[0+yyTop]));
LO.set_Operator(LOO);
/*auskommentiert von Andreas Stadelmeier (a10023) LO.setType(TypePlaceholder.fresh());*/
yyVal=LO;
}
break;
2014-08-07 10:11:18 +00:00
case 278:
// line 2377 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Binary GO = new Binary(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
GreaterOp GOO = new GreaterOp(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
GO.set_Expr1(((Expr)yyVals[-2+yyTop]));
GO.set_Expr2(((Expr)yyVals[0+yyTop]));
GO.set_Operator( GOO );
/*auskommentiert von Andreas Stadelmeier (a10023) GO.setType(TypePlaceholder.fresh());*/
yyVal=GO;
}
break;
2014-08-07 10:11:18 +00:00
case 279:
// line 2387 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Binary LE = new Binary(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
LessEquOp LEO = new LessEquOp(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
LE.set_Expr1(((Expr)yyVals[-2+yyTop]));
LE.set_Expr2(((Expr)yyVals[0+yyTop]));
LE.set_Operator(LEO);
/*auskommentiert von Andreas Stadelmeier (a10023) LE.setType(TypePlaceholder.fresh());*/
yyVal=LE;
}
break;
2014-08-07 10:11:18 +00:00
case 280:
// line 2397 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Binary GE = new Binary(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
GreaterEquOp GEO = new GreaterEquOp(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
GE.set_Expr1(((Expr)yyVals[-2+yyTop]));
GE.set_Expr2(((Expr)yyVals[0+yyTop]));
GE.set_Operator(GEO);
/*auskommentiert von Andreas Stadelmeier (a10023) GE.setType(TypePlaceholder.fresh());*/
yyVal=GE;
}
break;
2014-08-07 10:11:18 +00:00
case 281:
// line 2407 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
InstanceOf ISO=new InstanceOf(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
ISO.set_Expr(((Expr)yyVals[-2+yyTop]));
ISO.set_Type(((RefType)yyVals[0+yyTop]));
yyVal=ISO;
}
break;
2014-08-07 10:11:18 +00:00
case 282:
// line 2415 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 283:
// line 2420 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 284:
// line 2424 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Binary AD = new Binary(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
PlusOp PO = new PlusOp(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
AD.set_Expr1(((Expr)yyVals[-2+yyTop]));
AD.set_Expr2(((Expr)yyVals[0+yyTop]));
AD.set_Operator(PO);
/*auskommentiert von Andreas Stadelmeier (a10023) AD.setType(TypePlaceholder.fresh());*/
yyVal=AD;
}
break;
2014-08-07 10:11:18 +00:00
case 285:
// line 2434 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Binary MI = new Binary(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
MinusOp MO = new MinusOp(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
MI.set_Expr1(((Expr)yyVals[-2+yyTop]));
MI.set_Expr2(((Expr)yyVals[0+yyTop]));
MI.set_Operator(MO);
/*auskommentiert von Andreas Stadelmeier (a10023) MI.setType(TypePlaceholder.fresh());*/
yyVal=MI;
}
break;
2014-08-07 10:11:18 +00:00
case 286:
// line 2445 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
yyVal=((Expr)yyVals[0+yyTop]);
}
break;
2014-08-07 10:11:18 +00:00
case 287:
// line 2449 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Binary ML = new Binary(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
TimesOp TO = new TimesOp(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
ML.set_Expr1(((Expr)yyVals[-2+yyTop]));
ML.set_Expr2(((Expr)yyVals[0+yyTop]));
ML.set_Operator(TO);
/*auskommentiert von Andreas Stadelmeier (a10023) ML.setType(TypePlaceholder.fresh());*/
yyVal=ML;
}
break;
2014-08-07 10:11:18 +00:00
case 288:
// line 2459 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Binary DV = new Binary(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
DivideOp DO = new DivideOp(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
DV.set_Expr1(((Expr)yyVals[-2+yyTop]));
DV.set_Expr2(((Expr)yyVals[0+yyTop]));
DV.set_Operator(DO);
/*auskommentiert von Andreas Stadelmeier (a10023) DV.setType(TypePlaceholder.fresh());*/
yyVal = DV;
}
break;
2014-08-07 10:11:18 +00:00
case 289:
// line 2469 "./../src/mycompiler/myparser/JavaParser.jay"
2014-07-09 08:52:23 +00:00
{
Binary MD = new Binary(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
ModuloOp MO = new ModuloOp(((Expr)yyVals[-2+yyTop]).getOffset(),((Expr)yyVals[-2+yyTop]).getVariableLength());
MD.set_Expr1(((Expr)yyVals[-2+yyTop]));
MD.set_Expr2(((Expr)yyVals[0+yyTop]));
MD.set_Operator(MO);
/*auskommentiert von Andreas Stadelmeier (a10023) MD.setType(TypePlaceholder.fresh());*/
yyVal =MD;
}
break;
2014-08-07 10:11:18 +00:00
// line 3222 "-"
2014-07-09 08:52:23 +00:00
}
yyTop -= yyLen[yyN];
yyState = yyStates[yyTop];
int yyM = yyLhs[yyN];
if (yyState == 0 && yyM == 0) {
//t if (yydebug != null) yydebug.shift(0, yyFinal);
yyState = yyFinal;
if (yyToken < 0) {
yyToken = yyLex.advance() ? yyLex.token() : 0;
//t if (yydebug != null)
//t yydebug.lex(yyState, yyToken,yyname(yyToken), yyLex.value());
}
if (yyToken == 0) {
//t if (yydebug != null) yydebug.accept(yyVal);
return yyVal;
}
continue yyLoop;
}
if ((yyN = yyGindex[yyM]) != 0 && (yyN += yyState) >= 0
&& yyN < yyTable.length && yyCheckInit.yyCheck[yyN] == yyState)
yyState = yyTable[yyN];
else
yyState = yyDgoto[yyM];
//t if (yydebug != null) yydebug.shift(yyStates[yyTop], yyState);
continue yyLoop;
}
}
}
protected static final short yyLhs [] = { -1,
2014-08-07 10:11:18 +00:00
0, 0, 0, 0, 0, 100, 28, 28, 27, 94,
94, 29, 29, 107, 107, 25, 26, 26, 23, 1,
2014-07-09 08:52:23 +00:00
1, 1, 1, 1, 1, 1, 1, 9, 9, 8,
2014-08-07 10:11:18 +00:00
8, 2, 2, 2, 2, 114, 114, 114, 114, 114,
114, 117, 117, 117, 7, 7, 42, 42, 30, 34,
34, 3, 3, 35, 35, 16, 16, 43, 43, 43,
43, 43, 43, 31, 4, 4, 33, 17, 17, 17,
24, 24, 32, 115, 115, 116, 116, 5, 5, 18,
18, 112, 108, 108, 10, 6, 20, 20, 11, 12,
12, 12, 12, 12, 12, 14, 44, 44, 109, 109,
110, 110, 110, 110, 50, 96, 99, 99, 95, 95,
97, 97, 98, 98, 13, 13, 13, 13, 13, 13,
2014-07-09 08:52:23 +00:00
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
2014-08-07 10:11:18 +00:00
13, 13, 13, 13, 13, 41, 41, 41, 41, 19,
19, 45, 46, 46, 52, 52, 111, 111, 40, 40,
15, 15, 38, 38, 118, 39, 21, 82, 82, 51,
51, 105, 105, 37, 22, 80, 48, 83, 83, 83,
83, 83, 73, 73, 36, 36, 49, 49, 81, 81,
81, 81, 88, 89, 85, 86, 86, 86, 86, 86,
86, 86, 86, 71, 71, 91, 79, 92, 92, 84,
84, 84, 70, 101, 101, 74, 74, 74, 74, 74,
74, 90, 87, 69, 69, 103, 47, 47, 53, 53,
72, 104, 102, 102, 102, 102, 102, 102, 75, 76,
77, 78, 106, 106, 106, 106, 93, 93, 68, 68,
59, 59, 59, 59, 59, 57, 57, 57, 57, 56,
67, 67, 55, 55, 55, 55, 58, 58, 58, 66,
66, 54, 54, 54, 54, 54, 54, 54, 54, 113,
65, 65, 64, 64, 64, 63, 63, 63, 63, 63,
63, 62, 61, 61, 61, 60, 60, 60, 60,
2014-07-09 08:52:23 +00:00
};
protected static final short yyLen [] = { 2,
1, 2, 3, 2, 3, 3, 1, 2, 3, 1,
2, 1, 1, 1, 1, 3, 3, 3, 1, 3,
4, 4, 5, 4, 5, 5, 6, 1, 4, 1,
4, 3, 4, 4, 5, 1, 4, 1, 3, 6,
3, 1, 3, 3, 2, 3, 1, 2, 2, 2,
3, 2, 3, 2, 3, 1, 2, 1, 1, 1,
1, 1, 1, 1, 1, 2, 1, 1, 1, 1,
2014-08-07 10:11:18 +00:00
1, 3, 2, 1, 3, 0, 3, 1, 1, 1,
1, 2, 2, 3, 6, 2, 3, 1, 3, 2,
3, 4, 2, 3, 4, 2, 2, 3, 3, 4,
2, 3, 3, 4, 2, 1, 1, 3, 1, 3,
1, 3, 1, 3, 3, 2, 3, 4, 3, 4,
4, 5, 2, 3, 3, 4, 3, 4, 4, 5,
1, 2, 2, 2, 3, 1, 3, 1, 3, 1,
3, 1, 1, 2, 1, 3, 4, 5, 1, 3,
3, 4, 1, 1, 2, 1, 1, 1, 1, 2,
1, 1, 3, 1, 1, 1, 2, 1, 1, 1,
1, 1, 1, 1, 1, 1, 2, 1, 1, 1,
1, 1, 5, 7, 5, 9, 8, 8, 8, 7,
7, 7, 6, 1, 1, 1, 2, 2, 3, 1,
1, 1, 1, 3, 3, 1, 1, 1, 1, 1,
1, 7, 5, 1, 3, 1, 1, 1, 2, 3,
3, 1, 1, 1, 1, 1, 1, 1, 2, 2,
2, 2, 3, 4, 5, 6, 4, 5, 1, 3,
1, 1, 2, 2, 1, 1, 1, 1, 1, 1,
1, 3, 1, 1, 1, 1, 1, 2, 1, 1,
3, 1, 1, 1, 1, 1, 1, 1, 1, 4,
1, 3, 1, 3, 3, 1, 3, 3, 3, 3,
3, 1, 1, 3, 3, 1, 3, 3, 3,
2014-07-09 08:52:23 +00:00
};
protected static final short yyDefRed [] = { 0,
2014-08-07 10:11:18 +00:00
62, 153, 176, 0, 63, 175, 60, 59, 58, 0,
2014-07-09 08:52:23 +00:00
0, 0, 61, 19, 0, 14, 15, 0, 7, 0,
2014-08-07 10:11:18 +00:00
156, 164, 154, 0, 0, 0, 0, 47, 0, 0,
2014-07-09 08:52:23 +00:00
10, 0, 0, 13, 12, 0, 0, 0, 0, 0,
2014-08-07 10:11:18 +00:00
0, 73, 8, 0, 0, 0, 0, 0, 0, 48,
2014-07-09 08:52:23 +00:00
11, 0, 0, 0, 0, 0, 0, 20, 0, 0,
2014-08-07 10:11:18 +00:00
6, 0, 9, 0, 0, 0, 0, 32, 0, 74,
0, 137, 139, 5, 0, 0, 0, 0, 106, 107,
2014-07-09 08:52:23 +00:00
0, 49, 64, 67, 50, 0, 0, 0, 0, 45,
2014-08-07 10:11:18 +00:00
0, 80, 0, 81, 0, 0, 56, 68, 0, 0,
0, 157, 0, 0, 0, 70, 0, 69, 22, 0,
2014-07-09 08:52:23 +00:00
0, 24, 16, 0, 18, 0, 54, 0, 52, 0,
2014-08-07 10:11:18 +00:00
65, 79, 78, 0, 0, 0, 0, 0, 34, 0,
77, 21, 0, 0, 33, 0, 0, 0, 31, 0,
82, 0, 0, 0, 113, 0, 0, 132, 0, 142,
96, 0, 134, 46, 57, 0, 93, 90, 0, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-08-07 10:11:18 +00:00
83, 26, 51, 29, 53, 66, 0, 86, 0, 55,
75, 23, 0, 25, 35, 111, 0, 108, 0, 0,
0, 254, 0, 262, 266, 268, 267, 263, 269, 264,
265, 0, 0, 0, 196, 97, 0, 0, 140, 0,
0, 0, 179, 0, 158, 0, 0, 253, 250, 0,
0, 256, 0, 207, 208, 0, 0, 181, 168, 143,
159, 171, 172, 169, 170, 180, 182, 206, 0, 0,
125, 151, 161, 0, 145, 0, 0, 89, 0, 0,
0, 0, 149, 0, 165, 141, 0, 0, 0, 0,
0, 0, 245, 286, 0, 0, 276, 0, 0, 0,
0, 0, 0, 0, 194, 173, 87, 241, 242, 248,
249, 174, 195, 255, 259, 99, 0, 119, 94, 91,
0, 0, 0, 135, 0, 0, 84, 0, 101, 0,
0, 0, 27, 0, 0, 0, 198, 0, 0, 0,
229, 230, 219, 0, 0, 0, 98, 144, 167, 216,
0, 0, 231, 232, 197, 227, 228, 224, 225, 226,
223, 0, 160, 0, 152, 114, 129, 120, 92, 0,
0, 0, 243, 244, 258, 0, 0, 0, 0, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-08-07 10:11:18 +00:00
0, 0, 100, 126, 0, 0, 121, 95, 0, 103,
102, 0, 0, 112, 0, 0, 0, 199, 0, 220,
233, 162, 0, 217, 221, 218, 0, 204, 205, 146,
150, 0, 0, 287, 288, 289, 0, 0, 281, 279,
280, 277, 278, 0, 0, 0, 0, 0, 0, 0,
130, 122, 0, 0, 104, 0, 0, 0, 0, 0,
0, 0, 234, 0, 237, 0, 270, 147, 0, 85,
0, 0, 0, 0, 0, 0, 0, 0, 183, 0,
202, 201, 185, 163, 235, 0, 238, 148, 193, 0,
0, 0, 0, 0, 0, 0, 0, 0, 236, 192,
191, 0, 190, 0, 0, 0, 0, 0, 184, 189,
188, 187, 0, 0, 0, 186, 0, 213, 0, 212,
2014-07-09 08:52:23 +00:00
};
protected static final short yyDgoto [] = { 15,
16, 17, 68, 120, 121, 122, 58, 33, 40, 123,
91, 92, 93, 94, 95, 96, 97, 98, 208, 100,
2014-08-07 10:11:18 +00:00
209, 102, 34, 0, 35, 37, 19, 20, 211, 59,
82, 21, 85, 60, 69, 22, 23, 24, 25, 254,
212, 27, 28, 213, 151, 214, 385, 215, 216, 153,
245, 314, 217, 218, 219, 220, 262, 263, 264, 265,
266, 267, 268, 269, 270, 271, 272, 273, 274, 275,
276, 222, 382, 223, 278, 279, 280, 281, 228, 0,
229, 230, 231, 440, 232, 233, 441, 234, 235, 442,
236, 237, 282, 29, 79, 80, 187, 146, 81, 30,
283, 332, 321, 239, 383, 284, 31, 106, 107, 171,
301, 108, 285, 0, 71, 42, 0, 0,
2014-07-09 08:52:23 +00:00
};
2014-07-09 13:07:40 +00:00
protected static final short yySindex [] = { 1033,
0, 0, 0, -231, 0, 0, 0, 0, 0, -209,
-209, -118, 0, 0, 0, 0, 0, 149, 0, 974,
0, 0, 0, 125, 148, 122, 1088, 0, 1136, 974,
0, 187, -100, 0, 0, 243, 208, 227, 233, -88,
122, 0, 0, 1136, 188, 215, 1033, -231, -118, 0,
0, 974, 1136, 27, -209, -209, 2396, 0, -94, -3,
0, 32, 0, -39, 27, -209, 2426, 0, 15, 0,
21, 0, 0, 0, -100, -88, 1136, 104, 0, 0,
130, 0, 0, 0, 0, 275, 103, 378, 27, 0,
179, 0, 275, 0, 135, 2457, 0, 0, 72, 373,
387, 0, 40, 154, 1907, 0, 327, 0, 0, -3,
-209, 0, 0, 0, 0, 153, 0, 378, 0, 2487,
0, 0, 0, 179, 407, 103, 1907, -209, 0, 122,
0, 0, -94, -3, 0, 15, -209, 27, 0, 1964,
0, 378, 135, -31, 0, 159, 103, 0, 154, 0,
0, -209, 0, 0, 0, 183, 0, 0, 966, -17,
378, 135, 158, 426, 103, 221, 135, 154, 327, 2022,
0, 0, 0, 0, 0, 0, 103, 0, 190, 0,
0, 0, -3, 0, 0, 0, 458, 0, 463, 469,
459, 0, 470, 0, 0, 0, 0, 0, 0, 0,
0, 0, 824, 824, 0, 0, 60, 477, 0, 149,
219, 183, 0, 2079, 0, 465, 186, 0, 0, 480,
-227, 0, 468, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 48, 0,
0, 0, 0, 183, 0, 280, 27, 0, 135, 135,
472, 387, 0, 489, 0, 0, -209, 60, 824, 824,
824, -227, 0, 0, 389, 471, 0, 28, 133, 497,
445, 416, 238, 241, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 398, 0, 0, 0,
135, 103, 103, 0, 135, 282, 0, 511, 0, 2127,
2183, 137, 0, -209, 503, 966, 0, 495, 966, 219,
0, 0, 0, 399, 520, 477, 0, 0, 0, 0,
583, 254, 0, 0, 0, 0, 0, 0, 0, 0,
0, 966, 0, 249, 0, 0, 0, 0, 0, -209,
516, 31, 0, 0, 0, 824, 824, 824, 824, 824,
-209, 824, 824, 824, 824, 824, 824, 824, 824, 824,
824, 824, 0, 0, 135, 135, 0, 0, 622, 0,
0, 2231, 966, 0, 639, 498, 517, 0, 518, 0,
0, 0, 405, 0, 0, 0, 524, 0, 0, 0,
0, 729, 824, 0, 0, 0, 389, 389, 0, 0,
0, 0, 0, 28, 28, 133, 497, 445, 416, 238,
0, 0, 507, 413, 0, 508, 746, 509, 790, 2270,
2309, 966, 0, 807, 0, 456, 0, 0, 510, 0,
2309, 529, 853, 910, 519, 535, 536, 0, 0, 310,
0, 0, 0, 0, 0, 457, 0, 0, 0, 2309,
2309, 541, 2309, 543, 927, 966, 966, 2309, 0, 0,
0, 2309, 0, 2309, 2309, 546, 547, 548, 0, 0,
0, 0, 2309, 2270, 2270, 0, 323, 0, 2270, 0,
2014-07-09 08:52:23 +00:00
};
protected static final short yyRindex [] = { 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
0, 0, 0, 0, 0, 0, 0, 1239, 0, 0,
0, 0, 0, 1587, 2367, 0, 0, 0, 592, 0,
0, -96, 0, 0, 0, 0, 0, 0, -84, 0,
0, 0, 0, 593, 0, 0, 0, 0, 0, 0,
0, 0, 597, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
0, 0, 0, 0, 0, 0, 598, 170, 0, 0,
0, 0, 0, 0, 0, 2515, 0, -23, 0, 0,
0, 0, 0, 0, -4, 0, 0, 0, 0, 0,
335, 0, -89, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 314, 0, 0, 0, -38, 0, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
0, 0, 4, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
35, 10, 0, 0, 0, 0, 25, 0, 0, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
0, 0, 0, 0, 0, 0, 196, 0, 0, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-08-07 10:11:18 +00:00
0, -29, 0, 0, 0, 0, 0, 407, 0, 173,
2014-07-09 13:07:40 +00:00
681, 0, 0, 0, 0, 0, 0, 0, 0, 1019,
0, 0, 0, 0, 0, -55, -34, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 8,
0, 0, 0, 0, 0, 0, 0, 0, 39, 44,
2014-08-07 10:11:18 +00:00
0, 542, 0, 52, 0, 0, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
0, 1997, 0, 0, 1723, 1618, 0, 5, 1629, 1122,
1133, 1294, 1338, 1406, 0, 0, 0, 0, 0, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
58, 0, 0, 0, 82, 0, 0, -12, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 1432,
2014-08-07 10:11:18 +00:00
0, 0, 0, 0, 0, 544, 0, 0, 0, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
0, 301, 0, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
0, 0, 0, 0, 106, 107, 0, 0, 0, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
0, 0, 0, 0, 0, 0, 1852, 1909, 0, 0,
0, 0, 0, 1713, 1768, 1684, 1490, 1527, 1516, 1575,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
0, 0, 0, 0, 0, 0, 0, 1835, 0, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};
2014-08-07 10:11:18 +00:00
protected static final short yyGindex [] = { 557,
0, 0, 84, 0, 485, 0, 77, 558, 559, 0,
262, 0, 41, 0, 2633, 0, 521, 0, 36, 86,
1, -116, 19, 0, 0, 0, 69, 577, -10, 537,
-134, -50, 7, 12, 539, 0, 0, 361, -128, 0,
573, 258, -1, -79, 0, -157, 0, 0, 0, 382,
287, 92, 0, 0, 0, 0, -63, 0, -147, 128,
0, 110, 115, 269, 270, 276, 277, 279, 0, 0,
305, 0, -151, 0, -45, -6, 55, 121, 0, 0,
-176, -194, 2374, -82, 0, 0, 0, 0, 0, 0,
0, 0, 311, 351, -56, 504, 0, 0, 579, 0,
160, 0, 0, 0, -196, 237, 356, 0, 540, 478,
0, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 08:52:23 +00:00
};
protected static final short yyTable [] = { 36,
2014-08-07 10:11:18 +00:00
38, 76, 115, 209, 83, 84, 141, 277, 186, 242,
19, 165, 300, 150, 165, 84, 19, 253, 18, 318,
165, 19, 57, 286, 210, 50, 30, 243, 57, 165,
19, 19, 145, 254, 67, 165, 19, 165, 28, 308,
111, 273, 273, 243, 18, 273, 273, 273, 273, 273,
273, 273, 19, 255, 131, 311, 312, 101, 128, 18,
84, 19, 123, 273, 130, 18, 211, 19, 116, 32,
110, 393, 117, 18, 18, 103, 221, 84, 165, 160,
323, 324, 131, 133, 18, 18, 134, 354, 43, 355,
243, 14, 99, 165, 224, 165, 101, 127, 273, 41,
313, 83, 115, 50, 101, 318, 221, 125, 331, 18,
105, 343, 344, 345, 103, 156, 124, 173, 131, 57,
43, 45, 341, 103, 224, 50, 123, 333, 273, 18,
157, 99, 116, 225, 180, 109, 112, 67, 18, 163,
117, 243, 18, 372, 183, 18, 18, 133, 18, 252,
2014-07-09 13:07:40 +00:00
221, 132, 129, 376, 377, 18, 256, 379, 210, 135,
2014-08-07 10:11:18 +00:00
125, 127, 18, 225, 128, 118, 115, 55, 224, 386,
18, 30, 414, 138, 105, 374, 144, 318, 18, 66,
124, 56, 39, 28, 18, 30, 172, 56, 210, 164,
2014-07-09 13:07:40 +00:00
336, 139, 310, 310, 226, 426, 138, 373, 394, 395,
2014-08-07 10:11:18 +00:00
396, 156, 247, 296, 117, 391, 83, 225, 41, 182,
184, 76, 13, 109, 174, 45, 289, 243, 13, 185,
248, 416, 399, 418, 226, 18, 2, 446, 128, 118,
3, 109, 210, 13, 251, 246, 221, 221, 46, 110,
2014-07-09 13:07:40 +00:00
2, 384, 6, 438, 3, 427, 54, 316, 310, 310,
2014-08-07 10:11:18 +00:00
310, 287, 248, 248, 224, 224, 6, 110, 315, 303,
227, 114, 19, 76, 62, 432, 63, 435, 226, 202,
444, 19, 64, 249, 249, 18, 18, 19, 19, 19,
2014-07-09 13:07:40 +00:00
72, 452, 454, 202, 19, 19, 19, 19, 62, 83,
2014-08-07 10:11:18 +00:00
227, 19, 65, 225, 225, 254, 254, 438, 438, 238,
351, 61, 438, 466, 467, 468, 273, 73, 221, 273,
273, 273, 273, 273, 105, 255, 255, 2, 210, 210,
2014-07-09 13:07:40 +00:00
335, 3, 18, 334, 127, 156, 224, 78, 124, 238,
352, 353, 113, 6, 227, 310, 310, 310, 310, 310,
368, 310, 310, 310, 310, 310, 310, 310, 310, 310,
310, 310, 18, 105, 226, 226, 221, 221, 18, 16,
202, 326, 327, 328, 329, 225, 166, 221, 330, 18,
2014-08-07 10:11:18 +00:00
44, 137, 17, 238, 224, 224, 240, 127, 140, 2,
2014-07-09 13:07:40 +00:00
53, 124, 310, 3, 51, 224, 221, 221, 166, 221,
2014-08-07 10:11:18 +00:00
210, 477, 478, 88, 221, 6, 480, 140, 221, 51,
2014-07-09 13:07:40 +00:00
221, 221, 77, 142, 224, 224, 240, 224, 51, 221,
221, 221, 224, 225, 225, 221, 224, 144, 224, 224,
227, 227, 14, 152, 225, 348, 226, 224, 224, 224,
346, 158, 51, 224, 356, 347, 2, 357, 363, 380,
3, 334, 334, 225, 225, 423, 225, 159, 422, 170,
240, 225, 6, 429, 161, 225, 422, 225, 225, 238,
238, 400, 401, 402, 403, 178, 225, 225, 225, 147,
2014-08-07 10:11:18 +00:00
404, 405, 225, 76, 226, 226, 397, 398, 2, 118,
2014-07-09 13:07:40 +00:00
13, 13, 3, 255, 290, 226, 13, 13, 13, 13,
302, 261, 227, 13, 6, 304, 447, 459, 258, 422,
422, 259, 305, 260, 226, 226, 2, 226, 306, 309,
3, 292, 226, 349, 320, 350, 226, 307, 226, 226,
156, 14, 6, 319, 241, 322, 325, 226, 226, 226,
339, 238, 340, 226, 358, 261, 240, 240, 359, 360,
227, 227, 258, 288, 361, 259, 362, 260, 294, 202,
369, 227, 261, 378, 387, 392, 419, 420, 421, 258,
381, 375, 259, 424, 260, 428, 430, 433, 448, 450,
227, 227, 26, 227, 456, 457, 458, 455, 227, 238,
238, 462, 227, 464, 227, 227, 473, 474, 475, 479,
238, 1, 2, 227, 227, 227, 4, 3, 47, 227,
2014-08-07 10:11:18 +00:00
88, 136, 177, 74, 176, 75, 52, 76, 240, 238,
238, 133, 238, 70, 136, 261, 155, 238, 342, 26,
390, 238, 258, 238, 238, 259, 406, 260, 407, 104,
337, 338, 238, 238, 238, 408, 388, 409, 238, 126,
410, 188, 389, 116, 169, 0, 297, 0, 0, 0,
0, 0, 0, 0, 261, 0, 240, 240, 0, 0,
2014-07-09 13:07:40 +00:00
0, 258, 413, 149, 259, 0, 260, 240, 104, 0,
0, 261, 364, 0, 0, 0, 367, 168, 258, 0,
0, 259, 0, 260, 0, 0, 240, 240, 0, 240,
0, 0, 126, 0, 240, 0, 177, 417, 240, 179,
240, 240, 181, 0, 0, 140, 0, 0, 0, 240,
2014-08-07 10:11:18 +00:00
240, 240, 0, 0, 0, 240, 244, 247, 247, 0,
0, 247, 247, 247, 247, 247, 0, 247, 0, 0,
0, 0, 244, 257, 0, 0, 0, 0, 293, 247,
247, 222, 247, 0, 0, 192, 411, 412, 0, 0,
2014-07-09 13:07:40 +00:00
0, 194, 195, 196, 197, 198, 199, 200, 201, 14,
0, 261, 0, 0, 0, 0, 203, 204, 258, 425,
2014-08-07 10:11:18 +00:00
0, 259, 0, 260, 247, 0, 0, 257, 261, 244,
2014-07-09 13:07:40 +00:00
0, 0, 0, 0, 0, 258, 431, 0, 259, 192,
260, 0, 0, 0, 257, 194, 195, 196, 197, 198,
2014-08-07 10:11:18 +00:00
199, 200, 201, 14, 247, 0, 192, 0, 0, 0,
2014-07-09 13:07:40 +00:00
203, 204, 194, 195, 196, 197, 198, 199, 200, 201,
14, 0, 261, 0, 0, 0, 0, 203, 204, 258,
244, 0, 259, 0, 260, 0, 0, 0, 0, 261,
0, 0, 0, 0, 0, 0, 258, 445, 434, 259,
0, 260, 0, 0, 0, 0, 261, 257, 0, 0,
0, 0, 0, 258, 0, 0, 259, 0, 260, 192,
0, 0, 0, 0, 0, 194, 195, 196, 197, 198,
199, 200, 201, 14, 0, 261, 0, 0, 0, 0,
203, 204, 258, 451, 0, 259, 257, 260, 0, 0,
0, 0, 0, 0, 0, 0, 244, 0, 192, 0,
0, 0, 0, 257, 194, 195, 196, 197, 198, 199,
200, 201, 14, 0, 0, 192, 0, 0, 0, 203,
204, 194, 195, 196, 197, 198, 199, 200, 201, 14,
0, 0, 261, 0, 0, 0, 203, 204, 0, 258,
2014-08-07 10:11:18 +00:00
453, 0, 259, 247, 260, 0, 0, 0, 0, 261,
2014-07-09 13:07:40 +00:00
0, 0, 0, 0, 0, 0, 258, 465, 0, 259,
0, 260, 0, 0, 0, 0, 0, 0, 0, 0,
2014-08-07 10:11:18 +00:00
0, 0, 247, 247, 247, 247, 247, 247, 247, 247,
0, 0, 0, 0, 222, 222, 222, 222, 261, 0,
0, 222, 0, 257, 0, 258, 0, 0, 259, 0,
2014-07-09 13:07:40 +00:00
260, 0, 0, 0, 0, 192, 0, 0, 0, 0,
257, 194, 195, 196, 197, 198, 199, 200, 201, 14,
0, 0, 192, 0, 0, 0, 203, 204, 194, 195,
196, 197, 198, 199, 200, 201, 14, 0, 0, 0,
2014-08-07 10:11:18 +00:00
0, 0, 0, 203, 204, 246, 246, 0, 0, 246,
246, 246, 246, 246, 257, 246, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 192, 246, 246, 0,
246, 257, 194, 195, 196, 197, 198, 199, 200, 201,
2014-07-09 08:52:23 +00:00
14, 0, 0, 192, 0, 0, 0, 203, 204, 194,
195, 196, 197, 198, 199, 200, 201, 14, 0, 0,
2014-08-07 10:11:18 +00:00
192, 0, 246, 0, 203, 204, 194, 195, 196, 197,
2014-07-09 13:07:40 +00:00
198, 199, 200, 201, 14, 0, 0, 257, 0, 0,
0, 203, 204, 0, 0, 0, 0, 0, 0, 192,
2014-08-07 10:11:18 +00:00
0, 0, 246, 0, 0, 194, 195, 196, 197, 198,
199, 200, 201, 14, 0, 0, 0, 0, 260, 0,
203, 204, 260, 260, 260, 260, 260, 260, 260, 251,
251, 0, 0, 251, 251, 251, 251, 251, 251, 251,
260, 260, 0, 260, 257, 0, 0, 0, 0, 0,
0, 251, 251, 0, 251, 0, 192, 0, 0, 0,
2014-07-09 13:07:40 +00:00
0, 257, 194, 195, 196, 197, 198, 199, 200, 201,
2014-08-07 10:11:18 +00:00
14, 0, 0, 192, 0, 260, 0, 203, 204, 194,
2014-07-09 13:07:40 +00:00
195, 196, 197, 198, 199, 200, 201, 14, 0, 0,
1, 0, 0, 0, 203, 204, 4, 0, 0, 0,
2014-08-07 10:11:18 +00:00
257, 0, 5, 0, 0, 260, 0, 0, 0, 7,
8, 9, 192, 11, 12, 0, 251, 13, 194, 195,
2014-07-09 08:52:23 +00:00
196, 197, 198, 199, 200, 201, 14, 0, 0, 0,
2014-08-07 10:11:18 +00:00
0, 0, 0, 203, 204, 76, 76, 0, 76, 76,
76, 76, 76, 76, 76, 76, 0, 0, 0, 1,
2, 246, 0, 0, 3, 4, 0, 76, 0, 0,
76, 5, 0, 0, 0, 0, 6, 0, 7, 8,
2014-07-09 13:07:40 +00:00
9, 10, 11, 12, 0, 0, 13, 0, 0, 0,
2014-08-07 10:11:18 +00:00
246, 246, 246, 246, 246, 246, 246, 246, 0, 76,
239, 239, 76, 14, 239, 239, 239, 239, 239, 239,
239, 0, 0, 0, 1, 0, 0, 0, 0, 0,
48, 0, 239, 239, 0, 239, 5, 0, 0, 0,
0, 76, 76, 7, 8, 9, 0, 0, 49, 0,
0, 13, 0, 0, 214, 214, 0, 0, 214, 214,
214, 214, 214, 214, 214, 0, 0, 239, 0, 0,
0, 0, 1, 0, 260, 0, 214, 214, 4, 214,
0, 0, 0, 0, 5, 251, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
0, 7, 8, 9, 0, 0, 12, 0, 0, 13,
2014-08-07 10:11:18 +00:00
0, 0, 0, 260, 260, 260, 260, 260, 260, 260,
260, 214, 0, 0, 251, 251, 251, 251, 251, 251,
251, 251, 203, 203, 0, 0, 203, 203, 203, 203,
203, 203, 203, 0, 0, 0, 0, 0, 0, 0,
0, 214, 0, 0, 203, 203, 0, 203, 247, 247,
0, 0, 247, 247, 247, 247, 247, 0, 247, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-08-07 10:11:18 +00:00
247, 247, 0, 247, 0, 76, 76, 0, 0, 203,
76, 76, 0, 0, 0, 0, 0, 76, 0, 0,
0, 76, 76, 0, 76, 76, 76, 76, 76, 76,
76, 0, 76, 0, 0, 247, 261, 0, 0, 203,
261, 261, 261, 261, 261, 261, 261, 0, 0, 76,
76, 76, 76, 76, 76, 76, 76, 76, 261, 261,
0, 261, 240, 240, 0, 247, 240, 240, 240, 240,
240, 240, 240, 252, 252, 0, 239, 252, 252, 252,
252, 252, 252, 252, 240, 240, 0, 240, 0, 0,
0, 0, 0, 261, 0, 252, 252, 0, 252, 0,
0, 0, 0, 0, 0, 239, 239, 239, 239, 239,
239, 239, 239, 0, 0, 0, 0, 0, 0, 240,
214, 215, 215, 261, 0, 215, 215, 215, 215, 215,
215, 215, 0, 0, 0, 0, 0, 0, 0, 0,
136, 0, 0, 215, 215, 0, 215, 0, 0, 214,
214, 214, 214, 214, 0, 214, 214, 0, 136, 0,
252, 0, 0, 0, 282, 282, 0, 0, 282, 282,
0, 282, 0, 282, 282, 271, 271, 0, 215, 271,
271, 271, 271, 271, 271, 271, 282, 282, 203, 282,
0, 0, 0, 0, 0, 0, 0, 271, 271, 0,
271, 0, 0, 0, 0, 0, 0, 0, 215, 0,
0, 0, 0, 0, 247, 0, 0, 203, 203, 203,
203, 282, 203, 203, 203, 0, 0, 0, 0, 0,
272, 272, 271, 0, 272, 272, 272, 272, 272, 272,
272, 0, 0, 247, 247, 247, 247, 247, 247, 247,
247, 282, 272, 272, 0, 272, 0, 0, 0, 274,
274, 0, 271, 274, 274, 274, 274, 274, 274, 274,
283, 0, 261, 283, 0, 283, 283, 283, 283, 0,
0, 274, 0, 0, 0, 0, 0, 272, 0, 0,
0, 283, 283, 0, 283, 0, 0, 0, 240, 0,
0, 261, 261, 261, 261, 261, 261, 261, 261, 252,
0, 0, 0, 0, 275, 275, 274, 272, 275, 275,
275, 275, 275, 275, 275, 0, 283, 240, 240, 240,
240, 240, 240, 240, 240, 0, 275, 0, 252, 252,
252, 252, 252, 252, 252, 252, 274, 0, 0, 0,
0, 0, 0, 136, 136, 0, 283, 215, 136, 136,
0, 0, 0, 0, 0, 136, 0, 0, 0, 0,
136, 275, 136, 136, 136, 136, 136, 136, 0, 0,
136, 0, 0, 0, 168, 0, 215, 215, 215, 215,
215, 0, 215, 215, 0, 0, 0, 136, 0, 284,
282, 275, 284, 168, 284, 284, 284, 284, 0, 0,
0, 271, 0, 0, 0, 0, 0, 0, 0, 0,
284, 284, 0, 284, 0, 0, 0, 0, 0, 282,
282, 282, 282, 282, 282, 282, 282, 0, 0, 0,
0, 271, 271, 0, 271, 271, 271, 271, 0, 0,
0, 0, 0, 0, 0, 284, 285, 0, 0, 285,
0, 285, 285, 285, 285, 0, 272, 168, 0, 168,
0, 0, 0, 0, 0, 0, 89, 285, 285, 0,
285, 0, 0, 0, 0, 284, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 272, 272, 0, 272,
272, 272, 272, 0, 0, 283, 0, 0, 0, 0,
0, 0, 285, 207, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 274, 0, 0, 274, 274, 274,
274, 274, 205, 0, 283, 283, 283, 283, 283, 283,
283, 283, 285, 257, 257, 0, 0, 257, 257, 257,
257, 257, 257, 257, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 257, 257, 0, 257, 0,
0, 207, 0, 0, 0, 0, 0, 0, 0, 275,
0, 0, 275, 275, 275, 275, 275, 0, 0, 0,
2014-07-09 13:07:40 +00:00
205, 0, 0, 0, 0, 0, 140, 0, 206, 0,
2014-08-07 10:11:18 +00:00
257, 0, 168, 0, 0, 0, 168, 0, 0, 0,
0, 200, 0, 0, 0, 168, 168, 0, 168, 0,
0, 0, 0, 0, 0, 0, 0, 168, 207, 0,
257, 168, 0, 0, 284, 0, 168, 168, 168, 168,
168, 168, 168, 168, 168, 168, 0, 205, 0, 0,
0, 0, 168, 168, 140, 0, 299, 0, 0, 0,
0, 0, 0, 284, 284, 284, 284, 284, 284, 284,
284, 0, 0, 1, 2, 0, 207, 0, 3, 0,
2014-07-09 13:07:40 +00:00
0, 0, 0, 0, 0, 5, 0, 0, 0, 0,
2014-08-07 10:11:18 +00:00
6, 285, 7, 8, 9, 205, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
13, 0, 0, 0, 0, 0, 0, 165, 0, 0,
0, 140, 0, 317, 0, 0, 0, 118, 0, 0,
2014-08-07 10:11:18 +00:00
285, 285, 285, 285, 285, 285, 285, 285, 0, 0,
2014-07-09 13:07:40 +00:00
0, 2, 207, 0, 0, 3, 0, 0, 0, 0,
0, 0, 0, 0, 189, 190, 0, 6, 0, 0,
0, 205, 0, 0, 0, 0, 191, 0, 0, 140,
192, 370, 0, 0, 0, 193, 194, 195, 196, 197,
2014-08-07 10:11:18 +00:00
198, 199, 200, 201, 202, 0, 0, 0, 0, 257,
2014-07-09 13:07:40 +00:00
207, 203, 204, 0, 0, 0, 0, 0, 0, 2,
0, 0, 0, 3, 0, 0, 0, 0, 0, 205,
2014-08-07 10:11:18 +00:00
0, 0, 189, 190, 0, 6, 0, 0, 257, 257,
257, 257, 257, 257, 191, 140, 0, 371, 298, 207,
2014-07-09 13:07:40 +00:00
0, 0, 0, 193, 194, 195, 196, 197, 198, 199,
200, 201, 202, 0, 0, 0, 0, 0, 205, 203,
204, 0, 0, 0, 0, 0, 2, 0, 0, 0,
3, 0, 0, 0, 0, 0, 0, 0, 207, 189,
190, 0, 6, 140, 0, 415, 0, 0, 0, 0,
0, 191, 0, 0, 0, 192, 0, 205, 0, 0,
2014-07-09 08:52:23 +00:00
193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
2014-07-09 13:07:40 +00:00
0, 0, 0, 0, 2, 0, 203, 204, 3, 0,
0, 0, 140, 0, 0, 0, 0, 189, 190, 0,
6, 0, 0, 0, 0, 0, 0, 0, 0, 191,
2014-08-07 10:11:18 +00:00
138, 0, 0, 192, 0, 0, 0, 0, 193, 194,
195, 196, 197, 198, 199, 200, 201, 202, 138, 0,
2014-07-09 13:07:40 +00:00
0, 140, 0, 0, 203, 204, 0, 0, 0, 0,
2, 0, 0, 0, 3, 0, 0, 0, 0, 0,
0, 0, 0, 189, 190, 89, 6, 0, 0, 0,
0, 0, 0, 0, 0, 191, 0, 0, 0, 192,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 193, 194, 195, 196, 197, 198,
2014-07-09 13:07:40 +00:00
199, 200, 201, 202, 0, 89, 0, 0, 2, 0,
203, 204, 3, 0, 0, 0, 0, 0, 0, 0,
0, 189, 190, 0, 6, 0, 0, 0, 0, 0,
0, 0, 0, 191, 0, 0, 89, 192, 0, 0,
90, 0, 193, 194, 195, 196, 197, 198, 199, 200,
201, 202, 0, 0, 0, 0, 0, 0, 203, 204,
189, 436, 0, 0, 0, 0, 89, 0, 0, 0,
119, 0, 191, 0, 0, 0, 192, 0, 0, 0,
0, 437, 194, 195, 196, 197, 198, 199, 200, 201,
14, 0, 0, 0, 61, 0, 0, 203, 204, 189,
190, 154, 0, 0, 0, 0, 0, 0, 0, 0,
0, 191, 0, 0, 0, 192, 0, 0, 0, 0,
193, 194, 195, 196, 197, 198, 199, 200, 201, 14,
0, 175, 0, 0, 0, 0, 203, 204, 0, 0,
2014-08-07 10:11:18 +00:00
0, 0, 0, 138, 138, 0, 0, 0, 138, 138,
0, 0, 0, 0, 0, 138, 0, 0, 0, 0,
138, 0, 138, 138, 138, 138, 138, 138, 0, 0,
138, 0, 1, 2, 0, 0, 0, 3, 0, 0,
0, 0, 0, 0, 5, 0, 0, 138, 0, 6,
2014-07-09 13:07:40 +00:00
0, 7, 8, 9, 0, 0, 0, 0, 0, 86,
0, 0, 1, 2, 0, 0, 87, 3, 0, 0,
0, 0, 0, 0, 5, 0, 88, 0, 0, 6,
0, 7, 8, 9, 0, 0, 0, 0, 0, 13,
0, 0, 0, 1, 2, 0, 87, 0, 3, 143,
0, 0, 0, 148, 0, 5, 118, 0, 0, 0,
6, 0, 7, 8, 9, 0, 162, 167, 0, 0,
86, 0, 0, 1, 2, 0, 0, 87, 3, 0,
0, 0, 0, 0, 0, 5, 148, 88, 162, 167,
6, 0, 7, 8, 9, 0, 0, 0, 0, 0,
13, 61, 61, 0, 0, 0, 61, 87, 0, 249,
0, 250, 0, 61, 0, 0, 0, 118, 61, 0,
61, 61, 61, 439, 443, 0, 0, 291, 61, 0,
295, 0, 0, 0, 449, 61, 0, 0, 0, 250,
0, 295, 0, 0, 0, 61, 0, 0, 0, 0,
0, 0, 0, 460, 461, 0, 463, 0, 0, 0,
0, 469, 0, 0, 0, 470, 0, 471, 472, 0,
0, 0, 0, 0, 0, 0, 476, 439, 443, 0,
0, 0, 469, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 08:52:23 +00:00
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2014-07-09 13:07:40 +00:00
0, 0, 0, 0, 365, 366,
2014-07-09 08:52:23 +00:00
};
2014-07-09 13:07:40 +00:00
protected short yyCheck[] = new short[2927];
2014-07-09 08:52:23 +00:00
}
class yyCheck0 {
protected static final short yyCheck0 [] = { 10,
2014-07-09 13:07:40 +00:00
11, 91, 42, 59, 55, 56, 86, 159, 137, 41,
40, 41, 170, 93, 44, 66, 46, 152, 0, 214,
44, 60, 123, 41, 59, 27, 123, 144, 123, 59,
60, 61, 89, 46, 123, 59, 60, 61, 123, 191,
44, 37, 38, 160, 26, 41, 42, 43, 44, 45,
46, 47, 91, 46, 59, 203, 204, 57, 44, 41,
111, 91, 59, 59, 44, 47, 59, 91, 59, 301,
59, 41, 66, 55, 56, 57, 140, 128, 44, 40,
308, 309, 62, 59, 66, 67, 75, 60, 20, 62,
207, 301, 57, 59, 140, 61, 96, 59, 94, 60,
41, 152, 59, 105, 104, 300, 170, 67, 61, 91,
59, 259, 260, 261, 96, 44, 59, 111, 123, 123,
52, 91, 257, 105, 170, 127, 123, 244, 124, 111,
59, 96, 123, 140, 128, 59, 60, 123, 120, 104,
59, 258, 124, 301, 133, 127, 128, 123, 130, 149,
214, 75, 69, 305, 306, 137, 156, 309, 140, 76,
120, 123, 144, 170, 59, 59, 123, 268, 214, 321,
152, 268, 369, 44, 123, 304, 40, 372, 160, 268,
123, 282, 301, 268, 166, 282, 110, 282, 170, 104,
247, 62, 203, 204, 140, 392, 44, 61, 346, 347,
348, 44, 44, 168, 123, 340, 257, 214, 60, 133,
134, 301, 40, 44, 62, 91, 59, 334, 46, 136,
62, 373, 351, 375, 170, 207, 258, 424, 123, 123,
262, 62, 214, 61, 149, 144, 300, 301, 91, 44,
258, 321, 274, 420, 262, 393, 60, 212, 259, 260,
261, 160, 308, 309, 300, 301, 274, 62, 40, 183,
140, 301, 301, 91, 46, 417, 59, 419, 214, 301,
422, 301, 46, 308, 309, 257, 258, 301, 308, 309,
93, 433, 434, 301, 314, 315, 316, 317, 46, 340,
170, 321, 60, 300, 301, 308, 309, 474, 475, 140,
273, 59, 479, 455, 456, 457, 302, 93, 372, 305,
306, 307, 308, 309, 57, 308, 309, 258, 300, 301,
41, 262, 304, 44, 67, 44, 372, 301, 67, 170,
303, 304, 301, 274, 214, 346, 347, 348, 349, 350,
59, 352, 353, 354, 355, 356, 357, 358, 359, 360,
361, 362, 334, 96, 300, 301, 420, 421, 340, 46,
301, 314, 315, 316, 317, 372, 105, 431, 321, 351,
20, 268, 59, 214, 420, 421, 140, 120, 44, 258,
30, 120, 393, 262, 29, 431, 450, 451, 127, 453,
372, 474, 475, 59, 458, 274, 479, 123, 462, 44,
464, 465, 52, 301, 450, 451, 170, 453, 53, 473,
474, 475, 458, 420, 421, 479, 462, 40, 464, 465,
300, 301, 301, 289, 431, 37, 372, 473, 474, 475,
42, 59, 77, 479, 302, 47, 258, 305, 41, 41,
262, 44, 44, 450, 451, 41, 453, 61, 44, 123,
214, 458, 274, 41, 301, 462, 44, 464, 465, 300,
301, 352, 353, 354, 355, 59, 473, 474, 475, 291,
356, 357, 479, 301, 420, 421, 349, 350, 258, 301,
308, 309, 262, 301, 59, 431, 314, 315, 316, 317,
301, 33, 372, 321, 274, 38, 41, 41, 40, 44,
44, 43, 40, 45, 450, 451, 258, 453, 40, 40,
262, 291, 458, 43, 329, 45, 462, 59, 464, 465,
44, 301, 274, 59, 143, 46, 59, 473, 474, 475,
59, 372, 44, 479, 38, 33, 300, 301, 94, 124,
420, 421, 40, 162, 307, 43, 306, 45, 167, 301,
40, 431, 33, 59, 301, 40, 59, 41, 41, 40,
41, 59, 43, 40, 45, 59, 59, 59, 59, 41,
450, 451, 0, 453, 40, 40, 267, 59, 458, 420,
421, 41, 462, 41, 464, 465, 41, 41, 41, 267,
431, 0, 0, 473, 474, 475, 0, 0, 26, 479,
2014-08-07 10:11:18 +00:00
59, 301, 59, 47, 120, 48, 30, 49, 372, 450,
451, 75, 453, 41, 76, 33, 96, 458, 258, 47,
334, 462, 40, 464, 465, 43, 358, 45, 359, 57,
249, 250, 473, 474, 475, 360, 332, 361, 479, 67,
362, 138, 332, 65, 105, -1, 169, -1, -1, -1,
-1, -1, -1, -1, 33, -1, 420, 421, -1, -1,
2014-07-09 13:07:40 +00:00
-1, 40, 41, 91, 43, -1, 45, 431, 96, -1,
-1, 33, 291, -1, -1, -1, 295, 105, 40, -1,
-1, 43, -1, 45, -1, -1, 450, 451, -1, 453,
-1, -1, 120, -1, 458, -1, 124, 59, 462, 127,
464, 465, 130, -1, -1, 123, -1, -1, -1, 473,
2014-07-09 08:52:23 +00:00
474, 475, -1, -1, -1, 479, 144, 37, 38, -1,
2014-07-09 13:07:40 +00:00
-1, 41, 42, 43, 44, 45, -1, 47, -1, -1,
-1, -1, 160, 275, -1, -1, -1, -1, 166, 59,
60, 61, 62, -1, -1, 287, 365, 366, -1, -1,
-1, 293, 294, 295, 296, 297, 298, 299, 300, 301,
-1, 33, -1, -1, -1, -1, 308, 309, 40, 41,
-1, 43, -1, 45, 94, -1, -1, 275, 33, 207,
-1, -1, -1, -1, -1, 40, 41, -1, 43, 287,
45, -1, -1, -1, 275, 293, 294, 295, 296, 297,
298, 299, 300, 301, 124, -1, 287, -1, -1, -1,
308, 309, 293, 294, 295, 296, 297, 298, 299, 300,
301, -1, 33, -1, -1, -1, -1, 308, 309, 40,
258, -1, 43, -1, 45, -1, -1, -1, -1, 33,
-1, -1, -1, -1, -1, -1, 40, 41, 59, 43,
-1, 45, -1, -1, -1, -1, 33, 275, -1, -1,
-1, -1, -1, 40, -1, -1, 43, -1, 45, 287,
-1, -1, -1, -1, -1, 293, 294, 295, 296, 297,
298, 299, 300, 301, -1, 33, -1, -1, -1, -1,
308, 309, 40, 41, -1, 43, 275, 45, -1, -1,
-1, -1, -1, -1, -1, -1, 334, -1, 287, -1,
-1, -1, -1, 275, 293, 294, 295, 296, 297, 298,
299, 300, 301, -1, -1, 287, -1, -1, -1, 308,
309, 293, 294, 295, 296, 297, 298, 299, 300, 301,
-1, -1, 33, -1, -1, -1, 308, 309, -1, 40,
41, -1, 43, 273, 45, -1, -1, -1, -1, 33,
-1, -1, -1, -1, -1, -1, 40, 41, -1, 43,
-1, 45, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 302, 303, 304, 305, 306, 307, 308, 309,
-1, -1, -1, -1, 314, 315, 316, 317, 33, -1,
2014-07-09 08:52:23 +00:00
};
}
class yyCheck1 {
2014-07-09 13:07:40 +00:00
protected static final short yyCheck1 [] = { -1,
321, -1, 275, -1, 40, -1, -1, 43, -1, 45,
-1, -1, -1, -1, 287, -1, -1, -1, -1, 275,
293, 294, 295, 296, 297, 298, 299, 300, 301, -1,
-1, 287, -1, -1, -1, 308, 309, 293, 294, 295,
296, 297, 298, 299, 300, 301, -1, -1, -1, -1,
-1, -1, 308, 309, 37, 38, -1, -1, 41, 42,
43, 44, 45, 275, 47, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 287, 59, 60, -1, 62,
2014-07-09 08:52:23 +00:00
275, 293, 294, 295, 296, 297, 298, 299, 300, 301,
-1, -1, 287, -1, -1, -1, 308, 309, 293, 294,
2014-07-09 13:07:40 +00:00
295, 296, 297, 298, 299, 300, 301, -1, -1, 287,
-1, 94, -1, 308, 309, 293, 294, 295, 296, 297,
298, 299, 300, 301, -1, -1, 275, -1, -1, -1,
308, 309, -1, -1, -1, -1, -1, -1, 287, -1,
-1, 124, -1, -1, 293, 294, 295, 296, 297, 298,
299, 300, 301, -1, -1, -1, -1, 37, -1, 308,
309, 41, 42, 43, 44, 45, 46, 47, 37, 38,
-1, -1, 41, 42, 43, 44, 45, 46, 47, 59,
60, -1, 62, 275, -1, -1, -1, -1, -1, -1,
59, 60, -1, 62, -1, 287, -1, -1, -1, -1,
275, 293, 294, 295, 296, 297, 298, 299, 300, 301,
-1, -1, 287, -1, 94, -1, 308, 309, 293, 294,
295, 296, 297, 298, 299, 300, 301, -1, -1, 257,
-1, -1, -1, 308, 309, 263, -1, -1, -1, 275,
-1, 269, -1, -1, 124, -1, -1, -1, 276, 277,
278, 287, 280, 281, -1, 124, 284, 293, 294, 295,
2014-07-09 08:52:23 +00:00
296, 297, 298, 299, 300, 301, -1, -1, -1, -1,
2014-07-09 13:07:40 +00:00
-1, -1, 308, 309, 37, 38, -1, 40, 41, 42,
43, 44, 45, 46, 47, -1, -1, -1, 257, 258,
273, -1, -1, 262, 263, -1, 59, -1, -1, 62,
269, -1, -1, -1, -1, 274, -1, 276, 277, 278,
279, 280, 281, -1, -1, 284, -1, -1, -1, 302,
303, 304, 305, 306, 307, 308, 309, -1, 91, 37,
38, 94, 301, 41, 42, 43, 44, 45, 46, 47,
-1, -1, -1, 257, -1, -1, -1, -1, -1, 263,
-1, 59, 60, -1, 62, 269, -1, -1, -1, -1,
123, 124, 276, 277, 278, -1, -1, 281, -1, -1,
284, -1, -1, 37, 38, -1, -1, 41, 42, 43,
44, 45, 46, 47, -1, -1, 94, -1, -1, -1,
-1, 257, -1, 273, -1, 59, 60, 263, 62, -1,
-1, -1, -1, 269, 273, -1, -1, -1, -1, -1,
276, 277, 278, -1, -1, 281, -1, -1, 284, -1,
-1, -1, 302, 303, 304, 305, 306, 307, 308, 309,
94, -1, -1, 302, 303, 304, 305, 306, 307, 308,
309, 37, 38, -1, -1, 41, 42, 43, 44, 45,
2014-07-09 08:52:23 +00:00
46, 47, -1, -1, -1, -1, -1, -1, -1, -1,
2014-07-09 13:07:40 +00:00
124, -1, -1, 59, 60, -1, 62, 37, 38, -1,
-1, 41, 42, 43, 44, 45, -1, 47, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 59,
60, -1, 62, -1, 257, 258, -1, -1, 94, 262,
263, -1, -1, -1, -1, -1, 269, -1, -1, -1,
273, 274, -1, 276, 277, 278, 279, 280, 281, 282,
-1, 284, -1, -1, 94, 37, -1, -1, 124, 41,
42, 43, 44, 45, 46, 47, -1, -1, 301, 302,
303, 304, 305, 306, 307, 308, 309, 59, 60, -1,
62, 37, 38, -1, 124, 41, 42, 43, 44, 45,
46, 47, 37, 38, -1, 273, 41, 42, 43, 44,
45, 46, 47, 59, 60, -1, 62, -1, -1, -1,
-1, -1, 94, -1, 59, 60, -1, 62, -1, -1,
-1, -1, -1, -1, 302, 303, 304, 305, 306, 307,
308, 309, -1, -1, -1, -1, -1, -1, 94, 273,
37, 38, 124, -1, 41, 42, 43, 44, 45, 46,
47, -1, -1, -1, -1, -1, -1, -1, -1, 44,
-1, -1, 59, 60, -1, 62, -1, -1, 302, 303,
304, 305, 306, -1, 308, 309, -1, 62, -1, 124,
-1, -1, -1, 37, 38, -1, -1, 41, 42, -1,
44, -1, 46, 47, 37, 38, -1, 94, 41, 42,
43, 44, 45, 46, 47, 59, 60, 273, 62, -1,
-1, -1, -1, -1, -1, -1, 59, 60, -1, 62,
-1, -1, -1, -1, -1, -1, -1, 124, -1, -1,
2014-07-09 08:52:23 +00:00
-1, -1, -1, 273, -1, -1, 302, 303, 304, 305,
2014-07-09 13:07:40 +00:00
94, 307, 308, 309, -1, -1, -1, -1, -1, 37,
38, 94, -1, 41, 42, 43, 44, 45, 46, 47,
-1, -1, 302, 303, 304, 305, 306, 307, 308, 309,
124, 59, 60, -1, 62, -1, -1, -1, 37, 38,
-1, 124, 41, 42, 43, 44, 45, 46, 47, 38,
-1, 273, 41, -1, 43, 44, 45, 46, -1, -1,
59, -1, -1, -1, -1, -1, 94, -1, -1, -1,
59, 60, -1, 62, -1, -1, -1, 273, -1, -1,
302, 303, 304, 305, 306, 307, 308, 309, 273, -1,
-1, -1, -1, 37, 38, 94, 124, 41, 42, 43,
44, 45, 46, 47, -1, 94, 302, 303, 304, 305,
306, 307, 308, 309, -1, 59, -1, 302, 303, 304,
305, 306, 307, 308, 309, 124, -1, -1, -1, -1,
-1, -1, 257, 258, -1, 124, 273, 262, 263, -1,
-1, -1, -1, -1, 269, -1, -1, -1, -1, 274,
94, 276, 277, 278, 279, 280, 281, -1, -1, 284,
-1, -1, -1, 40, -1, 302, 303, 304, 305, 306,
-1, 308, 309, -1, -1, -1, 301, -1, 38, 273,
124, 41, 59, 43, 44, 45, 46, -1, -1, -1,
273, -1, -1, -1, -1, -1, -1, -1, -1, 59,
60, -1, 62, -1, -1, -1, -1, -1, 302, 303,
304, 305, 306, 307, 308, 309, -1, -1, -1, -1,
303, 304, -1, 306, 307, 308, 309, -1, -1, -1,
-1, -1, -1, -1, 94, 38, -1, -1, 41, -1,
43, 44, 45, 46, -1, 273, 123, -1, 125, -1,
-1, -1, -1, -1, -1, 60, 59, 60, -1, 62,
-1, -1, -1, -1, 124, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 303, 304, -1, 306, 307,
308, 309, -1, -1, 273, -1, -1, -1, -1, -1,
2014-07-09 08:52:23 +00:00
};
}
class yyCheck2 {
protected static final short yyCheck2 [] = { -1,
2014-07-09 13:07:40 +00:00
94, 40, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 302, -1, -1, 305, 306, 307, 308, 309,
59, -1, 302, 303, 304, 305, 306, 307, 308, 309,
124, 37, 38, -1, -1, 41, 42, 43, 44, 45,
46, 47, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 59, 60, -1, 62, -1, -1, 40,
-1, -1, -1, -1, -1, -1, -1, 302, -1, -1,
305, 306, 307, 308, 309, -1, -1, -1, 59, -1,
-1, -1, -1, -1, 123, -1, 125, -1, 94, -1,
258, -1, -1, -1, 262, -1, -1, -1, -1, 267,
-1, -1, -1, 271, 272, -1, 274, -1, -1, -1,
-1, -1, -1, -1, -1, 283, 40, -1, 124, 287,
-1, -1, 273, -1, 292, 293, 294, 295, 296, 297,
298, 299, 300, 301, -1, 59, -1, -1, -1, -1,
308, 309, 123, -1, 125, -1, -1, -1, -1, -1,
-1, 302, 303, 304, 305, 306, 307, 308, 309, -1,
-1, 257, 258, -1, 40, -1, 262, -1, -1, -1,
-1, -1, -1, 269, -1, -1, -1, -1, 274, 273,
276, 277, 278, 59, -1, -1, -1, -1, 284, -1,
-1, -1, -1, -1, -1, 291, -1, -1, -1, 123,
-1, 125, -1, -1, -1, 301, -1, -1, 302, 303,
304, 305, 306, 307, 308, 309, -1, -1, -1, 258,
40, -1, -1, 262, -1, -1, -1, -1, -1, -1,
-1, -1, 271, 272, -1, 274, -1, -1, -1, 59,
-1, -1, -1, -1, 283, -1, -1, 123, 287, 125,
-1, -1, -1, 292, 293, 294, 295, 296, 297, 298,
299, 300, 301, -1, -1, -1, -1, 273, 40, 308,
309, -1, -1, -1, -1, -1, -1, 258, -1, -1,
-1, 262, -1, -1, -1, -1, -1, 59, -1, -1,
271, 272, -1, 274, -1, -1, 302, 303, 304, 305,
306, 307, 283, 123, -1, 125, 287, 40, -1, -1,
-1, 292, 293, 294, 295, 296, 297, 298, 299, 300,
301, -1, -1, -1, -1, -1, 59, 308, 309, -1,
-1, -1, -1, -1, 258, -1, -1, -1, 262, -1,
-1, -1, -1, -1, -1, -1, 40, 271, 272, -1,
2014-07-09 08:52:23 +00:00
274, 123, -1, 125, -1, -1, -1, -1, -1, 283,
2014-07-09 13:07:40 +00:00
-1, -1, -1, 287, -1, 59, -1, -1, 292, 293,
294, 295, 296, 297, 298, 299, 300, 301, -1, -1,
2014-07-09 08:52:23 +00:00
-1, -1, 258, -1, 308, 309, 262, -1, -1, -1,
2014-07-09 13:07:40 +00:00
123, -1, -1, -1, -1, 271, 272, -1, 274, -1,
-1, -1, -1, -1, -1, -1, -1, 283, 44, -1,
-1, 287, -1, -1, -1, -1, 292, 293, 294, 295,
296, 297, 298, 299, 300, 301, 62, -1, -1, 123,
-1, -1, 308, 309, -1, -1, -1, -1, 258, -1,
-1, -1, 262, -1, -1, -1, -1, -1, -1, -1,
-1, 271, 272, 60, 274, -1, -1, -1, -1, -1,
-1, -1, -1, 283, -1, -1, -1, 287, -1, -1,
-1, -1, 292, 293, 294, 295, 296, 297, 298, 299,
300, 301, -1, 60, -1, -1, 258, -1, 308, 309,
2014-07-09 08:52:23 +00:00
262, -1, -1, -1, -1, -1, -1, -1, -1, 271,
2014-07-09 13:07:40 +00:00
272, -1, 274, -1, -1, -1, -1, -1, -1, -1,
-1, 283, -1, -1, 60, 287, -1, -1, 125, -1,
2014-07-09 08:52:23 +00:00
292, 293, 294, 295, 296, 297, 298, 299, 300, 301,
2014-07-09 13:07:40 +00:00
-1, -1, -1, -1, -1, -1, 308, 309, 271, 272,
-1, -1, -1, -1, 60, -1, -1, -1, 125, -1,
283, -1, -1, -1, 287, -1, -1, -1, -1, 292,
293, 294, 295, 296, 297, 298, 299, 300, 301, -1,
-1, -1, 60, -1, -1, 308, 309, 271, 272, 125,
-1, -1, -1, -1, -1, -1, -1, -1, -1, 283,
2014-07-09 08:52:23 +00:00
-1, -1, -1, 287, -1, -1, -1, -1, 292, 293,
2014-07-09 13:07:40 +00:00
294, 295, 296, 297, 298, 299, 300, 301, -1, 125,
-1, -1, -1, -1, 308, 309, -1, -1, -1, -1,
-1, 257, 258, -1, -1, -1, 262, 263, -1, -1,
-1, -1, -1, 269, -1, -1, -1, -1, 274, -1,
276, 277, 278, 279, 280, 281, -1, -1, 284, -1,
257, 258, -1, -1, -1, 262, -1, -1, -1, -1,
-1, -1, 269, -1, -1, 301, -1, 274, -1, 276,
277, 278, -1, -1, -1, -1, -1, 284, -1, -1,
257, 258, -1, -1, 291, 262, -1, -1, -1, -1,
-1, -1, 269, -1, 301, -1, -1, 274, -1, 276,
277, 278, -1, -1, -1, -1, -1, 284, -1, -1,
-1, 257, 258, -1, 291, -1, 262, 87, -1, -1,
-1, 91, -1, 269, 301, -1, -1, -1, 274, -1,
276, 277, 278, -1, 104, 105, -1, -1, 284, -1,
-1, 257, 258, -1, -1, 291, 262, -1, -1, -1,
-1, -1, -1, 269, 124, 301, 126, 127, 274, -1,
276, 277, 278, -1, -1, -1, -1, -1, 284, 257,
258, -1, -1, -1, 262, 291, -1, 147, -1, 149,
-1, 269, -1, -1, -1, 301, 274, -1, 276, 277,
278, 420, 421, -1, -1, 165, 284, -1, 168, -1,
-1, -1, 431, 291, -1, -1, -1, 177, -1, 179,
-1, -1, -1, 301, -1, -1, -1, -1, -1, -1,
-1, 450, 451, -1, 453, -1, -1, -1, -1, 458,
-1, -1, -1, 462, -1, 464, 465, -1, -1, -1,
-1, -1, -1, -1, 473, 474, 475, -1, -1, -1,
479, -1, -1, -1, -1, -1, -1, -1, -1, -1,
2014-07-09 08:52:23 +00:00
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
2014-07-09 13:07:40 +00:00
-1, -1, 292, 293,
2014-07-09 08:52:23 +00:00
};
}
class yyCheckInit {
2014-07-09 13:07:40 +00:00
static short[] yyCheck = new short[2927];
2014-07-09 08:52:23 +00:00
protected static void yyCheckInit () {
int numyycheck;
int yyCheckerun = 0;
for (numyycheck = 0; numyycheck <= 1000; numyycheck++) {
2014-07-09 13:07:40 +00:00
if (yyCheckerun < 2927) {
2014-07-09 08:52:23 +00:00
yyCheck[yyCheckerun] = yyCheck0.yyCheck0[numyycheck];
yyCheckerun++;
}
}
for (numyycheck = 0; numyycheck <= 1000; numyycheck++) {
2014-07-09 13:07:40 +00:00
if (yyCheckerun < 2927) {
2014-07-09 08:52:23 +00:00
yyCheck[yyCheckerun] = yyCheck1.yyCheck1[numyycheck];
yyCheckerun++;
}
}
for (numyycheck = 0; numyycheck <= 1000; numyycheck++) {
2014-07-09 13:07:40 +00:00
if (yyCheckerun < 2927) {
2014-07-09 08:52:23 +00:00
yyCheck[yyCheckerun] = yyCheck2.yyCheck2[numyycheck];
yyCheckerun++;
}
}
}
}