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
LexSyntaxBlock
class with default settings.
- LexSyntaxBlock(ILexState)
Initializes a new instance of the
LexSyntaxBlock
class with a specified owner.
Properties
- CaseSensitive
Gets or sets a value indicating whether
ILexSyntaxBlock
is 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
LexSyntaxBlock
within the lexical syntax block collection.
- LeaveState
Gets or sets
ILexState
object 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
ILexReswordSet
object containing Reserved words.
- SerializationInfo
Gets or sets an xml representation of this
LexSyntaxBlock
object.
- State
Gets or sets
ILexState
owning thisILexSyntaxBlock
- Style
Gets or sets an
ILexStyle
object, applicable for text that matchesLexSyntaxBlock
expression.
Methods
- AddExpression(string)
Adds new element to the expression collection.
- FindResword(string)
Locates
LexReswordSet
containing given resword.