PassageParser class final
A reusable parser for book, chapter, verse-list, and passage sequences.
Constructors
-
PassageParser({ReferenceParser? referenceParser, Set<
BibleBookEnum> ? singleChapterBooks}) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- referenceParser → ReferenceParser
-
The parser used for localized and caller-supplied book aliases.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
singleChapterBooks
→ Set<
BibleBookEnum> -
Books for which a bare number is interpreted as a verse in chapter one.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
String input, {BibleLanguageEnum? language}) → Passage -
parseResult(
String input, {BibleLanguageEnum? language}) → ParseResult< Passage> -
toString(
) → String -
A string representation of this object.
inherited
-
tryParse(
String input, {BibleLanguageEnum? language}) → Passage?
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited