public interface InstCompiler<T extends Inst> extends Opcodes
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doCompiler(T astInst,
InstQueue queue,
CompilerContext compilerContext)
生成指令序列
|
default void |
instLocation(boolean focus,
InstQueue queue,
CodeLocation location) |
default void |
instLocation(InstQueue queue,
CodeLocation location) |
default void |
instLocationFocus(InstQueue queue,
CodeLocation location) |
void doCompiler(T astInst, InstQueue queue, CompilerContext compilerContext)
astInst - 要编译的 Instqueue - 编译输出的指令序列compilerContext - 编译上下文default void instLocationFocus(InstQueue queue, CodeLocation location)
default void instLocation(InstQueue queue, CodeLocation location)
default void instLocation(boolean focus,
InstQueue queue,
CodeLocation location)
Copyright © 2020. All rights reserved.