public class TextNode extends ConstNode
Represents a string literal node in the syntax tree.
  • 构造器详细资料

    • TextNode

      public TextNode(String value)
      Creates a new TextNode from string.
      参数:
      value - The string value. The value can't be null( Nothing).
  • 方法详细资料

    • getValue

      public final String getValue()
      The text of this node. The value can't be null (Nothing).
    • setValue

      public final void setValue(String value)
      The text of this node. The value can't be null (Nothing).