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 methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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