xrel.parser
Class ASTTypeDecl

java.lang.Object
  |
  +--xrel.parser.SimpleNode
        |
        +--xrel.parser.ASTTypeDecl
All Implemented Interfaces:
java.lang.Cloneable, Node

public class ASTTypeDecl
extends SimpleNode


Fields inherited from class xrel.parser.SimpleNode
children, first, id, last, parent, parser, Vars
 
Constructor Summary
ASTTypeDecl(int id)
           
ASTTypeDecl(XRelParser p, int id)
           
 
Method Summary
 SymElement getElement()
           
 java.lang.String getIdentifier()
           
 Token getIdToken()
           
 int getScope()
           
 java.lang.Object jjtAccept(XRelParserVisitor visitor, java.lang.Object data)
          Accept the visitor.
 void setElement(SymElement el)
           
 void setName(int Scope, java.lang.String n, Token tk)
           
 java.lang.String toString()
          Returns a string representation of the node.
 
Methods inherited from class xrel.parser.SimpleNode
annotateValue, bindAll, childrenAccept, clone, dumpIntFlat, dumpIntTree, eraseAnnotations, eraseSubtreeAnnotations, exportExpression, getFirstToken, getLastToken, getPattern, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtmAddChildExt, jjtmCloneSubtree, jjtmMoveChildren, jjtmSearchChild, jjtmSetTokens, jjtOpen, jjtSetParent, searchTokenFrom, showAnnotations, toString, writeExpression, writePattern
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTTypeDecl

public ASTTypeDecl(int id)

ASTTypeDecl

public ASTTypeDecl(XRelParser p,
                   int id)
Method Detail

jjtAccept

public java.lang.Object jjtAccept(XRelParserVisitor visitor,
                                  java.lang.Object data)
Accept the visitor.
Overrides:
jjtAccept in class SimpleNode

setElement

public void setElement(SymElement el)

setName

public void setName(int Scope,
                    java.lang.String n,
                    Token tk)

getIdentifier

public java.lang.String getIdentifier()

getIdToken

public Token getIdToken()

getScope

public int getScope()

getElement

public SymElement getElement()

toString

public java.lang.String toString()
Description copied from class: SimpleNode
Returns a string representation of the node. You can override this method in subclasses of SimpleNode to customize the way the node appears when the tree is dumped. If your output uses more than one line you should override toString(String), otherwise overriding toString() is probably all you need to do.
Overrides:
toString in class SimpleNode
Following copied from class: xrel.parser.SimpleNode
Returns:
the string associated to the node
See Also:
Object.toString()