| Pattern Class |
Namespace: FlexRule.DSL.Tokenizer.PatternMatching
public class Pattern : IEnumerable<ICondition>, IEnumerable
The Pattern type exposes the following members.
| Name | Description | |
|---|---|---|
| Any |
Checks any sequence of tokens until the next available condition in pattern is met
| |
| EndOfLine |
Checks token type is EOL
| |
| EndOfLine(Repeat) |
Checks token type is EOL
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator | ||
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| QuotedString |
Checks token type is a quoted string
| |
| QuotedString(Repeat) |
Checks token type is a quoted string
| |
| TokenType(DetectorType) |
Checks for a specific type of token
| |
| TokenType(DetectorType, Repeat) |
Checks for a specific type of token
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Value(String) |
Checks for value of a token
| |
| Value(String, Repeat) |
Checks for value of a token
| |
| WhiteSpace |
Checks token type is a whitespace
| |
| WhiteSpace(Repeat) |
Checks token type is a whitespace
|
| Name | Description | |
|---|---|---|
| DistinctByICondition, TKey | (Defined by LinqExtensions.) | |
| IndexOfICondition | (Defined by StringTokenExtensions.) | |
| TakeLastICondition |
Takes n last numbers of a source
(Defined by LinqExtensions.) |