Class LexSyntaxBlock
Represents an individual syntax block in the collection of syntax blocks.
public class LexSyntaxBlock : ILexSyntaxBlock
- Inheritance
-
LexSyntaxBlock
- Implements
Constructors
- LexSyntaxBlock()
Initializes a new instance of the
LexSyntaxBlockclass with default settings.
- LexSyntaxBlock(ILexState)
Initializes a new instance of the
LexSyntaxBlockclass with a specified owner.
Properties
- CaseSensitive
Gets or sets a value indicating whether
ILexSyntaxBlockis case-sensitive or not.
- Desc
Gets or sets description of the
LexSyntaxBlock.
- Expression
Represents a collective regular expression pattern for the
LexSyntaxBlock.Expressions.
- Expressions
Represents a list of regular expression patterns for the
LexSyntaxBlock.Expressions.
- Index
Represents index of the
LexSyntaxBlockwithin the lexical syntax block collection.
- LeaveState
Gets or sets
ILexStateobject that specifies lexical resulting state after lexical analyzer locates text, that matches to theLexSyntaxBlock.Expression.
- Name
Gets or sets name of the
LexSyntaxBlock.
- ReswordSets
Gets or sets collection of the
ILexReswordSetobject containing Reserved words.
- SerializationInfo
Gets or sets an xml representation of this
LexSyntaxBlockobject.
- State
Gets or sets
ILexStateowning thisILexSyntaxBlock
- Style
Gets or sets an
ILexStyleobject, applicable for text that matchesLexSyntaxBlockexpression.
Methods
- AddExpression(string)
Adds new element to the expression collection.
- FindResword(string)
Locates
LexReswordSetcontaining given resword.