Class SpiceLexer
A lexer for SPICE netlists.
Inheritance
System.Object
SpiceLexer
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.Lexers.Netlist.Spice
Assembly: SpiceSharpParser.dll
Syntax
public class SpiceLexer
Constructors
| Improve this Doc View SourceSpiceLexer(SpiceLexerSettings)
Initializes a new instance of the SpiceLexer class.
Declaration
public SpiceLexer(SpiceLexerSettings options)
Parameters
Type | Name | Description |
---|---|---|
SpiceLexerSettings | options | options for lexer. |
Methods
| Improve this Doc View SourceGetTokens(String)
Gets tokens for SPICE netlist.
Declaration
public IEnumerable<SpiceToken> GetTokens(string netlistText)
Parameters
Type | Name | Description |
---|---|---|
System.String | netlistText | A string with SPICE netlist. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<SpiceToken> | An enumerable of tokens. |