Interface LiteralNode

All Superinterfaces:
SimpleNode
All Known Implementing Classes:
LiteralExpression, SimpleFunctionExpression

public interface LiteralNode extends SimpleNode
Represents a node in the AST which contains literals
  • Method Details

    • addText

      void addText(String text)
      Adds the given text to this model.

      This operation can be invoked multiple times to add more text.

      Parameters:
      text - the text to add
    • getText

      String getText()
      Gets the text
      Returns:
      the text, will never be null, but may contain an empty string.
    • quoteEmbeddedNodes

      boolean quoteEmbeddedNodes()
      Whether to quote embedded nodes.

      Some functions such as the bean: function would need to quote its embedded nodes as they are parameter values for method names.