io.github.edadma.recognizer.Recognizer.Pattern
The core pattern type representing a pattern to match.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Alternative operator: creates a pattern that matches either this pattern or another pattern.
Alternative operator: creates a pattern that matches either this pattern or another pattern.
Value parameters
-
that
-
the alternative pattern to try if this one fails
Attributes
-
Returns
-
a pattern matching either this pattern or that pattern
Sequence operator: creates a pattern that matches this pattern followed by another pattern.
Sequence operator: creates a pattern that matches this pattern followed by another pattern.
Value parameters
-
that
-
the pattern to match after this one
Attributes
-
Returns
-
a pattern matching this pattern followed by that pattern