Nfa class

Nondeterministic Finite Automaton

Implemented types

Constructors

Nfa({required NfaState start, required NfaState end})
Nfa.fromString(String regexp)
factory

Properties

end → NfaState
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → NfaState
final

Methods

allMatches(String input, [int start = 0]) → Iterable<Match>
Matches this pattern against the string repeatedly.
inherited
matchAsPrefix(String input, [int start = 0]) → Match?
Matches this pattern against the start of string.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
tryMatch(String input) → bool

Operators

operator ==(Object other) → bool
The equality operator.
inherited