Свойство | Type | Description | |
---|---|---|---|
AddError | |||
AddError | |||
Advance | |||
Advance | |||
AdvanceTo | |||
AdvanceTo | |||
AdvanceToNextLine | |||
HasMarker | System.Boolean | ||
InsertMarker | |||
ParseBlock | Statement | ||
ParseStatement | Statement | ||
ParseStatement | Statement | ||
RemoveMarker | |||
Replace | |||
SetOffset | |||
SetPointer | |||
Skip |
Méthode | Description | |
---|---|---|
IsBlockComment ( Char ch1, Char ch2 ) : System.Boolean |
Determines if the given content is a block comment.
|
|
IsComment ( Char ch1, Char ch2 ) : System.Boolean |
Determines if the given content is a (block or line) comment.
|
|
IsIdentifierPart ( Char ch ) : System.Boolean |
Determines if the given character is the part of an identifier character.
|
|
IsIdentifierStart ( Char ch ) : System.Boolean |
Determines if the given character is the start of an identifier.
|
|
IsLetter ( Char ch ) : System.Boolean |
Determines if the given character is a letter character.
|
|
IsLineComment ( Char ch1, Char ch2 ) : System.Boolean |
Determines if the given content is a line comment.
|
|
IsNewLine ( Char ch ) : System.Boolean |
Determines if the given character is a new line character.
|
|
IsNumber ( Char ch ) : System.Boolean |
Determines if the given character is a number character.
|
|
IsWhiteSpace ( Char ch ) : System.Boolean |
Determines if the given character is a white space character.
|
|
Parse ( ) : |
Runs the parser over the inserted query.
|
|
Parse ( System.Boolean generateExpressionDebug ) : String |
Runs the parser over the inserted query.
|
|
ParseEngine ( |
Creates a new instance of the parse engine.
|
|
Reset ( ) : |
Resets the complete parse tree.
|
|
ToString ( ) : String |
Transforms the contained expression blocks into one string.
|
Méthode | Description | |
---|---|---|
AddError ( |
Add a parse error to the list of parse errors.
|
|
AddError ( |
Add a parse error to the list of parse errors with the block causing the error.
|
|
Advance ( ) : |
Advances by one character.
|
|
Advance ( |
Advances by the specified amount of characters.
|
|
AdvanceTo ( Char target ) : |
Advances to a specified character.
|
|
AdvanceTo ( String target ) : |
Advances to a sequence of characters given by string.
|
|
AdvanceToNextLine ( ) : |
Advances to the next line, i.e. the next new line character.
|
|
HasMarker ( Marker marker ) : System.Boolean | ||
InsertMarker ( Marker marker ) : |
||
ParseBlock ( Statement statement, |
Parses a block with a default operator if no operator has been found.
|
|
ParseStatement ( ) : Statement |
Standard parsing of a statement (ends with ; or }).
|
|
ParseStatement ( Char termination, YAMPParseError>.Func |
More custom parsing of a statement (ends with a custom termination char).
|
|
RemoveMarker ( Marker marker ) : |
||
Replace ( |
Replaces a character at a specified index by the given one.
|
|
SetOffset ( |
Sets an offset of the parser, i.e. sets line and column to (different) values.
|
|
SetPointer ( |
Sets the character pointer to a new position.
|
|
Skip ( ) : |
Skips to the next significant character avoiding line comments, block comments, whitespaces or new lines.
|
public static IsBlockComment ( Char ch1, Char ch2 ) : System.Boolean | ||
ch1 | Char | The leading character to be examined. |
ch2 | Char | The succeeding character to be investigated. |
Résultat | System.Boolean |
public static IsComment ( Char ch1, Char ch2 ) : System.Boolean | ||
ch1 | Char | The leading character to be examined. |
ch2 | Char | The succeeding character to be investigated. |
Résultat | System.Boolean |
public static IsIdentifierPart ( Char ch ) : System.Boolean | ||
ch | Char | The character to be examined. |
Résultat | System.Boolean |
public static IsIdentifierStart ( Char ch ) : System.Boolean | ||
ch | Char | The character to be examined. |
Résultat | System.Boolean |
public static IsLetter ( Char ch ) : System.Boolean | ||
ch | Char | The character to be examined. |
Résultat | System.Boolean |
public static IsLineComment ( Char ch1, Char ch2 ) : System.Boolean | ||
ch1 | Char | The leading character to be examined. |
ch2 | Char | The succeeding character to be investigated. |
Résultat | System.Boolean |
public static IsNewLine ( Char ch ) : System.Boolean | ||
ch | Char | The character to be examined. |
Résultat | System.Boolean |
public static IsNumber ( Char ch ) : System.Boolean | ||
ch | Char | The character to be examined. |
Résultat | System.Boolean |
public static IsWhiteSpace ( Char ch ) : System.Boolean | ||
ch | Char | The character to be examined. |
Résultat | System.Boolean |
public Parse ( System.Boolean generateExpressionDebug ) : String | ||
generateExpressionDebug | System.Boolean | /// Generate a string representation of the Expression tree to help debugging. /// |
Résultat | String |
public ParseEngine ( |
||
query | The query context to consider. | |
context | The parser context to use. | |
Résultat | System |