@atomist/sdm
Version:
Atomist Software Delivery Machine SDK
20 lines • 498 B
TypeScript
import { MatchResult } from "@atomist/automation-client/lib/tree/ast/FileHits";
/**
* Part of a file we can work around
*/
export interface BoundedElement {
/**
* Value of whole element
*/
value: string;
/**
* Offset within the file
*/
offset: number;
/**
* Save point to insert after this element
*/
insertAfter: number;
}
export declare function toBoundedElement(m: MatchResult): BoundedElement;
//# sourceMappingURL=BoundedElement.d.ts.map