Parser class

A block in the list of parsers

Constructors

Parser({required String id, required List<String> parent, required ParserType type, List<String> selector = const [], bool isPrivate = false, bool multiple = false, AbstractOptional? optional, CleanerFunction? cleaner})

Properties

cleaner CleanerFunction?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
ID to store value of result.
getter/setter pair
isPrivate bool
Keep result of this parser private, just for internal use.
getter/setter pair
multiple bool
If result can contain multiple results as a List. Default is false.
getter/setter pair
optional AbstractOptional?
Optional parameters.
getter/setter pair
parent List<String>
List of parent IDs to tell parser when to trigger, base value is _root.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selector List<String>
CSS Selector for this parser.
getter/setter pair
type ParserType
Parser type.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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