public class Jasic.StringValue extends Object implements Jasic.Value
Constructor and Description |
---|
StringValue(String value) |
Modifier and Type | Method and Description |
---|---|
Jasic.Value |
evaluate()
Expression classes implement this to evaluate the expression and
return the value.
|
double |
toNumber()
Value types override this to convert themselves to a numeric
representation.
|
String |
toString()
Value types override this to convert themselves to a string
representation.
|
public StringValue(String value)
public String toString()
Jasic.Value
toString
in interface Jasic.Value
toString
in class Object
public double toNumber()
Jasic.Value
toNumber
in interface Jasic.Value
public Jasic.Value evaluate()
Jasic.Expression
evaluate
in interface Jasic.Expression
Copyright © 2015. All Rights Reserved.