Sha256: 8c2ca98f4713d989d610fbd38a44316bc43c50aa26983e62dc31002f32ce63fa

Contents?: true

Size: 823 Bytes

Versions: 15

Compression:

Stored size: 823 Bytes

Contents

import { ASTNode, Fork } from "./types";
export interface Path<V = any> {
    value: V;
    parentPath: any;
    name: any;
    __childCache: object | null;
    getValueProperty(name: any): any;
    get(...names: any[]): any;
    each(callback: any, context?: any): any;
    map(callback: any, context?: any): any;
    filter(callback: any, context?: any): any;
    shift(): any;
    unshift(...args: any[]): any;
    push(...args: any[]): any;
    pop(): any;
    insertAt(index: number, ...args: any[]): any;
    insertBefore(...args: any[]): any;
    insertAfter(...args: any[]): any;
    replace(replacement?: ASTNode, ...args: ASTNode[]): any;
}
export interface PathConstructor {
    new <V = any>(value: any, parentPath?: any, name?: any): Path<V>;
}
export default function pathPlugin(fork: Fork): PathConstructor;

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.52 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.51 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.50 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.49 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.48 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.47 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.46 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.45 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.44 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.43 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.42 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.41 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.40 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.39 node_modules/ast-types/lib/path.d.ts
immosquare-cleaner-0.1.38 node_modules/ast-types/lib/path.d.ts