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

java.lang.Object
  extended by com.ibm.adt.ovf.ext.punit.ast.ASTNode
      extended by com.ibm.adt.ovf.ext.punit.ast.PositiveNumber1
All Implemented Interfaces:
IASTNodeToken, INumber, IPositiveNumber

public class PositiveNumber1
extends ASTNode
implements IPositiveNumber

  • Rule 14: PositiveNumber ::= INT DOT INT


    Field Summary
     
    Fields inherited from class com.ibm.adt.ovf.ext.punit.ast.ASTNode
    leftIToken, parent, rightIToken
     
    Constructor Summary
    PositiveNumber1(IToken leftIToken, IToken rightIToken)
               
     
    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)
               
     java.util.ArrayList getAllChildren()
              A list of all children of this node, including the null ones.
     
    Methods inherited from class com.ibm.adt.ovf.ext.punit.ast.ASTNode
    acceptAll, equals, getChildren, getFollowingAdjuncts, getLeftIToken, getNextAst, getParent, getPrecedingAdjuncts, getRightIToken, hashCode, 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.IASTNodeToken
    getLeftIToken, getRightIToken
     
    Methods inherited from interface com.ibm.adt.ovf.ext.punit.ast.INumber
    getLeftIToken, getRightIToken
     

    Constructor Detail

    PositiveNumber1

    public PositiveNumber1(IToken leftIToken,
                           IToken rightIToken)
    Method Detail

    getAllChildren

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

    Specified by:
    getAllChildren in class ASTNode

    accept

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

    accept

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

    accept

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

    accept

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


    © Copyright 2008 IBM Corp. 2008 All Rights Reserved