1 |
49598
|
stefanos.g
|
import { EmitterVisitorContext } from './abstract_emitter';
|
2 |
|
|
import { AbstractJsEmitterVisitor } from './abstract_js_emitter';
|
3 |
|
|
import * as o from './output_ast';
|
4 |
|
|
export declare function jitStatements(sourceUrl: string, statements: o.Statement[]): {
|
5 |
|
|
[key: string]: any;
|
6 |
|
|
};
|
7 |
|
|
export declare class JitEmitterVisitor extends AbstractJsEmitterVisitor {
|
8 |
|
|
private _evalArgNames;
|
9 |
|
|
private _evalArgValues;
|
10 |
|
|
private _evalExportedVars;
|
11 |
|
|
createReturnStmt(ctx: EmitterVisitorContext): void;
|
12 |
|
|
getArgs(): {
|
13 |
|
|
[key: string]: any;
|
14 |
|
|
};
|
15 |
|
|
visitExternalExpr(ast: o.ExternalExpr, ctx: EmitterVisitorContext): any;
|
16 |
|
|
visitDeclareVarStmt(stmt: o.DeclareVarStmt, ctx: EmitterVisitorContext): any;
|
17 |
|
|
visitDeclareFunctionStmt(stmt: o.DeclareFunctionStmt, ctx: EmitterVisitorContext): any;
|
18 |
|
|
visitDeclareClassStmt(stmt: o.ClassStmt, ctx: EmitterVisitorContext): any;
|
19 |
|
|
}
|