public class ASMBytecodeEmitter extends BytecodeEmitter
| Modifier and Type | Field and Description |
|---|---|
ClassNameTranslator |
classNameTranslator |
CompilerSettings |
compilerSettings |
DependencyInfo |
deps |
IRFunc |
fn |
SlotAllocInfo |
slots |
TypeInfo |
types |
| Constructor and Description |
|---|
ASMBytecodeEmitter(IRFunc fn,
SlotAllocInfo slots,
TypeInfo types,
DependencyInfo deps,
CompilerSettings compilerSettings,
ClassNameTranslator classNameTranslator,
String sourceFile) |
| Modifier and Type | Method and Description |
|---|---|
org.objectweb.asm.tree.ClassNode |
classNode() |
CompiledClass |
emit() |
List<org.objectweb.asm.tree.FieldNode> |
fields() |
protected static org.classdump.luna.compiler.gen.asm.ASMBytecodeEmitter.NestedInstanceKind |
functionKind(IRFunc fn) |
String |
getUpvalueFieldName(UpVar uv) |
boolean |
hasUpvalues() |
static String |
instanceFieldName() |
boolean |
isVararg() |
int |
numOfParameters() |
org.objectweb.asm.Type |
savedStateClassType() |
public final IRFunc fn
public final SlotAllocInfo slots
public final TypeInfo types
public final DependencyInfo deps
public final CompilerSettings compilerSettings
public final ClassNameTranslator classNameTranslator
public ASMBytecodeEmitter(IRFunc fn, SlotAllocInfo slots, TypeInfo types, DependencyInfo deps, CompilerSettings compilerSettings, ClassNameTranslator classNameTranslator, String sourceFile)
public org.objectweb.asm.Type savedStateClassType()
public boolean hasUpvalues()
public int numOfParameters()
public boolean isVararg()
public List<org.objectweb.asm.tree.FieldNode> fields()
protected static org.classdump.luna.compiler.gen.asm.ASMBytecodeEmitter.NestedInstanceKind functionKind(IRFunc fn)
public static String instanceFieldName()
public org.objectweb.asm.tree.ClassNode classNode()
public CompiledClass emit()
emit in class BytecodeEmitterCopyright © 2016–2017. All rights reserved.