|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the common services provided by structures which can contain ActionScript 'statements'.
Method Summary | |
void |
addComment(java.lang.String text)
Adds a single-line comment to list of statements being generated |
void |
addStmt(java.lang.String statement)
Checks the syntax of the given code, and then adds the statement to the end of the current block. |
Method Detail |
public void addStmt(java.lang.String statement)
ASParseException
- if the syntax of the given code fragment is
incorrect.public void addComment(java.lang.String text)
text
- the text of the comment (minus the initial '//') which
must not include any newline characters.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |