C# Class RegexParser.Transforms.BaseASTTransform

Class representing an Abstract Syntax Tree (AST) transform.
Datei anzeigen Open project: aistrate/RegexParser Class Usage Examples

Public Methods

Method Description
Transform ( BasePattern pattern ) : BasePattern

Protected Methods

Method Description
CreateGroupOrSingleton ( bool isCapturing, BasePattern children ) : BasePattern
IsEmpty ( BasePattern pattern ) : bool
IsNotEmpty ( BasePattern pattern ) : bool

Method Details

CreateGroupOrSingleton() protected method

protected CreateGroupOrSingleton ( bool isCapturing, BasePattern children ) : BasePattern
isCapturing bool
children RegexParser.Patterns.BasePattern
return RegexParser.Patterns.BasePattern

IsEmpty() protected method

protected IsEmpty ( BasePattern pattern ) : bool
pattern RegexParser.Patterns.BasePattern
return bool

IsNotEmpty() protected method

protected IsNotEmpty ( BasePattern pattern ) : bool
pattern RegexParser.Patterns.BasePattern
return bool

Transform() public method

public Transform ( BasePattern pattern ) : BasePattern
pattern RegexParser.Patterns.BasePattern
return RegexParser.Patterns.BasePattern