com.ibm.adt.ovf.ext.punit.ast
Class Modifier2

java.lang.Object
  extended by com.ibm.adt.ovf.ext.punit.ast.ASTNode
      extended by com.ibm.adt.ovf.ext.punit.ast.Modifier2
All Implemented Interfaces:
IModifier2, ITerm

public class Modifier2
extends ASTNode
implements IModifier2

  • Rule 12: Modifier2 ::= Operator OptionalWS Base OptionalWS HAT OptionalWS Exponent


    Field Summary
     
    Fields inherited from class com.ibm.adt.ovf.ext.punit.ast.ASTNode
    leftIToken, parent, rightIToken
     
    Constructor Summary
    Modifier2(IToken leftIToken, IToken rightIToken, IOperator _Operator, IOptionalWS _OptionalWS, Base _Base, IOptionalWS _OptionalWS4, IOptionalWS _OptionalWS6, IExponent _Exponent)
               
     
    Method Summary
     void accept(ArgumentVisitor v, java.lang.Object o)
               
     java.lang.Object accept(ResultArgumentVisitor v, java.lang.Object o)
               
     java.lang.Object accept(ResultVisitor v)
               
     void accept(Visitor v)
               
     boolean equals(java.lang.Object o)
               
     java.util.ArrayList getAllChildren()
              A list of all children of this node, including the null ones.
     Base getBase()
               
     IExponent getExponent()
               
     IOperator getOperator()
               
     IOptionalWS getOptionalWS()
              The value returned by getOptionalWS may be null
     IOptionalWS getOptionalWS4()
              The value returned by getOptionalWS4 may be null
     IOptionalWS getOptionalWS6()
              The value returned by getOptionalWS6 may be null
     int hashCode()
               
     
    Methods inherited from class com.ibm.adt.ovf.ext.punit.ast.ASTNode
    acceptAll, getChildren, getFollowingAdjuncts, getLeftIToken, getNextAst, getParent, getPrecedingAdjuncts, getRightIToken, setParent, toString
     
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
     
    Methods inherited from interface com.ibm.adt.ovf.ext.punit.ast.ITerm
    getLeftIToken, getRightIToken
     

    Constructor Detail

    Modifier2

    public Modifier2(IToken leftIToken,
                     IToken rightIToken,
                     IOperator _Operator,
                     IOptionalWS _OptionalWS,
                     Base _Base,
                     IOptionalWS _OptionalWS4,
                     IOptionalWS _OptionalWS6,
                     IExponent _Exponent)
    Method Detail

    getOperator

    public IOperator getOperator()

    getOptionalWS

    public IOptionalWS getOptionalWS()
    The value returned by getOptionalWS may be null


    getBase

    public Base getBase()

    getOptionalWS4

    public IOptionalWS getOptionalWS4()
    The value returned by getOptionalWS4 may be null


    getOptionalWS6

    public IOptionalWS getOptionalWS6()
    The value returned by getOptionalWS6 may be null


    getExponent

    public IExponent getExponent()

    getAllChildren

    public java.util.ArrayList getAllChildren()
    A list of all children of this node, including the null ones.

    Specified by:
    getAllChildren in class ASTNode

    equals

    public boolean equals(java.lang.Object o)
    Overrides:
    equals in class ASTNode

    hashCode

    public int hashCode()
    Overrides:
    hashCode in class ASTNode

    accept

    public void accept(Visitor v)
    Specified by:
    accept in interface ITerm
    Specified by:
    accept in class ASTNode

    accept

    public void accept(ArgumentVisitor v,
                       java.lang.Object o)
    Specified by:
    accept in interface ITerm
    Specified by:
    accept in class ASTNode

    accept

    public java.lang.Object accept(ResultVisitor v)
    Specified by:
    accept in interface ITerm
    Specified by:
    accept in class ASTNode

    accept

    public java.lang.Object accept(ResultArgumentVisitor v,
                                   java.lang.Object o)
    Specified by:
    accept in interface ITerm
    Specified by:
    accept in class ASTNode


    © Copyright 2008 IBM Corp. 2008 All Rights Reserved