GlobSegment class

Implemented types

Constructors

GlobSegment(String? pattern, Pattern expression, {bool? crossesDirectory, bool? onlyDirectory, bool? strict})

Properties

crossesDirectory bool?
True if the segment crosses the directory.
final
hashCode int
The hash code for this object.
no setterinherited
onlyDirectory bool?
True if segment should match only directory.
final
pattern String?
Original glob pattern.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strict bool?
True if the segment pattern contains no wildcards '*', '?', no character classes '[]', no choices '{}'; otherwise false; false.
final

Methods

allMatches(String str, [int start = 0]) Iterable<Match>
Matches this pattern against the string repeatedly.
override
match(String string) bool
Returns true if pattern matches thes string.
matchAsPrefix(String string, [int start = 0]) Match?
Matches this pattern against the start of string.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns the string representation.
override

Operators

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