The ConfigurableParserInstance type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ConfigurableParserInstance |
Create a configurable parser with no matchers set.
|
Methods
Name | Description | |
---|---|---|
AddArrayAccessMatcher |
Matches array access: a[3]
|
|
AddBracketMatcher |
Matches bracketed expressions: (2+3).
|
|
AddDoubleQuoteStrings |
Recognize double quote strings "...".
|
|
AddExponentNumbers |
Recognize numbers with optional exponents, 1.2e3, 1.2E-3, 1.2, 1.
|
|
AddFunctionMatcher |
Matches functions: atan2(y,x).
|
|
AddGrammarMatcher |
Adds an IGrammarMatcher
|
|
AddHashComments |
Recognize comments of the form #....
|
|
AddIdentifiers |
Adds java-style function and variable names.
These start with A-Z, a-z, or _ and are followed by zero or more alpha-numeric characters or _.
|
|
AddListMatcher |
Matches vectors/list: [1,2,3]
|
|
AddListOrBracketMatcher |
Matches bracketed expressions or lists depending on number of arguments.
|
|
AddOperatorTokenMatcher |
Recognize operators.
|
|
AddSemiColonTerminator |
Adds a matcher which will terminate the parsing process when a semi-colon is encountered.
|
|
AddSimpleNumbers |
Recognize numbers without exponents 1.2.
|
|
AddSingleQuoteStrings |
Recognize single quote strings '...'.
|
|
AddSlashComments |
Recognize comments of the form //... or /* ...
Does not return a given matcher since there are multiple ones.
|
|
AddSymbols |
Recognize given symbols.
|
|
AddTokenFilter |
Adds an ITokenFilter.
|
|
AddTokenMatcher |
Adds a TokenMatcher.
|
|
AddWhiteSpace |
Recognize white space characters.
|
|
AddWhiteSpaceCommentFilter |
Filter out whitespace and comments between the tokenizing and grammar matching stages.
|
|
ContinueParse |
Parse the next expressions from existing stream.
Empty expressions such as ;; are silently ignored.
|
|
Equals | (Inherited from Object.) | |
Filter |
Filters the tokens to remove whitespace etc. Not for normal use.
|
|
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetGrammarMatchers |
Return the list of GrammarMatchers.
|
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetLightWeightInstance |
Returns a light weight instance, suitable for use in multiple evaluation threads.
In this case returns null.
|
|
GetOperatorTokenMatcher |
Return the OperatorTokenMatcher.
Note this matcher is only added if addOperatorTokenMatcher() is called.
|
|
GetSymbolToken |
Return the SymbolToken for the given string.
|
|
GetSymbolTokenMatcher |
Return the SymbolTokenMatcher.
Note this matcher is only added if addSymbols() is called.
|
|
GetTokenFilters |
Return the list of filters.
|
|
GetTokenMatchers |
Return the list of TokenMatchers
|
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
Init |
Initializes the components
|
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
Parse | Overloaded. | |
Restart |
Load a new character stream to read from.
|
|
Scan | Overloaded. | |
SetImplicitMultiplicationSymbols |
Sets those symbols which can appear on the right hand side of implicit multiplication.
|
|
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
filters |
Token filters
|
|
g |
Grammer matchers
|
|
jep |
Jep instance
|
|
m |
Token matchers
|
|
otm |
Operator token matcher
|
|
stm |
Symbol token matcher
|
|
tk |
Tokenizer
|