Class Pair

  • All Implemented Interfaces:
    Serializable

    public class Pair
    extends ASTree
    A node of a a binary tree. This class provides concrete methods overriding abstract methods in ASTree.
    See Also:
    Serialized Form
    • Constructor Detail

    • Method Detail

      • accept

        public void accept​(Visitor v)
                    throws javassist.compiler.CompileError
        Description copied from class: ASTree
        Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.
        Specified by:
        accept in class ASTree
        Throws:
        javassist.compiler.CompileError