HTParser constructor

HTParser({
  1. ParserConfig? config,
  2. required HTLexicon lexicon,
})

Implementation

HTParser({
  ParserConfig? config,
  required this.lexicon,
})  : config = config ?? ParserConfig(),
      lexer = HTLexer(lexicon: lexicon);