C# Class System.Text.RegularExpressions.Interpreter

Inheritance: System.Text.RegularExpressions.BaseMachine
Mostra file Open project: runefs/Marvin Class Usage Examples

Public Methods

Method Description
Interpreter ( ushort program ) : System
Scan ( Regex regex, string text, int start, int end ) : Match

Private Methods

Method Description
Backtrack ( int cp ) : void
Balance ( int gid, int balance_gid, bool capture, int ptr ) : bool
Checkpoint ( ) : int
Close ( int gid, int ptr ) : void
CreateMark ( int previous ) : int
Eval ( Mode mode, int &ref_ptr, int pc ) : bool
EvalChar ( Mode mode, int &ptr, int &pc, bool multi ) : bool
GenerateMatch ( Regex regex ) : Match
GetGroupInfo ( int gid, int &first_mark_index, int &n_caps ) : void
GetLastDefined ( int gid ) : int
GetString ( int pc ) : string
IsPosition ( Position pos, int ptr ) : bool
IsWordChar ( char c ) : bool
Open ( int gid, int ptr ) : void
PopulateGroup ( Group g, int first_mark_index, int n_caps ) : void
ReadProgramCount ( int ptr ) : int
Reset ( ) : void
ResetGroups ( ) : void
TryMatch ( int &ref_ptr, int pc ) : bool

Method Details

Interpreter() public method

public Interpreter ( ushort program ) : System
program ushort
return System

Scan() public method

public Scan ( Regex regex, string text, int start, int end ) : Match
regex Regex
text string
start int
end int
return Match