Class LiteralReal
java.lang.Object
liquidjava.rj_language.ast.Expression
liquidjava.rj_language.ast.LiteralReal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(ExpressionVisitor<T> visitor) clone()booleanvoidgetStateInvocations(List<String> toAdd, List<String> all) doublegetValue()voidgetVariableNames(List<String> toAdd) inthashCode()booleantoString()Methods inherited from class liquidjava.rj_language.ast.Expression
addChild, changeAlias, getChildren, hasChildren, isBooleanExpression, isLiteral, setChild, substitute, substituteFunction, substituteState, toSimplifiedString
-
Constructor Details
-
LiteralReal
public LiteralReal(double v) -
LiteralReal
-
-
Method Details
-
accept
- Specified by:
acceptin classExpression- Throws:
Exception
-
toString
- Specified by:
toStringin classExpression
-
getValue
public double getValue() -
getVariableNames
- Specified by:
getVariableNamesin classExpression
-
getStateInvocations
- Specified by:
getStateInvocationsin classExpression
-
clone
- Specified by:
clonein classExpression
-
isBooleanTrue
public boolean isBooleanTrue()- Specified by:
isBooleanTruein classExpression
-
hashCode
public int hashCode()- Specified by:
hashCodein classExpression
-
equals
- Specified by:
equalsin classExpression
-