createTokens static method

List<int?> createTokens()

Implementation

static List<int?> createTokens() {
  var result = List<int?>.generate(255, (_) => null, growable: false);
  result[char0] = 0;
  result[char1] = 1;
  result[char2] = 2;
  result[char3] = 3;
  result[char4] = 4;
  result[char5] = 5;
  result[char6] = 6;
  result[char7] = 7;
  result[char8] = 8;
  result[char9] = 9;
  result[charA] = 10;
  result[charB] = 11;
  result[charC] = 12;
  result[charD] = 13;
  result[charE] = 14;
  result[charF] = 15;
  return result;
}