BibTeXDefinition class

Grammar definition for BibTeX files.

Adapted from the grammar published by Oscar Nierstrasz at https://twitter.com/onierstrasz/status/1621600391946289155.

Constructors

BibTeXDefinition()

Properties

citeKey → Parser<String>
final
escapeChar → Parser<Sequence2<String, String>>
final
fieldName → Parser<String>
final
hashCode int
The hash code for this object.
no setterinherited
rawString → Parser<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type → Parser<String>
final

Methods

build<T>({Function? start, List<Object> arguments = const []}) → Parser<T>
Builds a composite parser from this definition.
inherited
buildFrom<T>(Parser<T> parser) → Parser<T>
Builds a composite parser starting at the specified production.
inherited
entries() → Parser<List<BibTeXEntry>>
entry() → Parser<BibTeXEntry>
field() → Parser<MapEntry<String, String>>
fieldCharWithinBraces() → Parser<String>
fieldCharWithinQuotes() → Parser<String>
fields() → Parser<Map<String, String>>
fieldStringWithinBraces() → Parser<List>
fieldStringWithinQuotes() → Parser<List>
fieldValue() → Parser<String>
fieldValueInBraces() → Parser<String>
fieldValueInQuotes() → Parser<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() → Parser<List<BibTeXEntry>>
The starting production of this definition.
toString() String
A string representation of this object.
inherited

Operators

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