| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
text |
| Constructor and Description |
|---|
Comment(java.lang.String text) |
Comment(Token token) |
| Modifier and Type | Method and Description |
|---|---|
Comment |
copy()
Simulate clone()
|
Comment |
createClone()
Simulate clone()
|
java.lang.String |
getText()
Get the text from the node
|
Comment |
setText(java.lang.String text)
Change the text of the node.
|
public Comment(Token token)
public Comment(java.lang.String text)
public Comment setText(java.lang.String text)
TextNodepublic java.lang.String getText()
TextNodepublic Comment createClone()
NodecreateClone in interface NodecreateClone in class BasicNode