ist.palcom.st.ast
Class ASTMethodGenerator
java.lang.Object
ist.palcom.st.ast.ASTBytecodeGenerator
ist.palcom.st.ast.ASTMethodGenerator
public class ASTMethodGenerator
- extends ASTBytecodeGenerator
| Methods inherited from class ist.palcom.st.ast.ASTBytecodeGenerator |
add_constant, call, dup, get_constants, get_maximum_stack_pointer, get_number_of_bytecodes, labels, pop_argument, pop_field, pop_local, pop, push_argument, push_block, push_constant, push_field, push_global, push_local, return_local, return_non_local, send, simulate_pop, simulate_push |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASTMethodGenerator
public ASTMethodGenerator(ASTBlock method,
java.util.List<ist.palcom.st.ast.GeneratorLabel> labels)
branch_identical
public int branch_identical(int target,
int line_number)
- Overrides:
branch_identical in class ASTBytecodeGenerator
branch_if_true
public int branch_if_true(int target,
int line_number)
- Overrides:
branch_if_true in class ASTBytecodeGenerator
branch_if_false
public int branch_if_false(int target,
int line_number)
- Overrides:
branch_if_false in class ASTBytecodeGenerator
branch
public int branch(int target,
int line_number)
- Overrides:
branch in class ASTBytecodeGenerator
label
public void label(int target)
- Overrides:
label in class ASTBytecodeGenerator
add_bytecode
protected void add_bytecode(byte bytecode,
int line_number)
- Overrides:
add_bytecode in class ASTBytecodeGenerator
add_index
protected void add_index(int index,
int line_number)
- Overrides:
add_index in class ASTBytecodeGenerator
does_only_precompilation
public boolean does_only_precompilation()
- Overrides:
does_only_precompilation in class ASTBytecodeGenerator