Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.dynjs.compiler.bytecode.partial;
 
 import static me.qmx.jitescript.util.CodegenUtils.*;
 
 import java.util.List;
 
 
    private List<BlockStatementchunks;
    public SingleClassCompiler(Config configDynamicClassLoader classLoaderCodeGeneratingVisitorFactory factoryList<BlockStatementchunks) {
        super(configclassLoaderfactory);
        this. = chunks;
    }
    public SingleClassCompiler(AbstractPartialCompiler parentList<BlockStatementchunks) {
        super(parent);
        this. = chunks;
    }
    @Override
    public void define(JiteClass clsCompilationContext contextboolean strict) {
        int i = 0;
        for (BlockStatement each : ) {
            CodeGeneratingVisitor visitor = createVisitorcontext.getBlockManager() );
            each.accept(contextvisitorstrict);
            cls.defineMethod("callChunk" + i.sig(Completion.classExecutionContext.class), visitor.areturn());
            ++i;
        }
        cls.defineMethod("initializeCode".sig(void.class), new CodeBlock().voidreturn());
        cls.defineMethod("call".sig(Completion.classExecutionContext.class), new SingleClassCaller(cls.getClassName(), .size()));
    }
New to GrepCode? Check out our FAQ X