Class NodeFinder
A builder that evaluates which nodes are in the expression.
Inheritance
System.Object
NodeFinder
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SpiceSharpBehavioral.Builders
Assembly: SpiceSharpBehavioral.dll
Syntax
public class NodeFinder : IBuilder<IEnumerable<VariableNode>>
Constructors
NodeFinder()
Declaration
public NodeFinder()
Methods
Build(Node)
Builds the specified value from the specified expression node.
Declaration
public IEnumerable<VariableNode> Build(Node expression)
Parameters
Type | Name | Description |
---|---|---|
Node | expression | The expression node. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<VariableNode> | The variable nodes. |
CurrentNodes(Node)
Finds all current nodes.
Declaration
public IEnumerable<VariableNode> CurrentNodes(Node expression)
Parameters
Type | Name | Description |
---|---|---|
Node | expression | The expression. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<VariableNode> | The current nodes. |
VoltageNodes(Node)
Finds all voltage nodes.
Declaration
public IEnumerable<VariableNode> VoltageNodes(Node expression)
Parameters
Type | Name | Description |
---|---|---|
Node | expression | The expression node. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<VariableNode> | The voltage nodes. |
Implements
See Also
IBuilder<T>