Class IfZero
java.lang.Object
Expr
IfZero
Our internal representation of a IfZero expr
in the A0 language.
See http://www.radford.edu/itec380/2022spring-ibarland/Project
-
Field Summary
Fields inherited from class Expr
PUNCTUATION
-
Method Summary
-
Method Details
-
toString
Description copied from class:Expr
Return a String representation of this Expr. The result will be something which can be passed into 'parse(String)' to get the same Expr back. That is, toString and parse are inverses of each other. -
parse
-
eval
Description copied from class:Expr
Evaluate a given Expr. -
equals
-
hashCode
public int hashCode()
-