|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IScript
The interface for scripts in Hawk.
Method Summary | |
---|---|
IScript |
add(IScript otherScript)
|
IScript |
and(IScript otherScript)
|
IScript |
arrayBracket(IScript otherScript)
|
IScript |
assign(IScript otherScript)
|
IScript |
copy()
|
IScript |
divide(IScript otherScript)
|
IScript |
equalTo(IScript otherScript)
|
Variable |
execute()
This executes the contents of a script. |
int |
getLineNumber()
|
Variable |
getVariable()
|
Variable |
getVariableValue()
|
IScript |
greaterThan(IScript otherScript)
|
IScript |
greaterThanEqualTo(IScript otherScript)
|
boolean |
isVariable()
|
IScript |
lessThan(IScript otherScript)
|
IScript |
lessThanEqualTo(IScript otherScript)
|
java.lang.String |
mangle()
|
IScript |
modulus(IScript otherScript)
|
IScript |
multiply(IScript otherScript)
|
IScript |
or(IScript otherScript)
|
java.util.Map<java.lang.String,IDataType> |
popLocalVars()
This pops the local variable map out from the stack. |
void |
pushLocalVars()
This pushes local variables into a stack. |
IScript |
refer(IScript otherScript)
|
void |
setVariable(Variable value)
|
void |
setVariableValue(Variable value)
|
IScript |
subtract(IScript otherScript)
|
java.lang.Object |
toJava()
This converts the hawk object into java object |
java.util.Map<java.lang.Object,java.lang.Object> |
toJavaMap()
This converts the hawk object into java map.. |
java.lang.String |
toUI()
|
Method Detail |
---|
Variable execute() throws HawkException
HawkException
void pushLocalVars()
java.util.Map<java.lang.String,IDataType> popLocalVars()
boolean isVariable()
Variable getVariable()
void setVariable(Variable value)
void setVariableValue(Variable value)
Variable getVariableValue()
java.lang.String mangle()
IScript copy()
int getLineNumber()
IScript add(IScript otherScript) throws HawkException
HawkException
IScript subtract(IScript otherScript) throws HawkException
HawkException
IScript multiply(IScript otherScript) throws HawkException
HawkException
IScript divide(IScript otherScript) throws HawkException
HawkException
IScript modulus(IScript otherScript) throws HawkException
HawkException
IScript equalTo(IScript otherScript) throws HawkException
HawkException
IScript greaterThan(IScript otherScript) throws HawkException
HawkException
IScript lessThan(IScript otherScript) throws HawkException
HawkException
IScript greaterThanEqualTo(IScript otherScript) throws HawkException
HawkException
IScript lessThanEqualTo(IScript otherScript) throws HawkException
HawkException
IScript and(IScript otherScript) throws HawkException
HawkException
IScript or(IScript otherScript) throws HawkException
HawkException
IScript refer(IScript otherScript) throws HawkException
HawkException
IScript assign(IScript otherScript) throws HawkException
HawkException
IScript arrayBracket(IScript otherScript) throws HawkException
HawkException
java.lang.String toUI()
java.util.Map<java.lang.Object,java.lang.Object> toJavaMap() throws HawkException
HawkException
java.lang.Object toJava() throws HawkException
HawkException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |