DartDocToken.fromSubstring constructor

DartDocToken.fromSubstring(
  1. TokenType type,
  2. String data,
  3. int start,
  4. int end,
  5. int charOffset, {
  6. bool canonicalize = false,
})

Creates a lazy comment token. If canonicalize is true, the string is canonicalized before the token is created.

Implementation

DartDocToken.fromSubstring(
    super.type, super.data, super.start, super.end, super.charOffset,
    {super.canonicalize})
    : super.fromSubstring();