C# Class System.Text.RegularExpressions.PatternCompiler

Inheritance: ICompiler
Exibir arquivo Open project: runefs/Marvin Class Usage Examples

Private Properties

Property Type Description
BeginLink void
Emit void
Emit void
Emit void
EmitCount void
EmitLink void
MakeFlags OpFlags

Public Methods

Method Description
DecodeOp ( ushort word, System.Text.RegularExpressions.OpCode &op, OpFlags &flags ) : void
EmitAlternationEnd ( ) : void
EmitAnchor ( bool reverse, int offset, System.Text.RegularExpressions.LinkRef tail ) : void
EmitBalance ( ) : void
EmitBalanceStart ( int gid, int balance, bool capture, System.Text.RegularExpressions.LinkRef tail ) : void
EmitBranch ( System.Text.RegularExpressions.LinkRef next ) : void
EmitBranchEnd ( ) : void
EmitCategory ( Category cat, bool negate, bool reverse ) : void
EmitCharacter ( char c, bool negate, bool ignore, bool reverse ) : void
EmitClose ( int gid ) : void
EmitFalse ( ) : void
EmitFastRepeat ( int min, int max, bool lazy, System.Text.RegularExpressions.LinkRef tail ) : void
EmitIfDefined ( int gid, System.Text.RegularExpressions.LinkRef tail ) : void
EmitIn ( System.Text.RegularExpressions.LinkRef tail ) : void
EmitInfo ( int count, int min, int max ) : void
EmitJump ( System.Text.RegularExpressions.LinkRef target ) : void
EmitNotCategory ( Category cat, bool negate, bool reverse ) : void
EmitOpen ( int gid ) : void
EmitPosition ( Position pos ) : void
EmitRange ( char lo, char hi, bool negate, bool ignore, bool reverse ) : void
EmitReference ( int gid, bool ignore, bool reverse ) : void
EmitRepeat ( int min, int max, bool lazy, System.Text.RegularExpressions.LinkRef until ) : void
EmitSet ( char lo, BitArray set, bool negate, bool ignore, bool reverse ) : void
EmitString ( string str, bool ignore, bool reverse ) : void
EmitSub ( System.Text.RegularExpressions.LinkRef tail ) : void
EmitTest ( System.Text.RegularExpressions.LinkRef yes, System.Text.RegularExpressions.LinkRef tail ) : void
EmitTrue ( ) : void
EmitUntil ( System.Text.RegularExpressions.LinkRef repeat ) : void
EncodeOp ( System.Text.RegularExpressions.OpCode op, OpFlags flags ) : ushort
GetMachineFactory ( ) : IMachineFactory
NewLink ( ) : System.Text.RegularExpressions.LinkRef
PatternCompiler ( ) : System
Reset ( ) : void
ResolveLink ( System.Text.RegularExpressions.LinkRef lref ) : void

Private Methods

Method Description
BeginLink ( System.Text.RegularExpressions.LinkRef lref ) : void
Emit ( System.Text.RegularExpressions.OpCode op ) : void
Emit ( System.Text.RegularExpressions.OpCode op, OpFlags flags ) : void
Emit ( ushort word ) : void
EmitCount ( int count ) : void
EmitLink ( System.Text.RegularExpressions.LinkRef lref ) : void
MakeFlags ( bool negate, bool ignore, bool reverse, bool lazy ) : OpFlags

Method Details

DecodeOp() public static method

public static DecodeOp ( ushort word, System.Text.RegularExpressions.OpCode &op, OpFlags &flags ) : void
word ushort
op System.Text.RegularExpressions.OpCode
flags OpFlags
return void

EmitAlternationEnd() public method

public EmitAlternationEnd ( ) : void
return void

EmitAnchor() public method

public EmitAnchor ( bool reverse, int offset, System.Text.RegularExpressions.LinkRef tail ) : void
reverse bool
offset int
tail System.Text.RegularExpressions.LinkRef
return void

EmitBalance() public method

public EmitBalance ( ) : void
return void

EmitBalanceStart() public method

public EmitBalanceStart ( int gid, int balance, bool capture, System.Text.RegularExpressions.LinkRef tail ) : void
gid int
balance int
capture bool
tail System.Text.RegularExpressions.LinkRef
return void

EmitBranch() public method

public EmitBranch ( System.Text.RegularExpressions.LinkRef next ) : void
next System.Text.RegularExpressions.LinkRef
return void

EmitBranchEnd() public method

public EmitBranchEnd ( ) : void
return void

EmitCategory() public method

public EmitCategory ( Category cat, bool negate, bool reverse ) : void
cat Category
negate bool
reverse bool
return void

EmitCharacter() public method

public EmitCharacter ( char c, bool negate, bool ignore, bool reverse ) : void
c char
negate bool
ignore bool
reverse bool
return void

EmitClose() public method

public EmitClose ( int gid ) : void
gid int
return void

EmitFalse() public method

public EmitFalse ( ) : void
return void

EmitFastRepeat() public method

public EmitFastRepeat ( int min, int max, bool lazy, System.Text.RegularExpressions.LinkRef tail ) : void
min int
max int
lazy bool
tail System.Text.RegularExpressions.LinkRef
return void

EmitIfDefined() public method

public EmitIfDefined ( int gid, System.Text.RegularExpressions.LinkRef tail ) : void
gid int
tail System.Text.RegularExpressions.LinkRef
return void

EmitIn() public method

public EmitIn ( System.Text.RegularExpressions.LinkRef tail ) : void
tail System.Text.RegularExpressions.LinkRef
return void

EmitInfo() public method

public EmitInfo ( int count, int min, int max ) : void
count int
min int
max int
return void

EmitJump() public method

public EmitJump ( System.Text.RegularExpressions.LinkRef target ) : void
target System.Text.RegularExpressions.LinkRef
return void

EmitNotCategory() public method

public EmitNotCategory ( Category cat, bool negate, bool reverse ) : void
cat Category
negate bool
reverse bool
return void

EmitOpen() public method

public EmitOpen ( int gid ) : void
gid int
return void

EmitPosition() public method

public EmitPosition ( Position pos ) : void
pos Position
return void

EmitRange() public method

public EmitRange ( char lo, char hi, bool negate, bool ignore, bool reverse ) : void
lo char
hi char
negate bool
ignore bool
reverse bool
return void

EmitReference() public method

public EmitReference ( int gid, bool ignore, bool reverse ) : void
gid int
ignore bool
reverse bool
return void

EmitRepeat() public method

public EmitRepeat ( int min, int max, bool lazy, System.Text.RegularExpressions.LinkRef until ) : void
min int
max int
lazy bool
until System.Text.RegularExpressions.LinkRef
return void

EmitSet() public method

public EmitSet ( char lo, BitArray set, bool negate, bool ignore, bool reverse ) : void
lo char
set System.Collections.BitArray
negate bool
ignore bool
reverse bool
return void

EmitString() public method

public EmitString ( string str, bool ignore, bool reverse ) : void
str string
ignore bool
reverse bool
return void

EmitSub() public method

public EmitSub ( System.Text.RegularExpressions.LinkRef tail ) : void
tail System.Text.RegularExpressions.LinkRef
return void

EmitTest() public method

public EmitTest ( System.Text.RegularExpressions.LinkRef yes, System.Text.RegularExpressions.LinkRef tail ) : void
yes System.Text.RegularExpressions.LinkRef
tail System.Text.RegularExpressions.LinkRef
return void

EmitTrue() public method

public EmitTrue ( ) : void
return void

EmitUntil() public method

public EmitUntil ( System.Text.RegularExpressions.LinkRef repeat ) : void
repeat System.Text.RegularExpressions.LinkRef
return void

EncodeOp() public static method

public static EncodeOp ( System.Text.RegularExpressions.OpCode op, OpFlags flags ) : ushort
op System.Text.RegularExpressions.OpCode
flags OpFlags
return ushort

GetMachineFactory() public method

public GetMachineFactory ( ) : IMachineFactory
return IMachineFactory

NewLink() public method

public NewLink ( ) : System.Text.RegularExpressions.LinkRef
return System.Text.RegularExpressions.LinkRef

PatternCompiler() public method

public PatternCompiler ( ) : System
return System

Reset() public method

public Reset ( ) : void
return void

ResolveLink() public method

public ResolveLink ( System.Text.RegularExpressions.LinkRef lref ) : void
lref System.Text.RegularExpressions.LinkRef
return void