/
kisl0t
/
ALEXFULL
Обзор
Документация
Войти
/
kisl0t
/
ALEXFULL
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
node_modules/hermes-parser/dist/utils/createSyntaxError.js
25 строк
573 B
Murik0-0
Первый коммит
16 июн 2026, 16:30
16 июн 2026, 16:30
08e7596
Код
Авторство
О чём код?
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * * @format */ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.createSyntaxError = createSyntaxError; function createSyntaxError(node, err) { const syntaxError = new SyntaxError(err); // $FlowExpectedError[prop-missing] syntaxError.loc = { line: node.loc.start.line, column: node.loc.start.column }; return syntaxError; }