C# 클래스 GameMaker.Ast.GotoRemoval

파일 보기 프로젝트 열기: WarlockD/GMdsam

공개 메소드들

메소드 설명
GotoRemoval ( ) : System
RemoveGotos ( ILBlock method ) : void
RemoveRedundantCode ( ILBlock method ) : void

비공개 메소드들

메소드 설명
Enter ( ILNode node, HashSet visitedNodes ) : ILNode

Get the first expression to be excecuted if the instruction pointer is at the start of the given node. Try blocks may not be entered in any way. If possible, the try block is returned as the node to be executed.

Exit ( ILNode node, HashSet visitedNodes ) : ILNode

Get the first expression to be excecuted if the instruction pointer is at the end of the given node

GetParents ( ILNode node ) : IEnumerable
TrySimplifyGoto ( ILExpression gotoExpr ) : bool

메소드 상세

GotoRemoval() 공개 메소드

public GotoRemoval ( ) : System
리턴 System

RemoveGotos() 공개 메소드

public RemoveGotos ( ILBlock method ) : void
method ILBlock
리턴 void

RemoveRedundantCode() 공개 정적인 메소드

public static RemoveRedundantCode ( ILBlock method ) : void
method ILBlock
리턴 void