Interface SyntaxNode

All Known Implementing Classes:
BinaryOperatorNode, IntConstantNode, UnaryOperatorNode

public interface SyntaxNode
The node of SyntaxTree.
  • Method Summary

    Modifier and Type
    Method
    Description
    toString(String firstIndent, String indent)
    Returns the string visualizing the syntax tree.
  • Method Details

    • toString

      String toString(String firstIndent, String indent)
      Returns the string visualizing the syntax tree.
      Parameters:
      firstIndent - The string to indent the first line.
      indent - The string to indent the second and subsequent lines.
      Returns:
      The string visualizing the syntax tree.