de.hunsicker.jalopy.language.antlr
Class InternalJavadocParser

java.lang.Object
  extended by antlr.Parser
      extended by antlr.LLkParser
          extended by de.hunsicker.jalopy.language.antlr.InternalJavadocParser
All Implemented Interfaces:
JavadocTokenTypes
Direct Known Subclasses:
JavadocParser

public abstract class InternalJavadocParser
extends antlr.LLkParser
implements JavadocTokenTypes

Parser for Javadoc comments.

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.

Version:
1.0
Author:
Marco Hunsicker
See Also:
JavadocLexer, Recognizer

Field Summary
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_10
           
static antlr.collections.impl.BitSet _tokenSet_11
           
static antlr.collections.impl.BitSet _tokenSet_12
           
static antlr.collections.impl.BitSet _tokenSet_13
           
static antlr.collections.impl.BitSet _tokenSet_14
           
static antlr.collections.impl.BitSet _tokenSet_15
           
static antlr.collections.impl.BitSet _tokenSet_16
           
static antlr.collections.impl.BitSet _tokenSet_17
           
static antlr.collections.impl.BitSet _tokenSet_18
           
static antlr.collections.impl.BitSet _tokenSet_19
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_3
           
static antlr.collections.impl.BitSet _tokenSet_4
           
static antlr.collections.impl.BitSet _tokenSet_5
           
static antlr.collections.impl.BitSet _tokenSet_6
           
static antlr.collections.impl.BitSet _tokenSet_7
           
static antlr.collections.impl.BitSet _tokenSet_8
           
static antlr.collections.impl.BitSet _tokenSet_9
           
protected static java.lang.String TYPE_INLINE
          Indicates an inline Javadoc tag.
protected static java.lang.String TYPE_STANDARD
          Indicates a standard Javadoc tag.
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface de.hunsicker.jalopy.language.antlr.JavadocTokenTypes
AT, ATTR, BR, C_TH_OR_TD, C_TR, CACRO, CADDRESS, CANCHOR, CBIG, CBOLD, CBQUOTE, CCAP, CCENTER, CCITE, CCODE, CDDEF, CDFN, CDIR, CDIR_OR_CDIV, CDIV, CDLIST, CDTERM, CEM, CFONT, CH1, CH2, CH3, CH4, CH5, CH6, CITALIC, CKBD, CLITEM, COLIST, COMMENT, COMMENT_DATA, CPARA, CSAMP, CSMALL, CSTRIKE, CSTRIKE_OR_CSTRONG, CSTRONG, CSUB, CSUB_OR_CSUP, CSUP, CTABLE, CTD, CTH, CTTYPE, CULIST, CUNDER, CVAR, DIGIT, EMAILSTART, EOF, HEXDIGIT, HEXINT, HEXNUM, HR, IMG, INT, JAVADOC_CLOSE, JAVADOC_COMMENT, JAVADOC_OPEN, LCLETTER, LCURLY, NEWLINE, NULL_TREE_LOOKAHEAD, O_TH_OR_TD, O_TR, OACRO, OADDRESS, OANCHOR, OBIG, OBOLD, OBQUOTE, OCAP, OCENTER, OCITE, OCODE, ODDEF, ODFN, ODIR, ODIV, ODLIST, ODTERM, OEM, OFONT, OH1, OH2, OH3, OH4, OH5, OH6, OITALIC, OKBD, OLITEM, OOLIST, OPARA, OSAMP, OSMALL, OSTRIKE, OSTRIKE_OR_OSTRONG, OSTRONG, OSUB, OSUP, OTABLE, OTD, OTH, OTTYPE, OULIST, OUNDER, OVAR, PCDATA, PRE, RCURLY, SPECIAL, STAR, STRING, TAG, TAG_AUTHOR, TAG_CUSTOM, TAG_DEPRECATED, TAG_EXCEPTION, TAG_INLINE_CUSTOM, TAG_INLINE_DOCROOT, TAG_INLINE_INHERITDOC, TAG_INLINE_LINK, TAG_INLINE_LINKPLAIN, TAG_INLINE_VALUE, TAG_OR_AT, TAG_PARAM, TAG_RETURN, TAG_SEE, TAG_SERIAL, TAG_SERIAL_DATA, TAG_SERIAL_FIELD, TAG_SINCE, TAG_THROWS, TAG_TODO, TAG_VERSION, TYPEDCLASS, WORD, WS
 
Constructor Summary
  InternalJavadocParser(antlr.ParserSharedInputState state)
           
  InternalJavadocParser(antlr.TokenBuffer tokenBuf)
           
protected InternalJavadocParser(antlr.TokenBuffer tokenBuf, int k)
           
  InternalJavadocParser(antlr.TokenStream lexer)
           
protected InternalJavadocParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 void acronym()
           
 void address()
           
 void anchor_content()
           
 void anchor()
           
 void big()
           
 void block()
           
 void blockquote()
           
 void body_content()
           
 void body_tag()
           
 void bold()
           
protected  void buildTokenTypeASTClassMap()
           
 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()
           
 void h1()
           
 void h2()
           
 void h3()
           
 void h4()
           
 void h5()
           
 void h6()
           
protected abstract  void handleRecoverableError(antlr.RecognitionException ex)
          Abstracted out to heading
 void heading_content()
           
 void heading()
           
 void inline_tag()
           
 void internalParse()
           
 void italic()
           
 void keyboard()
           
 void list_item()
           
 void list()
           
 void ordered_list()
           
 void paragraph()
           
 void phrase()
           
 void preformatted()
           
 void recover(antlr.RecognitionException ex, antlr.collections.impl.BitSet set)
          To satisfy antlr
 void sample()
           
protected abstract  void setTagType(antlr.collections.AST tag, java.lang.String type)
           
 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 typedclass()
           
 void underline()
           
 void unordered_list()
           
 void variable()
           
 
Methods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOut
 
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_INLINE

protected static final java.lang.String TYPE_INLINE
Indicates an inline Javadoc tag.

See Also:
Constant Field Values

TYPE_STANDARD

protected static final java.lang.String TYPE_STANDARD
Indicates a standard Javadoc tag.

See Also:
Constant Field Values

_tokenNames

public static final java.lang.String[] _tokenNames

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2

_tokenSet_3

public static final antlr.collections.impl.BitSet _tokenSet_3

_tokenSet_4

public static final antlr.collections.impl.BitSet _tokenSet_4

_tokenSet_5

public static final antlr.collections.impl.BitSet _tokenSet_5

_tokenSet_6

public static final antlr.collections.impl.BitSet _tokenSet_6

_tokenSet_7

public static final antlr.collections.impl.BitSet _tokenSet_7

_tokenSet_8

public static final antlr.collections.impl.BitSet _tokenSet_8

_tokenSet_9

public static final antlr.collections.impl.BitSet _tokenSet_9

_tokenSet_10

public static final antlr.collections.impl.BitSet _tokenSet_10

_tokenSet_11

public static final antlr.collections.impl.BitSet _tokenSet_11

_tokenSet_12

public static final antlr.collections.impl.BitSet _tokenSet_12

_tokenSet_13

public static final antlr.collections.impl.BitSet _tokenSet_13

_tokenSet_14

public static final antlr.collections.impl.BitSet _tokenSet_14

_tokenSet_15

public static final antlr.collections.impl.BitSet _tokenSet_15

_tokenSet_16

public static final antlr.collections.impl.BitSet _tokenSet_16

_tokenSet_17

public static final antlr.collections.impl.BitSet _tokenSet_17

_tokenSet_18

public static final antlr.collections.impl.BitSet _tokenSet_18

_tokenSet_19

public static final antlr.collections.impl.BitSet _tokenSet_19
Constructor Detail

InternalJavadocParser

protected InternalJavadocParser(antlr.TokenBuffer tokenBuf,
                                int k)

InternalJavadocParser

public InternalJavadocParser(antlr.TokenBuffer tokenBuf)

InternalJavadocParser

protected InternalJavadocParser(antlr.TokenStream lexer,
                                int k)

InternalJavadocParser

public InternalJavadocParser(antlr.TokenStream lexer)

InternalJavadocParser

public InternalJavadocParser(antlr.ParserSharedInputState state)
Method Detail

handleRecoverableError

protected abstract void handleRecoverableError(antlr.RecognitionException ex)
Abstracted out to heading

Parameters:
ex -

setTagType

protected abstract void setTagType(antlr.collections.AST tag,
                                   java.lang.String type)

recover

public void recover(antlr.RecognitionException ex,
                    antlr.collections.impl.BitSet set)
To satisfy antlr

Overrides:
recover in class antlr.Parser
Parameters:
ex -
set -

internalParse

public final void internalParse()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

body_content

public final void body_content()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

standard_tag

public final void standard_tag()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

body_tag

public final void body_tag()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

text

public final void text()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

block

public final void block()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

address

public final void address()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

heading

public final void heading()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

h1

public final void h1()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

h2

public final void h2()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

h3

public final void h3()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

h4

public final void h4()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

h5

public final void h5()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

h6

public final void h6()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

paragraph

public final void paragraph()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

list

public final void list()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

preformatted

public final void preformatted()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

div

public final void div()
               throws antlr.RecognitionException,
                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

center

public final void center()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

blockquote

public final void blockquote()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

table

public final void table()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

font

public final void font()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

teletype

public final void teletype()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

italic

public final void italic()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

bold

public final void bold()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

underline

public final void underline()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

strike

public final void strike()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

big

public final void big()
               throws antlr.RecognitionException,
                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

small

public final void small()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

subscript

public final void subscript()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

superscript

public final void superscript()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

phrase

public final void phrase()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

emphasize

public final void emphasize()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

strong

public final void strong()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

definition

public final void definition()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

code

public final void code()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

sample

public final void sample()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

keyboard

public final void keyboard()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

variable

public final void variable()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

citation

public final void citation()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

acronym

public final void acronym()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

special

public final void special()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

anchor

public final void anchor()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

font_dfn

public final void font_dfn()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

typedclass

public final void typedclass()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

text_tag

public final void text_tag()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

inline_tag

public final void inline_tag()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

heading_content

public final void heading_content()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

unordered_list

public final void unordered_list()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

ordered_list

public final void ordered_list()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

def_list

public final void def_list()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

list_item

public final void list_item()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

def_list_item

public final void def_list_item()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

dt

public final void dt()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

dd

public final void dd()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

dir

public final void dir()
               throws antlr.RecognitionException,
                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

caption

public final void caption()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

tr

public final void tr()
              throws antlr.RecognitionException,
                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

th_or_td

public final void th_or_td()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

anchor_content

public final void anchor_content()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

buildTokenTypeASTClassMap

protected void buildTokenTypeASTClassMap()


Copyright © 1997-2009 Jalopy. All Rights Reserved.