public final class JavadocParser extends de.hunsicker.antlr.LLkParser implements Parser
Sample Usage:
// an input source Reader in = new BufferedReader(new FileReader(new File(argv[0]))); // create a lexer Lexer lexer = new JavadocLexer(); // set up the lexer to read from the input source lexer.setInputBuffer(in); // get the corresponding parser Parser parser = lexer.getParser(); // and start the parsing process parser.parse();
This is an ANTLR automated generated
file. DO NOT EDIT but rather change the associated grammar
(java.doc.g
) and rebuild.
JavadocLexer
,
Recognizer
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
_tokenNames |
static Node |
EMPTY_JAVADOC_COMMENT
The empty Javadoc comment.
|
Modifier | Constructor and Description |
---|---|
|
JavadocParser(de.hunsicker.antlr.ParserSharedInputState state) |
|
JavadocParser(de.hunsicker.antlr.TokenBuffer tokenBuf) |
protected |
JavadocParser(de.hunsicker.antlr.TokenBuffer tokenBuf,
int k) |
|
JavadocParser(de.hunsicker.antlr.TokenStream lexer) |
protected |
JavadocParser(de.hunsicker.antlr.TokenStream lexer,
int k) |
Modifier and Type | Method and Description |
---|---|
void |
acronym() |
void |
address() |
void |
anchor_content() |
void |
anchor() |
void |
big() |
void |
block() |
void |
blockquote() |
void |
body_content() |
void |
body_tag() |
void |
bold() |
void |
caption() |
void |
center() |
void |
citation() |
void |
code() |
void |
dd() |
void |
def_list_item() |
void |
def_list() |
void |
definition() |
void |
dir() |
void |
div() |
void |
dt() |
void |
emphasize() |
void |
font_dfn() |
void |
font() |
de.hunsicker.antlr.collections.AST |
getParseTree()
Returns the root node of the generated parse tree.
|
void |
h1() |
void |
h2() |
void |
h3() |
void |
h4() |
void |
h5() |
void |
h6() |
void |
handleRecoverableError(de.hunsicker.antlr.RecognitionException ex)
Handler for recoverable errors.
|
void |
heading_content() |
void |
heading() |
void |
inline_tag() |
void |
italic() |
void |
keyboard() |
void |
list_item() |
void |
list() |
void |
ordered_list() |
void |
paragraph() |
void |
parse()
Start parsing.
|
void |
phrase() |
void |
preformatted() |
void |
reportError(de.hunsicker.antlr.RecognitionException ex)
Reports the given error.
|
void |
reportError(java.lang.String message)
Reports the given error.
|
void |
reportWarning(java.lang.String message)
Reports the given warning.
|
void |
reset()
Resets the parser.
|
void |
sample() |
void |
setCustomInlineTags(java.util.Collection tags)
Sets the custom Javadoc in-line tags to recognize.
|
void |
setCustomStandardTags(java.util.Collection tags)
Sets the custom Javadoc standard tags to recognize.
|
void |
setLexer(JavadocLexer lexer)
Sets the corresponding Javadoc lexer for the parser.
|
void |
small() |
void |
special() |
void |
standard_tag() |
void |
strike() |
void |
strong() |
void |
subscript() |
void |
superscript() |
void |
table() |
void |
teletype() |
void |
text_tag() |
void |
text() |
void |
th_or_td() |
void |
tr() |
void |
underline() |
void |
unordered_list() |
void |
variable() |
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getASTFactory, getFilename, getTokenNames, setASTFactory, setFilename, setTokenBuffer
public static final Node EMPTY_JAVADOC_COMMENT
public static final java.lang.String[] _tokenNames
protected JavadocParser(de.hunsicker.antlr.TokenBuffer tokenBuf, int k)
public JavadocParser(de.hunsicker.antlr.TokenBuffer tokenBuf)
protected JavadocParser(de.hunsicker.antlr.TokenStream lexer, int k)
public JavadocParser(de.hunsicker.antlr.TokenStream lexer)
public JavadocParser(de.hunsicker.antlr.ParserSharedInputState state)
public void setLexer(JavadocLexer lexer)
lexer
- corresponding Javadoc lexer.public void setCustomStandardTags(java.util.Collection tags)
tags
- tags.public void setCustomInlineTags(java.util.Collection tags)
tags
- tags.public de.hunsicker.antlr.collections.AST getParseTree()
Parser
getParseTree
in interface Parser
public void reportError(de.hunsicker.antlr.RecognitionException ex)
reportError
in class de.hunsicker.antlr.Parser
ex
- encountered exception.public void reportError(java.lang.String message)
reportError
in class de.hunsicker.antlr.Parser
message
- error message.public void reportWarning(java.lang.String message)
reportWarning
in class de.hunsicker.antlr.Parser
message
- warning message.public void handleRecoverableError(de.hunsicker.antlr.RecognitionException ex)
ex
- the input violation exception.public final void parse() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
Parser
public final void body_content() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void standard_tag() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void body_tag() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void text() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void block() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void address() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void heading() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void h1() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void h2() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void h3() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void h4() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void h5() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void h6() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void paragraph() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void list() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void preformatted() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void div() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void center() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void blockquote() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void table() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void font() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void teletype() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void italic() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void bold() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void underline() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void strike() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void big() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void small() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void subscript() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void superscript() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void phrase() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void emphasize() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void strong() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void definition() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void code() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void sample() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void keyboard() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void variable() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void citation() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void acronym() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void special() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void anchor() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void font_dfn() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void text_tag() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void inline_tag() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void heading_content() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void unordered_list() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void ordered_list() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void def_list() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void list_item() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void def_list_item() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void dt() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void dd() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void dir() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void caption() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void tr() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void th_or_td() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
public final void anchor_content() throws de.hunsicker.antlr.RecognitionException, de.hunsicker.antlr.TokenStreamException
de.hunsicker.antlr.RecognitionException
de.hunsicker.antlr.TokenStreamException
Submit a bug or feature.
For further information and documentation, visit the official Jalopy website.
This page generated: March 30 2013