@autorest/adl
Version:
12 lines • 408 B
TypeScript
import { Host } from "@autorest/extension-base";
export declare function setupAdlCompilerPlugin(host: Host): Promise<void>;
/**
* Retrieve the position(Line,Column) from the index in the source.
* @param text Source.
* @param index Index.
*/
export declare function indexToPosition(text: string, index: number): {
column: number;
line: number;
};
//# sourceMappingURL=adl-compiler-plugin.d.ts.map