Show / Hide Table of Contents

Class LexerLineNumberProvider

Inheritance
System.Object
LexerLineNumberProvider
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
Assembly: SpiceSharpParser.dll
Syntax
public class LexerLineNumberProvider

Constructors

| Improve this Doc View Source

LexerLineNumberProvider(String)

Declaration
public LexerLineNumberProvider(string text)
Parameters
Type Name Description
System.String text

Methods

| Improve this Doc View Source

GetColumnForIndex(Int32)

Declaration
public int GetColumnForIndex(int textIndex)
Parameters
Type Name Description
System.Int32 textIndex
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetLineForIndex(Int32)

Declaration
public int GetLineForIndex(int textIndex)
Parameters
Type Name Description
System.Int32 textIndex
Returns
Type Description
System.Int32
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX