C# Class Expressive.Decompilation.Steps.BranchProcessing

Show file Open project: ashmind/expressive Class Usage Examples

Public Methods

Method Description
EnsureNotBackward ( int index, int targetIndex ) : void
FindTargetIndexOrNull ( IElement br, IList elements ) : int?
FindTargetIndexOrThrow ( IElement br, IList elements ) : int
GetTargetOffset ( IElement br ) : int
Matches ( IElement element, bool>.Func predicate ) : bool
ThrowTargetNotFound ( IElement br ) : void

Method Details

EnsureNotBackward() public static method

public static EnsureNotBackward ( int index, int targetIndex ) : void
index int
targetIndex int
return void

FindTargetIndexOrNull() public static method

public static FindTargetIndexOrNull ( IElement br, IList elements ) : int?
br IElement
elements IList
return int?

FindTargetIndexOrThrow() public static method

public static FindTargetIndexOrThrow ( IElement br, IList elements ) : int
br IElement
elements IList
return int

GetTargetOffset() public static method

public static GetTargetOffset ( IElement br ) : int
br IElement
return int

Matches() public static method

public static Matches ( IElement element, bool>.Func predicate ) : bool
element IElement
predicate bool>.Func
return bool

ThrowTargetNotFound() public static method

public static ThrowTargetNotFound ( IElement br ) : void
br IElement
return void