C# 클래스 SwfDotNet.IO.ByteCode.CodeWalker

The CodeWalker provides a simple functionality for traversing Action lists by stepping through code and following branches. In opposite to SwfDotNet.IO.ByteCode.CodeTraverser it doesn´t stop until a label is reached that has been visited before or a return statement is found. Action objects are handled by the IActionExaminerer that is passed to the Traverse method. CodeWalker provide a base functionality for code analysis and simulation.
파일 보기 프로젝트 열기: bladecoding/SwfExport

공개 메소드들

메소드 설명
CodeWalker ( ArrayList actions ) : System

Constructor.

Walk ( IActionExaminer examiner ) : void

Start traversing code flow at index 0.

Walk ( IActionExaminer examiner, int index ) : void

Start traversing at given index.

비공개 메소드들

메소드 설명
Walk ( int index, IActionExaminer examiner, ArrayList visitedLabels ) : void

메소드 상세

CodeWalker() 공개 메소드

Constructor.
public CodeWalker ( ArrayList actions ) : System
actions System.Collections.ArrayList ArrayList of BaseAction objects.
리턴 System

Walk() 공개 메소드

Start traversing code flow at index 0.
public Walk ( IActionExaminer examiner ) : void
examiner IActionExaminer IActionExaminer object
리턴 void

Walk() 공개 메소드

Start traversing at given index.
public Walk ( IActionExaminer examiner, int index ) : void
examiner IActionExaminer IActionExaminer object
index int start index for code traversation.
리턴 void