public class GString extends ExecutionResult<java.lang.String> implements TextHolder
QUIT, UNDEF, VOID
Constructor and Description |
---|
GString() |
GString(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
GString |
clone() |
java.lang.String |
getScriptConstantRepresentation()
Returns the value as a constant in valid script syntax.
|
java.lang.String |
getSign()
Returns the short sign of the type.
|
java.lang.String |
getText()
Returns the text.
|
ScriptType |
getType()
Returns the type of the result.
|
static ScriptType |
getTypeStatic() |
java.lang.String |
getValue()
Returns the internal value.
|
void |
setValue(java.lang.String value)
Sets the internal value.
|
equals, getStringRepresentation, getTypeName, isZero, toString, valueToString
isStopExecution
public static ScriptType getTypeStatic()
public java.lang.String getValue()
ExecutionResult
getValue
in class ExecutionResult<java.lang.String>
public void setValue(java.lang.String value)
ExecutionResult
setValue
in class ExecutionResult<java.lang.String>
value
- the new value.public java.lang.String getSign()
ExecutionResult
getSign
in class ExecutionResult<java.lang.String>
public ScriptType getType()
ExecutionResult
getType
in class ExecutionResult<java.lang.String>
public java.lang.String getScriptConstantRepresentation()
ExecutionReturn
getScriptConstantRepresentation
in class ExecutionReturn
public GString clone()
clone
in class ExecutionResult<java.lang.String>
public java.lang.String getText()
TextHolder
getText
in interface TextHolder