|
ESC/Java2 © 2003,2004,2005 David Cok and Joseph Kiniry © 2005 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavafe.ast.GeneratedTags
javafe.ast.OperatorTags
javafe.ast.TagConstants
TagConstants
is a class defining a partially-opaque
type for tags used in the AST. "Partially opaque" means that the
representation of this type is known -- it's an int
--
but code should not depend on the detailed mapping of operator tags
to integers.
OperatorTags
,
GeneratedTags
Field Summary | |
static int |
BOOLEANLIT
|
static int |
BOOLEANTYPE
|
static int |
BYTELIT
|
static int |
BYTETYPE
|
static int |
CHARLIT
|
static int |
CHARTYPE
|
static int |
DOUBLELIT
|
static int |
DOUBLETYPE
|
static int |
ERRORTYPE
|
static int |
FLOATLIT
|
static int |
FLOATTYPE
|
static int |
IDENT
|
static int |
INTLIT
|
static int |
INTTYPE
|
static int |
LAST_TAG
|
static int |
LONGLIT
|
static int |
LONGTYPE
|
static int |
NULL
Used to indicate that no tag applies, for example, when looking up the tag associated with a string. |
static int |
NULLLIT
|
static int |
NULLTYPE
|
static int |
SHORTLIT
|
static int |
SHORTTYPE
|
static int |
STRINGLIT
|
private static java.lang.String[] |
tags
|
static int |
VOIDTYPE
|
Fields inherited from class javafe.ast.OperatorTags |
ADD, AND, ASGADD, ASGBITAND, ASGBITOR, ASGBITXOR, ASGDIV, ASGLSHIFT, ASGMUL, ASGREM, ASGRSHIFT, ASGSUB, ASGURSHIFT, ASSIGN, BITAND, BITNOT, BITOR, BITXOR, DEC, DIV, EQ, FIRST_TAG, GE, GT, INC, LE, LSHIFT, LT, MOD, NE, NOT, OR, POSTFIXDEC, POSTFIXINC, RSHIFT, STAR, SUB, UNARYADD, UNARYSUB, URSHIFT |
Constructor Summary | |
TagConstants()
|
Method Summary | |
static java.lang.String |
toString(int tag)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NULL
public static final int IDENT
public static final int ERRORTYPE
public static final int BOOLEANTYPE
public static final int CHARTYPE
public static final int VOIDTYPE
public static final int NULLTYPE
public static final int BYTETYPE
public static final int SHORTTYPE
public static final int INTTYPE
public static final int LONGTYPE
public static final int FLOATTYPE
public static final int DOUBLETYPE
public static final int BOOLEANLIT
public static final int INTLIT
public static final int LONGLIT
public static final int CHARLIT
public static final int FLOATLIT
public static final int DOUBLELIT
public static final int STRINGLIT
public static final int NULLLIT
public static final int BYTELIT
public static final int SHORTLIT
public static final int LAST_TAG
private static final java.lang.String[] tags
Constructor Detail |
public TagConstants()
Method Detail |
public static java.lang.String toString(int tag)
|
ESC/Java2 © 2003,2004,2005 David Cok and Joseph Kiniry © 2005 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |