DartDocToken.fromUtf8Bytes constructor

DartDocToken.fromUtf8Bytes(
  1. TokenType type,
  2. List<int> data,
  3. int start,
  4. int end,
  5. bool asciiOnly,
  6. int charOffset,
)

Creates a lazy string token. If asciiOnly is false, the byte array is passed through a UTF-8 decoder.

Implementation

DartDocToken.fromUtf8Bytes(super.type, super.data, super.start, super.end,
    super.asciiOnly, super.charOffset)
    : super.fromUtf8Bytes();