Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: markup/textual/bibtex/bql/extracted
Source used for this grammar: Guillaume Hillairet, BibTeX Query Language, BQL.ecore
, 2006/06/22
LocatedElement
, Query
, Entry
, Field
, Predicate
, Expression
, String
, Boolean
), 0 root (—), 2 top (LocatedElement
, Query
), 0 bottom (—).[entries]
, [predicates]
, [name]
2, [type]
, [allFields]
, [fields]
, [predicate]
, [entry]
2, [expression]
, [field]
, [value]
.LocatedElement ::= Entry
Query ::= [entries]::Entry[predicates]::Predicate
Entry ::=
[name]::String [type]::String [allFields]::Boolean [fields]::Field
[predicate]::PredicateField ::= [name]::String [entry]::Entry
Predicate ::=
[entry]::Entry [expression]::Expression
Expression ::= [field]::String [value]::String
String ::= string
Boolean ::= "true" "false"