Show / Hide Table of Contents

Class LexerState

A base class for lexer state classes. It contains a type of previous token.

Inheritance
System.Object
LexerState
SpiceLexerState
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 LexerState

Properties

| Improve this Doc View Source

BeforeLineBreak

Gets or sets a value indicating whether lexem is before a line break character.

Declaration
public bool BeforeLineBreak { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CurrentRuleRegex

Gets or sets the current regex rule.

Declaration
public Regex CurrentRuleRegex { get; set; }
Property Value
Type Description
System.Text.RegularExpressions.Regex
| Improve this Doc View Source

FullMatch

Gets or sets a value indicating whether lexem is a full match.

Declaration
public bool FullMatch { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LineNumber

Gets or sets the current line number.

Declaration
public int LineNumber { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

NewLine

Gets or sets a value indicating whether the lexer is lexing new line.

Declaration
public bool NewLine { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

PreviousReturnedTokenType

Gets or sets type of previously returned token by lexer.

Declaration
public int PreviousReturnedTokenType { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

StartColumnIndex

Gets or sets the start column index.

Declaration
public int StartColumnIndex { get; set; }
Property Value
Type Description
System.Int32
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX