|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.annotation.expression.ast.AnnotationParser
public class AnnotationParser
The annotation parser.
Field Summary | |
---|---|
static Token |
jj_nt
|
protected static org.codehaus.aspectwerkz.annotation.expression.ast.JJTAnnotationParserState |
jjtree
|
static boolean |
lookingAhead
|
static Token |
token
|
static AnnotationParserTokenManager |
token_source
|
Fields inherited from interface org.codehaus.aspectwerkz.annotation.expression.ast.AnnotationParserTreeConstants |
---|
JJTANNOTATION, JJTARRAY, JJTBOOLEAN, JJTCHAR, JJTFLOAT, JJTHEX, JJTIDENTIFIER, JJTINTEGER, JJTKEYVALUEPAIR, jjtNodeName, JJTOCT, JJTROOT, JJTSTRING, JJTVOID |
Fields inherited from interface org.codehaus.aspectwerkz.annotation.expression.ast.AnnotationParserConstants |
---|
ANNOTATION, AT, BOOLEAN, CHAR, COMMA, DEFAULT, DIGIT, DOT, EOF, EQUALS, EXPONENT, FLOAT, HEXNUMBER, INTEGER, JAVA_LETTER, JAVA_NAME, JAVA_TYPE, JAVA_TYPE_MAYBEARRAY, LEFT_BRACKET, LEFT_PARENTHEZIS, NEWLINE, OCTNUMBER, RIGHT_BRACKET, RIGHT_PARENTHEZIS, STRING, tokenImage |
Constructor Summary | |
---|---|
AnnotationParser(AnnotationParserTokenManager tm)
|
|
AnnotationParser(InputStream stream)
|
|
AnnotationParser(Reader stream)
|
Method Summary | |
---|---|
static void |
Annotation()
Annotation. |
static void |
Array()
Array. |
static void |
Boolean()
Boolean. |
static void |
Char()
Char. |
static void |
disable_tracing()
|
static void |
enable_tracing()
|
static void |
Float()
Float. |
static ParseException |
generateParseException()
|
static Token |
getNextToken()
|
static Token |
getToken(int index)
|
static void |
Hex()
Hex. |
static void |
Identifier()
Identifier. |
static void |
Integer()
Integer. |
static void |
KeyValuePair()
KeyValuePair. |
static void |
KeyValuePairList()
KeyValuePairList. |
static void |
Oct()
Oct. |
ASTRoot |
parse(Reader reader)
|
ASTRoot |
parse(String annotation)
|
void |
ReInit(AnnotationParserTokenManager tm)
|
static void |
ReInit(InputStream stream)
|
static void |
ReInit(Reader stream)
|
static ASTRoot |
Root()
Entry point. |
static void |
String()
String. |
static void |
Value()
Value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.codehaus.aspectwerkz.annotation.expression.ast.JJTAnnotationParserState jjtree
public static AnnotationParserTokenManager token_source
public static Token token
public static Token jj_nt
public static boolean lookingAhead
Constructor Detail |
---|
public AnnotationParser(InputStream stream)
public AnnotationParser(Reader stream)
public AnnotationParser(AnnotationParserTokenManager tm)
Method Detail |
---|
public ASTRoot parse(String annotation) throws ParseException
ParseException
public ASTRoot parse(Reader reader) throws ParseException
ParseException
public static final ASTRoot Root() throws ParseException
ParseException
public static final void Annotation() throws ParseException
ParseException
public static final void KeyValuePairList() throws ParseException
ParseException
public static final void KeyValuePair() throws ParseException
ParseException
public static final void Value() throws ParseException
ParseException
public static final void Identifier() throws ParseException
ParseException
public static final void Boolean() throws ParseException
ParseException
public static final void Char() throws ParseException
ParseException
public static final void String() throws ParseException
ParseException
public static final void Array() throws ParseException
ParseException
public static final void Integer() throws ParseException
ParseException
public static final void Float() throws ParseException
ParseException
public static final void Hex() throws ParseException
ParseException
public static final void Oct() throws ParseException
ParseException
public static void ReInit(InputStream stream)
public static void ReInit(Reader stream)
public void ReInit(AnnotationParserTokenManager tm)
public static final Token getNextToken()
public static final Token getToken(int index)
public static ParseException generateParseException()
public static final void enable_tracing()
public static final void disable_tracing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |