JavaDoq 1.0 API

com.javadoq.jjtree
Class ASTGrammar

java.lang.Object
  extended by com.javadoq.jjtree.SimpleNode
      extended by com.javadoq.jjtree.ASTNode
          extended by com.javadoq.jjtree.ASTGrammar
All Implemented Interfaces:
Node

public class ASTGrammar
extends ASTNode

JJTree node for grammar.

Author:
J.J.Liu (Jianjun Liu) at http://www.javadoq.com

Field Summary
 
Fields inherited from class com.javadoq.jjtree.ASTNode
firstToken, lastToken
 
Fields inherited from class com.javadoq.jjtree.SimpleNode
children, id, parent, parser, value
 
Constructor Summary
ASTGrammar(int i)
          Constructs a ASTGrammar without a JJTreeParser.
ASTGrammar(JJTreeParser p, int i)
          Constructs a ASTGrammar with a JJTreeParser.
 
Method Summary
 
Methods inherited from class com.javadoq.jjtree.SimpleNode
childrenAccept, dump, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTGrammar

public ASTGrammar(int i)

Constructs a ASTGrammar without a JJTreeParser.

Parameters:
i - The id.
Since:
1.0

ASTGrammar

public ASTGrammar(JJTreeParser p,
                  int i)

Constructs a ASTGrammar with a JJTreeParser.

Parameters:
p - The JJTreeParser
i - The id.
Since:
1.0

JavaDoq 1.0 API

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