|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ASExpressionStatement
A simple statement which evaluates an expression.
Instances can be created using StatementContainer.newExprStmt(String):
ASExpressionStatement stmt = method.newExprStmt("trace(\"hello world\")");
Will result in the ActionScript code,
trace("hello world");
StatementContainer.newExprStmt(Expression)| Method Summary | |
|---|---|
Expression |
getExpression()
Returns the expression this statement would evaluate when run. |
java.lang.String |
getExpressionString()
Returns a string representation of the expression this statement would evaluate when run. |
void |
setExpression(java.lang.String expr)
Changes the expression that this statement would evaluate when run. |
| Method Detail |
|---|
Expression getExpression()
java.lang.String getExpressionString()
void setExpression(java.lang.String expr)
SyntaxException - if the given string is not a valid
ActionScript expression.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||