Class ParseTreeTerminalNode
Terminal node in parse tree. It contains a token.
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)
Namespace: SpiceSharpParser.Parsers.Netlist
Assembly: SpiceSharpParser.dll
Syntax
public class ParseTreeTerminalNode : ParseTreeNode
Constructors
| Improve this Doc View SourceParseTreeTerminalNode(SpiceToken, ParseTreeNonTerminalNode)
Initializes a new instance of the ParseTreeTerminalNode class.
Declaration
public ParseTreeTerminalNode(SpiceToken token, ParseTreeNonTerminalNode parent)
Parameters
Type | Name | Description |
---|---|---|
SpiceToken | token | A token for the terminal node. |
ParseTreeNonTerminalNode | parent | A parent of the terminal node. |
Properties
| Improve this Doc View SourceToken
Gets the token for the node.
Declaration
public SpiceToken Token { get; }
Property Value
Type | Description |
---|---|
SpiceToken |
Methods
| Improve this Doc View SourceToString()
Returns a string representation of the parse tree node.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string representation of the terminal node. |
Overrides
System.Object.ToString()