Class SyntaxTree

java.lang.Object
com.maroontress.intexpr.impl.SyntaxTree

public final class SyntaxTree extends Object
This class represents the tree of SyntaxNode to visualize instructions in Reverse Polish notation.
  • Constructor Details

    • SyntaxTree

      public SyntaxTree(Iterable<Instruction> all)
      Creates a new instance.
      Parameters:
      all - The instructions.
  • Method Details