C# Class FlimFlan.ReadableRex.Alternation

显示文件 Open project: royosherove/dotnet-linq-to-regex

Public Methods

Method Description
Either ( Pattern firstOption, Pattern secondOption ) : Pattern
If ( Pattern matched, Pattern then, Pattern otherwise ) : Pattern
If ( int unnamedCaptureToMatch, Pattern then, Pattern otherwise ) : Pattern
If ( string namedGroupToMatch, Pattern then, Pattern otherwise ) : Pattern

Private Methods

Method Description
Alternation ( Pattern precedingPattern ) : System

Method Details

Either() public method

public Either ( Pattern firstOption, Pattern secondOption ) : Pattern
firstOption Pattern
secondOption Pattern
return Pattern

If() public method

public If ( Pattern matched, Pattern then, Pattern otherwise ) : Pattern
matched Pattern
then Pattern
otherwise Pattern
return Pattern

If() public method

public If ( int unnamedCaptureToMatch, Pattern then, Pattern otherwise ) : Pattern
unnamedCaptureToMatch int
then Pattern
otherwise Pattern
return Pattern

If() public method

public If ( string namedGroupToMatch, Pattern then, Pattern otherwise ) : Pattern
namedGroupToMatch string
then Pattern
otherwise Pattern
return Pattern