home *** CD-ROM | disk | FTP | other *** search
/ Symantec Visual Cafe for Java 2.5 / symantec-visual-cafe-2.5-database-dev-edition.iso / VPage / Java.bin / CLASSES.ZIP / sun / tools / java / Constants.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-07-08  |  13.6 KB  |  286 lines

  1. package sun.tools.java;
  2.  
  3. public interface Constants extends RuntimeConstants {
  4.    Identifier idAppend = Identifier.lookup("append");
  5.    Identifier idClassInit = Identifier.lookup("<clinit>");
  6.    Identifier idCode = Identifier.lookup("Code");
  7.    Identifier idInit = Identifier.lookup("<init>");
  8.    Identifier idLength = Identifier.lookup("length");
  9.    Identifier idNull = Identifier.lookup("");
  10.    Identifier idStar = Identifier.lookup("*");
  11.    Identifier idSuper = Identifier.lookup("super");
  12.    Identifier idThis = Identifier.lookup("this");
  13.    Identifier idClass = Identifier.lookup("class");
  14.    Identifier idToString = Identifier.lookup("toString");
  15.    Identifier idValueOf = Identifier.lookup("valueOf");
  16.    Identifier idNew = Identifier.lookup("new");
  17.    Identifier idGetClass = Identifier.lookup("getClass");
  18.    Identifier idTYPE = Identifier.lookup("TYPE");
  19.    Identifier idFinallyReturnValue = Identifier.lookup("<return>");
  20.    Identifier idJavaLang = Identifier.lookup("java.lang");
  21.    Identifier idJavaLangCloneable = Identifier.lookup("java.lang.Cloneable");
  22.    Identifier idJavaLangError = Identifier.lookup("java.lang.Error");
  23.    Identifier idJavaLangException = Identifier.lookup("java.lang.Exception");
  24.    Identifier idJavaLangObject = Identifier.lookup("java.lang.Object");
  25.    Identifier idJavaLangClass = Identifier.lookup("java.lang.Class");
  26.    Identifier idJavaLangRuntimeException = Identifier.lookup("java.lang.RuntimeException");
  27.    Identifier idJavaLangString = Identifier.lookup("java.lang.String");
  28.    Identifier idJavaLangStringBuffer = Identifier.lookup("java.lang.StringBuffer");
  29.    Identifier idJavaLangThrowable = Identifier.lookup("java.lang.Throwable");
  30.    Identifier idJavaIoSerializable = Identifier.lookup("java.io.Serializable");
  31.    Identifier idConstantValue = Identifier.lookup("ConstantValue");
  32.    Identifier idLocalVariableTable = Identifier.lookup("LocalVariableTable");
  33.    Identifier idLineNumberTable = Identifier.lookup("LineNumberTable");
  34.    Identifier idCoverageTable = Identifier.lookup("CoverageTable");
  35.    Identifier idSourceFile = Identifier.lookup("SourceFile");
  36.    Identifier idDocumentation = Identifier.lookup("Documentation");
  37.    Identifier idDeprecated = Identifier.lookup("Deprecated");
  38.    Identifier idSynthetic = Identifier.lookup("Synthetic");
  39.    Identifier idExceptions = Identifier.lookup("Exceptions");
  40.    Identifier idInnerClasses = Identifier.lookup("InnerClasses");
  41.    Identifier idClone = Identifier.lookup("clone");
  42.    char SIGC_INNERCLASS = '$';
  43.    String SIG_INNERCLASS = "$";
  44.    String prefixThis = "this$";
  45.    String prefixVal = "val$";
  46.    String prefixLoc = "loc$";
  47.    String prefixAccess = "access$";
  48.    String prefixClass = "class$";
  49.    String prefixArray = "array$";
  50.    int F_VERBOSE = 1;
  51.    int F_DUMP = 2;
  52.    int F_WARNINGS = 4;
  53.    int F_DEBUG = 8;
  54.    int F_OPTIMIZE = 16;
  55.    int F_DEPENDENCIES = 32;
  56.    int F_INNERCLASSES = 256;
  57.    int F_DEPRECATION = 512;
  58.    int F_PRINT_DEPENDENCIES = 1024;
  59.    int F_ERRORSREPORTED = 65536;
  60.    int F_COVERAGE = 64;
  61.    int F_COVDATA = 128;
  62.    int M_PUBLIC = 1;
  63.    int M_PRIVATE = 2;
  64.    int M_PROTECTED = 4;
  65.    int M_STATIC = 8;
  66.    int M_TRANSIENT = 128;
  67.    int M_SYNCHRONIZED = 32;
  68.    int M_ABSTRACT = 1024;
  69.    int M_NATIVE = 256;
  70.    int M_FINAL = 16;
  71.    int M_VOLATILE = 64;
  72.    int M_INTERFACE = 512;
  73.    int M_SUPER = 32;
  74.    int M_ANONYMOUS = 65536;
  75.    int M_LOCAL = 131072;
  76.    int M_DEPRECATED = 262144;
  77.    int M_SYNTHETIC = 524288;
  78.    int M_INLINEABLE = 1048576;
  79.    String paraDeprecated = "@deprecated";
  80.    int CT_METHOD = 1;
  81.    int CT_FIKT_METHOD = 2;
  82.    int CT_BLOCK = 3;
  83.    int CT_FIKT_RET = 4;
  84.    int CT_CASE = 5;
  85.    int CT_SWITH_WO_DEF = 6;
  86.    int CT_BRANCH_TRUE = 7;
  87.    int CT_BRANCH_FALSE = 8;
  88.    int MM_CLASS = 1585;
  89.    int MM_MEMBER = 31;
  90.    int MM_FIELD = 223;
  91.    int MM_METHOD = 1343;
  92.    int MM_INNERCLASS = 198207;
  93.    int TC_BOOLEAN = 0;
  94.    int TC_BYTE = 1;
  95.    int TC_CHAR = 2;
  96.    int TC_SHORT = 3;
  97.    int TC_INT = 4;
  98.    int TC_LONG = 5;
  99.    int TC_FLOAT = 6;
  100.    int TC_DOUBLE = 7;
  101.    int TC_NULL = 8;
  102.    int TC_ARRAY = 9;
  103.    int TC_CLASS = 10;
  104.    int TC_VOID = 11;
  105.    int TC_METHOD = 12;
  106.    int TC_ERROR = 13;
  107.    int TM_NULL = 256;
  108.    int TM_VOID = 2048;
  109.    int TM_BOOLEAN = 1;
  110.    int TM_BYTE = 2;
  111.    int TM_CHAR = 4;
  112.    int TM_SHORT = 8;
  113.    int TM_INT = 16;
  114.    int TM_LONG = 32;
  115.    int TM_FLOAT = 64;
  116.    int TM_DOUBLE = 128;
  117.    int TM_ARRAY = 512;
  118.    int TM_CLASS = 1024;
  119.    int TM_METHOD = 4096;
  120.    int TM_ERROR = 8192;
  121.    int TM_INT32 = 30;
  122.    int TM_NUM32 = 94;
  123.    int TM_NUM64 = 160;
  124.    int TM_INTEGER = 62;
  125.    int TM_REAL = 192;
  126.    int TM_NUMBER = 254;
  127.    int TM_REFERENCE = 1792;
  128.    int CS_UNDEFINED = 0;
  129.    int CS_UNDECIDED = 1;
  130.    int CS_BINARY = 2;
  131.    int CS_SOURCE = 3;
  132.    int CS_PARSED = 4;
  133.    int CS_COMPILED = 5;
  134.    int CS_NOTFOUND = 6;
  135.    int CS_CHECKED = 7;
  136.    int ATT_ALL = -1;
  137.    int ATT_CODE = 1;
  138.    int OFFSETBITS = 18;
  139.    int MAXFILESIZE = 262143;
  140.    int MAXLINENUMBER = 16383;
  141.    int COMMA = 0;
  142.    int ASSIGN = 1;
  143.    int ASGMUL = 2;
  144.    int ASGDIV = 3;
  145.    int ASGREM = 4;
  146.    int ASGADD = 5;
  147.    int ASGSUB = 6;
  148.    int ASGLSHIFT = 7;
  149.    int ASGRSHIFT = 8;
  150.    int ASGURSHIFT = 9;
  151.    int ASGBITAND = 10;
  152.    int ASGBITOR = 11;
  153.    int ASGBITXOR = 12;
  154.    int COND = 13;
  155.    // $FF: renamed from: OR int
  156.    int field_0 = 14;
  157.    int AND = 15;
  158.    int BITOR = 16;
  159.    int BITXOR = 17;
  160.    int BITAND = 18;
  161.    // $FF: renamed from: NE int
  162.    int field_1 = 19;
  163.    // $FF: renamed from: EQ int
  164.    int field_2 = 20;
  165.    // $FF: renamed from: GE int
  166.    int field_3 = 21;
  167.    // $FF: renamed from: GT int
  168.    int field_4 = 22;
  169.    // $FF: renamed from: LE int
  170.    int field_5 = 23;
  171.    // $FF: renamed from: LT int
  172.    int field_6 = 24;
  173.    int INSTANCEOF = 25;
  174.    int LSHIFT = 26;
  175.    int RSHIFT = 27;
  176.    int URSHIFT = 28;
  177.    int ADD = 29;
  178.    int SUB = 30;
  179.    int DIV = 31;
  180.    int REM = 32;
  181.    int MUL = 33;
  182.    int CAST = 34;
  183.    int POS = 35;
  184.    int NEG = 36;
  185.    int NOT = 37;
  186.    int BITNOT = 38;
  187.    int PREINC = 39;
  188.    int PREDEC = 40;
  189.    int NEWARRAY = 41;
  190.    int NEWINSTANCE = 42;
  191.    int NEWFROMNAME = 43;
  192.    int POSTINC = 44;
  193.    int POSTDEC = 45;
  194.    int FIELD = 46;
  195.    int METHOD = 47;
  196.    int ARRAYACCESS = 48;
  197.    int NEW = 49;
  198.    int INC = 50;
  199.    int DEC = 51;
  200.    int CONVERT = 55;
  201.    int EXPR = 56;
  202.    int ARRAY = 57;
  203.    int GOTO = 58;
  204.    int IDENT = 60;
  205.    int BOOLEANVAL = 61;
  206.    int BYTEVAL = 62;
  207.    int CHARVAL = 63;
  208.    int SHORTVAL = 64;
  209.    int INTVAL = 65;
  210.    int LONGVAL = 66;
  211.    int FLOATVAL = 67;
  212.    int DOUBLEVAL = 68;
  213.    int STRINGVAL = 69;
  214.    int BYTE = 70;
  215.    int CHAR = 71;
  216.    int SHORT = 72;
  217.    int INT = 73;
  218.    int LONG = 74;
  219.    int FLOAT = 75;
  220.    int DOUBLE = 76;
  221.    int VOID = 77;
  222.    int BOOLEAN = 78;
  223.    int TRUE = 80;
  224.    int FALSE = 81;
  225.    int THIS = 82;
  226.    int SUPER = 83;
  227.    int NULL = 84;
  228.    // $FF: renamed from: IF int
  229.    int field_7 = 90;
  230.    int ELSE = 91;
  231.    int FOR = 92;
  232.    int WHILE = 93;
  233.    // $FF: renamed from: DO int
  234.    int field_8 = 94;
  235.    int SWITCH = 95;
  236.    int CASE = 96;
  237.    int DEFAULT = 97;
  238.    int BREAK = 98;
  239.    int CONTINUE = 99;
  240.    int RETURN = 100;
  241.    int TRY = 101;
  242.    int CATCH = 102;
  243.    int FINALLY = 103;
  244.    int THROW = 104;
  245.    int STAT = 105;
  246.    int EXPRESSION = 106;
  247.    int DECLARATION = 107;
  248.    int VARDECLARATION = 108;
  249.    int IMPORT = 110;
  250.    int CLASS = 111;
  251.    int EXTENDS = 112;
  252.    int IMPLEMENTS = 113;
  253.    int INTERFACE = 114;
  254.    int PACKAGE = 115;
  255.    int PRIVATE = 120;
  256.    int PUBLIC = 121;
  257.    int PROTECTED = 122;
  258.    int CONST = 123;
  259.    int STATIC = 124;
  260.    int TRANSIENT = 125;
  261.    int SYNCHRONIZED = 126;
  262.    int NATIVE = 127;
  263.    int FINAL = 128;
  264.    int VOLATILE = 129;
  265.    int ABSTRACT = 130;
  266.    int SEMICOLON = 135;
  267.    int COLON = 136;
  268.    int QUESTIONMARK = 137;
  269.    int LBRACE = 138;
  270.    int RBRACE = 139;
  271.    int LPAREN = 140;
  272.    int RPAREN = 141;
  273.    int LSQBRACKET = 142;
  274.    int RSQBRACKET = 143;
  275.    int THROWS = 144;
  276.    int ERROR = 145;
  277.    int COMMENT = 146;
  278.    int TYPE = 147;
  279.    int LENGTH = 148;
  280.    int INLINERETURN = 149;
  281.    int INLINEMETHOD = 150;
  282.    int INLINENEWINSTANCE = 151;
  283.    int[] opPrecedence = new int[]{10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 13, 14, 15, 16, 17, 18, 18, 19, 19, 19, 19, 19, 20, 20, 20, 21, 21, 22, 22, 22, 23, 24, 24, 24, 24, 24, 24, 25, 25, 26, 26, 26, 26, 26, 26};
  284.    String[] opNames = new String[]{",", "=", "*=", "/=", "%=", "+=", "-=", "<<=", ">>=", "<<<=", "&=", "|=", "^=", "?:", "||", "&&", "|", "^", "&", "!=", "==", ">=", ">", "<=", "<", "instanceof", "<<", ">>", "<<<", "+", "-", "/", "%", "*", "cast", "+", "-", "!", "~", "++", "--", "new", "new", "new", "++", "--", "field", "method", "[]", "new", "++", "--", null, null, null, "convert", "expr", "array", "goto", null, "Identifier", "boolean", "byte", "char", "short", "int", "long", "float", "double", "string", "byte", "char", "short", "int", "long", "float", "double", "void", "boolean", null, "true", "false", "this", "super", "null", null, null, null, null, null, "if", "else", "for", "while", "do", "switch", "case", "default", "break", "continue", "return", "try", "catch", "finally", "throw", "stat", "expression", "declaration", "declaration", null, "import", "class", "extends", "implements", "interface", "package", null, null, null, null, "private", "public", "protected", "const", "static", "transient", "synchronized", "native", "final", "volatile", "abstract", null, null, null, null, ";", ":", "?", "{", "}", "(", ")", "[", "]", "throws", "error", "comment", "type", "length", "inline-return", "inline-method", "inline-new"};
  285. }
  286.