UNPKG

@lcap/builder

Version:
15 lines (14 loc) 656 B
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;