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.ValuetoString in interface Jasic.ValuetoString in class Objectpublic double toNumber()
Jasic.ValuetoNumber in interface Jasic.Valuepublic Jasic.Value evaluate()
Jasic.Expressionevaluate in interface Jasic.ExpressionCopyright © 2015. All Rights Reserved.