Show / Hide Table of Contents

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 Source

SpiceLexer(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 Source

GetTokens(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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX