@lcap/builder
Version:
lcap builder utils
15 lines (14 loc) • 656 B
TypeScript
import { FunctionExpression, FunctionDeclaration, Identifier, Pattern, RestElement, Statement, VariableDeclarator } from '@babel/types';
export declare function transformParam2Nasl(paramAST: Identifier | Pattern | RestElement): any;
export declare function transformStatement(statement: Statement): any;
export declare function transformVariable(ast: VariableDeclarator): any;
export declare function transformFunc2Nasl(funcAst: FunctionExpression | FunctionDeclaration): {
concept: string;
name: string;
variables: any[];
params: any[];
returns: never[];
playground: never[];
body: any[];
};
export default transformFunc2Nasl;