|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxtc.tree.Node
xtc.tree.Token
xtc.tree.TextToken
public class TextToken
A token with an explicit text.
| Constructor Summary | |
|---|---|
TextToken(java.lang.String text)
Create a new text token. |
|
| Method Summary | |
|---|---|
java.lang.String |
getTokenText()
Treat this node as a token and get its text. |
| Methods inherited from class xtc.tree.Token |
|---|
cast, get, hasTraversal, isToken, set, size, test, toToken |
| Methods inherited from class xtc.tree.Node |
|---|
add, add, addAll, addAll, addAll, addAll, addAllTo, addNode, contains, getBoolean, getBooleanProperty, getGeneric, getList, getLocation, getName, getNode, getProperty, getString, getStringProperty, hasLocation, hasName, hasProperty, hasVariable, indexOf, isAnnotation, isEmpty, isGeneric, isList, iterator, lastIndexOf, properties, remove, removeProperty, setLocation, setLocation, setProperty, strip, toAnnotation, toList, toString, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextToken(java.lang.String text)
text - The text.| Method Detail |
|---|
public java.lang.String getTokenText()
Node
getTokenText in class TokenNode.strip()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||