Class TextNode
Represents a string literal node in the syntax tree.
-
Constructor Summary
Constructors
Creates a new TextNode from string.
-
Method Summary
Gets the text of this node.
final void
Sets the text of this node.
-
Constructor Details
-
TextNode
Creates a new TextNode from string.
- Parameters:
value - The string value. The value can't be null( Nothing).
-
Method Details
-
getValue
public final String getValue()
Gets the text of this node. The value can't be null (Nothing).
-
setValue
public final void setValue(String value)
Sets the text of this node. The value can't be null (Nothing).