UNPKG

@anchan828/json-ast

Version:
11 lines (10 loc) 370 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.unexpectedEnd = unexpectedEnd; exports.unexpectedToken = unexpectedToken; function unexpectedEnd() { return "Unexpected end of JSON input"; } function unexpectedToken(token, line, column) { return "Unexpected token <".concat(token, "> at ").concat(line, ":").concat(column); }