Token emitValueToken(int type) { String value = new String.fromCharCodes(input.getRange(tokenStart, index)); return new Token(tokenStart, tokenLine, type, seenLinebreak, value); }