JavaDoq 1.0 API

com.javadoq.javadoc
Class JavadocParser

java.lang.Object
  extended by com.javadoq.javadoc.JavadocParser
All Implemented Interfaces:
JavadocParserConstants, JavadocParserTreeConstants

public class JavadocParser
extends java.lang.Object
implements JavadocParserTreeConstants, JavadocParserConstants


Field Summary
 Token jj_nt
          Next token.
protected  JJTJavadocParserState jjtree
           
 Token token
          Current token.
 JavadocParserTokenManager token_source
          Generated Token Manager.
 
Fields inherited from interface com.javadoq.javadoc.JavadocParserTreeConstants
JJTCOMPILATIONUNIT, jjtNodeName, JJTVOID
 
Fields inherited from interface com.javadoq.javadoc.JavadocParserConstants
ANCHOR, ANCHOR_CLOSE, ANCHOR_START, COMMENT, DEFAULT, EOF, IN_ANCHOR_START, IN_LINK_START, IN_SEE_START, LINK, LINK_CLOSE, LINK_START, SEE, SEE_CLOSE, SEE_START, SPACE, tokenImage, WS
 
Constructor Summary
JavadocParser(java.io.InputStream stream)
          Constructor with InputStream.
JavadocParser(java.io.InputStream stream, java.lang.String encoding)
          Constructor with InputStream and supplied encoding
JavadocParser(JavadocParserTokenManager tm)
          Constructor with generated Token Manager.
JavadocParser(java.io.Reader stream)
          Constructor.
 
Method Summary
 void Anchor()
           
 ASTCompilationUnit CompilationUnit()
           
 void disable_tracing()
          Disable tracing.
 void enable_tracing()
          Enable tracing.
 ParseException generateParseException()
          Generate ParseException.
 Token getNextToken()
          Get the next Token.
 Token getToken(int index)
          Get the specific Token.
 void Link()
           
 void ReInit(java.io.InputStream stream)
          Reinitialise.
 void ReInit(java.io.InputStream stream, java.lang.String encoding)
          Reinitialise.
 void ReInit(JavadocParserTokenManager tm)
          Reinitialise.
 void ReInit(java.io.Reader stream)
          Reinitialise.
 void See()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jjtree

protected JJTJavadocParserState jjtree

token_source

public JavadocParserTokenManager token_source
Generated Token Manager.


token

public Token token
Current token.


jj_nt

public Token jj_nt
Next token.

Constructor Detail

JavadocParser

public JavadocParser(java.io.InputStream stream)
Constructor with InputStream.


JavadocParser

public JavadocParser(java.io.InputStream stream,
                     java.lang.String encoding)
Constructor with InputStream and supplied encoding


JavadocParser

public JavadocParser(java.io.Reader stream)
Constructor.


JavadocParser

public JavadocParser(JavadocParserTokenManager tm)
Constructor with generated Token Manager.

Method Detail

CompilationUnit

public final ASTCompilationUnit CompilationUnit()
                                         throws ParseException
Throws:
ParseException

Link

public final void Link()
                throws ParseException
Throws:
ParseException

See

public final void See()
               throws ParseException
Throws:
ParseException

Anchor

public final void Anchor()
                  throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)
Reinitialise.


ReInit

public void ReInit(java.io.InputStream stream,
                   java.lang.String encoding)
Reinitialise.


ReInit

public void ReInit(java.io.Reader stream)
Reinitialise.


ReInit

public void ReInit(JavadocParserTokenManager tm)
Reinitialise.


getNextToken

public final Token getNextToken()
Get the next Token.


getToken

public final Token getToken(int index)
Get the specific Token.


generateParseException

public ParseException generateParseException()
Generate ParseException.


enable_tracing

public final void enable_tracing()
Enable tracing.


disable_tracing

public final void disable_tracing()
Disable tracing.


JavaDoq 1.0 API

Copyright © 2008-2011 J.J.Liu (www.javadoq.com). All Rights Reserved.