com.ibm.adt.ovf.ext.punit.ast
Class Number0
java.lang.Object
com.ibm.adt.ovf.ext.punit.ast.ASTNode
com.ibm.adt.ovf.ext.punit.ast.Number0
- All Implemented Interfaces:
- INumber
public class Number0
- extends ASTNode
- implements INumber
Rule 16: Number ::= PLUS PositiveNumber
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Number0
public Number0(IToken leftIToken,
IToken rightIToken,
IPositiveNumber _PositiveNumber)
getPositiveNumber
public IPositiveNumber getPositiveNumber()
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 INumber
- Specified by:
accept
in class ASTNode
accept
public void accept(ArgumentVisitor v,
java.lang.Object o)
- 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 INumber
- Specified by:
accept
in class ASTNode
accept
public java.lang.Object accept(ResultArgumentVisitor v,
java.lang.Object o)
- Specified by:
accept
in interface INumber
- Specified by:
accept
in class ASTNode
© Copyright 2008 IBM Corp. 2008 All Rights Reserved