C# Class GameMaker.Ast.GotoRemoval

Afficher le fichier Open project: WarlockD/GMdsam

Méthodes publiques

Méthode Description
GotoRemoval ( ) : System
RemoveGotos ( ILBlock method ) : void
RemoveRedundantCode ( ILBlock method ) : void

Private Methods

Méthode Description
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

Method Details

GotoRemoval() public méthode

public GotoRemoval ( ) : System
Résultat System

RemoveGotos() public méthode

public RemoveGotos ( ILBlock method ) : void
method ILBlock
Résultat void

RemoveRedundantCode() public static méthode

public static RemoveRedundantCode ( ILBlock method ) : void
method ILBlock
Résultat void