pt.compiler.parser.ast
Class Node
java.lang.Object
pt.compiler.parser.ast.Node
- Direct Known Subclasses:
- BodyDeclaration, CatchClause, Comment, CompilationUnit, Expression, ImportDeclaration, MemberValuePair, PackageDeclaration, Parameter, Statement, Type, TypeParameter, VariableDeclarator, VariableDeclaratorId
public abstract class Node
- extends java.lang.Object
- Author:
- Julio Vilmar Gesser
Constructor Summary |
Node(int line,
int column)
Deprecated. |
Node(int beginLine,
int beginColumn,
int endLine,
int endColumn)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Node
@Deprecated
public Node(int line,
int column)
- Deprecated.
Node
public Node(int beginLine,
int beginColumn,
int endLine,
int endColumn)
getData
public java.lang.Object getData()
- Use this to retrieve additional information associated to this node.
setData
public void setData(java.lang.Object data)
- Use this to store additional information to this node.
getBeginLine
public final int getBeginLine()
getBeginColumn
public final int getBeginColumn()
getEndLine
public final int getEndLine()
getEndColumn
public final int getEndColumn()
accept
public <A> void accept(VoidVisitor<A> v,
A arg)
accept
public <R,A> R accept(GenericVisitor<R,A> v,
A arg)
toString
public final java.lang.String toString()
- Overrides:
toString
in class java.lang.Object