Class AGreaterBinaryExp

  • All Implemented Interfaces:
    Serializable, Cloneable, Comparable<org.intocps.maestro.ast.node.INode>, org.intocps.maestro.ast.node.INode, org.intocps.maestro.ast.node.PExp, org.intocps.maestro.ast.node.SBinaryExp

    public class AGreaterBinaryExp
    extends org.intocps.maestro.ast.node.SBinaryExpBase
    Generated file by AST Creator
    Author:
    Kenneth Lausdahl
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.intocps.maestro.ast.node.SBinaryExpBase

        _left, _right
      • Fields inherited from class org.intocps.maestro.ast.node.Node

        _visitedNodes
    • Constructor Summary

      Constructors 
      Constructor Description
      AGreaterBinaryExp()
      Creates a new default constructor AGreaterBinaryExp node with no children.
      AGreaterBinaryExp​(org.intocps.maestro.ast.node.PExp left_, org.intocps.maestro.ast.node.PExp right_)
      Deprecated.
      This method should not be used, use AstFactory instead.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void apply​(org.intocps.maestro.ast.analysis.intf.IAnalysis caller)
      Calls the IAnalysis.caseAGreaterBinaryExp(AGreaterBinaryExp) of the IAnalysis caller.
      <A> A apply​(org.intocps.maestro.ast.analysis.intf.IAnswer<A> caller)
      Calls the IAnswer.caseAGreaterBinaryExp(AGreaterBinaryExp) of the IAnswer caller.
      <Q> void apply​(org.intocps.maestro.ast.analysis.intf.IQuestion<Q> caller, Q question)
      Calls the IQuestion.caseAGreaterBinaryExp(AGreaterBinaryExp, Object) of the IQuestion caller.
      <Q,​A>
      A
      apply​(org.intocps.maestro.ast.analysis.intf.IQuestionAnswer<Q,​A> caller, Q question)
      Calls the IQuestionAnswer.caseAGreaterBinaryExp(AGreaterBinaryExp, Object) of the IQuestionAnswer caller.
      AGreaterBinaryExp clone()
      Returns a deep clone of this AGreaterBinaryExp node.
      AGreaterBinaryExp clone​(Map<org.intocps.maestro.ast.node.INode,​org.intocps.maestro.ast.node.INode> oldToNewMap)
      Creates a deep clone of this AGreaterBinaryExp node while putting all old node-new node relations in the map oldToNewMap.
      boolean equals​(Object o)
      Essentially this.toString().equals(o.toString()).
      Map<String,​Object> getChildren​(Boolean includeInheritedFields)
      Creates a map of all field names and their value
      int hashCode()
      Forwarding hashCode call to Object.hashCode().
      void removeChild​(org.intocps.maestro.ast.node.INode child)
      Removes the INode child as a child of this AGreaterBinaryExp node.
      String toString()  
      • Methods inherited from class org.intocps.maestro.ast.node.SBinaryExpBase

        getLeft, getRight, setLeft, setRight
      • Methods inherited from class org.intocps.maestro.ast.node.Node

        cloneList, cloneList, cloneListExternal, cloneListExternal, cloneListList, cloneListList, cloneNode, cloneNode, compareTo, getAllFields, getAncestor, parent, parent, replaceChild
      • Methods inherited from interface org.intocps.maestro.ast.node.INode

        getAncestor, parent, parent, replaceChild
    • Constructor Detail

      • AGreaterBinaryExp

        public AGreaterBinaryExp()
        Creates a new default constructor AGreaterBinaryExp node with no children.
      • AGreaterBinaryExp

        public AGreaterBinaryExp​(org.intocps.maestro.ast.node.PExp left_,
                                 org.intocps.maestro.ast.node.PExp right_)
        Deprecated.
        This method should not be used, use AstFactory instead. The basic child nodes are removed from their previous parents.
        Creates a new complete constructor AGreaterBinaryExp node with the given nodes as children.
    • Method Detail

      • clone

        public AGreaterBinaryExp clone()
        Returns a deep clone of this AGreaterBinaryExp node.
        Specified by:
        clone in interface org.intocps.maestro.ast.node.INode
        Specified by:
        clone in interface org.intocps.maestro.ast.node.PExp
        Specified by:
        clone in interface org.intocps.maestro.ast.node.SBinaryExp
        Specified by:
        clone in class org.intocps.maestro.ast.node.SBinaryExpBase
        Returns:
        a deep clone of this AGreaterBinaryExp node
      • removeChild

        public void removeChild​(org.intocps.maestro.ast.node.INode child)
        Removes the INode child as a child of this AGreaterBinaryExp node. Do not call this method with any graph fields of this node. This will cause any child's with the same reference to be removed unintentionally or RuntimeExceptionwill be thrown.
        Specified by:
        removeChild in interface org.intocps.maestro.ast.node.INode
        Specified by:
        removeChild in interface org.intocps.maestro.ast.node.PExp
        Specified by:
        removeChild in interface org.intocps.maestro.ast.node.SBinaryExp
        Overrides:
        removeChild in class org.intocps.maestro.ast.node.SBinaryExpBase
        Parameters:
        child - the child node to be removed from this AGreaterBinaryExp node
        Throws:
        RuntimeException - if child is not a child of this AGreaterBinaryExp node
      • getChildren

        public Map<String,​Object> getChildren​(Boolean includeInheritedFields)
        Creates a map of all field names and their value
        Specified by:
        getChildren in interface org.intocps.maestro.ast.node.INode
        Specified by:
        getChildren in interface org.intocps.maestro.ast.node.PExp
        Specified by:
        getChildren in interface org.intocps.maestro.ast.node.SBinaryExp
        Overrides:
        getChildren in class org.intocps.maestro.ast.node.SBinaryExpBase
        Parameters:
        includeInheritedFields - if true all inherited fields are included
        Returns:
        a a map of names to values of all fields
      • toString

        public String toString()
        Specified by:
        toString in interface org.intocps.maestro.ast.node.PExp
        Specified by:
        toString in interface org.intocps.maestro.ast.node.SBinaryExp
        Overrides:
        toString in class org.intocps.maestro.ast.node.SBinaryExpBase
      • hashCode

        public int hashCode()
        Forwarding hashCode call to Object.hashCode().
        Specified by:
        hashCode in interface org.intocps.maestro.ast.node.PExp
        Specified by:
        hashCode in interface org.intocps.maestro.ast.node.SBinaryExp
        Overrides:
        hashCode in class org.intocps.maestro.ast.node.SBinaryExpBase
      • clone

        public AGreaterBinaryExp clone​(Map<org.intocps.maestro.ast.node.INode,​org.intocps.maestro.ast.node.INode> oldToNewMap)
        Creates a deep clone of this AGreaterBinaryExp node while putting all old node-new node relations in the map oldToNewMap.
        Specified by:
        clone in interface org.intocps.maestro.ast.node.INode
        Specified by:
        clone in interface org.intocps.maestro.ast.node.PExp
        Specified by:
        clone in interface org.intocps.maestro.ast.node.SBinaryExp
        Specified by:
        clone in class org.intocps.maestro.ast.node.SBinaryExpBase
        Parameters:
        oldToNewMap - the map filled with the old node-new node relation
        Returns:
        a deep clone of this AGreaterBinaryExp node
      • equals

        public boolean equals​(Object o)
        Essentially this.toString().equals(o.toString()).
        Specified by:
        equals in interface org.intocps.maestro.ast.node.PExp
        Specified by:
        equals in interface org.intocps.maestro.ast.node.SBinaryExp
        Overrides:
        equals in class org.intocps.maestro.ast.node.SBinaryExpBase
      • apply

        public void apply​(org.intocps.maestro.ast.analysis.intf.IAnalysis caller)
                   throws org.intocps.maestro.ast.analysis.AnalysisException
        Calls the IAnalysis.caseAGreaterBinaryExp(AGreaterBinaryExp) of the IAnalysis caller.
        Specified by:
        apply in interface org.intocps.maestro.ast.node.INode
        Specified by:
        apply in class org.intocps.maestro.ast.node.Node
        Parameters:
        caller - the IAnalysis to which this AGreaterBinaryExp node is applied
        Throws:
        org.intocps.maestro.ast.analysis.AnalysisException
      • apply

        public <A> A apply​(org.intocps.maestro.ast.analysis.intf.IAnswer<A> caller)
                    throws org.intocps.maestro.ast.analysis.AnalysisException
        Calls the IAnswer.caseAGreaterBinaryExp(AGreaterBinaryExp) of the IAnswer caller.
        Specified by:
        apply in interface org.intocps.maestro.ast.node.INode
        Specified by:
        apply in class org.intocps.maestro.ast.node.Node
        Parameters:
        caller - the IAnswer to which this AGreaterBinaryExp node is applied
        Returns:
        the answer as returned from caller
        Throws:
        org.intocps.maestro.ast.analysis.AnalysisException
      • apply

        public <Q> void apply​(org.intocps.maestro.ast.analysis.intf.IQuestion<Q> caller,
                              Q question)
                       throws org.intocps.maestro.ast.analysis.AnalysisException
        Calls the IQuestion.caseAGreaterBinaryExp(AGreaterBinaryExp, Object) of the IQuestion caller.
        Specified by:
        apply in interface org.intocps.maestro.ast.node.INode
        Specified by:
        apply in class org.intocps.maestro.ast.node.Node
        Parameters:
        caller - the IQuestion to which this AGreaterBinaryExp node is applied
        question - the question provided to caller
        Throws:
        org.intocps.maestro.ast.analysis.AnalysisException
      • apply

        public <Q,​A> A apply​(org.intocps.maestro.ast.analysis.intf.IQuestionAnswer<Q,​A> caller,
                                   Q question)
                            throws org.intocps.maestro.ast.analysis.AnalysisException
        Calls the IQuestionAnswer.caseAGreaterBinaryExp(AGreaterBinaryExp, Object) of the IQuestionAnswer caller.
        Specified by:
        apply in interface org.intocps.maestro.ast.node.INode
        Specified by:
        apply in class org.intocps.maestro.ast.node.Node
        Parameters:
        caller - the IQuestionAnswer to which this AGreaterBinaryExp node is applied
        question - the question provided to caller
        Returns:
        the answer as returned from answer
        Throws:
        org.intocps.maestro.ast.analysis.AnalysisException