@abaplint/transpiler
Version:
19 lines (18 loc) • 650 B
TypeScript
import * as sourceMap from "source-map";
import * as abaplint from "@abaplint/core";
export declare class Chunk {
private raw;
mappings: sourceMap.Mapping[];
constructor(str?: string);
join(chunks: Chunk[], str?: string): Chunk;
appendChunk(append: Chunk): Chunk;
append(input: string, pos: abaplint.Position | abaplint.INode | abaplint.Token, traversal: {
getFilename(): string;
}): Chunk;
appendString(input: string): this;
stripLastNewline(): void;
getCode(): string;
toString(): string;
runIndentationLogic(ignoreSourceMap?: boolean): this;
getMap(generatedFilename: string): string;
}