PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/metro-source-map/src/Consumer
Просмотр файла: MappingsConsumer.d.ts
/**
* 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
* @oncall react_native
*/
import type {BasicSourceMap} from '../source-map';
import type {
GeneratedPositionLookup,
IConsumer,
Mapping,
SourcePosition,
} from './types';
import type {Number0} from 'ob1';
import AbstractConsumer from './AbstractConsumer';
/**
* A source map consumer that supports "basic" source maps (that have a
* `mappings` field and no sections).
*/
declare class MappingsConsumer extends AbstractConsumer implements IConsumer {
_sourceMap: BasicSourceMap;
_decodedMappings: null | undefined | ReadonlyArray<Mapping>;
_normalizedSources: null | undefined | ReadonlyArray<string>;
constructor(sourceMap: BasicSourceMap);
originalPositionFor(
generatedPosition: GeneratedPositionLookup,
): SourcePosition;
_decodeMappings(): Generator<Mapping, void, void>;
_normalizeAndCacheSources(): ReadonlyArray<string>;
_decodeAndCacheMappings(): ReadonlyArray<Mapping>;
generatedMappings(): Iterable<Mapping>;
_indexOfSource(source: string): null | undefined | Number0;
sourceContentFor(
source: string,
nullOnMissing: true,
): null | undefined | string;
}
export default MappingsConsumer;
Выполнить команду
Для локальной разработки. Не используйте в интернете!