Sha256: 759002d4454b851c51b3585e0837c77d159c59957fc519c876449ee5d80a6643

Contents?: true

Size: 1.87 KB

Versions: 15

Compression:

Stored size: 1.87 KB

Contents

import { ASTNode, Type, AnyType, Field } from "./types";
import { NodePath } from "./node-path";
import { namedTypes } from "./gen/namedTypes";
import { builders } from "./gen/builders";
import { Visitor } from "./gen/visitor";
declare const astNodesAreEquivalent: {
    (a: any, b: any, problemPath?: any): boolean;
    assert(a: any, b: any): void;
}, builders: builders, builtInTypes: {
    string: Type<string>;
    function: Type<Function>;
    array: Type<any[]>;
    object: Type<{
        [key: string]: any;
    }>;
    RegExp: Type<RegExp>;
    Date: Type<Date>;
    number: Type<number>;
    boolean: Type<boolean>;
    null: Type<null>;
    undefined: Type<undefined>;
    BigInt: Type<BigInt>;
}, defineMethod: (name: any, func?: Function | undefined) => Function, eachField: (object: any, callback: (name: any, value: any) => any, context?: any) => void, finalize: () => void, getBuilderName: (typeName: any) => any, getFieldNames: (object: any) => string[], getFieldValue: (object: any, fieldName: any) => any, getSupertypeNames: (typeName: string) => string[], NodePath: import("./node-path").NodePathConstructor, Path: import("./path").PathConstructor, PathVisitor: import("./path-visitor").PathVisitorConstructor, someField: (object: any, callback: (name: any, value: any) => any, context?: any) => boolean, Type: {
    or(...types: any[]): Type<any>;
    from<T>(value: any, name?: string | undefined): Type<T>;
    def(typeName: string): import("./types").Def<any>;
    hasDef(typeName: string): boolean;
}, use: <T>(plugin: import("./types").Plugin<T>) => T, visit: <M = {}>(node: ASTNode, methods?: Visitor<M> | undefined) => any;
export { AnyType, ASTNode, astNodesAreEquivalent, builders, builtInTypes, defineMethod, eachField, Field, finalize, getBuilderName, getFieldNames, getFieldValue, getSupertypeNames, namedTypes, NodePath, Path, PathVisitor, someField, Type, use, visit, Visitor, };

Version data entries

15 entries across 15 versions & 1 rubygems

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