| Constructor and Description |
|---|
ByteVisitor(Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
dump(Program program)
A convenience method to invoke
Program.accept(Visitor) and getBytes(). |
byte[] |
getBytes() |
java.util.Map<java.lang.Integer,java.lang.Integer> |
getLineAddresses() |
int |
length(Line line)
A convenience method to get the length of a line.
|
Line |
visit(Line line) |
Program |
visit(Program program) |
Token |
visit(Token token) |
public ByteVisitor(Configuration config)
public byte[] dump(Program program)
Program.accept(Visitor) and getBytes().public int length(Line line)
public java.util.Map<java.lang.Integer,java.lang.Integer> getLineAddresses()
public byte[] getBytes()