Метод | Описание | |
---|---|---|
AddCustomConstant ( this parser, String name, Double constant ) : void |
Adds a custom constant to the parser (to the primary context).
|
|
AddCustomConstant ( this parser, String name, |
Adds a custom constant to the parser (to the primary context).
|
|
AddCustomFunction ( this parser, String name, FunctionDelegate f ) : void |
Adds a custom function to be used by the parser (to the primary context).
|
|
AddVariable ( this parser, String name, |
Adds a variable to be used by the parser (to the primary context).
|
|
Evaluate ( this parser, String input ) : |
Execute the evaluation of this parser instance without any external symbols.
|
|
Evaluate ( this parser, String input, Object values ) : |
Execute the evaluation of this parser instance with external symbols.
|
|
LoadPlugin ( this parser, |
Loads an external library (assembly) that uses IFunction, Operator, ..., into the primary context.
|
|
RemoveCustomConstant ( this parser, String name ) : void |
Removes a custom constant (to the primary context).
|
|
RemoveCustomFunction ( this parser, String name ) : void |
Removes a custom function (to the primary context).
|
|
RemoveVariable ( this parser, String name ) : void |
Removes a variable from the workspace (to the primary context).
|
|
RenameConstant ( this parser, String oldName, String newName ) : void |
Renames an existing constant (custom or defined).
|
|
RenameFunction ( this parser, String oldName, String newName ) : void |
Renames an existing function (custom or defined).
|
|
UnloadPlugin ( this parser, System.Guid pluginId ) : void |
Unloads a previously loaded plugin.
|
public static AddCustomConstant ( this parser, String name, Double constant ) : void | ||
parser | this | The parser to extend. |
name | String | /// The name of the symbol corresponding to the constant. /// |
constant | Double | /// The value of the constant. /// |
Результат | void |
public static AddCustomConstant ( this parser, String name, |
||
parser | this | The parser to extend. |
name | String | /// The name of the symbol corresponding to the constant. /// |
constant | /// The value of the constant. /// | |
Результат | void |
public static AddCustomFunction ( this parser, String name, FunctionDelegate f ) : void | ||
parser | this | The parser to extend. |
name | String | /// The name of the symbol corresponding to the function that should be added. /// |
f | FunctionDelegate | /// The function that fulfills the signature Value f(Value v). /// |
Результат | void |
public static AddVariable ( this parser, String name, |
||
parser | this | The parser to extend. |
name | String | /// The name of the symbol corresponding to the variable that should be added. /// |
value | /// The value of the variable. /// | |
Результат | void |
public static Evaluate ( this parser, String input ) : |
||
parser | this | The parser to extend. |
input | String | The input to evaluate. |
Результат |
public static Evaluate ( this parser, String input, Object values ) : |
||
parser | this | The parser to extend. |
input | String | The input to evaluate. |
values | Object | /// The values in an anonymous object - containing name - value pairs. /// |
Результат |
public static LoadPlugin ( this parser, |
||
parser | this | The parser to extend. |
assembly | /// The assembly to load as a plugin. /// | |
Результат | System.Guid |
public static RemoveCustomConstant ( this parser, String name ) : void | ||
parser | this | The parser to extend. |
name | String | /// The name of the symbol corresponding to the constant that should be removed. /// |
Результат | void |
public static RemoveCustomFunction ( this parser, String name ) : void | ||
parser | this | The parser to extend. |
name | String | /// The name of the symbol corresponding to the function that should be removed. /// |
Результат | void |
public static RemoveVariable ( this parser, String name ) : void | ||
parser | this | The parser to extend. |
name | String | /// The name of the symbol corresponding to the variable that should be removed. /// |
Результат | void |
public static RenameConstant ( this parser, String oldName, String newName ) : void | ||
parser | this | The parser to extend. |
oldName | String | The old name of the constant. |
newName | String | The new name for the constant. |
Результат | void |
public static RenameFunction ( this parser, String oldName, String newName ) : void | ||
parser | this | The parser to extend. |
oldName | String | The old name of the function. |
newName | String | The new name for the function. |
Результат | void |
public static UnloadPlugin ( this parser, System.Guid pluginId ) : void | ||
parser | this | The parser to extend. |
pluginId | System.Guid | The ID for the assembly to unload. |
Результат | void |