Class ExpressionFactory.ExpressionBase

    • Method Detail

      • copy

        public <T extends Node> T copy​(java.lang.Class<T> cls)
        Description copied from interface: Node
        Make a deep copy of this node. If nn = n.copy(), then n.parent() == nn.parent(), which also means that the parent is NOT copied.
        Specified by:
        copy in interface Node
        Overrides:
        copy in class NodeBase
      • copy

        public <T extends Node> T copy​(Node newParent,
                                       java.lang.Class<T> cls)
        Description copied from interface: Node
        Copy setting a new parent in the result.
        Specified by:
        copy in interface Node
        Overrides:
        copy in class NodeBase
      • accept

        public abstract void accept​(Visitor v)
        Description copied from interface: Node
        Accept the visitor and allow it to perform actions on this Node.
        Specified by:
        accept in interface Node
        Overrides:
        accept in class NodeBase