C# Class SwfDotNet.IO.ByteCode.Compiler

Compiler class, exposes one public method: SwfDotNet.IO.ByteCode.Compiler.Compile.
Show file Open project: bladecoding/SwfExport

Public Methods

Method Description
Compile ( ArrayList actionRecord ) : byte[]

Compile list of Action objects to byte code.

Compiler ( ) : System

Constructor.

Private Methods

Method Description
CalcBlockOffsets ( ArrayList actionRecord ) : void

Calculate size or offset for action blocks.

CalcBranchOffsets ( ArrayList actionRecord ) : void

Calculate branch offsets.

CollapsPushActions ( ArrayList actionRecord ) : void

Collaps sequence of single push actions into one multiple-push action

Method Details

Compile() public method

Compile list of Action objects to byte code.
public Compile ( ArrayList actionRecord ) : byte[]
actionRecord System.Collections.ArrayList List of action objects
return byte[]

Compiler() public method

Constructor.
public Compiler ( ) : System
return System