ReferenceExtractor constructor

ReferenceExtractor({
  1. PassageParser? parser,
  2. bool includeBareBooks = false,
  3. int maxLookBehind = 96,
  4. int maxLookAhead = 256,
})

Implementation

ReferenceExtractor({
  PassageParser? parser,
  this.includeBareBooks = false,
  this.maxLookBehind = 96,
  this.maxLookAhead = 256,
}) : parser = parser ?? PassageParser() {
  RangeError.checkValueInInterval(
    maxLookBehind,
    1,
    4096,
    'maxLookBehind',
  );
  RangeError.checkValueInInterval(
    maxLookAhead,
    1,
    4096,
    'maxLookAhead',
  );
}