Table of Contents

Interface ILexer

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

Represents properties and methods for performing lexical analysis of the specified text.

public interface ILexer : INotify, IUpdate

Properties

DefaultState

When implemented by a class, gets or sets default state of the ILexer.

Scheme

When implemented by a class, gets or sets a list of rules for lexical analysis.

SerializationInfo

When implemented by a class, gets or sets an xml representation of ILexer.

Methods

Assign(ILexer)

When implemented by a class, assigns most relevant properties from another ILexer object.

ParseText(int, int, string, ref StringItemInfo[])

When implemented by a class, performs lexical analysis of given text.

ParseText(int, int, string, ref int, ref int, ref int)

When implemented by a class, performs lexical analysis of given text.

RemovePlainText(string, StringItemInfo[])

When implemented by a class, removes all plain (string constants or comments) parts of text from specified text.

ResetDefaultState()

When implemented by a class, resets the DefaultState to the default value.

Events

Parse

When implemented by a class, occurs when text line is parsed, allowing to modify colors/styles information for the parsed line.