Click or drag to resize
Pattern Class
Builds a list of condition that a must be checked against stream of tokens
Inheritance Hierarchy
SystemObject
  FlexRule.DSL.Tokenizer.PatternMatchingPattern

Namespace: FlexRule.DSL.Tokenizer.PatternMatching
Assembly: FlexRule.Core.Library (in FlexRule.Core.Library.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public class Pattern : IEnumerable<ICondition>, 
	IEnumerable

The Pattern type exposes the following members.

Constructors
  NameDescription
Public methodPattern
Top
Methods
  NameDescription
Public methodAny
Checks any sequence of tokens until the next available condition in pattern is met
Public methodEndOfLine
Checks token type is EOL
Public methodEndOfLine(Repeat)
Checks token type is EOL
Public methodGetEnumerator
Public methodQuotedString
Checks token type is a quoted string
Public methodQuotedString(Repeat)
Checks token type is a quoted string
Public methodTokenType(DetectorType)
Checks for a specific type of token
Public methodTokenType(DetectorType, Repeat)
Checks for a specific type of token
Public methodValue(String)
Checks for value of a token
Public methodValue(String, Repeat)
Checks for value of a token
Public methodWhiteSpace
Checks token type is a whitespace
Public methodWhiteSpace(Repeat)
Checks token type is a whitespace
Top
Extension Methods
See Also