C# 클래스 Recurity.Swf.AVM1.ActionTry

Blitzableiter ActionTry represents the Adobe AVM1 ActionTry
상속: AbstractAction
파일 보기 프로젝트 열기: rtezli/Blitzableiter

보호된 프로퍼티들

프로퍼티 타입 설명
_CatchBlockFlag bool
_CatchInRegisterFlag bool
_FinallyBlockFlag bool
_catchName string
_catchRegister byte
_catchSize System.UInt16
_finallySize System.UInt16
_trySize System.UInt16

공개 메소드들

메소드 설명
ActionTry ( ) : System

Try defines handlers for exceptional conditions, implementing the ActionScript try, catch, and finally keywords.

ActionTry ( bool storeObejct, bool finallyBlock, bool catchBlock, UInt16 trySize, UInt16 catchSize, UInt16 finallySize, string catchVarName, byte catchRegister ) : System

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

메소드 상세

ActionTry() 공개 메소드

Try defines handlers for exceptional conditions, implementing the ActionScript try, catch, and finally keywords.
public ActionTry ( ) : System
리턴 System

ActionTry() 공개 메소드

Try defines handlers for exceptional conditions, implementing the ActionScript try, catch, and finally keywords.
public ActionTry ( bool storeObejct, bool finallyBlock, bool catchBlock, UInt16 trySize, UInt16 catchSize, UInt16 finallySize, string catchVarName, byte catchRegister ) : System
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 System.UInt16 Length of the try block
catchSize System.UInt16 Length of the catch block
finallySize System.UInt16 Length of the finally block
catchVarName string Name of the catch variable
catchRegister byte Register to catch into
리턴 System

Parse() 보호된 메소드

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.
protected Parse ( System sourceStream, byte sourceVersion ) : void
sourceStream System The source stream
sourceVersion byte The version
리턴 void

ParseFrom() 보호된 메소드

Parses the action from a string array
protected ParseFrom ( ) : bool
리턴 bool

Render() 보호된 메소드

Renders a try statement back to an output stream
protected Render ( System outputStream ) : ulong
outputStream System The output stream
리턴 ulong

ToString() 공개 메소드

Converts the action to a string
public ToString ( ) : string
리턴 string

프로퍼티 상세

_CatchBlockFlag 보호되어 있는 프로퍼티

protected bool _CatchBlockFlag
리턴 bool

_CatchInRegisterFlag 보호되어 있는 프로퍼티

protected bool _CatchInRegisterFlag
리턴 bool

_FinallyBlockFlag 보호되어 있는 프로퍼티

protected bool _FinallyBlockFlag
리턴 bool

_catchName 보호되어 있는 프로퍼티

protected string _catchName
리턴 string

_catchRegister 보호되어 있는 프로퍼티

protected byte _catchRegister
리턴 byte

_catchSize 보호되어 있는 프로퍼티

protected UInt16,System _catchSize
리턴 System.UInt16

_finallySize 보호되어 있는 프로퍼티

protected UInt16,System _finallySize
리턴 System.UInt16

_trySize 보호되어 있는 프로퍼티

protected UInt16,System _trySize
리턴 System.UInt16