public abstract static class Expression.Constant extends Expression.Base
Expression.Application, Expression.Base, Expression.BoolConstant, Expression.Constant, Expression.Fixed, Expression.Util, Expression.Valof, Expression.Variable
FALSE, TRUE
Constructor and Description |
---|
Expression.Constant() |
Modifier and Type | Method and Description |
---|---|
abstract Object |
getValue()
If this Expression is a literal, answer the value of that literal.
|
boolean |
isConstant()
Answer true iff this Expression represents a literal [Java object] value.
|
argCount, equals, getArg, getFun, getName, isApply, isVariable
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepare
public boolean isConstant()
Expression
isConstant
in interface Expression
isConstant
in class Expression.Base
public abstract Object getValue()
Expression
getValue
in interface Expression
getValue
in class Expression.Base
Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP