Package jtb.syntaxtree
Class NodeToken
- Object
-
- NodeToken
-
- All Implemented Interfaces:
Serializable
,Node
public class NodeToken extends Object implements Node
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
beginColumn
int
beginLine
int
endColumn
int
endLine
int
kind
Vector<NodeToken>
specialTokens
String
tokenImage
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(GJNoArguVisitor<R> v)
<R,A>
Raccept(GJVisitor<R,A> v, A argu)
<A> void
accept(GJVoidVisitor<A> v, A argu)
void
accept(Visitor v)
void
addSpecial(NodeToken s)
Node
getParent()
NodeToken
getSpecialAt(int i)
int
numSpecials()
void
setParent(Node n)
String
toString()
void
trimSpecials()
String
withSpecials()
-
-
-
Field Detail
-
tokenImage
public String tokenImage
-
specialTokens
public Vector<NodeToken> specialTokens
-
beginLine
public int beginLine
-
beginColumn
public int beginColumn
-
endLine
public int endLine
-
endColumn
public int endColumn
-
kind
public int kind
-
-
Method Detail
-
getSpecialAt
public NodeToken getSpecialAt(int i)
-
numSpecials
public int numSpecials()
-
addSpecial
public void addSpecial(NodeToken s)
-
trimSpecials
public void trimSpecials()
-
withSpecials
public String withSpecials()
-
accept
public <R> R accept(GJNoArguVisitor<R> v)
-
accept
public <A> void accept(GJVoidVisitor<A> v, A argu)
-
-