|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--JavaParser
Nested Class Summary | |
static class |
JavaParser.yyException
thrown for irrecoverable syntax errors and stack overflow. |
static interface |
JavaParser.yyInput
must be implemented by a scanner object to supply input to the parser. |
Field Summary | |
static int |
ABSTRACT
|
static int |
ANDEQUAL
|
static int |
BOOLEAN
|
static int |
BOOLLITERAL
|
static int |
BRACE
|
static int |
BREAK
|
static int |
CASE
|
static int |
CATCH
|
static int |
CHAR
|
static int |
CHARLITERAL
|
static int |
CLASS
|
static int |
CONTINUE
|
static int |
DECREMENT
|
static int |
DEFAULT
|
static int |
DIVIDEEQUAL
|
static int |
DO
|
static int |
ELSE
|
static int |
EOF
|
static int |
EQUAL
|
static int |
EXTENDS
|
static int |
FINALLY
|
static int |
FOR
|
static int |
GREATEREQUAL
|
static int |
IDENTIFIER
|
static int |
IF
|
static int |
INCREMENT
|
static int |
INSTANCEOF
|
static int |
INT
|
static int |
INTLITERAL
|
static int |
JNULL
|
static int |
LESSEQUAL
|
static int |
LOGICALAND
|
static int |
LOGICALOR
|
static int |
MINUSEQUAL
|
static int |
MODULOEQUAL
|
static int |
NEW
|
static int |
NOTEQUAL
|
static int |
OP
|
static int |
OREQUAL
|
de.dhbwstuttgart.typeinference.Menge |
path
|
static int |
PLUSEQUAL
|
static int |
PRIVATE
|
static int |
PROTECTED
|
static int |
PUBLIC
|
static int |
RELOP
|
static int |
RETURN
|
static int |
SHIFTLEFT
|
static int |
SHIFTLEFTEQUAL
|
static int |
SHIFTRIGHT
|
static int |
SIGNEDSHIFTRIGHT
|
static int |
SIGNEDSHIFTRIGHTEQUAL
|
static int |
STATIC
|
static int |
STRINGLITERAL
|
static int |
SUPER
|
static int |
SWITCH
|
static int |
THIS
|
static int |
THROW
|
static int |
THROWS
|
static int |
TIMESEQUAL
|
static int |
TRY
|
static int |
UNSIGNEDSHIFTRIGHT
|
static int |
UNSIGNEDSHIFTRIGHTEQUAL
|
static int |
VOID
|
static int |
WHILE
|
static int |
XOREQUAL
|
protected short[] |
yyCheck
|
protected static short[] |
yyDefRed
|
protected static short[] |
yyDgoto
|
static int |
yyErrorCode
|
protected static int |
yyFinal
debugging support, requires the package jay.yydebug. |
protected static short[] |
yyGindex
|
protected static short[] |
yyLen
|
protected static short[] |
yyLhs
|
protected int |
yyMax
initial size and increment of the state/value stack [default 256]. |
protected static java.lang.String[] |
yyName
|
protected static short[] |
yyRindex
|
protected static short[] |
yySindex
|
protected static short[] |
yyTable
|
Constructor Summary | |
(package private) |
JavaParser()
|
Method Summary | |
protected java.lang.Object |
yyDefault(java.lang.Object first)
executed at the beginning of a reduce action. |
void |
yyerror(java.lang.String message)
simplified error message. |
void |
yyerror(java.lang.String message,
java.lang.String[] expected)
(syntax) error message. |
protected java.lang.String[] |
yyExpecting(int state)
computes list of expected tokens on error by tracing the tables. |
java.lang.Object |
yyparse(JavaParser.yyInput yyLex)
the generated parser. |
java.lang.Object |
yyparse(JavaParser.yyInput yyLex,
java.lang.Object yydebug)
the generated parser, with debugging messages. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public de.dhbwstuttgart.typeinference.Menge path
public static final int ABSTRACT
public static final int BOOLEAN
public static final int BREAK
public static final int CASE
public static final int CATCH
public static final int CHAR
public static final int CLASS
public static final int CONTINUE
public static final int DEFAULT
public static final int DO
public static final int ELSE
public static final int EXTENDS
public static final int FINALLY
public static final int FOR
public static final int IF
public static final int INSTANCEOF
public static final int INT
public static final int NEW
public static final int PRIVATE
public static final int PROTECTED
public static final int PUBLIC
public static final int RETURN
public static final int STATIC
public static final int SUPER
public static final int SWITCH
public static final int THIS
public static final int THROW
public static final int THROWS
public static final int TRY
public static final int VOID
public static final int WHILE
public static final int INTLITERAL
public static final int BOOLLITERAL
public static final int JNULL
public static final int CHARLITERAL
public static final int STRINGLITERAL
public static final int IDENTIFIER
public static final int EQUAL
public static final int LESSEQUAL
public static final int GREATEREQUAL
public static final int NOTEQUAL
public static final int LOGICALOR
public static final int LOGICALAND
public static final int INCREMENT
public static final int DECREMENT
public static final int SHIFTLEFT
public static final int SHIFTRIGHT
public static final int UNSIGNEDSHIFTRIGHT
public static final int SIGNEDSHIFTRIGHT
public static final int PLUSEQUAL
public static final int MINUSEQUAL
public static final int TIMESEQUAL
public static final int DIVIDEEQUAL
public static final int ANDEQUAL
public static final int OREQUAL
public static final int XOREQUAL
public static final int MODULOEQUAL
public static final int SHIFTLEFTEQUAL
public static final int SIGNEDSHIFTRIGHTEQUAL
public static final int UNSIGNEDSHIFTRIGHTEQUAL
public static final int BRACE
public static final int RELOP
public static final int OP
public static final int EOF
public static final int yyErrorCode
protected static final int yyFinal
protected static final java.lang.String[] yyName
protected int yyMax
protected static final short[] yyLhs
protected static final short[] yyLen
protected static final short[] yyDefRed
protected static final short[] yyDgoto
protected static final short[] yySindex
protected static final short[] yyRindex
protected static final short[] yyGindex
protected static final short[] yyTable
protected short[] yyCheck
Constructor Detail |
JavaParser()
Method Detail |
public void yyerror(java.lang.String message)
public void yyerror(java.lang.String message, java.lang.String[] expected)
message
- text to be displayed.expected
- Menge of acceptable tokens, if available.protected java.lang.String[] yyExpecting(int state)
state
- for which to compute the list.
public java.lang.Object yyparse(JavaParser.yyInput yyLex, java.lang.Object yydebug) throws java.io.IOException, JavaParser.yyException
yyLex
- scanner.yydebug
- debug message writer implementing yyDebug, or null.
JavaParser.yyException
- on irrecoverable parse error.
java.io.IOException
JavaParser.yyException
protected java.lang.Object yyDefault(java.lang.Object first)
first
- value for $1, or null.
public java.lang.Object yyparse(JavaParser.yyInput yyLex) throws java.io.IOException, JavaParser.yyException
yyLex
- scanner.
JavaParser.yyException
- on irrecoverable parse error.
java.io.IOException
JavaParser.yyException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |