ILexer Interface
Definition
Represents properties and methods for performing lexical analysis of the specified text.
Syntax
public interface ILexer : INotify, IUpdate
Properties
DefaultState | When implemented by a class, gets or sets default state of the |
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 |
ParseText(Int32, Int32, String, ref StringItemInfo[]) | When implemented by a class, performs lexical analysis of given text. |
ParseText(Int32, Int32, String, ref Int32, ref Int32, ref Int32) | 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 |
Events
Parse | When implemented by a class, occurs when text line is parsed, allowing to modify colors/styles information for the parsed line. |