C# Class Kobi.RecreationalRegex.PcreGrammar.Builder.PatternBuilder

Exibir arquivo Open project: kobi/RecreationalRegex Class Usage Examples

Public Methods

Method Description
Build ( ) : string
Build ( IEnumerable states, IStackStateWriter stackStateWriter ) : string
PatternBuilder ( IEnumerable states, IStackStateWriter stackStateWriter ) : System

Protected Methods

Method Description
NonCapturingGroup ( string quantifier = null ) : IDisposable
WriteWithSeparator ( string separator, IEnumerable patterns ) : void

Private Methods

Method Description
Write ( Alternation alternation ) : void
Write ( Concat concat ) : void
Write ( IPattern pattern ) : void
Write ( PushState pushState ) : void
Write ( RegexLiteral literal ) : void
Write ( State state ) : void
WritePushState ( State state ) : void

Method Details

Build() public method

public Build ( ) : string
return string

Build() public static method

public static Build ( IEnumerable states, IStackStateWriter stackStateWriter ) : string
states IEnumerable
stackStateWriter IStackStateWriter
return string

NonCapturingGroup() protected method

protected NonCapturingGroup ( string quantifier = null ) : IDisposable
quantifier string
return IDisposable

PatternBuilder() public method

public PatternBuilder ( IEnumerable states, IStackStateWriter stackStateWriter ) : System
states IEnumerable
stackStateWriter IStackStateWriter
return System

WriteWithSeparator() protected method

protected WriteWithSeparator ( string separator, IEnumerable patterns ) : void
separator string
patterns IEnumerable
return void