forked from JavaTX/JavaCompilerCore
4115 lines
172 KiB
Java
4115 lines
172 KiB
Java
// 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 java.util.Vector;
|
||
import mycompiler.myclass.FieldInitialization;
|
||
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.FieldDecl;
|
||
import mycompiler.myclass.FormalParameter;
|
||
import mycompiler.myclass.InstVarDecl;
|
||
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 133 "-"
|
||
// %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 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 = 8;
|
||
//t public static final String yyRule [] = {
|
||
//t "$accept : compilationunit",
|
||
//t "compilationunit : typedeclarations",
|
||
//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 "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",
|
||
//t "classorinterfacetype : simplename parameter",
|
||
//t "parameter :",
|
||
//t "parameter : '<' paralist '>'",
|
||
//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",
|
||
//t "fielddeclaration : fielddeclarator ';'",
|
||
//t "fielddeclaration : 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 : '<' boundedMethodParameters '>' type methoddeclarator",
|
||
//t "methodheader : type methoddeclarator",
|
||
//t "methodheader : modifiers type methoddeclarator",
|
||
//t "methodheader : modifiers '<' boundedMethodParameters '>' type methoddeclarator",
|
||
//t "methodheader : type methoddeclarator throws",
|
||
//t "methodheader : '<' boundedMethodParameters '>' type methoddeclarator throws",
|
||
//t "methodheader : modifiers type methoddeclarator throws",
|
||
//t "methodheader : modifiers '<' boundedMethodParameters '>' 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 : '<' boundedMethodParameters '>' VOID methoddeclarator",
|
||
//t "methodheader : modifiers '<' boundedMethodParameters '>' VOID methoddeclarator",
|
||
//t "methodheader : '<' boundedMethodParameters '>' VOID methoddeclarator throws",
|
||
//t "methodheader : modifiers '<' boundedMethodParameters '>' VOID methoddeclarator throws",
|
||
//t "methodheader : methoddeclarator",
|
||
//t "methodheader : '<' boundedMethodParameters '>' 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",
|
||
//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",
|
||
};
|
||
|
||
/** 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:
|
||
// line 324 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((SourceFile)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 2:
|
||
// line 352 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/* SCJU: Package*/
|
||
yyVal = ((UsedId)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 3:
|
||
// line 358 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
ImportDeclarations declarations=new ImportDeclarations();
|
||
declarations.addElement(((UsedId)yyVals[0+yyTop]));
|
||
yyVal=declarations;
|
||
}
|
||
break;
|
||
case 4:
|
||
// line 364 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((ImportDeclarations)yyVals[-1+yyTop]).addElement(((UsedId)yyVals[0+yyTop]));
|
||
yyVal=((ImportDeclarations)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 5:
|
||
// line 370 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((UsedId)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 6:
|
||
// line 375 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
SourceFile Scfile = new SourceFile();
|
||
Scfile.addElement(((AClassOrInterface)yyVals[0+yyTop]));
|
||
yyVal=Scfile;
|
||
}
|
||
break;
|
||
case 7:
|
||
// line 381 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((SourceFile)yyVals[-1+yyTop]).addElement(((AClassOrInterface)yyVals[0+yyTop]));
|
||
yyVal=((SourceFile)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 8:
|
||
// line 387 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((UsedId)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 9:
|
||
// line 391 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((UsedId)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 10:
|
||
// line 396 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Class)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 11:
|
||
// line 407 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((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 12:
|
||
// line 414 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((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 13:
|
||
// line 420 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((UsedId)yyVals[-2+yyTop]).set_Name("*");
|
||
((UsedId)yyVals[-2+yyTop]).setOffset(((UsedId)yyVals[-2+yyTop]).getOffset());
|
||
yyVal=((UsedId)yyVals[-2+yyTop]);
|
||
}
|
||
break;
|
||
case 14:
|
||
// line 428 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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 15:
|
||
// line 436 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/* 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());
|
||
this.initContainedTypes();
|
||
this.initUsedIdsToCheck();
|
||
}
|
||
break;
|
||
case 16:
|
||
// line 453 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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());
|
||
this.initContainedTypes();
|
||
this.initUsedIdsToCheck();
|
||
}
|
||
break;
|
||
case 17:
|
||
// line 459 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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());
|
||
this.initContainedTypes();
|
||
this.initUsedIdsToCheck();
|
||
}
|
||
break;
|
||
case 18:
|
||
// line 465 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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());
|
||
this.initContainedTypes();
|
||
this.initUsedIdsToCheck();
|
||
}
|
||
break;
|
||
case 19:
|
||
// line 472 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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());
|
||
this.initContainedTypes();
|
||
this.initUsedIdsToCheck();
|
||
}
|
||
break;
|
||
case 20:
|
||
// line 478 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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());
|
||
this.initContainedTypes();
|
||
this.initUsedIdsToCheck();
|
||
}
|
||
break;
|
||
case 21:
|
||
// line 484 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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());
|
||
this.initContainedTypes();
|
||
this.initUsedIdsToCheck();
|
||
}
|
||
break;
|
||
case 22:
|
||
// line 490 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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());
|
||
this.initContainedTypes();
|
||
this.initUsedIdsToCheck();
|
||
}
|
||
break;
|
||
case 23:
|
||
// line 497 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/* HOTI*/
|
||
/* Verbindet den Namen eines Interfaces mit einer optionalen Parameterliste*/
|
||
yyVal = new InterfaceAndParameter(((Token)yyVals[0+yyTop]).getLexem());
|
||
}
|
||
break;
|
||
case 24:
|
||
// line 503 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal = new InterfaceAndParameter(((Token)yyVals[-3+yyTop]).getLexem(), ((ParaList)yyVals[-1+yyTop]));
|
||
}
|
||
break;
|
||
case 25:
|
||
// line 508 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/* 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 26:
|
||
// line 514 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal = new ClassAndParameter(((Token)yyVals[-3+yyTop]).getLexem(), ((ParaList)yyVals[-1+yyTop]));
|
||
}
|
||
break;
|
||
case 27:
|
||
// line 519 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/* SCJU: Interface*/
|
||
Interface ic = new Interface(((InterfaceAndParameter)yyVals[-1+yyTop]).getName());
|
||
ic.setParaList(((InterfaceAndParameter)yyVals[-1+yyTop]).getParaVector());
|
||
ic.setInterfaceBody(((InterfaceBody)yyVals[0+yyTop]));
|
||
ic.setContainedTypes(containedTypes);
|
||
initContainedTypes();
|
||
yyVal = ic;
|
||
}
|
||
break;
|
||
case 28:
|
||
// line 529 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Interface ic = new Interface(((InterfaceAndParameter)yyVals[-1+yyTop]).getName(), ((Modifiers)yyVals[-3+yyTop]));
|
||
ic.setInterfaceBody(((InterfaceBody)yyVals[0+yyTop]));
|
||
ic.setParaList(((InterfaceAndParameter)yyVals[-1+yyTop]).getParaVector());
|
||
ic.setContainedTypes(containedTypes);
|
||
initContainedTypes();
|
||
yyVal = ic;
|
||
}
|
||
break;
|
||
case 29:
|
||
// line 538 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Interface ic = new Interface(((InterfaceAndParameter)yyVals[-2+yyTop]).getName());
|
||
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 30:
|
||
// line 548 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Interface ic = new Interface(((InterfaceAndParameter)yyVals[-2+yyTop]).getName(), ((Modifiers)yyVals[-4+yyTop]));
|
||
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 31:
|
||
// line 559 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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 32:
|
||
// line 570 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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 33:
|
||
// line 579 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
ParaList pl = new ParaList();
|
||
pl.getParalist().addElement(((WildcardType)yyVals[0+yyTop]));
|
||
yyVal = pl;
|
||
}
|
||
break;
|
||
case 34:
|
||
// line 585 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
|
||
/* #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 35:
|
||
// line 598 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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 36:
|
||
// line 606 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((ParaList)yyVals[-2+yyTop]).getParalist().addElement(((WildcardType)yyVals[0+yyTop]));
|
||
yyVal=((ParaList)yyVals[-2+yyTop]);
|
||
}
|
||
break;
|
||
case 37:
|
||
// line 612 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/*Luar 29.11.06 Offset auf -1, da keine Angabe vorhanden*/
|
||
WildcardType wc = new WildcardType(-1);
|
||
yyVal = wc;
|
||
}
|
||
break;
|
||
case 38:
|
||
// line 618 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
ExtendsWildcardType ewc = new ExtendsWildcardType(((Token)yyVals[-1+yyTop]).getOffset(),((RefType)yyVals[0+yyTop]));
|
||
yyVal = ewc;
|
||
}
|
||
break;
|
||
case 39:
|
||
// line 623 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
SuperWildcardType swc = new SuperWildcardType(((Token)yyVals[-1+yyTop]).getOffset(),((RefType)yyVals[0+yyTop]));
|
||
yyVal = swc;
|
||
}
|
||
break;
|
||
case 40:
|
||
// line 629 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
ClassBody CB = new ClassBody();
|
||
yyVal = CB;
|
||
}
|
||
break;
|
||
case 41:
|
||
// line 635 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal = ((ClassBody)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 42:
|
||
// line 640 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Modifiers Mod = new Modifiers();
|
||
Mod.addModifier(((Modifier)yyVals[0+yyTop]));
|
||
yyVal = Mod;
|
||
}
|
||
break;
|
||
case 43:
|
||
// line 646 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Modifiers)yyVals[-1+yyTop]).addModifier(((Modifier)yyVals[0+yyTop]));
|
||
yyVal = ((Modifiers)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 44:
|
||
// line 652 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal = ((UsedId)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 45:
|
||
// line 657 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/* SCJU: Interface*/
|
||
InterfaceList il = new InterfaceList();
|
||
il.addInterface(((UsedId)yyVals[0+yyTop]));
|
||
yyVal = il;
|
||
}
|
||
break;
|
||
case 46:
|
||
// line 664 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((InterfaceList)yyVals[-2+yyTop]).addInterface(((UsedId)yyVals[0+yyTop]));
|
||
yyVal = ((InterfaceList)yyVals[-2+yyTop]);
|
||
}
|
||
break;
|
||
case 47:
|
||
// line 670 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/* SCJU: Interface*/
|
||
yyVal = new InterfaceBody();
|
||
}
|
||
break;
|
||
case 48:
|
||
// line 675 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal = ((InterfaceBody)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 49:
|
||
// line 682 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/* SCJU: Interface*/
|
||
InterfaceList il = new InterfaceList();
|
||
il.addInterface(((UsedId)yyVals[0+yyTop]));
|
||
yyVal = il;
|
||
}
|
||
break;
|
||
case 50:
|
||
// line 689 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((InterfaceList)yyVals[-2+yyTop]).addInterface(((UsedId)yyVals[0+yyTop]));
|
||
yyVal = ((InterfaceList)yyVals[-2+yyTop]);
|
||
}
|
||
break;
|
||
case 51:
|
||
// line 696 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
ClassBody CB = new ClassBody();
|
||
CB.set_FieldDecl( ((FieldDecl)yyVals[0+yyTop]) );
|
||
yyVal=CB;
|
||
}
|
||
break;
|
||
case 52:
|
||
// line 702 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((ClassBody)yyVals[-1+yyTop]).set_FieldDecl(((FieldDecl)yyVals[0+yyTop]));
|
||
yyVal = ((ClassBody)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 53:
|
||
// line 709 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Public Pub = new Public();
|
||
yyVal=Pub;
|
||
}
|
||
break;
|
||
case 54:
|
||
// line 714 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Protected Pro = new Protected();
|
||
yyVal=Pro;
|
||
}
|
||
break;
|
||
case 55:
|
||
// line 719 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Private Pri = new Private();
|
||
yyVal=Pri;
|
||
}
|
||
break;
|
||
case 56:
|
||
// line 724 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Static Sta = new Static();
|
||
yyVal=Sta;
|
||
}
|
||
break;
|
||
case 57:
|
||
// line 729 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Abstract Abs = new Abstract();
|
||
yyVal=Abs;
|
||
}
|
||
break;
|
||
case 58:
|
||
// line 734 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{ Final fin = new Final();
|
||
yyVal = fin;
|
||
}
|
||
break;
|
||
case 59:
|
||
// line 740 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/*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 60:
|
||
// line 755 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/* SCJU: Interface*/
|
||
InterfaceBody ib = new InterfaceBody();
|
||
ib.addElement(((FieldDecl)yyVals[0+yyTop]));
|
||
yyVal = ib;
|
||
}
|
||
break;
|
||
case 61:
|
||
// line 762 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((InterfaceBody)yyVals[-1+yyTop]).addElement(((FieldDecl)yyVals[0+yyTop]));
|
||
yyVal = ((InterfaceBody)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 62:
|
||
// line 768 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/* SCJU: Interfaces*/
|
||
yyVal = ((UsedId)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 63:
|
||
// line 774 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((FieldDecl)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 64:
|
||
// line 779 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 65:
|
||
// line 783 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((FieldDecl)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 66:
|
||
// line 788 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
if (((ParaList)yyVals[0+yyTop]) != null) {
|
||
((UsedId)yyVals[-1+yyTop]).set_ParaList(((ParaList)yyVals[0+yyTop]).get_ParaList());
|
||
|
||
/* otth: originale (also diese) Parameterliste retten */
|
||
((UsedId)((UsedId)yyVals[-1+yyTop])).vParaOrg = new Vector<Type>( ((ParaList)yyVals[0+yyTop]).get_ParaList() );
|
||
}
|
||
yyVal=((UsedId)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 67:
|
||
// line 799 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{ yyVal = null; }
|
||
break;
|
||
case 68:
|
||
// line 801 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal = ((ParaList)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 69:
|
||
// line 806 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/* SCJU: Interfaces, Spezialform Konstantendef.*/
|
||
yyVal = ((Constant)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 70:
|
||
// line 811 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal = ((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 71:
|
||
// line 816 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((FieldDecl)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 72:
|
||
// line 820 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 73:
|
||
// line 825 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Method STAT = new Method();
|
||
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;
|
||
case 74:
|
||
// line 839 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Constructor)yyVals[-1+yyTop]).set_Block(((Block)yyVals[0+yyTop]));
|
||
yyVal = ((Constructor)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 75:
|
||
// line 844 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((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;
|
||
case 76:
|
||
// line 851 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/* 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;
|
||
case 77:
|
||
// line 860 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/* SCJU: Interface*/
|
||
yyVal = ((Method)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 78:
|
||
// line 873 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
FieldInitialization ret = new FieldInitialization();
|
||
ret.set_DeclId(((DeclId)yyVals[-2+yyTop]));
|
||
ret.setWert(((Expr)yyVals[0+yyTop]));
|
||
yyVal=ret;
|
||
}
|
||
break;
|
||
case 79:
|
||
// line 881 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((FieldInitialization)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 80:
|
||
// line 885 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((FieldInitialization)yyVals[0+yyTop]).setType(((Type)yyVals[-1+yyTop]));
|
||
yyVal=((FieldInitialization)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 81:
|
||
// line 891 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((InstVarDecl)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 82:
|
||
// line 896 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
org.apache.log4j.Logger.getLogger("parser").debug("T->Parser->fielddeclaration ...: type " + ((Type)yyVals[-2+yyTop]));
|
||
((InstVarDecl)yyVals[-1+yyTop]).setType(((Type)yyVals[-2+yyTop]));
|
||
yyVal = ((InstVarDecl)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 83:
|
||
// line 903 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((InstVarDecl)yyVals[-1+yyTop]).setType(((Type)yyVals[-2+yyTop]));
|
||
for(int i=0;i<(((InstVarDecl)yyVals[-1+yyTop]).getDeclIdVector().size());i++)
|
||
{
|
||
((InstVarDecl)yyVals[-1+yyTop]).getDeclIdVector().elementAt(i).modifiers=((Modifiers)yyVals[-3+yyTop]);
|
||
}
|
||
yyVal = ((InstVarDecl)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 84:
|
||
// line 913 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Method)yyVals[-1+yyTop]).set_Block(((Block)yyVals[0+yyTop]));
|
||
yyVal=((Method)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 85:
|
||
// line 920 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Block Bl = new Block();
|
||
yyVal=Bl;
|
||
}
|
||
break;
|
||
case 86:
|
||
// line 926 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Block)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 87:
|
||
// line 931 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Constructor CON = new Constructor();
|
||
DeclId DIDCon = new DeclId();
|
||
DIDCon.set_Name(((UsedId)yyVals[-2+yyTop]).get_Name_1Element());
|
||
CON.set_DeclId(DIDCon);
|
||
yyVal=CON;
|
||
}
|
||
break;
|
||
case 88:
|
||
// line 939 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Constructor CONpara = new Constructor();
|
||
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;
|
||
case 89:
|
||
// line 949 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Block CBL = new Block();
|
||
yyVal=CBL;
|
||
}
|
||
break;
|
||
case 90:
|
||
// line 954 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Block CBLexpl = new Block();
|
||
CBLexpl.set_Statement(((Statement)yyVals[-1+yyTop]));
|
||
yyVal=CBLexpl;
|
||
}
|
||
break;
|
||
case 91:
|
||
// line 960 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Block)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 92:
|
||
// line 964 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 93:
|
||
// line 975 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
ExceptionList EL = new ExceptionList();
|
||
EL.set_addElem(((RefType)yyVals[0+yyTop]));
|
||
yyVal=EL;
|
||
}
|
||
break;
|
||
case 94:
|
||
// line 982 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal = ((GenericTypeVar)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 95:
|
||
// line 987 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
ParaList p = new ParaList();
|
||
p.add_ParaList(((GenericTypeVar)yyVals[0+yyTop]));
|
||
yyVal=p;
|
||
}
|
||
break;
|
||
case 96:
|
||
// line 993 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((ParaList)yyVals[-2+yyTop]).add_ParaList(((GenericTypeVar)yyVals[0+yyTop]));
|
||
yyVal=((ParaList)yyVals[-2+yyTop]);
|
||
}
|
||
break;
|
||
case 97:
|
||
// line 1000 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=new GenericTypeVar(((Token)yyVals[0+yyTop]).getLexem(),((Token)yyVals[0+yyTop]).getOffset());
|
||
}
|
||
break;
|
||
case 98:
|
||
// line 1004 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
BoundedGenericTypeVar gtv=new BoundedGenericTypeVar(((Token)yyVals[-2+yyTop]).getLexem(),((Token)yyVals[-2+yyTop]).getOffset());
|
||
gtv.setBounds(((Vector)yyVals[0+yyTop]));
|
||
yyVal=gtv;
|
||
}
|
||
break;
|
||
case 99:
|
||
// line 1011 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Vector<Type> vec=new Vector<Type>();
|
||
vec.addElement(((RefType)yyVals[0+yyTop]));
|
||
containedTypes.addElement(((RefType)yyVals[0+yyTop]));
|
||
yyVal=vec;
|
||
}
|
||
break;
|
||
case 100:
|
||
// line 1018 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Vector)yyVals[-2+yyTop]).addElement(((RefType)yyVals[0+yyTop]));
|
||
containedTypes.addElement(((RefType)yyVals[0+yyTop]));
|
||
yyVal=((Vector)yyVals[-2+yyTop]);
|
||
}
|
||
break;
|
||
case 101:
|
||
// line 1025 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Vector<Type> vec=new Vector<Type>();
|
||
vec.addElement(((GenericTypeVar)yyVals[0+yyTop]));
|
||
yyVal=vec;
|
||
}
|
||
break;
|
||
case 102:
|
||
// line 1031 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Vector)yyVals[-2+yyTop]).addElement(((GenericTypeVar)yyVals[0+yyTop]));
|
||
yyVal=((Vector)yyVals[-2+yyTop]);
|
||
}
|
||
break;
|
||
case 103:
|
||
// line 1039 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Method)yyVals[0+yyTop]).setReturnType(((Type)yyVals[-1+yyTop]));
|
||
((Method)yyVals[0+yyTop]).setGenericMethodParameters(((Vector)yyVals[-3+yyTop]));
|
||
yyVal=((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 104:
|
||
// line 1045 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Method)yyVals[0+yyTop]).setReturnType(((Type)yyVals[-1+yyTop]));
|
||
yyVal=((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 105:
|
||
// line 1050 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Method)yyVals[0+yyTop]).set_Modifiers(((Modifiers)yyVals[-2+yyTop]));
|
||
((Method)yyVals[0+yyTop]).setReturnType(((Type)yyVals[-1+yyTop]));
|
||
yyVal=((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 106:
|
||
// line 1056 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Method)yyVals[0+yyTop]).set_Modifiers(((Modifiers)yyVals[-5+yyTop]));
|
||
((Method)yyVals[0+yyTop]).setGenericMethodParameters(((Vector)yyVals[-3+yyTop]));
|
||
((Method)yyVals[0+yyTop]).setReturnType(((Type)yyVals[-1+yyTop]));
|
||
yyVal=((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 107:
|
||
// line 1063 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Method)yyVals[-1+yyTop]).setReturnType(((Type)yyVals[-2+yyTop]));
|
||
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
|
||
yyVal=((Method)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 108:
|
||
// line 1069 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Method)yyVals[-1+yyTop]).setGenericMethodParameters(((Vector)yyVals[-4+yyTop]));
|
||
((Method)yyVals[-1+yyTop]).setReturnType(((Type)yyVals[-2+yyTop]));
|
||
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
|
||
yyVal=((Method)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 109:
|
||
// line 1076 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Method)yyVals[-1+yyTop]).set_Modifiers(((Modifiers)yyVals[-3+yyTop]));
|
||
((Method)yyVals[-1+yyTop]).setReturnType(((Type)yyVals[-2+yyTop]));
|
||
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
|
||
yyVal=((Method)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 110:
|
||
// line 1083 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Method)yyVals[-1+yyTop]).set_Modifiers(((Modifiers)yyVals[-6+yyTop]));
|
||
((Method)yyVals[-1+yyTop]).setGenericMethodParameters(((Vector)yyVals[-4+yyTop]));
|
||
((Method)yyVals[-1+yyTop]).setReturnType(((Type)yyVals[-2+yyTop]));
|
||
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
|
||
yyVal=((Method)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 111:
|
||
// line 1091 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Void Voit = new Void(((Token)yyVals[-1+yyTop]).getOffset());
|
||
((Method)yyVals[0+yyTop]).setReturnType(Voit);
|
||
yyVal=((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 112:
|
||
// line 1097 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Void voit = new Void(((Token)yyVals[-1+yyTop]).getOffset());
|
||
((Method)yyVals[0+yyTop]).set_Modifiers(((Modifiers)yyVals[-2+yyTop]));
|
||
((Method)yyVals[0+yyTop]).setReturnType(voit);
|
||
yyVal=((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 113:
|
||
// line 1104 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Void voyt = new Void(((Token)yyVals[-2+yyTop]).getOffset());
|
||
((Method)yyVals[-1+yyTop]).setReturnType(voyt);
|
||
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
|
||
yyVal=((Method)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 114:
|
||
// line 1111 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Void voyd = new Void(((Token)yyVals[-2+yyTop]).getOffset());
|
||
((Method)yyVals[-1+yyTop]).set_Modifiers(((Modifiers)yyVals[-3+yyTop]));
|
||
((Method)yyVals[-1+yyTop]).setReturnType(voyd);
|
||
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
|
||
yyVal=((Method)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 115:
|
||
// line 1119 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Void Voit = new Void(((Token)yyVals[-1+yyTop]).getOffset());
|
||
((Method)yyVals[0+yyTop]).setReturnType(Voit);
|
||
((Method)yyVals[0+yyTop]).setGenericMethodParameters(((Vector)yyVals[-3+yyTop]));
|
||
yyVal=((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 116:
|
||
// line 1126 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Void voit = new Void(((Token)yyVals[-1+yyTop]).getOffset());
|
||
((Method)yyVals[0+yyTop]).set_Modifiers(((Modifiers)yyVals[-5+yyTop]));
|
||
((Method)yyVals[0+yyTop]).setReturnType(voit);
|
||
((Method)yyVals[0+yyTop]).setGenericMethodParameters(((Vector)yyVals[-3+yyTop]));
|
||
yyVal=((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 117:
|
||
// line 1134 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Void voyt = new Void(((Token)yyVals[-2+yyTop]).getOffset());
|
||
((Method)yyVals[-1+yyTop]).setReturnType(voyt);
|
||
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
|
||
((Method)yyVals[-1+yyTop]).setGenericMethodParameters(((Vector)yyVals[-4+yyTop]));
|
||
yyVal=((Method)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 118:
|
||
// line 1142 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Void voyd = new Void(((Token)yyVals[-2+yyTop]).getOffset());
|
||
((Method)yyVals[-1+yyTop]).set_Modifiers(((Modifiers)yyVals[-6+yyTop]));
|
||
((Method)yyVals[-1+yyTop]).setReturnType(voyd);
|
||
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
|
||
((Method)yyVals[-1+yyTop]).setGenericMethodParameters(((Vector)yyVals[-4+yyTop]));
|
||
yyVal=((Method)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 119:
|
||
// line 1152 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/*auskommentiert von Andreas Stadelmeier (a10023) $1.setReturnType(TypePlaceholder.fresh()); */
|
||
yyVal=((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 120:
|
||
// line 1157 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/*auskommentiert von Andreas Stadelmeier (a10023) $4.setReturnType(TypePlaceholder.fresh());*/
|
||
((Method)yyVals[0+yyTop]).setGenericMethodParameters(((Vector)yyVals[-2+yyTop]));
|
||
yyVal=((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 121:
|
||
// line 1164 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Method)yyVals[0+yyTop]).set_Modifiers(((Modifiers)yyVals[-1+yyTop]));
|
||
/*auskommentiert von Andreas Stadelmeier (a10023) $2.setReturnType(TypePlaceholder.fresh());*/
|
||
yyVal=((Method)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 122:
|
||
// line 1170 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/*auskommentiert von Andreas Stadelmeier (a10023) $1.setReturnType(TypePlaceholder.fresh());*/
|
||
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
|
||
yyVal=((Method)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 123:
|
||
// line 1176 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Method)yyVals[-1+yyTop]).set_Modifiers(((Modifiers)yyVals[-2+yyTop]));
|
||
/*auskommentiert von Andreas Stadelmeier (a10023) $2.setReturnType(TypePlaceholder.fresh());*/
|
||
((Method)yyVals[-1+yyTop]).set_ExceptionList(((ExceptionList)yyVals[0+yyTop]));
|
||
yyVal=((Method)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 124:
|
||
// line 1185 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((BaseType)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 125:
|
||
// line 1189 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((BaseType)yyVals[-2+yyTop]).setArray(true);
|
||
}
|
||
break;
|
||
case 126:
|
||
// line 1193 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((RefType)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 127:
|
||
// line 1197 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((RefType)yyVals[-2+yyTop]).setArray(true);
|
||
}
|
||
break;
|
||
case 128:
|
||
// line 1201 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
InstVarDecl IVD = new InstVarDecl();
|
||
IVD.getDeclIdVector().addElement( ((DeclId)yyVals[0+yyTop]) );
|
||
yyVal = IVD;
|
||
}
|
||
break;
|
||
case 129:
|
||
// line 1207 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((InstVarDecl)yyVals[-2+yyTop]).getDeclIdVector().addElement(((DeclId)yyVals[0+yyTop]));
|
||
yyVal=((InstVarDecl)yyVals[-2+yyTop]);
|
||
}
|
||
break;
|
||
case 130:
|
||
// line 1213 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Block)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 131:
|
||
// line 1218 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Block Blstat = new Block();
|
||
Blstat.set_Statement(((Statement)yyVals[0+yyTop]));
|
||
yyVal=Blstat;
|
||
}
|
||
break;
|
||
case 132:
|
||
// line 1225 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((Block)yyVals[-1+yyTop]).set_Statement(((Statement)yyVals[0+yyTop]));
|
||
yyVal=((Block)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 133:
|
||
// line 1231 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
ParameterList PL = new ParameterList();
|
||
PL.set_AddParameter(((FormalParameter)yyVals[0+yyTop]));
|
||
yyVal = PL;
|
||
}
|
||
break;
|
||
case 134:
|
||
// line 1237 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((ParameterList)yyVals[-2+yyTop]).set_AddParameter(((FormalParameter)yyVals[0+yyTop]));
|
||
yyVal = ((ParameterList)yyVals[-2+yyTop]);
|
||
}
|
||
break;
|
||
case 135:
|
||
// line 1243 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
This THCON = new This(((Token)yyVals[-3+yyTop]).getOffset(),((Token)yyVals[-3+yyTop]).getLexem().length());
|
||
yyVal=THCON;
|
||
}
|
||
break;
|
||
case 136:
|
||
// line 1248 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 137:
|
||
// line 1257 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
RefType RT = new RefType(-1);
|
||
RT.set_UsedId(((UsedId)yyVals[0+yyTop]));
|
||
RT.setName(RT.get_UsedId().get_Name_1Element());
|
||
yyVal=RT;
|
||
}
|
||
break;
|
||
case 138:
|
||
// line 1264 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((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;
|
||
case 139:
|
||
// line 1271 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Method met = new Method();
|
||
/* #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;
|
||
case 140:
|
||
// line 1284 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Method met_para = new Method();
|
||
/* #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;
|
||
case 141:
|
||
// line 1299 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
BooleanType BT = new BooleanType();
|
||
/* #JB# 05.04.2005 */
|
||
/* ########################################################### */
|
||
/*BT.setName($1.getLexem());*/
|
||
/* ########################################################### */
|
||
yyVal=BT;
|
||
}
|
||
break;
|
||
case 142:
|
||
// line 1308 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((BaseType)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 143:
|
||
// line 1314 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 144:
|
||
// line 1334 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((DeclId)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 145:
|
||
// line 1355 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((LocalVarDecl)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 146:
|
||
// line 1359 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Statement)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 147:
|
||
// line 1364 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
FormalParameter FP = new FormalParameter();
|
||
FP.setType(((Type)yyVals[-1+yyTop]));
|
||
FP.set_DeclId(((DeclId)yyVals[0+yyTop]));
|
||
yyVal=FP;
|
||
}
|
||
break;
|
||
case 148:
|
||
// line 1389 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
org.apache.log4j.Logger.getLogger("parser").debug("\nFunktionsdeklaration mit typlosen Parametern: " + ((DeclId)yyVals[0+yyTop]).name);
|
||
|
||
FormalParameter FP = new FormalParameter();
|
||
|
||
/* #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(((DeclId)yyVals[0+yyTop]));
|
||
|
||
yyVal=FP;
|
||
}
|
||
break;
|
||
case 149:
|
||
// line 1408 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
ArgumentList AL = new ArgumentList();
|
||
AL.expr.addElement(((Expr)yyVals[0+yyTop]));
|
||
yyVal=AL;
|
||
}
|
||
break;
|
||
case 150:
|
||
// line 1414 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
((ArgumentList)yyVals[-2+yyTop]).expr.addElement(((Expr)yyVals[0+yyTop]));
|
||
yyVal=((ArgumentList)yyVals[-2+yyTop]);
|
||
}
|
||
break;
|
||
case 151:
|
||
// line 1420 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((BaseType)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 152:
|
||
// line 1425 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 153:
|
||
// line 1437 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 154:
|
||
// line 1442 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((LocalVarDecl)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 155:
|
||
// line 1447 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Statement)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 156:
|
||
// line 1451 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((IfStmt)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 157:
|
||
// line 1455 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((IfStmt)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 158:
|
||
// line 1459 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((WhileStmt)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 159:
|
||
// line 1463 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((ForStmt)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 160:
|
||
// line 1468 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 161:
|
||
// line 1472 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((NewClass)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 162:
|
||
// line 1477 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
IntegerType IT = new IntegerType();
|
||
/* #JB# 05.04.2005 */
|
||
/* ########################################################### */
|
||
/*IT.setName($1.getLexem());*/
|
||
/* ########################################################### */
|
||
yyVal=IT;
|
||
}
|
||
break;
|
||
case 163:
|
||
// line 1486 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
CharacterType CT = new CharacterType();
|
||
/* #JB# 05.04.2005 */
|
||
/* ########################################################### */
|
||
/*CT.setName($1.getLexem());*/
|
||
/* ########################################################### */
|
||
yyVal=CT;
|
||
}
|
||
break;
|
||
case 164:
|
||
// line 1496 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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(((InstVarDecl)yyVals[0+yyTop]).getDeclIdVector());
|
||
yyVal = LVD;
|
||
}
|
||
break;
|
||
case 165:
|
||
// line 1507 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
org.apache.log4j.Logger.getLogger("parser").debug("P -> Lokale Variable angelegt!");
|
||
LocalVarDecl LVD = new LocalVarDecl(((InstVarDecl)yyVals[0+yyTop]).getOffset(),((InstVarDecl)yyVals[0+yyTop]).getVariableLength());
|
||
/*auskommentiert von Andreas Stadelmeier (a10023) LVD.setType(TypePlaceholder.fresh());*/
|
||
LVD.setDeclidVector(((InstVarDecl)yyVals[0+yyTop]).getDeclIdVector());
|
||
yyVal = LVD;
|
||
}
|
||
break;
|
||
case 166:
|
||
// line 1517 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Block)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 167:
|
||
// line 1521 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((EmptyStmt)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 168:
|
||
// line 1525 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((ExprStmt)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 169:
|
||
// line 1529 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Return)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 170:
|
||
// line 1534 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 171:
|
||
// line 1542 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 172:
|
||
// line 1551 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 173:
|
||
// line 1562 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 174:
|
||
// line 1574 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 175:
|
||
// line 1585 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 176:
|
||
// line 1596 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 177:
|
||
// line 1607 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 178:
|
||
// line 1617 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 179:
|
||
// line 1627 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 180:
|
||
// line 1637 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 181:
|
||
// line 1646 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
org.apache.log4j.Logger.getLogger("parser").debug("conditionalexpression");
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 182:
|
||
// line 1651 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Assign)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 183:
|
||
// line 1657 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
EmptyStmt Empst = new EmptyStmt();
|
||
yyVal=Empst;
|
||
}
|
||
break;
|
||
case 184:
|
||
// line 1663 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 185:
|
||
// line 1668 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Return ret = new Return(-1,-1);
|
||
yyVal= ret;
|
||
}
|
||
break;
|
||
case 186:
|
||
// line 1673 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Return retexp = new Return(((Expr)yyVals[-1+yyTop]).getOffset(),((Expr)yyVals[-1+yyTop]).getVariableLength());
|
||
retexp.set_ReturnExpr(((Expr)yyVals[-1+yyTop]));
|
||
yyVal=retexp;
|
||
}
|
||
break;
|
||
case 187:
|
||
// line 1680 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Statement)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 188:
|
||
// line 1684 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((IfStmt)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 189:
|
||
// line 1688 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((WhileStmt)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 190:
|
||
// line 1693 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 191:
|
||
// line 1699 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 192:
|
||
// line 1724 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 193:
|
||
// line 1747 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Assign)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 194:
|
||
// line 1751 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 195:
|
||
// line 1755 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 196:
|
||
// line 1759 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 197:
|
||
// line 1763 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 198:
|
||
// line 1767 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((MethodCall)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 199:
|
||
// line 1778 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 200:
|
||
// line 1787 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 201:
|
||
// line 1795 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 202:
|
||
// line 1799 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 203:
|
||
// line 1812 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=null;
|
||
}
|
||
break;
|
||
case 204:
|
||
// line 1817 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Block)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 205:
|
||
// line 1821 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
/*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;
|
||
case 206:
|
||
// line 1831 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=null;
|
||
}
|
||
break;
|
||
case 207:
|
||
// line 1835 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((ParameterList)yyVals[-1+yyTop]);
|
||
}
|
||
break;
|
||
case 208:
|
||
// line 1840 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 209:
|
||
// line 1859 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((UsedId)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 210:
|
||
// line 1864 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=null;
|
||
}
|
||
break;
|
||
case 211:
|
||
// line 1868 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
TimesOp TEO = new TimesOp(-1,-1);
|
||
yyVal=TEO;
|
||
}
|
||
break;
|
||
case 212:
|
||
// line 1873 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
DivideOp DEO = new DivideOp(-1,-1);
|
||
yyVal=DEO;
|
||
}
|
||
break;
|
||
case 213:
|
||
// line 1878 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
ModuloOp MEO = new ModuloOp(-1,-1);
|
||
yyVal=MEO;
|
||
}
|
||
break;
|
||
case 214:
|
||
// line 1883 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
PlusOp PEO = new PlusOp(-1,-1);
|
||
yyVal=PEO;
|
||
}
|
||
break;
|
||
case 215:
|
||
// line 1888 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
MinusOp MEO = new MinusOp(-1,-1);
|
||
yyVal=MEO;
|
||
}
|
||
break;
|
||
case 216:
|
||
// line 1900 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
PreIncExpr PRINC = new PreIncExpr(((Expr)yyVals[0+yyTop]).getOffset(),((Expr)yyVals[0+yyTop]).getVariableLength());
|
||
PRINC.set_Expr(((Expr)yyVals[0+yyTop]));
|
||
yyVal=PRINC;
|
||
}
|
||
break;
|
||
case 217:
|
||
// line 1907 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
PreDecExpr PRDEC = new PreDecExpr(((Expr)yyVals[0+yyTop]).getOffset(),((Expr)yyVals[0+yyTop]).getVariableLength());
|
||
PRDEC.set_Expr(((Expr)yyVals[0+yyTop]));
|
||
yyVal=PRDEC;
|
||
}
|
||
break;
|
||
case 218:
|
||
// line 1914 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
PostIncExpr PIE = new PostIncExpr(((Expr)yyVals[-1+yyTop]).getOffset(),((Expr)yyVals[-1+yyTop]).getVariableLength());
|
||
PIE.set_Expr(((Expr)yyVals[-1+yyTop]));
|
||
yyVal=PIE;
|
||
}
|
||
break;
|
||
case 219:
|
||
// line 1921 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
PostDecExpr PDE = new PostDecExpr(((Expr)yyVals[-1+yyTop]).getOffset(),((Expr)yyVals[-1+yyTop]).getVariableLength());
|
||
PDE.set_Expr(((Expr)yyVals[-1+yyTop]));
|
||
yyVal=PDE;
|
||
}
|
||
break;
|
||
case 220:
|
||
// line 1929 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 221:
|
||
// line 1959 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 222:
|
||
// line 1990 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 223:
|
||
// line 2009 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 224:
|
||
// line 2032 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 225:
|
||
// line 2040 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 226:
|
||
// line 2050 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 227:
|
||
// line 2054 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 228:
|
||
// line 2070 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 229:
|
||
// line 2074 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 230:
|
||
// line 2078 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 231:
|
||
// line 2086 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 232:
|
||
// line 2094 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 233:
|
||
// line 2099 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 234:
|
||
// line 2103 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 235:
|
||
// line 2121 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 236:
|
||
// line 2125 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 237:
|
||
// line 2130 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 238:
|
||
// line 2135 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 240:
|
||
// line 2141 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Literal)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 241:
|
||
// line 2145 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 242:
|
||
// line 2166 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((MethodCall)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 243:
|
||
// line 2170 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 244:
|
||
// line 2175 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{yyVal=((Expr)yyVals[0+yyTop]);}
|
||
break;
|
||
case 245:
|
||
// line 2177 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{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;
|
||
case 246:
|
||
// line 2183 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{yyVal=((CastExpr)yyVals[0+yyTop]);}
|
||
break;
|
||
case 247:
|
||
// line 2185 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{yyVal=((Expr)yyVals[0+yyTop]);}
|
||
break;
|
||
case 249:
|
||
// line 2190 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{IntLiteral IL = new IntLiteral();
|
||
IL.set_Int(((Token)yyVals[0+yyTop]).String2Int());
|
||
yyVal = IL;
|
||
}
|
||
break;
|
||
case 250:
|
||
// line 2195 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{BoolLiteral BL = new BoolLiteral();
|
||
BL.set_Bool(((Token)yyVals[0+yyTop]).String2Bool());
|
||
yyVal = BL;
|
||
}
|
||
break;
|
||
case 251:
|
||
// line 2199 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{CharLiteral CL = new CharLiteral();
|
||
CL.set_Char(((Token)yyVals[0+yyTop]).CharInString());
|
||
yyVal=CL;
|
||
}
|
||
break;
|
||
case 252:
|
||
// line 2204 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
StringLiteral ST = new StringLiteral();
|
||
ST.set_String(((Token)yyVals[0+yyTop]).get_String());
|
||
yyVal=ST;
|
||
}
|
||
break;
|
||
case 253:
|
||
// line 2209 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{ LongLiteral LL = new LongLiteral();
|
||
LL.set_Long(((Token)yyVals[0+yyTop]).String2Long());
|
||
yyVal = LL;
|
||
}
|
||
break;
|
||
case 254:
|
||
// line 2213 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
FloatLiteral FL = new FloatLiteral();
|
||
FL.set_Float(((Token)yyVals[0+yyTop]).String2Float());
|
||
yyVal = FL;
|
||
}
|
||
break;
|
||
case 255:
|
||
// line 2218 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
DoubleLiteral DL = new DoubleLiteral();
|
||
DL.set_Double(((Token)yyVals[0+yyTop]).String2Double());
|
||
yyVal = DL;
|
||
}
|
||
break;
|
||
case 256:
|
||
// line 2224 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
Null NN = new Null();
|
||
yyVal=NN;
|
||
}
|
||
break;
|
||
case 257:
|
||
// line 2230 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 258:
|
||
// line 2239 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 259:
|
||
// line 2243 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
}
|
||
break;
|
||
case 260:
|
||
// line 2247 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 261:
|
||
// line 2251 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 262:
|
||
// line 2261 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 263:
|
||
// line 2272 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 264:
|
||
// line 2276 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 265:
|
||
// line 2286 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 266:
|
||
// line 2296 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 267:
|
||
// line 2306 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 268:
|
||
// line 2316 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 269:
|
||
// line 2324 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 270:
|
||
// line 2329 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 271:
|
||
// line 2333 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 272:
|
||
// line 2343 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 273:
|
||
// line 2354 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
yyVal=((Expr)yyVals[0+yyTop]);
|
||
}
|
||
break;
|
||
case 274:
|
||
// line 2358 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 275:
|
||
// line 2368 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
case 276:
|
||
// line 2378 "./../src/mycompiler/myparser/JavaParser.jay"
|
||
{
|
||
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;
|
||
// line 3092 "-"
|
||
}
|
||
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,
|
||
0, 98, 26, 26, 25, 92, 92, 27, 27, 105,
|
||
23, 24, 24, 22, 1, 1, 1, 1, 1, 1,
|
||
1, 1, 9, 9, 8, 8, 2, 2, 2, 2,
|
||
112, 112, 112, 112, 112, 112, 114, 114, 114, 7,
|
||
7, 40, 40, 28, 32, 32, 3, 3, 33, 33,
|
||
15, 15, 41, 41, 41, 41, 41, 41, 29, 4,
|
||
4, 31, 16, 16, 16, 30, 113, 113, 5, 5,
|
||
17, 17, 110, 106, 106, 10, 6, 19, 11, 11,
|
||
11, 11, 11, 13, 42, 42, 107, 107, 108, 108,
|
||
108, 108, 48, 94, 97, 97, 93, 93, 95, 95,
|
||
96, 96, 12, 12, 12, 12, 12, 12, 12, 12,
|
||
12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
|
||
12, 12, 12, 39, 39, 39, 39, 18, 18, 43,
|
||
44, 44, 50, 50, 109, 109, 38, 38, 14, 14,
|
||
36, 36, 37, 20, 80, 80, 49, 49, 103, 103,
|
||
35, 21, 78, 46, 81, 81, 81, 81, 81, 71,
|
||
71, 34, 34, 47, 47, 79, 79, 79, 79, 86,
|
||
87, 83, 84, 84, 84, 84, 84, 84, 84, 84,
|
||
69, 69, 89, 77, 90, 90, 82, 82, 82, 68,
|
||
99, 99, 72, 72, 72, 72, 72, 72, 88, 85,
|
||
67, 67, 101, 45, 45, 51, 51, 70, 102, 100,
|
||
100, 100, 100, 100, 100, 73, 74, 75, 76, 104,
|
||
104, 104, 104, 91, 91, 66, 66, 57, 57, 57,
|
||
57, 57, 55, 55, 55, 55, 54, 65, 65, 53,
|
||
53, 53, 53, 56, 56, 56, 64, 64, 52, 52,
|
||
52, 52, 52, 52, 52, 52, 111, 63, 63, 62,
|
||
62, 62, 61, 61, 61, 61, 61, 61, 60, 59,
|
||
59, 59, 58, 58, 58, 58,
|
||
};
|
||
protected static final short yyLen [] = { 2,
|
||
1, 3, 1, 2, 3, 1, 2, 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, 2, 0, 3, 1, 1,
|
||
1, 1, 2, 2, 3, 6, 2, 3, 2, 2,
|
||
2, 3, 4, 2, 2, 3, 3, 4, 2, 3,
|
||
3, 4, 2, 1, 1, 3, 1, 3, 1, 3,
|
||
1, 3, 5, 2, 3, 6, 3, 6, 4, 7,
|
||
2, 3, 3, 4, 5, 6, 6, 7, 1, 4,
|
||
2, 2, 3, 1, 3, 1, 3, 1, 3, 1,
|
||
1, 2, 1, 3, 4, 5, 1, 3, 3, 4,
|
||
1, 1, 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,
|
||
};
|
||
protected static final short yyDefRed [] = { 0,
|
||
57, 0, 58, 55, 54, 53, 56, 0, 10, 0,
|
||
42, 0, 6, 0, 0, 0, 43, 7, 0, 0,
|
||
0, 0, 15, 0, 0, 0, 0, 94, 95, 0,
|
||
14, 0, 44, 59, 62, 45, 141, 163, 162, 0,
|
||
0, 0, 0, 40, 71, 0, 72, 0, 0, 51,
|
||
63, 0, 0, 0, 144, 0, 143, 151, 142, 0,
|
||
0, 0, 0, 65, 0, 64, 17, 0, 0, 19,
|
||
16, 0, 0, 0, 0, 26, 0, 66, 0, 73,
|
||
0, 0, 0, 101, 0, 130, 84, 0, 122, 41,
|
||
52, 0, 81, 79, 0, 0, 0, 0, 0, 0,
|
||
0, 80, 0, 0, 0, 0, 0, 0, 0, 74,
|
||
21, 46, 18, 0, 20, 99, 0, 96, 0, 0,
|
||
0, 33, 0, 0, 0, 241, 0, 249, 253, 255,
|
||
254, 250, 256, 251, 252, 0, 0, 0, 183, 85,
|
||
0, 0, 128, 0, 8, 0, 0, 166, 0, 145,
|
||
0, 0, 240, 237, 0, 0, 243, 0, 194, 195,
|
||
0, 0, 168, 155, 131, 146, 158, 159, 156, 157,
|
||
167, 169, 193, 0, 0, 113, 139, 148, 0, 133,
|
||
0, 0, 0, 137, 0, 152, 129, 0, 0, 0,
|
||
0, 0, 9, 0, 232, 273, 0, 0, 263, 0,
|
||
0, 0, 0, 0, 0, 0, 181, 160, 78, 228,
|
||
229, 235, 236, 161, 182, 242, 246, 87, 0, 125,
|
||
127, 107, 82, 0, 0, 123, 0, 0, 75, 0,
|
||
89, 0, 0, 22, 0, 0, 0, 0, 0, 68,
|
||
0, 0, 185, 0, 0, 0, 216, 217, 206, 0,
|
||
0, 0, 0, 86, 132, 154, 203, 0, 0, 218,
|
||
219, 184, 214, 215, 211, 212, 213, 210, 0, 147,
|
||
0, 140, 102, 0, 120, 0, 0, 0, 0, 230,
|
||
231, 245, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 88,
|
||
114, 0, 109, 83, 0, 91, 90, 0, 100, 0,
|
||
38, 39, 0, 36, 0, 0, 0, 186, 0, 207,
|
||
11, 220, 149, 0, 204, 208, 205, 0, 191, 192,
|
||
134, 0, 0, 138, 0, 0, 274, 275, 276, 0,
|
||
0, 268, 266, 267, 264, 265, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 92, 32, 0,
|
||
0, 0, 0, 0, 0, 0, 221, 0, 117, 108,
|
||
224, 0, 257, 0, 0, 135, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 170, 0, 189, 188,
|
||
172, 150, 222, 0, 225, 118, 110, 136, 35, 180,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 223,
|
||
179, 178, 0, 177, 0, 0, 0, 0, 0, 171,
|
||
176, 175, 174, 0, 0, 0, 173, 0, 200, 0,
|
||
199,
|
||
};
|
||
protected static final short yyDgoto [] = { 8,
|
||
9, 0, 0, 0, 0, 0, 23, 15, 0, 0,
|
||
45, 46, 47, 48, 49, 50, 51, 142, 53, 143,
|
||
55, 193, 145, 0, 0, 0, 146, 24, 33, 57,
|
||
36, 25, 0, 58, 59, 60, 61, 185, 147, 10,
|
||
11, 148, 87, 149, 326, 150, 151, 89, 180, 250,
|
||
152, 153, 154, 155, 194, 195, 196, 197, 198, 199,
|
||
200, 201, 202, 203, 204, 205, 206, 207, 208, 157,
|
||
323, 158, 210, 211, 212, 213, 163, 0, 164, 165,
|
||
166, 388, 167, 168, 389, 169, 170, 390, 171, 172,
|
||
214, 12, 28, 29, 117, 85, 30, 0, 173, 269,
|
||
258, 174, 324, 216, 13, 64, 65, 110, 233, 66,
|
||
217, 121, 78, 122,
|
||
};
|
||
protected static final short yySindex [] = { 249,
|
||
0, -251, 0, 0, 0, 0, 0, 0, 0, 332,
|
||
0, 249, 0, 9, -104, -251, 0, 0, -241, -208,
|
||
-208, 1029, 0, -88, -1, -104, -170, 0, 0, 20,
|
||
0, 100, 0, 0, 0, 0, 0, 0, 0, 33,
|
||
-139, 144, -241, 0, 0, 33, 0, -78, 1351, 0,
|
||
0, 70, 137, 155, 0, 25, 0, 0, 0, 114,
|
||
129, -70, 1946, 0, 99, 0, 0, -1, -208, 0,
|
||
0, -88, -1, -208, -241, 0, -59, 0, 3006, 0,
|
||
144, -78, -17, 0, 29, 0, 0, -208, 0, 0,
|
||
0, -55, 0, 0, 941, -14, 165, 204, 144, -78,
|
||
111, 0, -139, 144, -241, -78, -70, 99, 3058, 0,
|
||
0, 0, 0, -1, 0, 0, 269, 0, 252, -73,
|
||
42, 0, 273, 276, 462, 0, 277, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 968, 968, 0, 0,
|
||
34, 275, 0, 100, 0, 61, -55, 0, 3110, 0,
|
||
265, -3, 0, 0, 274, -118, 0, 268, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, -44, 0, 0, 0, 0, -55, 0,
|
||
107, -241, -196, 0, 284, 0, 0, -208, 34, 968,
|
||
968, 968, 0, -118, 0, 0, 167, 83, 0, -54,
|
||
-120, 291, 237, 208, 26, 36, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 169, 0,
|
||
0, 0, 0, -78, 59, 0, -78, 117, 0, 304,
|
||
0, 3167, 3211, 0, -208, -59, -208, -208, -18, 0,
|
||
579, 941, 0, 290, 941, 61, 0, 0, 0, 177,
|
||
49, 616, 275, 0, 0, 0, 0, 426, 58, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 941, 0,
|
||
-93, 0, 0, -139, 0, -139, -208, 321, 5, 0,
|
||
0, 0, 968, 968, 968, 968, 968, -208, 968, 968,
|
||
968, 968, 968, 968, 968, 968, 968, 968, 968, 0,
|
||
0, -128, 0, 0, 633, 0, 0, 3269, 0, 62,
|
||
0, 0, 302, 0, 671, 308, 327, 0, 329, 0,
|
||
0, 0, 0, 189, 0, 0, 0, 331, 0, 0,
|
||
0, -78, -78, 0, 698, 968, 0, 0, 0, 167,
|
||
167, 0, 0, 0, 0, 0, -54, -54, -120, 291,
|
||
237, 208, 26, -139, -139, 314, 191, 0, 0, -59,
|
||
735, 318, 778, 1489, 2205, 941, 0, 805, 0, 0,
|
||
0, 199, 0, -78, -78, 0, 323, 71, 2205, 338,
|
||
822, 849, 325, 340, 345, 0, 0, 119, 0, 0,
|
||
0, 0, 0, 261, 0, 0, 0, 0, 0, 0,
|
||
2205, 2205, 347, 2205, 350, 904, 941, 941, 2205, 0,
|
||
0, 0, 2205, 0, 2205, 2205, 351, 352, 355, 0,
|
||
0, 0, 0, 2205, 1489, 1489, 0, 134, 0, 1489,
|
||
0,
|
||
};
|
||
protected static final short yyRindex [] = { 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 403, 0, -89, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 74, 0, 0, 0,
|
||
0, 1123, 0, 0, 0, 0, 0, 0, 0, 2588,
|
||
0, -23, 0, 0, 0, 0, 0, 282, 0, 0,
|
||
0, 0, 0, 139, 0, -84, 0, 0, 0, 106,
|
||
109, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 292, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 91, 293,
|
||
0, 0, 0, -50, 0, 297, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 76, 0, 87, 96,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 215, 0, 0, 0, 0,
|
||
0, 362, 0, 320, 0, 526, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 1237, 0, 0, 0, 0, 0,
|
||
-45, 2, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, -43, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 299, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 2981, 0, 0, 2708, 2152, 0, 2428,
|
||
2254, 1292, 1398, 1543, 1602, 1671, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 301, 0, 0, 305, 0, 0, -41,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 1708, 0, 0, 0, 0,
|
||
0, 0, 380, 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, 106, 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, 97, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 317, 324, 0, 0, 0, 0, 0, 0, 2780,
|
||
2870, 0, 0, 0, 0, 0, 2529, 2619, 2343, 1794,
|
||
1879, 1981, 2067, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 328, 333, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 1192, 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,
|
||
};
|
||
protected static final short yyGindex [] = { 0,
|
||
0, 0, 0, 0, 0, 0, 558, 398, 0, 0,
|
||
0, 0, 0, -40, 0, 394, 0, -10, 382, 27,
|
||
-2, 465, 0, 0, 0, 0, 2657, 420, -77, 11,
|
||
379, 53, 0, 0, 0, 266, -49, 0, -9, 35,
|
||
37, -31, 0, -67, 0, 0, 0, -80, 187, -25,
|
||
0, 0, 0, 0, -79, 0, -82, 3, 0, 143,
|
||
-56, 170, 164, 179, 182, 163, 0, 0, 214, 0,
|
||
196, 0, -61, -26, -7, 48, 0, 0, -313, -116,
|
||
944, -202, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
219, 0, -15, 402, 0, 388, 0, 0, 184, 0,
|
||
0, 0, -276, 66, 472, 0, 431, 389, 0, 0,
|
||
0, -192, 0, 259,
|
||
};
|
||
protected static final short yyTable [] = { 156,
|
||
82, 176, 242, 120, 241, 291, 67, 292, 80, 14,
|
||
184, 52, 62, 196, 86, 198, 268, 159, 22, 222,
|
||
152, 100, 106, 177, 116, 226, 218, 84, 357, 156,
|
||
34, 35, 255, 25, 22, 152, 14, 152, 52, 62,
|
||
14, 232, 69, 310, 120, 336, 17, 159, 54, 14,
|
||
386, 101, 160, 107, 247, 248, 63, 181, 372, 27,
|
||
197, 37, 224, 75, 96, 38, 227, 14, 19, 156,
|
||
219, 161, 182, 179, 249, 54, 68, 39, 73, 35,
|
||
178, 76, 160, 63, 77, 239, 179, 159, 54, 84,
|
||
183, 394, 31, 178, 274, 97, 228, 74, 34, 17,
|
||
252, 161, 182, 240, 104, 239, 251, 280, 281, 282,
|
||
278, 386, 386, 92, 239, 255, 386, 97, 187, 98,
|
||
302, 22, 160, 359, 114, 286, 162, 287, 93, 37,
|
||
31, 179, 399, 38, 152, 97, 253, 98, 178, 37,
|
||
34, 161, 275, 301, 175, 39, 303, 272, 31, 152,
|
||
271, 152, 156, 156, 92, 79, 162, 37, 34, 77,
|
||
92, 81, 354, 20, 37, 308, 273, 378, 38, 223,
|
||
159, 159, 31, 276, 175, 304, 270, 21, 25, 179,
|
||
39, 293, 128, 83, 294, 309, 178, 311, 312, 260,
|
||
261, 255, 25, 21, 237, 94, 162, 128, 34, 334,
|
||
337, 338, 339, 285, 97, 160, 160, 136, 283, 300,
|
||
88, 238, 271, 284, 175, 95, 67, 320, 288, 98,
|
||
271, 109, 428, 429, 161, 161, 325, 431, 156, 367,
|
||
99, 377, 366, 332, 366, 333, 347, 348, 342, 395,
|
||
37, 119, 366, 37, 38, 186, 159, 38, 289, 290,
|
||
14, 369, 370, 373, 14, 152, 39, 220, 152, 39,
|
||
14, 179, 235, 235, 242, 242, 241, 241, 178, 263,
|
||
264, 265, 266, 152, 14, 14, 267, 14, 215, 162,
|
||
162, 160, 313, 136, 156, 156, 136, 34, 340, 341,
|
||
209, 37, 355, 396, 397, 38, 221, 175, 175, 156,
|
||
161, 410, 159, 159, 366, 14, 235, 39, 215, 236,
|
||
236, 236, 241, 374, 375, 242, 245, 159, 92, 259,
|
||
244, 156, 156, 256, 156, 257, 262, 277, 295, 156,
|
||
296, 297, 298, 156, 136, 156, 156, 160, 160, 159,
|
||
159, 299, 159, 305, 156, 156, 156, 159, 318, 321,
|
||
156, 159, 160, 159, 159, 162, 161, 161, 328, 9,
|
||
335, 360, 159, 159, 159, 9, 363, 364, 159, 365,
|
||
368, 161, 376, 175, 160, 160, 381, 160, 401, 407,
|
||
9, 398, 160, 406, 408, 409, 160, 413, 160, 160,
|
||
415, 424, 425, 161, 161, 426, 161, 160, 160, 160,
|
||
430, 161, 1, 160, 119, 161, 124, 161, 161, 126,
|
||
67, 162, 162, 26, 111, 104, 161, 161, 161, 121,
|
||
165, 93, 161, 112, 215, 215, 162, 105, 215, 175,
|
||
175, 343, 344, 345, 346, 215, 316, 317, 164, 115,
|
||
319, 215, 91, 102, 175, 72, 103, 112, 162, 162,
|
||
116, 162, 215, 327, 279, 106, 162, 331, 192, 350,
|
||
162, 353, 162, 162, 349, 189, 175, 175, 190, 175,
|
||
191, 162, 162, 162, 175, 351, 118, 162, 175, 352,
|
||
175, 175, 329, 18, 32, 32, 56, 330, 215, 175,
|
||
175, 175, 225, 108, 192, 175, 229, 314, 215, 0,
|
||
0, 189, 0, 0, 190, 1, 191, 0, 0, 0,
|
||
362, 2, 0, 56, 0, 14, 0, 3, 215, 0,
|
||
243, 0, 14, 14, 4, 5, 6, 56, 14, 14,
|
||
14, 14, 7, 32, 0, 14, 0, 0, 32, 0,
|
||
0, 0, 0, 144, 215, 0, 215, 32, 79, 215,
|
||
0, 215, 32, 0, 0, 0, 380, 0, 383, 0,
|
||
32, 392, 234, 234, 215, 215, 234, 234, 234, 234,
|
||
234, 0, 234, 144, 0, 0, 403, 405, 0, 0,
|
||
0, 67, 70, 71, 234, 234, 209, 234, 1, 215,
|
||
215, 215, 0, 0, 16, 0, 0, 0, 0, 0,
|
||
3, 417, 418, 419, 0, 32, 0, 4, 5, 6,
|
||
0, 192, 0, 144, 0, 7, 0, 0, 189, 234,
|
||
67, 190, 0, 191, 0, 111, 0, 9, 9, 113,
|
||
115, 0, 0, 9, 9, 9, 9, 315, 0, 0,
|
||
9, 0, 0, 0, 0, 0, 0, 32, 192, 234,
|
||
234, 0, 32, 32, 0, 189, 322, 0, 190, 0,
|
||
191, 0, 0, 0, 0, 192, 0, 0, 0, 0,
|
||
0, 234, 189, 356, 0, 190, 0, 191, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 144, 144, 0, 32,
|
||
188, 32, 32, 192, 0, 0, 0, 0, 0, 0,
|
||
189, 0, 126, 190, 0, 191, 0, 0, 128, 129,
|
||
130, 131, 132, 133, 134, 135, 31, 0, 0, 361,
|
||
192, 0, 0, 137, 138, 32, 188, 189, 371, 0,
|
||
190, 32, 191, 0, 0, 0, 0, 0, 126, 0,
|
||
0, 0, 32, 0, 128, 129, 130, 131, 132, 133,
|
||
134, 135, 31, 0, 0, 0, 32, 192, 0, 137,
|
||
138, 0, 144, 0, 189, 379, 0, 190, 0, 191,
|
||
0, 0, 234, 234, 0, 0, 0, 234, 0, 0,
|
||
0, 0, 0, 0, 234, 0, 0, 0, 234, 234,
|
||
0, 234, 234, 234, 0, 0, 0, 0, 0, 234,
|
||
192, 0, 0, 0, 0, 0, 234, 189, 0, 0,
|
||
190, 0, 191, 0, 0, 0, 234, 234, 234, 234,
|
||
234, 234, 234, 234, 234, 0, 382, 192, 0, 209,
|
||
209, 209, 209, 0, 189, 393, 209, 190, 0, 191,
|
||
0, 0, 0, 188, 192, 0, 0, 0, 0, 0,
|
||
0, 189, 402, 0, 190, 126, 191, 0, 0, 0,
|
||
0, 128, 129, 130, 131, 132, 133, 134, 135, 31,
|
||
0, 192, 0, 0, 0, 0, 137, 138, 189, 404,
|
||
188, 190, 0, 191, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 126, 0, 0, 0, 0, 188, 128, 129,
|
||
130, 131, 132, 133, 134, 135, 31, 0, 0, 126,
|
||
0, 0, 0, 137, 138, 128, 129, 130, 131, 132,
|
||
133, 134, 135, 31, 0, 0, 192, 0, 0, 0,
|
||
137, 138, 0, 189, 416, 188, 190, 0, 191, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 126, 0, 0,
|
||
0, 0, 0, 128, 129, 130, 131, 132, 133, 134,
|
||
135, 31, 188, 192, 0, 0, 0, 0, 137, 138,
|
||
189, 0, 0, 190, 126, 191, 0, 0, 0, 0,
|
||
128, 129, 130, 131, 132, 133, 134, 135, 31, 0,
|
||
192, 0, 0, 0, 0, 137, 138, 189, 0, 188,
|
||
190, 0, 191, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 126, 0, 0, 0, 0, 0, 128, 129, 130,
|
||
131, 132, 133, 134, 135, 31, 0, 0, 0, 0,
|
||
0, 0, 137, 138, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 188, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 126, 0, 0, 0, 0, 0,
|
||
128, 129, 130, 131, 132, 133, 134, 135, 31, 188,
|
||
0, 0, 0, 0, 0, 137, 138, 0, 43, 0,
|
||
0, 126, 0, 0, 0, 0, 188, 128, 129, 130,
|
||
131, 132, 133, 134, 135, 31, 0, 0, 126, 0,
|
||
0, 0, 137, 138, 128, 129, 130, 131, 132, 133,
|
||
134, 135, 31, 188, 0, 0, 0, 0, 0, 137,
|
||
138, 0, 0, 0, 0, 126, 0, 0, 0, 0,
|
||
0, 128, 129, 130, 131, 132, 133, 134, 135, 31,
|
||
0, 0, 0, 44, 0, 0, 137, 138, 0, 67,
|
||
67, 0, 67, 67, 67, 67, 67, 67, 67, 67,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 188, 0,
|
||
0, 67, 0, 0, 67, 0, 0, 0, 0, 0,
|
||
126, 0, 0, 0, 0, 0, 128, 129, 130, 131,
|
||
132, 133, 134, 135, 31, 0, 0, 0, 0, 0,
|
||
0, 137, 138, 67, 0, 188, 67, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 126, 0, 0,
|
||
0, 155, 0, 128, 129, 130, 131, 132, 133, 134,
|
||
135, 31, 0, 0, 0, 67, 67, 67, 137, 138,
|
||
155, 0, 0, 0, 126, 0, 0, 0, 0, 0,
|
||
128, 129, 130, 131, 132, 133, 134, 135, 31, 0,
|
||
0, 0, 0, 233, 233, 137, 138, 233, 233, 233,
|
||
233, 233, 0, 233, 0, 1, 37, 0, 0, 0,
|
||
38, 0, 0, 0, 0, 233, 233, 3, 233, 0,
|
||
0, 0, 39, 0, 4, 5, 6, 387, 391, 0,
|
||
0, 0, 40, 0, 155, 0, 155, 0, 0, 41,
|
||
0, 0, 400, 0, 0, 0, 0, 0, 247, 42,
|
||
233, 0, 247, 247, 247, 247, 247, 247, 247, 0,
|
||
0, 0, 0, 0, 411, 412, 0, 414, 0, 0,
|
||
247, 247, 420, 247, 0, 0, 421, 0, 422, 423,
|
||
233, 233, 0, 0, 0, 0, 0, 427, 387, 391,
|
||
0, 0, 0, 420, 0, 0, 0, 0, 0, 67,
|
||
67, 0, 0, 0, 67, 247, 0, 0, 0, 0,
|
||
0, 67, 0, 0, 0, 67, 67, 0, 67, 67,
|
||
67, 0, 0, 0, 67, 0, 67, 0, 0, 0,
|
||
43, 0, 0, 67, 0, 247, 247, 0, 0, 0,
|
||
0, 0, 0, 67, 67, 67, 67, 67, 67, 67,
|
||
67, 67, 0, 0, 238, 238, 0, 0, 238, 238,
|
||
238, 238, 238, 238, 238, 0, 0, 0, 0, 155,
|
||
0, 0, 0, 155, 0, 0, 238, 238, 187, 238,
|
||
0, 0, 155, 155, 0, 155, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 155, 90, 0, 0, 155, 0,
|
||
0, 0, 0, 155, 155, 155, 155, 155, 155, 155,
|
||
155, 155, 155, 233, 233, 0, 0, 0, 233, 155,
|
||
155, 0, 0, 0, 0, 233, 0, 0, 0, 233,
|
||
233, 0, 233, 233, 233, 0, 0, 0, 0, 0,
|
||
233, 238, 238, 0, 0, 0, 0, 233, 141, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 233, 233, 233,
|
||
233, 233, 233, 233, 233, 233, 0, 139, 247, 247,
|
||
0, 0, 0, 247, 0, 0, 0, 0, 0, 0,
|
||
247, 0, 0, 0, 247, 247, 0, 247, 247, 247,
|
||
0, 0, 0, 0, 0, 247, 0, 0, 0, 226,
|
||
226, 0, 247, 226, 226, 226, 226, 226, 226, 226,
|
||
0, 0, 247, 247, 247, 247, 247, 247, 247, 247,
|
||
247, 226, 226, 0, 226, 0, 0, 1, 37, 0,
|
||
0, 79, 38, 0, 0, 0, 0, 0, 0, 3,
|
||
0, 0, 0, 0, 39, 0, 4, 5, 6, 0,
|
||
0, 0, 0, 0, 40, 0, 226, 0, 201, 201,
|
||
0, 41, 201, 201, 201, 201, 201, 201, 201, 0,
|
||
0, 42, 0, 0, 238, 238, 0, 0, 0, 238,
|
||
201, 201, 0, 201, 0, 0, 238, 226, 0, 0,
|
||
238, 238, 0, 238, 238, 238, 0, 0, 0, 0,
|
||
0, 238, 0, 0, 0, 0, 0, 0, 238, 0,
|
||
0, 0, 0, 0, 0, 201, 0, 0, 238, 238,
|
||
238, 238, 238, 238, 238, 238, 238, 190, 190, 0,
|
||
0, 190, 190, 190, 190, 190, 190, 190, 0, 0,
|
||
0, 0, 0, 0, 0, 201, 201, 0, 0, 190,
|
||
190, 0, 190, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 234, 234, 0, 0, 234, 234,
|
||
234, 234, 234, 0, 234, 0, 0, 0, 0, 123,
|
||
384, 0, 0, 0, 190, 0, 234, 234, 0, 234,
|
||
0, 125, 0, 0, 0, 126, 0, 0, 0, 0,
|
||
385, 128, 129, 130, 131, 132, 133, 134, 135, 31,
|
||
0, 0, 0, 0, 190, 190, 137, 138, 0, 226,
|
||
226, 234, 0, 0, 226, 0, 0, 0, 0, 0,
|
||
0, 226, 0, 0, 0, 226, 226, 0, 226, 226,
|
||
226, 0, 0, 0, 0, 0, 226, 0, 0, 0,
|
||
248, 234, 234, 226, 248, 248, 248, 248, 248, 248,
|
||
248, 0, 0, 226, 226, 226, 226, 226, 226, 226,
|
||
226, 226, 248, 248, 0, 248, 0, 0, 201, 201,
|
||
0, 0, 0, 201, 0, 0, 0, 0, 0, 0,
|
||
201, 0, 0, 0, 201, 201, 0, 201, 201, 201,
|
||
0, 0, 0, 0, 0, 201, 0, 248, 0, 0,
|
||
0, 0, 201, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 201, 201, 201, 201, 201, 201, 0, 201,
|
||
201, 0, 0, 0, 0, 239, 239, 248, 248, 239,
|
||
239, 239, 239, 239, 239, 239, 0, 190, 190, 0,
|
||
0, 0, 190, 0, 0, 0, 0, 239, 239, 190,
|
||
239, 0, 0, 190, 190, 0, 190, 190, 190, 0,
|
||
0, 0, 0, 0, 190, 0, 0, 0, 0, 0,
|
||
0, 190, 0, 0, 234, 234, 0, 0, 0, 234,
|
||
0, 190, 190, 190, 190, 190, 234, 190, 190, 190,
|
||
234, 234, 0, 234, 234, 234, 0, 0, 0, 0,
|
||
0, 234, 0, 0, 0, 0, 0, 0, 234, 0,
|
||
0, 0, 239, 239, 0, 105, 0, 0, 234, 234,
|
||
234, 234, 234, 234, 234, 234, 234, 227, 227, 0,
|
||
0, 227, 227, 227, 227, 227, 227, 227, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 227,
|
||
227, 0, 227, 0, 0, 0, 0, 0, 0, 0,
|
||
248, 248, 0, 0, 0, 248, 0, 0, 0, 0,
|
||
0, 0, 248, 0, 0, 0, 248, 248, 0, 248,
|
||
248, 248, 0, 0, 227, 0, 0, 248, 0, 0,
|
||
0, 0, 0, 0, 248, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 248, 248, 248, 248, 248, 248,
|
||
248, 248, 248, 202, 202, 227, 0, 202, 202, 202,
|
||
202, 202, 202, 202, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 202, 202, 0, 202, 0,
|
||
0, 0, 0, 0, 0, 239, 239, 0, 0, 0,
|
||
239, 0, 0, 0, 0, 0, 0, 239, 0, 0,
|
||
0, 239, 239, 0, 239, 239, 239, 0, 0, 0,
|
||
202, 0, 239, 0, 0, 0, 0, 0, 0, 239,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 239,
|
||
239, 239, 239, 239, 239, 239, 239, 239, 269, 269,
|
||
202, 202, 269, 269, 0, 269, 0, 269, 269, 0,
|
||
0, 0, 1, 37, 0, 0, 0, 38, 0, 0,
|
||
269, 269, 0, 269, 3, 0, 0, 0, 0, 39,
|
||
0, 4, 5, 6, 0, 0, 0, 0, 0, 7,
|
||
0, 0, 0, 0, 0, 0, 103, 227, 227, 0,
|
||
0, 0, 227, 0, 141, 269, 104, 0, 0, 227,
|
||
0, 0, 0, 227, 227, 0, 227, 227, 227, 0,
|
||
0, 0, 0, 139, 227, 0, 0, 0, 0, 0,
|
||
0, 227, 0, 0, 0, 269, 269, 0, 0, 0,
|
||
0, 227, 227, 227, 227, 227, 227, 227, 227, 227,
|
||
258, 258, 0, 0, 258, 258, 258, 258, 258, 258,
|
||
258, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 258, 258, 0, 258, 0, 0, 0, 0,
|
||
0, 0, 0, 202, 202, 0, 0, 79, 202, 0,
|
||
0, 0, 0, 0, 0, 202, 0, 0, 0, 202,
|
||
202, 0, 202, 202, 202, 0, 0, 258, 0, 0,
|
||
202, 0, 0, 0, 0, 0, 0, 202, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 202, 202, 202,
|
||
202, 202, 202, 0, 202, 202, 0, 258, 258, 259,
|
||
259, 0, 0, 259, 259, 259, 259, 259, 259, 259,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 259, 259, 0, 259, 0, 0, 0, 269, 269,
|
||
0, 0, 0, 269, 0, 0, 0, 0, 0, 0,
|
||
269, 0, 0, 0, 269, 269, 0, 269, 269, 269,
|
||
0, 0, 0, 0, 0, 269, 259, 0, 0, 0,
|
||
0, 0, 269, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 269, 269, 269, 269, 269, 269, 269, 269,
|
||
269, 0, 0, 0, 260, 260, 259, 259, 260, 260,
|
||
260, 260, 260, 260, 260, 123, 124, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 260, 125, 0, 0,
|
||
0, 126, 0, 0, 0, 0, 127, 128, 129, 130,
|
||
131, 132, 133, 134, 135, 31, 0, 0, 0, 0,
|
||
258, 258, 137, 138, 0, 258, 0, 0, 0, 0,
|
||
0, 260, 258, 0, 0, 0, 258, 258, 0, 258,
|
||
258, 258, 0, 0, 0, 0, 0, 258, 0, 0,
|
||
0, 0, 0, 0, 258, 0, 0, 0, 0, 0,
|
||
0, 260, 260, 0, 258, 0, 258, 258, 0, 258,
|
||
258, 258, 258, 0, 0, 261, 261, 0, 0, 261,
|
||
261, 261, 261, 261, 261, 261, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 261, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 259,
|
||
259, 0, 0, 0, 259, 0, 0, 0, 0, 0,
|
||
0, 259, 0, 0, 0, 259, 259, 0, 259, 259,
|
||
259, 0, 261, 0, 0, 0, 259, 0, 0, 0,
|
||
0, 0, 0, 259, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 259, 0, 259, 259, 56, 259, 259,
|
||
259, 259, 261, 261, 0, 262, 262, 0, 0, 262,
|
||
262, 262, 262, 262, 262, 262, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 262, 0, 0,
|
||
0, 0, 0, 0, 260, 260, 0, 0, 0, 260,
|
||
0, 0, 0, 0, 0, 0, 260, 0, 0, 0,
|
||
0, 260, 0, 260, 260, 260, 0, 0, 0, 0,
|
||
0, 260, 262, 0, 0, 0, 0, 0, 260, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 260, 260,
|
||
0, 0, 260, 260, 260, 260, 260, 0, 0, 0,
|
||
0, 0, 262, 262, 0, 270, 0, 0, 270, 0,
|
||
270, 270, 270, 270, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 270, 270, 0, 270,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 261, 261, 0, 0, 0,
|
||
261, 0, 0, 246, 246, 0, 0, 261, 0, 0,
|
||
0, 270, 261, 0, 261, 261, 261, 0, 0, 0,
|
||
0, 0, 261, 0, 0, 0, 0, 271, 0, 261,
|
||
271, 0, 271, 271, 271, 271, 0, 0, 0, 261,
|
||
261, 270, 270, 261, 261, 261, 261, 261, 271, 271,
|
||
0, 271, 0, 0, 56, 56, 246, 246, 246, 56,
|
||
0, 0, 0, 0, 0, 0, 56, 0, 0, 0,
|
||
0, 56, 0, 56, 56, 56, 0, 0, 0, 0,
|
||
0, 56, 0, 271, 0, 262, 262, 0, 56, 0,
|
||
262, 0, 0, 0, 0, 0, 0, 262, 56, 0,
|
||
0, 0, 262, 0, 262, 262, 262, 0, 0, 0,
|
||
0, 0, 262, 271, 271, 0, 0, 272, 0, 262,
|
||
272, 0, 272, 272, 272, 272, 0, 0, 0, 262,
|
||
262, 0, 0, 262, 262, 262, 262, 262, 272, 272,
|
||
0, 272, 0, 0, 0, 0, 0, 0, 0, 246,
|
||
246, 246, 246, 246, 0, 246, 246, 246, 246, 246,
|
||
246, 246, 246, 246, 246, 246, 0, 0, 0, 0,
|
||
0, 0, 0, 272, 270, 270, 0, 0, 0, 270,
|
||
0, 0, 0, 0, 0, 0, 270, 0, 0, 0,
|
||
270, 270, 0, 270, 270, 270, 0, 0, 0, 0,
|
||
0, 270, 246, 272, 272, 0, 0, 0, 270, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 270, 270,
|
||
270, 270, 270, 270, 270, 270, 270, 244, 244, 0,
|
||
0, 244, 244, 244, 244, 244, 244, 244, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 271, 271, 0, 244,
|
||
244, 271, 244, 0, 0, 141, 0, 0, 271, 0,
|
||
0, 0, 271, 271, 0, 271, 271, 271, 0, 0,
|
||
0, 0, 0, 271, 139, 0, 0, 0, 0, 0,
|
||
271, 0, 0, 0, 244, 0, 0, 0, 0, 0,
|
||
271, 271, 271, 271, 271, 271, 271, 271, 271, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 141, 0, 0,
|
||
0, 0, 0, 0, 244, 244, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 139, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 272, 272, 79, 0,
|
||
140, 272, 0, 0, 0, 0, 0, 0, 272, 0,
|
||
0, 0, 272, 272, 0, 272, 272, 272, 0, 141,
|
||
0, 0, 0, 272, 0, 0, 0, 0, 0, 0,
|
||
272, 0, 0, 0, 0, 0, 0, 0, 139, 0,
|
||
272, 272, 272, 272, 272, 272, 272, 272, 272, 0,
|
||
79, 0, 231, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 141, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 139, 0, 0, 0, 0,
|
||
0, 0, 79, 0, 254, 0, 0, 244, 244, 0,
|
||
0, 0, 244, 0, 0, 0, 0, 0, 0, 244,
|
||
141, 0, 0, 244, 244, 0, 244, 244, 244, 0,
|
||
0, 0, 0, 37, 244, 0, 0, 38, 0, 139,
|
||
0, 244, 0, 0, 0, 0, 123, 124, 0, 39,
|
||
0, 244, 244, 244, 244, 244, 244, 244, 125, 79,
|
||
0, 306, 126, 0, 0, 0, 0, 127, 128, 129,
|
||
130, 131, 132, 133, 134, 135, 136, 0, 141, 0,
|
||
0, 0, 0, 137, 138, 37, 0, 0, 0, 38,
|
||
0, 0, 0, 0, 0, 0, 0, 139, 123, 124,
|
||
0, 39, 0, 79, 0, 307, 0, 0, 0, 0,
|
||
125, 0, 0, 0, 230, 0, 0, 0, 0, 127,
|
||
128, 129, 130, 131, 132, 133, 134, 135, 136, 0,
|
||
0, 0, 0, 0, 0, 137, 138, 37, 0, 0,
|
||
0, 38, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
123, 124, 0, 39, 0, 0, 0, 0, 0, 0,
|
||
0, 79, 125, 358, 0, 0, 126, 0, 0, 0,
|
||
0, 127, 128, 129, 130, 131, 132, 133, 134, 135,
|
||
136, 0, 0, 0, 0, 0, 0, 137, 138, 0,
|
||
0, 0, 0, 0, 37, 0, 0, 0, 38, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 123, 124, 0,
|
||
39, 0, 0, 0, 0, 0, 0, 0, 0, 125,
|
||
0, 0, 0, 126, 0, 0, 0, 0, 127, 128,
|
||
129, 130, 131, 132, 133, 134, 135, 136, 37, 0,
|
||
0, 0, 38, 0, 137, 138, 0, 0, 0, 0,
|
||
0, 123, 124, 0, 39, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 125, 0, 0, 0, 126, 0, 0,
|
||
0, 0, 127, 128, 129, 130, 131, 132, 133, 134,
|
||
135, 136, 0, 0, 0, 0, 0, 0, 137, 138,
|
||
0, 0, 0, 0, 0, 0, 37, 0, 0, 0,
|
||
38, 0, 0, 0, 0, 0, 0, 0, 0, 123,
|
||
124, 0, 39, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 125, 0, 0, 0, 126, 0, 0, 0, 0,
|
||
127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
|
||
0, 0, 0, 0, 0, 0, 137, 138,
|
||
};
|
||
protected short yyCheck[] = new short[3579];
|
||
}
|
||
class yyCheck0 {
|
||
protected static final short yyCheck0 [] = { 79,
|
||
41, 82, 46, 63, 46, 60, 91, 62, 40, 60,
|
||
88, 22, 22, 59, 46, 59, 61, 79, 123, 100,
|
||
44, 62, 63, 41, 74, 106, 41, 43, 305, 109,
|
||
20, 21, 149, 123, 123, 59, 60, 61, 49, 49,
|
||
91, 109, 44, 236, 63, 41, 10, 109, 22, 301,
|
||
364, 62, 79, 63, 137, 138, 22, 83, 335, 301,
|
||
59, 258, 103, 44, 40, 262, 107, 91, 60, 149,
|
||
96, 79, 44, 83, 41, 49, 24, 274, 26, 69,
|
||
83, 62, 109, 49, 60, 44, 96, 149, 62, 105,
|
||
62, 368, 301, 96, 291, 91, 107, 268, 88, 63,
|
||
40, 109, 44, 62, 301, 44, 46, 190, 191, 192,
|
||
188, 425, 426, 44, 44, 232, 430, 44, 92, 44,
|
||
62, 123, 149, 62, 72, 43, 79, 45, 59, 258,
|
||
44, 141, 62, 262, 44, 62, 147, 62, 141, 44,
|
||
44, 149, 183, 224, 79, 274, 227, 41, 62, 59,
|
||
44, 61, 232, 233, 44, 123, 109, 62, 62, 60,
|
||
44, 301, 291, 268, 258, 233, 182, 360, 262, 59,
|
||
232, 233, 301, 183, 109, 59, 179, 282, 268, 189,
|
||
274, 302, 44, 40, 305, 235, 189, 237, 238, 308,
|
||
309, 308, 282, 282, 268, 59, 149, 59, 188, 277,
|
||
283, 284, 285, 37, 91, 232, 233, 301, 42, 41,
|
||
289, 285, 44, 47, 149, 61, 301, 41, 273, 91,
|
||
44, 123, 425, 426, 232, 233, 258, 430, 308, 41,
|
||
301, 41, 44, 274, 44, 276, 293, 294, 288, 41,
|
||
258, 301, 44, 258, 262, 301, 308, 262, 303, 304,
|
||
301, 332, 333, 336, 40, 41, 274, 93, 44, 274,
|
||
46, 271, 308, 309, 308, 309, 308, 309, 271, 314,
|
||
315, 316, 317, 59, 60, 61, 321, 301, 95, 232,
|
||
233, 308, 301, 301, 364, 365, 301, 277, 286, 287,
|
||
95, 258, 302, 374, 375, 262, 93, 232, 233, 379,
|
||
308, 41, 364, 365, 44, 91, 38, 274, 125, 308,
|
||
309, 60, 40, 354, 355, 40, 40, 379, 44, 46,
|
||
125, 401, 402, 59, 404, 329, 59, 44, 38, 409,
|
||
94, 124, 307, 413, 301, 415, 416, 364, 365, 401,
|
||
402, 306, 404, 40, 424, 425, 426, 409, 59, 301,
|
||
430, 413, 379, 415, 416, 308, 364, 365, 301, 40,
|
||
40, 60, 424, 425, 426, 46, 59, 41, 430, 41,
|
||
40, 379, 59, 308, 401, 402, 59, 404, 41, 40,
|
||
61, 59, 409, 59, 40, 267, 413, 41, 415, 416,
|
||
41, 41, 41, 401, 402, 41, 404, 424, 425, 426,
|
||
267, 409, 0, 430, 123, 413, 301, 415, 416, 301,
|
||
91, 364, 365, 16, 123, 123, 424, 425, 426, 123,
|
||
59, 123, 430, 123, 241, 242, 379, 123, 245, 364,
|
||
365, 289, 290, 291, 292, 252, 241, 242, 59, 123,
|
||
245, 258, 49, 62, 379, 26, 123, 69, 401, 402,
|
||
123, 404, 269, 258, 189, 123, 409, 271, 33, 296,
|
||
413, 299, 415, 416, 295, 40, 401, 402, 43, 404,
|
||
45, 424, 425, 426, 409, 297, 75, 430, 413, 298,
|
||
415, 416, 269, 12, 20, 21, 22, 269, 305, 424,
|
||
425, 426, 105, 63, 33, 430, 108, 239, 315, -1,
|
||
-1, 40, -1, -1, 43, 257, 45, -1, -1, -1,
|
||
315, 263, -1, 49, -1, 301, -1, 269, 335, -1,
|
||
59, -1, 308, 309, 276, 277, 278, 63, 314, 315,
|
||
316, 317, 284, 69, -1, 321, -1, -1, 74, -1,
|
||
-1, -1, -1, 79, 361, -1, 363, 83, 123, 366,
|
||
-1, 368, 88, -1, -1, -1, 361, -1, 363, -1,
|
||
96, 366, 37, 38, 381, 382, 41, 42, 43, 44,
|
||
45, -1, 47, 109, -1, -1, 381, 382, -1, -1,
|
||
-1, 24, 25, 26, 59, 60, 61, 62, 257, 406,
|
||
407, 408, -1, -1, 263, -1, -1, -1, -1, -1,
|
||
269, 406, 407, 408, -1, 141, -1, 276, 277, 278,
|
||
-1, 33, -1, 149, -1, 284, -1, -1, 40, 94,
|
||
301, 43, -1, 45, -1, 68, -1, 308, 309, 72,
|
||
73, -1, -1, 314, 315, 316, 317, 59, -1, -1,
|
||
321, -1, -1, -1, -1, -1, -1, 183, 33, 124,
|
||
125, -1, 188, 189, -1, 40, 41, -1, 43, -1,
|
||
45, -1, -1, -1, -1, 33, -1, -1, -1, -1,
|
||
-1, 114, 40, 41, -1, 43, -1, 45, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 232, 233, -1, 235,
|
||
275, 237, 238, 33, -1, -1, -1, -1, -1, -1,
|
||
40, -1, 287, 43, -1, 45, -1, -1, 293, 294,
|
||
295, 296, 297, 298, 299, 300, 301, -1, -1, 59,
|
||
33, -1, -1, 308, 309, 271, 275, 40, 41, -1,
|
||
43, 277, 45, -1, -1, -1, -1, -1, 287, -1,
|
||
-1, -1, 288, -1, 293, 294, 295, 296, 297, 298,
|
||
299, 300, 301, -1, -1, -1, 302, 33, -1, 308,
|
||
309, -1, 308, -1, 40, 41, -1, 43, -1, 45,
|
||
-1, -1, 257, 258, -1, -1, -1, 262, -1, -1,
|
||
-1, -1, -1, -1, 269, -1, -1, -1, 273, 274,
|
||
-1, 276, 277, 278, -1, -1, -1, -1, -1, 284,
|
||
33, -1, -1, -1, -1, -1, 291, 40, -1, -1,
|
||
43, -1, 45, -1, -1, -1, 301, 302, 303, 304,
|
||
305, 306, 307, 308, 309, -1, 59, 33, -1, 314,
|
||
315, 316, 317, -1, 40, 41, 321, 43, -1, 45,
|
||
-1, -1, -1, 275, 33, -1, -1, -1, -1, -1,
|
||
-1, 40, 41, -1, 43, 287, 45, -1, -1, -1,
|
||
-1, 293, 294, 295, 296, 297, 298, 299, 300, 301,
|
||
-1, 33, -1, -1, -1, -1, 308, 309, 40, 41,
|
||
275, 43, -1, 45, -1, -1, -1, -1, -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, 33, -1, -1, -1,
|
||
308, 309, -1, 40, 41, 275, 43, -1, 45, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 287, -1, -1,
|
||
-1, -1, -1, 293, 294, 295, 296, 297, 298, 299,
|
||
300, 301, 275, 33, -1, -1, -1, -1, 308, 309,
|
||
40, -1, -1, 43, 287, 45, -1, -1, -1, -1,
|
||
293, 294, 295, 296, 297, 298, 299, 300, 301, -1,
|
||
};
|
||
}
|
||
class yyCheck1 {
|
||
protected static final short yyCheck1 [] = { 33,
|
||
-1, -1, -1, -1, 308, 309, 40, -1, 275, 43,
|
||
-1, 45, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
287, -1, -1, -1, -1, -1, 293, 294, 295, 296,
|
||
297, 298, 299, 300, 301, -1, -1, -1, -1, -1,
|
||
-1, 308, 309, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 275, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 287, -1, -1, -1, -1, -1, 293,
|
||
294, 295, 296, 297, 298, 299, 300, 301, 275, -1,
|
||
-1, -1, -1, -1, 308, 309, -1, 60, -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, 275, -1, -1, -1, -1, -1, 308, 309,
|
||
-1, -1, -1, -1, 287, -1, -1, -1, -1, -1,
|
||
293, 294, 295, 296, 297, 298, 299, 300, 301, -1,
|
||
-1, -1, 125, -1, -1, 308, 309, -1, 37, 38,
|
||
-1, 40, 41, 42, 43, 44, 45, 46, 47, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 275, -1, -1,
|
||
59, -1, -1, 62, -1, -1, -1, -1, -1, 287,
|
||
-1, -1, -1, -1, -1, 293, 294, 295, 296, 297,
|
||
298, 299, 300, 301, -1, -1, -1, -1, -1, -1,
|
||
308, 309, 91, -1, 275, 94, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 287, -1, -1, -1,
|
||
40, -1, 293, 294, 295, 296, 297, 298, 299, 300,
|
||
301, -1, -1, -1, 123, 124, 125, 308, 309, 59,
|
||
-1, -1, -1, 287, -1, -1, -1, -1, -1, 293,
|
||
294, 295, 296, 297, 298, 299, 300, 301, -1, -1,
|
||
-1, -1, 37, 38, 308, 309, 41, 42, 43, 44,
|
||
45, -1, 47, -1, 257, 258, -1, -1, -1, 262,
|
||
-1, -1, -1, -1, 59, 60, 269, 62, -1, -1,
|
||
-1, 274, -1, 276, 277, 278, 364, 365, -1, -1,
|
||
-1, 284, -1, 123, -1, 125, -1, -1, 291, -1,
|
||
-1, 379, -1, -1, -1, -1, -1, 37, 301, 94,
|
||
-1, 41, 42, 43, 44, 45, 46, 47, -1, -1,
|
||
-1, -1, -1, 401, 402, -1, 404, -1, -1, 59,
|
||
60, 409, 62, -1, -1, 413, -1, 415, 416, 124,
|
||
125, -1, -1, -1, -1, -1, 424, 425, 426, -1,
|
||
-1, -1, 430, -1, -1, -1, -1, -1, 257, 258,
|
||
-1, -1, -1, 262, 94, -1, -1, -1, -1, -1,
|
||
269, -1, -1, -1, 273, 274, -1, 276, 277, 278,
|
||
-1, -1, -1, 282, -1, 284, -1, -1, -1, 60,
|
||
-1, -1, 291, -1, 124, 125, -1, -1, -1, -1,
|
||
-1, -1, 301, 302, 303, 304, 305, 306, 307, 308,
|
||
309, -1, -1, 37, 38, -1, -1, 41, 42, 43,
|
||
44, 45, 46, 47, -1, -1, -1, -1, 258, -1,
|
||
-1, -1, 262, -1, -1, 59, 60, 267, 62, -1,
|
||
-1, 271, 272, -1, 274, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 283, 125, -1, -1, 287, -1, -1,
|
||
-1, -1, 292, 293, 294, 295, 296, 297, 298, 299,
|
||
300, 301, 257, 258, -1, -1, -1, 262, 308, 309,
|
||
-1, -1, -1, -1, 269, -1, -1, -1, 273, 274,
|
||
-1, 276, 277, 278, -1, -1, -1, -1, -1, 284,
|
||
124, 125, -1, -1, -1, -1, 291, 40, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 301, 302, 303, 304,
|
||
305, 306, 307, 308, 309, -1, 59, 257, 258, -1,
|
||
-1, -1, 262, -1, -1, -1, -1, -1, -1, 269,
|
||
-1, -1, -1, 273, 274, -1, 276, 277, 278, -1,
|
||
-1, -1, -1, -1, 284, -1, -1, -1, 37, 38,
|
||
-1, 291, 41, 42, 43, 44, 45, 46, 47, -1,
|
||
-1, 301, 302, 303, 304, 305, 306, 307, 308, 309,
|
||
59, 60, -1, 62, -1, -1, 257, 258, -1, -1,
|
||
123, 262, -1, -1, -1, -1, -1, -1, 269, -1,
|
||
-1, -1, -1, 274, -1, 276, 277, 278, -1, -1,
|
||
-1, -1, -1, 284, -1, 94, -1, 37, 38, -1,
|
||
291, 41, 42, 43, 44, 45, 46, 47, -1, -1,
|
||
301, -1, -1, 257, 258, -1, -1, -1, 262, 59,
|
||
60, -1, 62, -1, -1, 269, 125, -1, -1, 273,
|
||
274, -1, 276, 277, 278, -1, -1, -1, -1, -1,
|
||
284, -1, -1, -1, -1, -1, -1, 291, -1, -1,
|
||
-1, -1, -1, -1, 94, -1, -1, 301, 302, 303,
|
||
304, 305, 306, 307, 308, 309, 37, 38, -1, -1,
|
||
41, 42, 43, 44, 45, 46, 47, -1, -1, -1,
|
||
-1, -1, -1, -1, 124, 125, -1, -1, 59, 60,
|
||
-1, 62, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 37, 38, -1, -1, 41, 42, 43,
|
||
44, 45, -1, 47, -1, -1, -1, -1, 271, 272,
|
||
-1, -1, -1, 94, -1, 59, 60, -1, 62, -1,
|
||
283, -1, -1, -1, 287, -1, -1, -1, -1, 292,
|
||
293, 294, 295, 296, 297, 298, 299, 300, 301, -1,
|
||
-1, -1, -1, 124, 125, 308, 309, -1, 257, 258,
|
||
94, -1, -1, 262, -1, -1, -1, -1, -1, -1,
|
||
269, -1, -1, -1, 273, 274, -1, 276, 277, 278,
|
||
-1, -1, -1, -1, -1, 284, -1, -1, -1, 37,
|
||
124, 125, 291, 41, 42, 43, 44, 45, 46, 47,
|
||
-1, -1, 301, 302, 303, 304, 305, 306, 307, 308,
|
||
309, 59, 60, -1, 62, -1, -1, 257, 258, -1,
|
||
-1, -1, 262, -1, -1, -1, -1, -1, -1, 269,
|
||
-1, -1, -1, 273, 274, -1, 276, 277, 278, -1,
|
||
-1, -1, -1, -1, 284, -1, 94, -1, -1, -1,
|
||
-1, 291, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 301, 302, 303, 304, 305, 306, -1, 308, 309,
|
||
-1, -1, -1, -1, 37, 38, 124, 125, 41, 42,
|
||
43, 44, 45, 46, 47, -1, 257, 258, -1, -1,
|
||
-1, 262, -1, -1, -1, -1, 59, 60, 269, 62,
|
||
-1, -1, 273, 274, -1, 276, 277, 278, -1, -1,
|
||
-1, -1, -1, 284, -1, -1, -1, -1, -1, -1,
|
||
291, -1, -1, 257, 258, -1, -1, -1, 262, -1,
|
||
301, 302, 303, 304, 305, 269, 307, 308, 309, 273,
|
||
274, -1, 276, 277, 278, -1, -1, -1, -1, -1,
|
||
284, -1, -1, -1, -1, -1, -1, 291, -1, -1,
|
||
};
|
||
}
|
||
class yyCheck2 {
|
||
protected static final short yyCheck2 [] = { -1,
|
||
124, 125, -1, 60, -1, -1, 301, 302, 303, 304,
|
||
305, 306, 307, 308, 309, 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, -1, -1, -1, -1, -1, 257, 258,
|
||
-1, -1, -1, 262, -1, -1, -1, -1, -1, -1,
|
||
269, -1, -1, -1, 273, 274, -1, 276, 277, 278,
|
||
-1, -1, 94, -1, -1, 284, -1, -1, -1, -1,
|
||
-1, -1, 291, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 301, 302, 303, 304, 305, 306, 307, 308,
|
||
309, 37, 38, 125, -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, -1,
|
||
-1, -1, -1, 257, 258, -1, -1, -1, 262, -1,
|
||
-1, -1, -1, -1, -1, 269, -1, -1, -1, 273,
|
||
274, -1, 276, 277, 278, -1, -1, -1, 94, -1,
|
||
284, -1, -1, -1, -1, -1, -1, 291, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 301, 302, 303,
|
||
304, 305, 306, 307, 308, 309, 37, 38, 124, 125,
|
||
41, 42, -1, 44, -1, 46, 47, -1, -1, -1,
|
||
257, 258, -1, -1, -1, 262, -1, -1, 59, 60,
|
||
-1, 62, 269, -1, -1, -1, -1, 274, -1, 276,
|
||
277, 278, -1, -1, -1, -1, -1, 284, -1, -1,
|
||
-1, -1, -1, -1, 291, 257, 258, -1, -1, -1,
|
||
262, -1, 40, 94, 301, -1, -1, 269, -1, -1,
|
||
-1, 273, 274, -1, 276, 277, 278, -1, -1, -1,
|
||
-1, 59, 284, -1, -1, -1, -1, -1, -1, 291,
|
||
-1, -1, -1, 124, 125, -1, -1, -1, -1, 301,
|
||
302, 303, 304, 305, 306, 307, 308, 309, 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, -1, -1, -1, -1,
|
||
-1, 257, 258, -1, -1, 123, 262, -1, -1, -1,
|
||
-1, -1, -1, 269, -1, -1, -1, 273, 274, -1,
|
||
276, 277, 278, -1, -1, 94, -1, -1, 284, -1,
|
||
-1, -1, -1, -1, -1, 291, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, 301, 302, 303, 304, 305,
|
||
306, -1, 308, 309, -1, 124, 125, 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, -1, 257, 258, -1, -1,
|
||
-1, 262, -1, -1, -1, -1, -1, -1, 269, -1,
|
||
-1, -1, 273, 274, -1, 276, 277, 278, -1, -1,
|
||
-1, -1, -1, 284, 94, -1, -1, -1, -1, -1,
|
||
291, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
301, 302, 303, 304, 305, 306, 307, 308, 309, -1,
|
||
-1, -1, 37, 38, 124, 125, 41, 42, 43, 44,
|
||
45, 46, 47, 271, 272, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, 59, 283, -1, -1, -1, 287,
|
||
-1, -1, -1, -1, 292, 293, 294, 295, 296, 297,
|
||
298, 299, 300, 301, -1, -1, -1, -1, 257, 258,
|
||
308, 309, -1, 262, -1, -1, -1, -1, -1, 94,
|
||
269, -1, -1, -1, 273, 274, -1, 276, 277, 278,
|
||
-1, -1, -1, -1, -1, 284, -1, -1, -1, -1,
|
||
-1, -1, 291, -1, -1, -1, -1, -1, -1, 124,
|
||
125, -1, 301, -1, 303, 304, -1, 306, 307, 308,
|
||
309, -1, -1, 37, 38, -1, -1, 41, 42, 43,
|
||
44, 45, 46, 47, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, 59, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 257, 258, -1,
|
||
-1, -1, 262, -1, -1, -1, -1, -1, -1, 269,
|
||
-1, -1, -1, 273, 274, -1, 276, 277, 278, -1,
|
||
94, -1, -1, -1, 284, -1, -1, -1, -1, -1,
|
||
-1, 291, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 301, -1, 303, 304, 60, 306, 307, 308, 309,
|
||
124, 125, -1, 37, 38, -1, -1, 41, 42, 43,
|
||
44, 45, 46, 47, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, 59, -1, -1, -1, -1,
|
||
-1, -1, 257, 258, -1, -1, -1, 262, -1, -1,
|
||
-1, -1, -1, -1, 269, -1, -1, -1, -1, 274,
|
||
-1, 276, 277, 278, -1, -1, -1, -1, -1, 284,
|
||
94, -1, -1, -1, -1, -1, 291, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 301, 302, -1, -1,
|
||
305, 306, 307, 308, 309, -1, -1, -1, -1, -1,
|
||
124, 125, -1, 38, -1, -1, 41, -1, 43, 44,
|
||
45, 46, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, 59, 60, -1, 62, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 257, 258, -1, -1, -1, 262, -1,
|
||
-1, 137, 138, -1, -1, 269, -1, -1, -1, 94,
|
||
274, -1, 276, 277, 278, -1, -1, -1, -1, -1,
|
||
284, -1, -1, -1, -1, 38, -1, 291, 41, -1,
|
||
43, 44, 45, 46, -1, -1, -1, 301, 302, 124,
|
||
125, 305, 306, 307, 308, 309, 59, 60, -1, 62,
|
||
-1, -1, 257, 258, 190, 191, 192, 262, -1, -1,
|
||
-1, -1, -1, -1, 269, -1, -1, -1, -1, 274,
|
||
-1, 276, 277, 278, -1, -1, -1, -1, -1, 284,
|
||
-1, 94, -1, 257, 258, -1, 291, -1, 262, -1,
|
||
-1, -1, -1, -1, -1, 269, 301, -1, -1, -1,
|
||
274, -1, 276, 277, 278, -1, -1, -1, -1, -1,
|
||
284, 124, 125, -1, -1, 38, -1, 291, 41, -1,
|
||
43, 44, 45, 46, -1, -1, -1, 301, 302, -1,
|
||
-1, 305, 306, 307, 308, 309, 59, 60, -1, 62,
|
||
-1, -1, -1, -1, -1, -1, -1, 283, 284, 285,
|
||
286, 287, -1, 289, 290, 291, 292, 293, 294, 295,
|
||
296, 297, 298, 299, -1, -1, -1, -1, -1, -1,
|
||
-1, 94, 257, 258, -1, -1, -1, 262, -1, -1,
|
||
-1, -1, -1, -1, 269, -1, -1, -1, 273, 274,
|
||
-1, 276, 277, 278, -1, -1, -1, -1, -1, 284,
|
||
336, 124, 125, -1, -1, -1, 291, -1, -1, -1,
|
||
};
|
||
}
|
||
class yyCheck3 {
|
||
protected static final short yyCheck3 [] = { -1,
|
||
-1, -1, -1, -1, -1, 301, 302, 303, 304, 305,
|
||
306, 307, 308, 309, 37, 38, -1, -1, 41, 42,
|
||
43, 44, 45, 46, 47, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 257, 258, -1, 59, 60, 262, 62,
|
||
-1, -1, 40, -1, -1, 269, -1, -1, -1, 273,
|
||
274, -1, 276, 277, 278, -1, -1, -1, -1, -1,
|
||
284, 59, -1, -1, -1, -1, -1, 291, -1, -1,
|
||
-1, 94, -1, -1, -1, -1, -1, 301, 302, 303,
|
||
304, 305, 306, 307, 308, 309, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, 40, -1, -1, -1, -1, -1,
|
||
-1, 124, 125, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 59, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 257, 258, 123, -1, 125, 262, -1,
|
||
-1, -1, -1, -1, -1, 269, -1, -1, -1, 273,
|
||
274, -1, 276, 277, 278, -1, 40, -1, -1, -1,
|
||
284, -1, -1, -1, -1, -1, -1, 291, -1, -1,
|
||
-1, -1, -1, -1, -1, 59, -1, 301, 302, 303,
|
||
304, 305, 306, 307, 308, 309, -1, 123, -1, 125,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 40, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 59, -1, -1, -1, -1, -1, -1, 123,
|
||
-1, 125, -1, -1, 257, 258, -1, -1, -1, 262,
|
||
-1, -1, -1, -1, -1, -1, 269, 40, -1, -1,
|
||
273, 274, -1, 276, 277, 278, -1, -1, -1, -1,
|
||
258, 284, -1, -1, 262, -1, 59, -1, 291, -1,
|
||
-1, -1, -1, 271, 272, -1, 274, -1, 301, 302,
|
||
303, 304, 305, 306, 307, 283, 123, -1, 125, 287,
|
||
-1, -1, -1, -1, 292, 293, 294, 295, 296, 297,
|
||
298, 299, 300, 301, -1, 40, -1, -1, -1, -1,
|
||
308, 309, 258, -1, -1, -1, 262, -1, -1, -1,
|
||
-1, -1, -1, -1, 59, 271, 272, -1, 274, -1,
|
||
123, -1, 125, -1, -1, -1, -1, 283, -1, -1,
|
||
-1, 287, -1, -1, -1, -1, 292, 293, 294, 295,
|
||
296, 297, 298, 299, 300, 301, -1, -1, -1, -1,
|
||
-1, -1, 308, 309, 258, -1, -1, -1, 262, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 271, 272, -1,
|
||
274, -1, -1, -1, -1, -1, -1, -1, 123, 283,
|
||
125, -1, -1, 287, -1, -1, -1, -1, 292, 293,
|
||
294, 295, 296, 297, 298, 299, 300, 301, -1, -1,
|
||
-1, -1, -1, -1, 308, 309, -1, -1, -1, -1,
|
||
-1, 258, -1, -1, -1, 262, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, 271, 272, -1, 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, 258, -1, -1, -1, 262,
|
||
-1, 308, 309, -1, -1, -1, -1, -1, 271, 272,
|
||
-1, 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,
|
||
-1, -1, -1, -1, -1, 308, 309, -1, -1, -1,
|
||
-1, -1, -1, 258, -1, -1, -1, 262, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 271, 272, -1, 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, -1, -1,
|
||
-1, -1, -1, 308, 309,
|
||
};
|
||
}
|
||
class yyCheckInit {
|
||
static short[] yyCheck = new short[3579];
|
||
protected static void yyCheckInit () {
|
||
int numyycheck;
|
||
int yyCheckerun = 0;
|
||
for (numyycheck = 0; numyycheck <= 1000; numyycheck++) {
|
||
if (yyCheckerun < 3579) {
|
||
yyCheck[yyCheckerun] = yyCheck0.yyCheck0[numyycheck];
|
||
yyCheckerun++;
|
||
}
|
||
}
|
||
for (numyycheck = 0; numyycheck <= 1000; numyycheck++) {
|
||
if (yyCheckerun < 3579) {
|
||
yyCheck[yyCheckerun] = yyCheck1.yyCheck1[numyycheck];
|
||
yyCheckerun++;
|
||
}
|
||
}
|
||
for (numyycheck = 0; numyycheck <= 1000; numyycheck++) {
|
||
if (yyCheckerun < 3579) {
|
||
yyCheck[yyCheckerun] = yyCheck2.yyCheck2[numyycheck];
|
||
yyCheckerun++;
|
||
}
|
||
}
|
||
for (numyycheck = 0; numyycheck <= 1000; numyycheck++) {
|
||
if (yyCheckerun < 3579) {
|
||
yyCheck[yyCheckerun] = yyCheck3.yyCheck3[numyycheck];
|
||
yyCheckerun++;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|