impl CompiledST object.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ErrorManager | |
| pack-priv CompiledST | impl
The compiled code implementation to fill in. |
| pack-priv int | ip
Track instruction location within
|
| pack-priv StringTable | stringtable
Track unique strings; copy into |
| pack-priv TokenStream |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public static void | writeShort(byte[] memory, int index, short value)
Write value at index into a byte array highest to lowest byte, left to right. |
| errMgr | back to summary |
|---|---|
| pack-priv ErrorManager errMgr | |
| impl | back to summary |
|---|---|
| pack-priv CompiledST impl The compiled code implementation to fill in. | |
| ip | back to summary |
|---|---|
| pack-priv int ip Track instruction location within
| |
| stringtable | back to summary |
|---|---|
| pack-priv StringTable stringtable Track unique strings; copy into | |
| tokens | back to summary |
|---|---|
| pack-priv TokenStream tokens | |
| CompilationState | back to summary |
|---|---|
| public CompilationState(ErrorManager errMgr, String name, TokenStream tokens) | |
| defineString | back to summary |
|---|---|
| public int defineString(String s) | |
| emit | back to summary |
|---|---|
| public void emit(short opcode) | |
| emit | back to summary |
|---|---|
| public void emit(CommonTree opAST, short opcode) | |
| emit1 | back to summary |
|---|---|
| public void emit1(CommonTree opAST, short opcode, int arg) | |
| emit1 | back to summary |
|---|---|
| public void emit1(CommonTree opAST, short opcode, String s) | |
| emit2 | back to summary |
|---|---|
| public void emit2(CommonTree opAST, short opcode, int arg, int arg2) | |
| emit2 | back to summary |
|---|---|
| public void emit2(CommonTree opAST, short opcode, String s, int arg2) | |
| ensureCapacity | back to summary |
|---|---|
| protected void ensureCapacity(int n) | |
| func | back to summary |
|---|---|
| public void func(Token templateToken, CommonTree id) | |
| indent | back to summary |
|---|---|
| public void indent(CommonTree indent) | |
| insert | back to summary |
|---|---|
| public void insert(int addr, short opcode, String s) | |
| refAttr | back to summary |
|---|---|
| public void refAttr(Token templateToken, CommonTree id) | |
| setOption | back to summary |
|---|---|
| public void setOption(CommonTree id) | |
| write | back to summary |
|---|---|
| public void write(int addr, short value) | |
| writeShort | back to summary |
|---|---|
| public static void writeShort(byte[] memory, int index, short value) Write value at index into a byte array highest to lowest byte, left to right. | |