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 SourceLexerLineNumberProvider(String)
Declaration
public LexerLineNumberProvider(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Methods
| Improve this Doc View SourceGetColumnForIndex(Int32)
Declaration
public int GetColumnForIndex(int textIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | textIndex |
Returns
Type | Description |
---|---|
System.Int32 |
GetLineForIndex(Int32)
Declaration
public int GetLineForIndex(int textIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | textIndex |
Returns
Type | Description |
---|---|
System.Int32 |