Class DefaultJavaCommentParser
- java.lang.Object
-
- com.thoughtworks.qdox.parser.impl.DefaultJavaCommentParser
-
public class DefaultJavaCommentParser extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private Builder
builder
private int
column
private boolean
debugLexer
static short
JAVADOCEND
static short
JAVADOCLINE
static short
JAVADOCSTART
static short
JAVADOCTAG
private Lexer
lexer
private int
line
(package private) int
statemax
(package private) int
stateptr
(package private) int
stateptrmax
(package private) int[]
statestk
private java.lang.StringBuffer
textBuffer
(package private) int
valptr
(package private) DefaultJavaCommentParserVal[]
valstk
(package private) int
yychar
(package private) static short[]
yycheck
(package private) boolean
yydebug
(package private) static short[]
yydefred
(package private) static short[]
yydgoto
static short
YYERRCODE
(package private) int
yyerrflag
(package private) static short
YYFINAL
(package private) static short[]
yygindex
(package private) static short[]
yylen
(package private) static short[]
yylhs
(package private) DefaultJavaCommentParserVal
yylval
(package private) int
yym
(package private) static short
YYMAXTOKEN
(package private) int
yyn
(package private) static java.lang.String[]
yyname
(package private) int
yynerrs
(package private) static short[]
yyrindex
(package private) static java.lang.String[]
yyrule
(package private) java.lang.String
yys
(package private) static short[]
yysindex
(package private) static int
YYSTACKSIZE
(package private) int
yystate
(package private) static short[]
yytable
(package private) static int
YYTABLESIZE
(package private) java.lang.String
yytext
(package private) DefaultJavaCommentParserVal
yyval
-
Constructor Summary
Constructors Constructor Description DefaultJavaCommentParser(Lexer lexer, Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
appendToBuffer(java.lang.String word)
private java.lang.String
buffer()
(package private) void
debug(java.lang.String msg)
(package private) void
dump_stacks(int count)
(package private) DefaultJavaCommentParserVal
dup_yyval(DefaultJavaCommentParserVal val)
(package private) boolean
init_stacks()
boolean
parse()
void
setDebugLexer(boolean debug)
void
setDebugParser(boolean debug)
(package private) void
state_drop(int cnt)
(package private) int
state_peek(int relative)
(package private) int
state_pop()
(package private) void
state_push(int state)
(package private) void
val_drop(int cnt)
(package private) void
val_init()
(package private) DefaultJavaCommentParserVal
val_peek(int relative)
(package private) DefaultJavaCommentParserVal
val_pop()
(package private) void
val_push(DefaultJavaCommentParserVal val)
(package private) static void
yycheck()
private void
yyerror(java.lang.String msg)
private int
yylex()
(package private) void
yylexdebug(int state, int ch)
(package private) int
yyparse()
(package private) static void
yytable()
-
-
-
Field Detail
-
yydebug
boolean yydebug
-
yynerrs
int yynerrs
-
yyerrflag
int yyerrflag
-
yychar
int yychar
-
YYSTACKSIZE
static final int YYSTACKSIZE
- See Also:
- Constant Field Values
-
statestk
int[] statestk
-
stateptr
int stateptr
-
stateptrmax
int stateptrmax
-
statemax
int statemax
-
yytext
java.lang.String yytext
-
yyval
DefaultJavaCommentParserVal yyval
-
yylval
DefaultJavaCommentParserVal yylval
-
valstk
DefaultJavaCommentParserVal[] valstk
-
valptr
int valptr
-
JAVADOCSTART
public static final short JAVADOCSTART
- See Also:
- Constant Field Values
-
JAVADOCEND
public static final short JAVADOCEND
- See Also:
- Constant Field Values
-
JAVADOCTAG
public static final short JAVADOCTAG
- See Also:
- Constant Field Values
-
JAVADOCLINE
public static final short JAVADOCLINE
- See Also:
- Constant Field Values
-
YYERRCODE
public static final short YYERRCODE
- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
yytable
static short[] yytable
-
yycheck
static short[] yycheck
-
YYFINAL
static final short YYFINAL
- See Also:
- Constant Field Values
-
YYMAXTOKEN
static final short YYMAXTOKEN
- See Also:
- Constant Field Values
-
yyname
static final java.lang.String[] yyname
-
yyrule
static final java.lang.String[] yyrule
-
lexer
private Lexer lexer
-
builder
private Builder builder
-
line
private int line
-
column
private int column
-
debugLexer
private boolean debugLexer
-
textBuffer
private java.lang.StringBuffer textBuffer
-
yyn
int yyn
-
yym
int yym
-
yystate
int yystate
-
yys
java.lang.String yys
-
-
Method Detail
-
debug
void debug(java.lang.String msg)
-
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
void val_init()
-
val_push
void val_push(DefaultJavaCommentParserVal val)
-
val_pop
DefaultJavaCommentParserVal val_pop()
-
val_drop
void val_drop(int cnt)
-
val_peek
DefaultJavaCommentParserVal val_peek(int relative)
-
dup_yyval
final DefaultJavaCommentParserVal dup_yyval(DefaultJavaCommentParserVal val)
-
yytable
static void yytable()
-
yycheck
static void yycheck()
-
setDebugParser
public void setDebugParser(boolean debug)
-
setDebugLexer
public void setDebugLexer(boolean debug)
-
appendToBuffer
private void appendToBuffer(java.lang.String word)
-
buffer
private java.lang.String buffer()
-
parse
public boolean parse()
-
yylex
private int yylex()
-
yyerror
private void yyerror(java.lang.String msg)
-
yylexdebug
void yylexdebug(int state, int ch)
-
yyparse
int yyparse()
-
-