public class CodeBuilder extends Object
| Constructor and Description |
|---|
CodeBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(BlockTermNode node) |
void |
add(BodyNode node) |
void |
add(Label label) |
void |
addBranch(Branch.Condition cond,
Label dest) |
void |
atLine(int line) |
Code |
build() |
boolean |
isInBlock() |
Label |
newLabel() |
public Label newLabel()
public boolean isInBlock()
public void add(Label label)
public void add(BodyNode node)
public void add(BlockTermNode node)
public void addBranch(Branch.Condition cond, Label dest)
public void atLine(int line)
public Code build()
Copyright © 2016–2017. All rights reserved.