C# Class RegexParser.Patterns.BasePattern

Mostra file Open project: aistrate/RegexParser Class Usage Examples

Public Methods

Method Description
CreatePattern ( string patternText ) : BasePattern
FormatAsTree ( int indentLevel ) : string
FormatAsTree ( int indentLevel, bool expandCharPatterns ) : string
ToPrettyPrint ( ) : PPElement
ToString ( ) : string

Protected Methods

Method Description
BasePattern ( PatternType type, int minCharLength ) : System
PPGroupWithDelimiters ( IEnumerable children ) : PPElement
PPGroupWithDelimiters ( PPElement separator, IEnumerable children ) : PPElement

Method Details

BasePattern() protected method

protected BasePattern ( PatternType type, int minCharLength ) : System
type PatternType
minCharLength int
return System

CreatePattern() public static method

public static CreatePattern ( string patternText ) : BasePattern
patternText string
return BasePattern

FormatAsTree() public method

public FormatAsTree ( int indentLevel ) : string
indentLevel int
return string

FormatAsTree() public method

public FormatAsTree ( int indentLevel, bool expandCharPatterns ) : string
indentLevel int
expandCharPatterns bool
return string

PPGroupWithDelimiters() protected static method

protected static PPGroupWithDelimiters ( IEnumerable children ) : PPElement
children IEnumerable
return Utility.PrettyPrint.PPElement

PPGroupWithDelimiters() protected static method

protected static PPGroupWithDelimiters ( PPElement separator, IEnumerable children ) : PPElement
separator Utility.PrettyPrint.PPElement
children IEnumerable
return Utility.PrettyPrint.PPElement

ToPrettyPrint() public abstract method

public abstract ToPrettyPrint ( ) : PPElement
return Utility.PrettyPrint.PPElement

ToString() public method

public ToString ( ) : string
return string