Table of Contents

Class LexReswordSet

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

Represents class to specify keywords for ILexSyntaxBlock.LexReswordSets collection.

public class LexReswordSet : ILexReswordSet
Inheritance
LexReswordSet
Implements

Constructors

LexReswordSet(ILexSyntaxBlock)

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

Properties

Block

Gets or sets ILexSyntaxBlock owning this ILexReswordSet.

CaseSensitive

Gets or sets a value indicating whether ILexReswordSet is case-sensitive or not.

Index

Represents index of the LexReswordSet within the reswords collection.

Name

Gets or set name for the LexReswordSet.

ReswordStyle

Gets or sets an ILexStyle of resword collection.

Reswords

Represents a list of reswords for the LexReswordSet.Reswords.

SerializationInfo

Gets or sets an xml representation of this LexReswordSet object.

Methods

AddResword(string)

Adds a new element to the resword collection.

Clear()

Removes all items from Reswords collection.

FindResword(string)

Locates given resword in Reswords collection.

OnBlockChanged()
OnCaseSensitiveChanged()
OnNameChanged()
OnReswordStyleChanged()
OnReswordsChanged()