Class Expression
An evaluator expression.
Inheritance
System.Object
Expression
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()
Namespace: SpiceSharpParser.Common.Evaluation
Assembly: SpiceSharpParser.dll
Syntax
public abstract class Expression
Constructors
| Improve this Doc View SourceExpression(String)
Initializes a new instance of the Expression class.
Declaration
protected Expression(string expression)
Parameters
Type | Name | Description |
---|---|---|
System.String | expression | Expression. |
Properties
| Improve this Doc View SourceCanProvideValueDirectly
Gets the value indicating whether expression can provide value without evaluation.
Declaration
public abstract bool CanProvideValueDirectly { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ValueExpression
Gets the expression string.
Declaration
public string ValueExpression { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceClone()
Clones the expression.
Declaration
public abstract Expression Clone()
Returns
Type | Description |
---|---|
Expression | A cloned expression. |
GetValue()
Declaration
public abstract double GetValue()
Returns
Type | Description |
---|---|
System.Double |