C# Class SwfDotNet.IO.ByteCode.CodeTraverser

The CodeTraverser provides a simple functionality for traversing Action lists by stepping through action lists and following branches. In opposite to SwfDotNet.IO.ByteCode.CodeWalker each index is only visited once. Action objects are handled by the IActionExaminer that is passed to the Traverse method. CodeTraverser provides a unified base functionality for code-flow analysis.
Mostrar archivo Open project: bladecoding/SwfExport Class Usage Examples

Protected Properties

Property Type Description
actionRec System.Collections.ArrayList

Public Methods

Method Description
CodeTraverser ( ArrayList actions ) : System

Constructor

Traverse ( IActionExaminer examiner ) : void

Start traversing.

Private Methods

Method Description
traverse ( int index, IActionExaminer examiner ) : void

Method Details

CodeTraverser() public method

Constructor
public CodeTraverser ( ArrayList actions ) : System
actions System.Collections.ArrayList ArrayList of action objects derived from BaseAction.
return System

Traverse() public method

Start traversing.
public Traverse ( IActionExaminer examiner ) : void
examiner IActionExaminer IActionExaminer object
return void

Property Details

actionRec protected_oe property

ArrayList of action objects derived from SwfDotNet.IO.ByteCode.Actions.BaseAction.
protected ArrayList,System.Collections actionRec
return System.Collections.ArrayList