Table of Contents

Interface ILexSyntaxBlock

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

Represents properties and methods for individual syntax block with collection of syntax blocks.

public interface ILexSyntaxBlock

Properties

CaseSensitive

When implemented by a class, gets or sets a value indicating whether ILexSyntaxBlock is case-sensitive or not.

Desc

When implemented by a class, gets or sets description of the ILexSyntaxBlock.

Expression

When implemented by a class, represents a collective regular expression pattern for the ILexSyntaxBlock.Expressions.

Expressions

When implemented by a class, gets or sets collection of the expressions used by ILexer to parse the text.

Index

When implemented by a class, represents index of the ILexSyntaxBlock within the lexical syntax block collection.

LeaveState

When implemented by a class, gets or sets ILexState object that specifies lexical resulting state after lexical analyzer locates text, that matches to the ILexSyntaxBlock.Expression.

Name

When implemented by a class, gets or sets name of the ILexSyntaxBlock.

ReswordSets

When implemented by a class, gets or sets collection of the ILexReswordSet object containing Reserved words.

SerializationInfo

Gets or sets an xml representation of this ILexSyntaxBlock object.

State

When implemented by a class, gets or sets ILexState owning this ILexSyntaxBlock

Style

When implemented by a class, gets or sets an ILexStyle object, applicable for text that matches ILexSyntaxBlock expression.

Methods

AddExpression(string)

When implemented by a class, adds new element to the expression collection.

FindResword(string)

Locates LexReswordSet containing given resword.