Table of Contents

Class LexState

Namespace
Alternet.Syntax.Lexer
Assembly
Alternet.Syntax.v9.dll

Represents an individual lexical state with collection of lexical states.

public class LexState : ILexState
Inheritance
LexState
Implements

Constructors

LexState()

Initializes a new instance of the LexState class with default settings.

LexState(ILexScheme)

Initializes a new instance of the LexState class with a specified owner.

Properties

Blocks

Represents collection of Syntax Blocks associated with this ILexState.

CaseSensitive

Gets or sets a value indicating whether the analyzer should perform case sensitive parsing for this LexState.

Desc

Gets or sets description of the ILexState.

Expression

Represents a collective regular expression pattern for the LexState.

Index

Represents index of the LexState within the lexical state collection.

Name

Gets or sets name of the LexState.

Regex

Represents a regular expression that contains Expression as a pattern.

Scheme

Gets or sets ILexScheme that owns this LexState.

SerializationInfo

Gets or sets an xml representation of this LexState object.

SyntaxBlocks

Gets or sets a collection of lexical syntax blocks.

Methods

OnBlocksChanged()
OnCaseSensitiveChanged()
OnDescChanged()
OnNameChanged()
OnSchemeChanged()
ResetCaseSensitive()

Resets the CaseSensitive to the default value.

UpdateExpression(string, bool)