Class Parser
java.lang.Object
com.thoughtworks.qdox.parser.impl.Parser
- All Implemented Interfaces:
CommentHandler
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final short
static final short
static final short
static final short
static final short
static final short
static final short
private LinkedList<AnnoDef>
private List<ElemValueDef>
private List<List<ElemValueDef>>
static final short
static final short
static final short
static final short
static final short
private Builder
static final short
static final short
static final short
static final short
static final short
static final short
private ClassDef
static final short
static final short
static final short
private int
static final short
private boolean
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
private ModuleDef.ExportsDef
static final short
static final short
private FieldDef
private TypeDef
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
private JavaLexer
private int
static final short
static final short
static final short
static final short
static final short
private MethodDef
static final short
static final short
static final short
static final short
static final short
private ModuleDef.OpensDef
static final short
private FieldDef
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
private ModuleDef.ProvidesDef
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
static final short
(package private) int
(package private) int
(package private) int
(package private) int[]
static final short
static final short
static final short
static final short
static final short
private StringBuilder
static final short
static final short
static final short
static final short
static final short
private List<TypeVariableDef>
private TypeVariableDef
static final short
(package private) int
(package private) Parser.Value[]
static final short
static final short
static final short
static final short
static final short
static final short
(package private) int
(package private) static short[]
(package private) boolean
(package private) static final short[]
(package private) static final short[]
static final short
(package private) int
(package private) static final short
(package private) static final short[]
(package private) static final short[]
(package private) static final short[]
(package private) Parser.Value
(package private) int
(package private) static final short
(package private) int
(package private) static final String[]
(package private) int
(package private) static final short[]
(package private) static final String[]
(package private) String
(package private) static final short[]
(package private) static final int
(package private) int
(package private) static short[]
(package private) static final int
(package private) String
(package private) Parser.Value
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
appendToBuffer
(String word) private String
buffer()
(package private) void
(package private) void
dump_stacks
(int count) (package private) final Parser.Value
dup_yyval
(Parser.Value val) (package private) final boolean
private void
void
Called if the parser hits a commentboolean
parse()
Parse file.void
setDebugLexer
(boolean debug) void
setDebugParser
(boolean debug) (package private) final void
state_drop
(int cnt) (package private) final int
state_peek
(int relative) (package private) final int
(package private) final void
state_push
(int state) (package private) final void
val_drop
(int cnt) (package private) final void
val_init()
(package private) final Parser.Value
val_peek
(int relative) (package private) final Parser.Value
val_pop()
(package private) final void
val_push
(Parser.Value val) (package private) static void
yycheck()
private void
private int
yylex()
(package private) void
yylexdebug
(int state, int ch) (package private) int
yyparse()
(package private) static void
yytable()
-
Field Details
-
yydebug
boolean yydebug -
yynerrs
int yynerrs -
yyerrflag
int yyerrflag -
yychar
int yychar -
YYSTACKSIZE
static final int YYSTACKSIZE- See Also:
-
statestk
int[] statestk -
stateptr
int stateptr -
stateptrmax
int stateptrmax -
statemax
int statemax -
yytext
String yytext -
yyval
Parser.Value yyval -
yylval
Parser.Value yylval -
valstk
Parser.Value[] valstk -
valptr
int valptr -
SEMI
public static final short SEMI- See Also:
-
DOT
public static final short DOT- See Also:
-
DOTDOTDOT
public static final short DOTDOTDOT- See Also:
-
COMMA
public static final short COMMA- See Also:
-
STAR
public static final short STAR- See Also:
-
PERCENT
public static final short PERCENT- See Also:
-
EQUALS
public static final short EQUALS- See Also:
-
ANNOSTRING
public static final short ANNOSTRING- See Also:
-
ANNOCHAR
public static final short ANNOCHAR- See Also:
-
SLASH
public static final short SLASH- See Also:
-
PLUS
public static final short PLUS- See Also:
-
MINUS
public static final short MINUS- See Also:
-
STAREQUALS
public static final short STAREQUALS- See Also:
-
SLASHEQUALS
public static final short SLASHEQUALS- See Also:
-
PERCENTEQUALS
public static final short PERCENTEQUALS- See Also:
-
PLUSEQUALS
public static final short PLUSEQUALS- See Also:
-
MINUSEQUALS
public static final short MINUSEQUALS- See Also:
-
LESSTHAN2EQUALS
public static final short LESSTHAN2EQUALS- See Also:
-
GREATERTHAN2EQUALS
public static final short GREATERTHAN2EQUALS- See Also:
-
GREATERTHAN3EQUALS
public static final short GREATERTHAN3EQUALS- See Also:
-
AMPERSANDEQUALS
public static final short AMPERSANDEQUALS- See Also:
-
CIRCUMFLEXEQUALS
public static final short CIRCUMFLEXEQUALS- See Also:
-
VERTLINEEQUALS
public static final short VERTLINEEQUALS- See Also:
-
PACKAGE
public static final short PACKAGE- See Also:
-
IMPORT
public static final short IMPORT- See Also:
-
PUBLIC
public static final short PUBLIC- See Also:
-
PROTECTED
public static final short PROTECTED- See Also:
-
PRIVATE
public static final short PRIVATE- See Also:
-
STATIC
public static final short STATIC- See Also:
-
FINAL
public static final short FINAL- See Also:
-
ABSTRACT
public static final short ABSTRACT- See Also:
-
NATIVE
public static final short NATIVE- See Also:
-
STRICTFP
public static final short STRICTFP- See Also:
-
SYNCHRONIZED
public static final short SYNCHRONIZED- See Also:
-
TRANSIENT
public static final short TRANSIENT- See Also:
-
VOLATILE
public static final short VOLATILE- See Also:
-
DEFAULT
public static final short DEFAULT- See Also:
-
OPEN
public static final short OPEN- See Also:
-
MODULE
public static final short MODULE- See Also:
-
REQUIRES
public static final short REQUIRES- See Also:
-
TRANSITIVE
public static final short TRANSITIVE- See Also:
-
EXPORTS
public static final short EXPORTS- See Also:
-
OPENS
public static final short OPENS- See Also:
-
TO
public static final short TO- See Also:
-
USES
public static final short USES- See Also:
-
PROVIDES
public static final short PROVIDES- See Also:
-
WITH
public static final short WITH- See Also:
-
CLASS
public static final short CLASS- See Also:
-
INTERFACE
public static final short INTERFACE- See Also:
-
ENUM
public static final short ENUM- See Also:
-
ANNOINTERFACE
public static final short ANNOINTERFACE- See Also:
-
THROWS
public static final short THROWS- See Also:
-
EXTENDS
public static final short EXTENDS- See Also:
-
IMPLEMENTS
public static final short IMPLEMENTS- See Also:
-
SUPER
public static final short SUPER- See Also:
-
NEW
public static final short NEW- See Also:
-
BRACEOPEN
public static final short BRACEOPEN- See Also:
-
BRACECLOSE
public static final short BRACECLOSE- See Also:
-
SQUAREOPEN
public static final short SQUAREOPEN- See Also:
-
SQUARECLOSE
public static final short SQUARECLOSE- See Also:
-
PARENOPEN
public static final short PARENOPEN- See Also:
-
PARENCLOSE
public static final short PARENCLOSE- See Also:
-
LESSTHAN
public static final short LESSTHAN- See Also:
-
GREATERTHAN
public static final short GREATERTHAN- See Also:
-
LESSEQUALS
public static final short LESSEQUALS- See Also:
-
GREATEREQUALS
public static final short GREATEREQUALS- See Also:
-
LESSTHAN2
public static final short LESSTHAN2- See Also:
-
GREATERTHAN2
public static final short GREATERTHAN2- See Also:
-
GREATERTHAN3
public static final short GREATERTHAN3- See Also:
-
EXCLAMATION
public static final short EXCLAMATION- See Also:
-
AMPERSAND2
public static final short AMPERSAND2- See Also:
-
VERTLINE2
public static final short VERTLINE2- See Also:
-
EQUALS2
public static final short EQUALS2- See Also:
-
NOTEQUALS
public static final short NOTEQUALS- See Also:
-
TILDE
public static final short TILDE- See Also:
-
AMPERSAND
public static final short AMPERSAND- See Also:
-
VERTLINE
public static final short VERTLINE- See Also:
-
CIRCUMFLEX
public static final short CIRCUMFLEX- See Also:
-
VOID
public static final short VOID- See Also:
-
QUERY
public static final short QUERY- See Also:
-
COLON
public static final short COLON- See Also:
-
COLONCOLON
public static final short COLONCOLON- See Also:
-
AT
public static final short AT- See Also:
-
CODEBLOCK
public static final short CODEBLOCK- See Also:
-
PARENBLOCK
public static final short PARENBLOCK- See Also:
-
BYTE
public static final short BYTE- See Also:
-
SHORT
public static final short SHORT- See Also:
-
INT
public static final short INT- See Also:
-
LONG
public static final short LONG- See Also:
-
CHAR
public static final short CHAR- See Also:
-
FLOAT
public static final short FLOAT- See Also:
-
DOUBLE
public static final short DOUBLE- See Also:
-
BOOLEAN
public static final short BOOLEAN- See Also:
-
IDENTIFIER
public static final short IDENTIFIER- See Also:
-
BOOLEAN_LITERAL
public static final short BOOLEAN_LITERAL- See Also:
-
INTEGER_LITERAL
public static final short INTEGER_LITERAL- See Also:
-
FLOAT_LITERAL
public static final short FLOAT_LITERAL- See Also:
-
CHAR_LITERAL
public static final short CHAR_LITERAL- See Also:
-
STRING_LITERAL
public static final short STRING_LITERAL- See Also:
-
PLUSPLUS
public static final short PLUSPLUS- See Also:
-
MINUSMINUS
public static final short MINUSMINUS- See Also:
-
YYERRCODE
public static final short YYERRCODE- See Also:
-
yylhs
static final short[] yylhs -
yylen
static final short[] yylen -
yydefred
static final short[] yydefred -
yydgoto
static final short[] yydgoto -
yysindex
static final short[] yysindex -
yyrindex
static final short[] yyrindex -
yygindex
static final short[] yygindex -
YYTABLESIZE
static final int YYTABLESIZE- See Also:
-
yytable
static short[] yytable -
yycheck
static short[] yycheck -
YYFINAL
static final short YYFINAL- See Also:
-
YYMAXTOKEN
static final short YYMAXTOKEN- See Also:
-
yyname
-
yyrule
-
lexer
-
builder
-
textBuffer
-
cls
-
mth
-
fd
-
exp
-
opn
-
prv
-
moduleTargets
-
typeParams
-
annotationStack
-
annoValueListStack
-
annoValueList
-
param
-
modifiers
-
fieldType
-
typeVariable
-
typeStack
-
typeList
-
line
private int line -
column
private int column -
debugLexer
private boolean debugLexer -
yyn
int yyn -
yym
int yym -
yystate
int yystate -
yys
String yys
-
-
Constructor Details
-
Parser
-
-
Method Details
-
debug
-
state_push
final void state_push(int state) -
state_pop
final int state_pop() -
state_drop
final void state_drop(int cnt) -
state_peek
final int state_peek(int relative) -
init_stacks
final boolean init_stacks() -
dump_stacks
void dump_stacks(int count) -
val_init
final void val_init() -
val_push
-
val_pop
-
val_drop
final void val_drop(int cnt) -
val_peek
-
dup_yyval
-
yytable
static void yytable() -
yycheck
static void yycheck() -
appendToBuffer
-
buffer
-
setDebugParser
public void setDebugParser(boolean debug) -
setDebugLexer
public void setDebugLexer(boolean debug) -
parse
public boolean parse()Parse file. Return true if successful. -
yylex
private int yylex() -
yyerror
-
makeField
-
onComment
Description copied from interface:CommentHandler
Called if the parser hits a comment- Specified by:
onComment
in interfaceCommentHandler
- Parameters:
comment
- the commentline
- the line numbercolumn
- the column number
-
yylexdebug
void yylexdebug(int state, int ch) -
yyparse
int yyparse()
-