A | |
aexp [Syntaxtree] | |
B | |
bType [Syntaxtree] | |
bexp [Syntaxtree] | |
C | |
cmd [Syntaxtree] | |
D | |
dec [Syntaxtree] | |
dec_table [Intermediate] |
A dec_table binds an ide (variable name) with 3 elements: 2 integers
(x and y coordinate) and the element associated with the variable
|
E | |
element [Intermediate] |
Element of intermediate code instruction
|
G | |
gType [Syntaxtree] | |
I | |
ide [Syntaxtree] | |
inst_type [Intermediate] |
Instructions for intermediate code
|
instruction [Intermediate] |
The instruction code, the first operand, the second operand, the destination element
|
L | |
label [Intermediate] |
Labels are numeric to simplify things
|
lexp [Syntaxtree] | |
O | |
offset [Intermediate] | |
P | |
param [Syntaxtree] | |
proc [Syntaxtree] | |
proc_entry [Intermediate] |
A proc_entry can be in Building phase (which has the parameter
types of the call and the return type) or a Subroutines (which
contains all the informations for that function/procedure, such
as the local variables declaration and the funUtils class for that
subroutine)
|
proc_table [Intermediate] |
The proc_table binds the name of a subroutine with its proc_entry
|
program [Syntaxtree] | |
R | |
register [Intermediate] |
Offsets is how far the variable is from the stack pointer
|
ret [Syntaxtree] | |
return [Intermediate] |
The return type of subroutines
|
S | |
sType [Intermediate] |
The Semantic type, used for semantic analisys
|
T | |
token [Parser] | |
V | |
value [Intermediate] |
Type of values
|