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 Builderbuilderprivate intcolumnprivate booleandebugLexerstatic shortJAVADOCENDstatic shortJAVADOCLINEstatic shortJAVADOCSTARTstatic shortJAVADOCTAGprivate Lexerlexerprivate intline(package private) intstatemax(package private) intstateptr(package private) intstateptrmax(package private) int[]statestkprivate java.lang.StringBuffertextBuffer(package private) intvalptr(package private) DefaultJavaCommentParserVal[]valstk(package private) intyychar(package private) static short[]yycheck(package private) booleanyydebug(package private) static short[]yydefred(package private) static short[]yydgotostatic shortYYERRCODE(package private) intyyerrflag(package private) static shortYYFINAL(package private) static short[]yygindex(package private) static short[]yylen(package private) static short[]yylhs(package private) DefaultJavaCommentParserValyylval(package private) intyym(package private) static shortYYMAXTOKEN(package private) intyyn(package private) static java.lang.String[]yyname(package private) intyynerrs(package private) static short[]yyrindex(package private) static java.lang.String[]yyrule(package private) java.lang.Stringyys(package private) static short[]yysindex(package private) static intYYSTACKSIZE(package private) intyystate(package private) static short[]yytable(package private) static intYYTABLESIZE(package private) java.lang.Stringyytext(package private) DefaultJavaCommentParserValyyval
-
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 voidappendToBuffer(java.lang.String word)private java.lang.Stringbuffer()(package private) voiddebug(java.lang.String msg)(package private) voiddump_stacks(int count)(package private) DefaultJavaCommentParserValdup_yyval(DefaultJavaCommentParserVal val)(package private) booleaninit_stacks()booleanparse()voidsetDebugLexer(boolean debug)voidsetDebugParser(boolean debug)(package private) voidstate_drop(int cnt)(package private) intstate_peek(int relative)(package private) intstate_pop()(package private) voidstate_push(int state)(package private) voidval_drop(int cnt)(package private) voidval_init()(package private) DefaultJavaCommentParserValval_peek(int relative)(package private) DefaultJavaCommentParserValval_pop()(package private) voidval_push(DefaultJavaCommentParserVal val)(package private) static voidyycheck()private voidyyerror(java.lang.String msg)private intyylex()(package private) voidyylexdebug(int state, int ch)(package private) intyyparse()(package private) static voidyytable()
-
-
-
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()
-
-