Метод | Описание | |
---|---|---|
AddFieldsFromAssembly ( string name ) : bool |
Add the field from the given assembly as field filters.
|
|
AddFieldsFromAssembly ( string name, bool addReferences ) : bool |
Add the field from the given assembly as field filters.
|
|
AddFieldsFromAssembly ( string name, bool addReferences, string fromNamespace ) : bool |
Add the field from the given assembly as field filters.
|
|
GetLineNumber ( ) : int |
Gets the number of lines the text has.
|
|
GetNextBlock ( ) : TextBlock? |
Get the next block of text.
|
|
InitParsing ( ) : bool |
Initialize the parsing engine.
|
|
InitParsing ( int startIndex ) : bool |
Initialize the parsing engine.
|
|
LoadFilters ( IParserFilters filters ) : void |
Load the filters from the given IParserFilters object.
|
|
LoadText ( |
Loads the text from the given stream.
|
|
Parser ( ) : System |
Default constructor.
|
|
Parser ( IParserFilters filters ) : System |
Constructor with the possibility to load the word filters.
|
|
RemoveAllFilters ( ) : void |
Removes all loaded filters.
|
|
ResetParser ( ) : void |
Resets the parser.
|
|
ResetParser ( int startIndex ) : void |
Resets the parser.
|
Метод | Описание | |
---|---|---|
InitParser ( ) : void |
Initializes the structures used by the parser. Called by the constructor. |
|
IsCommentSeparator ( string s ) : TextSeparator? |
Checks if the given string is a comment separator.
|
|
IsField ( string s ) : bool |
Checks if the given string is a field. Optimized |
|
IsKeyword ( string s ) : bool |
Checks if the given string is a keyword. Optimized |
|
IsNumber ( string s ) : bool |
Checks if a string represents a number;
|
|
IsOperator ( string s ) : bool |
Checks if the given string is an operator. Optimized |
|
IsPartOfKeywordInvalid ( char c ) : bool |
Checks if the given character is part of a string or comment separator.
|
|
IsSeparator ( char c ) : bool |
Checks if the given string is a separator.
|
|
IsStringSeparator ( string s ) : TextSeparator? |
Checks if the given string is a string separator.
|
|
StringContainsChar ( string s, char c ) : bool |
Checks if a string contains a specific character.
|
public AddFieldsFromAssembly ( string name ) : bool | ||
name | string | The name of the assembly or the exact path to it. |
Результат | bool |
public AddFieldsFromAssembly ( string name, bool addReferences ) : bool | ||
name | string | The name of the assembly or the exact path to it. |
addReferences | bool | Add the fields from the assemblies referenced by the given one. |
Результат | bool |
public AddFieldsFromAssembly ( string name, bool addReferences, string fromNamespace ) : bool | ||
name | string | The name of the assembly or the exact path to it. |
addReferences | bool | Add the fields from the assemblies referenced by the given one. |
fromNamespace | string | Add fields only from the given namespaces. |
Результат | bool |
public InitParsing ( int startIndex ) : bool | ||
startIndex | int | The index in the text from where to start parsing. |
Результат | bool |
public LoadFilters ( IParserFilters filters ) : void | ||
filters | IParserFilters | The IParserFilters derived class from where to load the filters. |
Результат | void |
public LoadText ( |
||
stream | The stream from where to load the filters. | |
Результат | bool |
public Parser ( IParserFilters filters ) : System | ||
filters | IParserFilters | |
Результат | System |
public ResetParser ( int startIndex ) : void | ||
startIndex | int | The index in the text from where to start parsing. |
Результат | void |