C# Class Gibbed.RED.ScriptDecompiler.FunctionDecompiler

Datei anzeigen Open project: yole/Gibbed.RED Class Usage Examples

Private Properties

Property Type Description
BuildBasicBlocks List
GetOperator string
IsControlFlowBuilt bool
IsUnary bool
MarkJumpTargets void
MarkTargetStatements void
ReadArgumentList List
ReadBinaryExpression Expression
ReadNextExpression Expression
ReadTernaryExpression Expression
ReadUnaryExpression Expression
RemoveRedundantBlocks void
RestoreControlFlow List

Public Methods

Method Description
DecompileStatements ( ) : List
FunctionDecompiler ( FunctionDefinition func ) : System

Private Methods

Method Description
BuildBasicBlocks ( List statements ) : List
GetOperator ( OperatorCode code ) : string
IsControlFlowBuilt ( List blocks ) : bool
IsUnary ( OperatorCode code ) : bool
MarkJumpTargets ( List blocks ) : void
MarkTargetStatements ( List statements ) : void
ReadArgumentList ( ) : List
ReadBinaryExpression ( string infix, string suffix ) : Expression
ReadNextExpression ( bool allowNop ) : Expression
ReadTernaryExpression ( string functionName ) : Expression
ReadUnaryExpression ( string prefix, string suffix ) : Expression
RemoveRedundantBlocks ( List blocks ) : void
RestoreControlFlow ( List statements ) : List

Method Details

DecompileStatements() public method

public DecompileStatements ( ) : List
return List

FunctionDecompiler() public method

public FunctionDecompiler ( FunctionDefinition func ) : System
func Gibbed.RED.FileFormats.Script.FunctionDefinition
return System