Class ExpressionParser
Inheritance
System.Object
ExpressionParser
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: SpiceSharpParser.dll
Syntax
public class ExpressionParser
Constructors
|
Improve this Doc
View Source
ExpressionParser(EvaluationContext, Boolean, ISpiceNetlistCaseSensitivitySettings)
Declaration
public ExpressionParser(EvaluationContext context, bool throwOnErrors, ISpiceNetlistCaseSensitivitySettings caseSettings)
Parameters
Properties
|
Improve this Doc
View Source
CaseSettings
Declaration
public ISpiceNetlistCaseSensitivitySettings CaseSettings { get; }
Property Value
|
Improve this Doc
View Source
Context
Declaration
public EvaluationContext Context { get; }
Property Value
|
Improve this Doc
View Source
DoubleBuilder
Declaration
protected CustomRealBuilder DoubleBuilder { get; }
Property Value
|
Improve this Doc
View Source
InternalParser
Declaration
protected Parser InternalParser { get; }
Property Value
|
Improve this Doc
View Source
ThrowOnErrors
Declaration
public bool ThrowOnErrors { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
CreateFunctions()
Declaration
public Dictionary<string, ResolverFunction> CreateFunctions()
Returns
Type |
Description |
System.Collections.Generic.Dictionary<System.String, ResolverFunction> |
|
|
Improve this Doc
View Source
GetFunctions(String)
Declaration
public IEnumerable<string> GetFunctions(string expression)
Parameters
Type |
Name |
Description |
System.String |
expression |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
GetVariables(String)
Declaration
public IEnumerable<string> GetVariables(string expression)
Parameters
Type |
Name |
Description |
System.String |
expression |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
Parse(String)
Declaration
public double Parse(string expression)
Parameters
Type |
Name |
Description |
System.String |
expression |
|
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Resolve(String)
Declaration
public Node Resolve(string expression)
Parameters
Type |
Name |
Description |
System.String |
expression |
|
Returns
Type |
Description |
SpiceSharpBehavioral.Parsers.Nodes.Node |
|