Files
vda-to-edifact-converter/node_modules/ts-edifact/lib/edi/unecePageParser.d.ts
2026-03-13 09:53:40 +01:00

15 lines
734 B
TypeScript

import { UNECEDomHandler } from "./uneceDomHandler";
import { StateMachine, StateMachineDefinition } from "@initics/tsm";
import { EdifactMessageSpecification } from "./messageStructureParser";
export declare abstract class UNECEPageParser {
protected sm: StateMachine;
protected _spec?: EdifactMessageSpecification;
constructor(smdef: StateMachineDefinition);
get spec(): EdifactMessageSpecification;
parse(page: string): void;
protected setupHandler(): UNECEDomHandler;
protected extractTextValue(text: string, regex: RegExp, index?: number): string;
protected throwInvalidParserState(state: string): void;
protected throwCouldNotParsePage(): void;
}
//# sourceMappingURL=unecePageParser.d.ts.map