yini-parser
Version:
Readable configuration without YAML foot-guns or JSON noise. The official Node.js parser for YINI config format — An INI-inspired configuration format with clear nesting, explicit types, and predictable parsing.
19 lines (18 loc) • 870 B
TypeScript
/**
* This file is the orchestrator that wires up the pipeline (lexer → parser →
* astBuilder → objectBuilder, etc.)
*/
import { ParsedObject, ParseOptions, YiniParseResult } from '../../types';
import { IParseCoreOptions, IRuntimeInfo } from '../internalTypes';
/**
* @internal Single source of truth.
*
* Entrypoint for the YINI parsing pipeline:
* tokenization → grammar parse → AST build → object build → result.
*
* @param _meta_userOpts The user options from which the core options were
* derived/resolved from. This object is provided only for debugging
* and metadata purposes and should not be relied upon in
* application logic.
*/
export declare const runPipeline: (yiniContent: string, coreOptions: IParseCoreOptions, runtimeInfo: IRuntimeInfo, _meta_userOpts: ParseOptions) => ParsedObject | YiniParseResult;