프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_CatchBlockFlag | bool | ||
_CatchInRegisterFlag | bool | ||
_FinallyBlockFlag | bool | ||
_catchName | string | ||
_catchRegister | byte | ||
_catchSize | |||
_finallySize | |||
_trySize |
메소드 | 설명 | |
---|---|---|
ActionTry ( ) : System |
Try defines handlers for exceptional conditions, implementing the ActionScript try, catch, and finally keywords.
|
|
ActionTry ( bool storeObejct, bool finallyBlock, bool catchBlock, |
Try defines handlers for exceptional conditions, implementing the ActionScript try, catch, and finally keywords.
|
|
ToString ( ) : string |
Converts the action to a string
|
메소드 | 설명 | |
---|---|---|
Parse ( System sourceStream, byte sourceVersion ) : void |
Parses try statement from a source stream. Quote from Swf spec: "The try, catch, and finally blocks do not use end tags to mark the end of their respective blocks. Instead, the length of a block is set by the TrySize, CatchSize, and FinallySize values." Additionally, see comment in ActionDefineFunction on why the code isn't read here.
|
|
ParseFrom ( ) : bool |
Parses the action from a string array
|
|
Render ( System outputStream ) : ulong |
Renders a try statement back to an output stream
|
public ActionTry ( bool storeObejct, bool finallyBlock, bool catchBlock, |
||
storeObejct | bool | False - Do not put caught object into register (instead, store in named variable) True - Put caught object into register (do not store in named variable) |
finallyBlock | bool | True - The statement has a finally block. False The statement has no finally block |
catchBlock | bool | True - The statement has a catch block. False The statement has no catch block |
trySize | Length of the try block | |
catchSize | Length of the catch block | |
finallySize | Length of the finally block | |
catchVarName | string | Name of the catch variable |
catchRegister | byte | Register to catch into |
리턴 | System |
protected Parse ( System sourceStream, byte sourceVersion ) : void | ||
sourceStream | System | The source stream |
sourceVersion | byte | The version |
리턴 | void |
protected Render ( System outputStream ) : ulong | ||
outputStream | System | The output stream |
리턴 | ulong |