public class Unary extends Expr
Unary class.
location
Unary(Sym op, Expr expr, Location location)
Object
eval(Scope scope)
Expr
toConstIfPossible()
String
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public Unary(Sym op, Expr expr, Location location)
Constructor for Unary.
op
Sym
expr
Location
public Object eval(Scope scope)
eval.
eval
scope
Scope
public Expr toConstIfPossible()
toConstIfPossible.
public String toString()
toString.
toString
Copyright © 2023. All rights reserved.