15 lines
734 B
TypeScript
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
|