@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
9 lines • 538 B
TypeScript
import type { TSNodeLike } from '../../shell/types.ts';
/**
* Split offset and length before expanding nested words. Substituted colons
* are data; quotes, substitutions, subscripts, parentheses and ternaries own
* their colons. Scalar and array slicing share this path, and arithmetic
* evaluation applies the offset before requesting the next operand.
*/
export declare function substringOperands(node: TSNodeLike, expandChild: (node: TSNodeLike) => Promise<string>): AsyncGenerator<string>;
//# sourceMappingURL=substring.d.ts.map