vue-di-loader
Version:
Vue Dependency Injection Webpack Loader
18 lines (17 loc) • 904 B
TypeScript
import { VariableDeclaration, Node, ObjectLiteralExpression, SyntaxKind, MemberExpression, StringLiteral } from "ts-simple-ast";
export declare class ASTParser {
private source;
constructor(...args: any[]);
log(value: any): void;
findVariableDeclaration(type: {
new (): any;
}): VariableDeclaration;
findVariableDeclaration(name: string): VariableDeclaration;
exists(key: string, node: Node): any;
get(node: Node, key: string): MemberExpression;
get(key: string, node: Node): MemberExpression;
get(node: Node, key: string, kind: SyntaxKind.StringLiteral): StringLiteral;
get(key: string, node: Node, kind: SyntaxKind.StringLiteral): StringLiteral;
get(node: Node, key: string, kind: SyntaxKind.ObjectLiteralExpression): ObjectLiteralExpression;
get(key: string, node: Node, kind: SyntaxKind.ObjectLiteralExpression): ObjectLiteralExpression;
}