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

java.lang.Object
  extended by com.ibm.adt.ovf.ext.punit.ast.ASTNode
      extended by com.ibm.adt.ovf.ext.punit.ast.CountedOrDecibelBaseUnit
All Implemented Interfaces:
IBaseUnit, ICountedOrDecibelBaseUnit

public class CountedOrDecibelBaseUnit
extends ASTNode
implements ICountedOrDecibelBaseUnit

  • Rule 28: CountedOrDecibelBaseUnit ::= SimpleName OptionalSpace LEFTPAREN OptionalSpace WhatsCounted OptionalSpace RIGHTPAREN


    Field Summary
     
    Fields inherited from class com.ibm.adt.ovf.ext.punit.ast.ASTNode
    leftIToken, parent, rightIToken
     
    Constructor Summary
    CountedOrDecibelBaseUnit(IToken leftIToken, IToken rightIToken, ISimpleName _SimpleName, OptionalSpace _OptionalSpace, OptionalSpace _OptionalSpace4, IWhatsCounted _WhatsCounted, OptionalSpace _OptionalSpace6)
               
     
    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.
     OptionalSpace getOptionalSpace()
              The value returned by getOptionalSpace may be null
     OptionalSpace getOptionalSpace4()
              The value returned by getOptionalSpace4 may be null
     OptionalSpace getOptionalSpace6()
              The value returned by getOptionalSpace6 may be null
     ISimpleName getSimpleName()
               
     IWhatsCounted getWhatsCounted()
               
     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.IBaseUnit
    getLeftIToken, getRightIToken
     

    Constructor Detail

    CountedOrDecibelBaseUnit

    public CountedOrDecibelBaseUnit(IToken leftIToken,
                                    IToken rightIToken,
                                    ISimpleName _SimpleName,
                                    OptionalSpace _OptionalSpace,
                                    OptionalSpace _OptionalSpace4,
                                    IWhatsCounted _WhatsCounted,
                                    OptionalSpace _OptionalSpace6)
    Method Detail

    getSimpleName

    public ISimpleName getSimpleName()

    getOptionalSpace

    public OptionalSpace getOptionalSpace()
    The value returned by getOptionalSpace may be null


    getOptionalSpace4

    public OptionalSpace getOptionalSpace4()
    The value returned by getOptionalSpace4 may be null


    getWhatsCounted

    public IWhatsCounted getWhatsCounted()

    getOptionalSpace6

    public OptionalSpace getOptionalSpace6()
    The value returned by getOptionalSpace6 may be null


    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 IBaseUnit
    Specified by:
    accept in class ASTNode

    accept

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

    accept

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

    accept

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


    © Copyright 2008 IBM Corp. 2008 All Rights Reserved