Table of Contents

Interface ILexScheme

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

When implemented by a class, represents properties and methods to specify rules for text lexical analysis.

public interface ILexScheme : IImport, IExport

Properties

Author

When implemented by a class, gets or sets author of the ILexScheme.

Copyright

When implemented by a class, gets or sets copyright of the ILexScheme.

Desc

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

FileExtension

When implemented by a class, gets or sets string value indicating associated file extension of the ILexScheme.

FileType

When implemented by a class, gets or sets string value indicating associated file type of the ILexScheme.

Name

When implemented by a class, gets or sets ILexScheme name.

SerializationInfo

Gets or sets an xml representation of this ILexScheme object.

States

When implemented by a class, gets or sets collection of lexical states.

Styles

When implemented by a class, gets or sets collection of lexical styles.

Version

When implemented by a class, gets or sets version of the ILexScheme.

Methods

Assign(ILexScheme)

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

Clear()

When implemented by a class, removes all states and styles from this LexScheme and sets other properties to default values.

IsEmpty()

When implemented by a class, indicates whether ILexScheme is empty , that is does not contain any styles, states, author, copyright, and description information.

IsPlainText(int)

When implemented by a class, indicates whether PlainText property of lexical style given by its index is true.

Update()

When implemented by a class, causes associated ILexer to update its state.