Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
X
A
AbsType
- class ast.
AbsType
.
AbsType(int, Block)
- Constructor for class ast.
AbsType
addFrag(Frag)
- Method in class irt.
FragList
addLocal()
- Method in class hardware.
Frame
Create a new local in the frame.
addLocal(int)
- Method in class hardware.
Frame
addParam()
- Method in class hardware.
Frame
Create a new parameter in the frame.
AND
- Static variable in class irt.
BINOP
args
- Variable in class irt.
CALL
ArrayExpr
- class ast.
ArrayExpr
.
ArrayExpr(int, String, Expr)
- Constructor for class ast.
ArrayExpr
ArrayType
- class ast.
ArrayType
.
ArrayType(int, Expr, Expr, Type)
- Constructor for class ast.
ArrayType
ArrayTypeD
- class ast.
ArrayTypeD
.
ArrayTypeD(Expr, Expr, TypeD)
- Constructor for class ast.
ArrayTypeD
ARSHIFT
- Static variable in class irt.
BINOP
AssignExpr
- class ast.
AssignExpr
.
AssignExpr(int, Expr, Expr)
- Constructor for class ast.
AssignExpr
ast
- package ast
B
binop
- Variable in class ast.
BinOpExpr
binop
- Variable in class irt.
BINOP
BINOP
- class irt.
BINOP
.
BINOP(int, Exp, Exp)
- Constructor for class irt.
BINOP
BinOpExpr
- class ast.
BinOpExpr
.
BinOpExpr(int, Expr, String, Expr)
- Constructor for class ast.
BinOpExpr
block
- Variable in class ast.
SubDecl
block
- Variable in class ast.
AbsType
Block
- class ast.
Block
.
Block(int, TypeDeclList, VarDeclList, SubDeclList, ExprList)
- Constructor for class ast.
Block
body
- Variable in class irt.
SubFrag
body
- Variable in class irt.
MainFrag
BooleanTypeD
- class ast.
BooleanTypeD
.
BooleanTypeD()
- Constructor for class ast.
BooleanTypeD
C
CALL
- class irt.
CALL
.
CALL(Exp, ExpList)
- Constructor for class irt.
CALL
cbSize
- Variable in class hardware.
Frame
CharExpr
- class ast.
CharExpr
.
CharExpr(int, String)
- Constructor for class ast.
CharExpr
CharType
- class ast.
CharType
.
CharType(int)
- Constructor for class ast.
CharType
CharTypeD
- class ast.
CharTypeD
.
CharTypeD()
- Constructor for class ast.
CharTypeD
CJUMP
- class irt.
CJUMP
.
CJUMP(int, Exp, Exp, Label, Label)
- Constructor for class irt.
CJUMP
CONST
- class irt.
CONST
.
CONST(int)
- Constructor for class irt.
CONST
D
DIV
- Static variable in class irt.
BINOP
dst
- Variable in class irt.
MOVE
Dump
- class ast.
Dump
.
Dump()
- Constructor for class ast.
Dump
dump(Object)
- Static method in class ast.
Dump
E
entry
- Variable in class irt.
SubFrag
EQ
- Static variable in class irt.
CJUMP
ESEQ
- class irt.
ESEQ
.
ESEQ(Stm, Exp)
- Constructor for class irt.
ESEQ
exp
- Variable in class irt.
MEM
exp
- Variable in class irt.
ESEQ
exp
- Variable in class irt.
JUMP
exp
- Variable in class irt.
EXPR
Exp
- class irt.
Exp
.
Exp()
- Constructor for class irt.
Exp
ExpList
- class irt.
ExpList
.
ExpList(Exp, ExpList)
- Constructor for class irt.
ExpList
expr
- Variable in class ast.
PrintExpr
expr
- Variable in class ast.
Guard
expr
- Variable in class ast.
ArrayExpr
expr
- Variable in class ast.
ExprList
expr
- Variable in class ast.
ReturnExpr
Expr
- class ast.
Expr
.
EXPR
- class irt.
EXPR
.
Expr()
- Constructor for class ast.
Expr
EXPR(Exp)
- Constructor for class irt.
EXPR
exprLeft
- Variable in class ast.
BinOpExpr
exprLeft
- Variable in class ast.
AssignExpr
exprList
- Variable in class ast.
IttiExpr
exprList
- Variable in class ast.
Block
exprList
- Variable in class ast.
SubCall
exprList
- Variable in class ast.
ExprList
ExprList
- class ast.
ExprList
.
ExprList(int, Expr, ExprList)
- Constructor for class ast.
ExprList
exprRight
- Variable in class ast.
BinOpExpr
exprRight
- Variable in class ast.
AssignExpr
F
FloatExpr
- class ast.
FloatExpr
.
FloatExpr(int, String)
- Constructor for class ast.
FloatExpr
FloatType
- class ast.
FloatType
.
FloatType(int)
- Constructor for class ast.
FloatType
FloatTypeD
- class ast.
FloatTypeD
.
FloatTypeD()
- Constructor for class ast.
FloatTypeD
FP
- Static variable in class hardware.
Temp
Frag
- class irt.
Frag
.
Frag()
- Constructor for class irt.
Frag
FragList
- class irt.
FragList
.
FragList()
- Constructor for class irt.
FragList
Frame
- class hardware.
Frame
.
Encapsulates a hardware-dependent subprogram frame.
Frame()
- Constructor for class hardware.
Frame
func
- Variable in class irt.
CALL
G
GE
- Static variable in class irt.
CJUMP
GlobalFrag
- class irt.
GlobalFrag
.
GlobalFrag(Label, int)
- Constructor for class irt.
GlobalFrag
GT
- Static variable in class irt.
CJUMP
guard
- Variable in class ast.
GuardList
Guard
- class ast.
Guard
.
Guard(int, Expr, ExprList, String)
- Constructor for class ast.
Guard
guardList
- Variable in class ast.
IttiExpr
guardList
- Variable in class ast.
GuardList
GuardList
- class ast.
GuardList
.
GuardList(int, Guard, GuardList)
- Constructor for class ast.
GuardList
H
hardware
- package hardware
head
- Variable in class irt.
FragList
head
- Variable in class irt.
ExpList
head
- Variable in class irt.
StmList
I
ident
- Variable in class ast.
TypeDecl
ident
- Variable in class ast.
IdentExpr
ident
- Variable in class ast.
VarDecl
ident
- Variable in class ast.
ArrayExpr
ident
- Variable in class ast.
NamedType
ident
- Variable in class ast.
TypeDList
identAbs
- Variable in class ast.
SubCall
IdentExpr
- class ast.
IdentExpr
.
IdentExpr(int, String)
- Constructor for class ast.
IdentExpr
identSub
- Variable in class ast.
SubCall
iffalse
- Variable in class irt.
CJUMP
iftrue
- Variable in class irt.
CJUMP
Interpreter
- class irt.
Interpreter
.
A class to interpret Intermediate Representation (IR) trees of PT programs.
Interpreter(PrintStream, FragList, boolean, boolean)
- Constructor for class irt.
Interpreter
Create interpreter and compile program fragments.
IntExpr
- class ast.
IntExpr
.
IntExpr(int, String)
- Constructor for class ast.
IntExpr
IntType
- class ast.
IntType
.
IntType(int)
- Constructor for class ast.
IntType
IntTypeD
- class ast.
IntTypeD
.
IntTypeD()
- Constructor for class ast.
IntTypeD
irt
- package irt
isVar
- Variable in class ast.
VarDeclList
IttiExpr
- class ast.
IttiExpr
.
IttiExpr(int, ExprList, GuardList)
- Constructor for class ast.
IttiExpr
J
JUMP
- class irt.
JUMP
.
JUMP(Exp, LabelList)
- Constructor for class irt.
JUMP
JUMP(Label)
- Constructor for class irt.
JUMP
K
kind
- Variable in class ast.
Guard
L
label
- Variable in class irt.
LABEL
label
- Variable in class irt.
NAME
Label
- class hardware.
Label
.
LABEL
- class irt.
LABEL
.
Label()
- Constructor for class hardware.
Label
LABEL(Label)
- Constructor for class irt.
LABEL
Label(String)
- Constructor for class hardware.
Label
LabelList
- class hardware.
LabelList
.
LabelList(Label, LabelList)
- Constructor for class hardware.
LabelList
LE
- Static variable in class irt.
CJUMP
left
- Variable in class irt.
SEQ
left
- Variable in class irt.
CJUMP
left
- Variable in class irt.
BINOP
line
- Variable in class ast.
Type
line
- Variable in class ast.
Expr
line
- Variable in class ast.
TypeDecl
line
- Variable in class ast.
VarDeclList
line
- Variable in class ast.
SubDecl
line
- Variable in class ast.
Block
line
- Variable in class ast.
TypeDeclList
line
- Variable in class ast.
VarDecl
line
- Variable in class ast.
Guard
line
- Variable in class ast.
ExprList
line
- Variable in class ast.
SubDeclList
line
- Variable in class ast.
GuardList
line
- Variable in class ast.
TypeDList
lower
- Variable in class ast.
ArrayTypeD
lower
- Variable in class ast.
ArrayType
LSHIFT
- Static variable in class irt.
BINOP
LT
- Static variable in class irt.
CJUMP
M
MainFrag
- class irt.
MainFrag
.
MainFrag(Stm)
- Constructor for class irt.
MainFrag
MEM
- class irt.
MEM
.
MEM(Exp)
- Constructor for class irt.
MEM
MINUS
- Static variable in class irt.
BINOP
MOVE
- class irt.
MOVE
.
MOVE(Exp, Exp)
- Constructor for class irt.
MOVE
MUL
- Static variable in class irt.
BINOP
N
name
- Variable in class ast.
SubDecl
name
- Variable in class irt.
StringFrag
name
- Variable in class irt.
GlobalFrag
NAME
- class irt.
NAME
.
NAME(Label)
- Constructor for class irt.
NAME
NamedType
- class ast.
NamedType
.
NamedType(int, String)
- Constructor for class ast.
NamedType
NE
- Static variable in class irt.
CJUMP
next
- Variable in class irt.
Frag
notRel(int)
- Static method in class irt.
CJUMP
O
offsetLocal
- Variable in class hardware.
Frame
offsetParam
- Variable in class hardware.
Frame
OR
- Static variable in class irt.
BINOP
P
PLUS
- Static variable in class irt.
BINOP
prExp(Exp)
- Method in class irt.
Print
prFragList(FragList)
- Method in class irt.
Print
Print
- class irt.
Print
.
PRINT_INT
- Static variable in class hardware.
Label
PRINT_STRING
- Static variable in class hardware.
Label
Print(PrintStream)
- Constructor for class irt.
Print
PrintExpr
- class ast.
PrintExpr
.
PrintExpr(int, Expr)
- Constructor for class ast.
PrintExpr
prStm(Stm)
- Method in class irt.
Print
R
relop
- Variable in class irt.
CJUMP
ReturnExpr
- class ast.
ReturnExpr
.
ReturnExpr(int, Expr)
- Constructor for class ast.
ReturnExpr
right
- Variable in class irt.
SEQ
right
- Variable in class irt.
CJUMP
right
- Variable in class irt.
BINOP
RSHIFT
- Static variable in class irt.
BINOP
run()
- Method in class irt.
Interpreter
Start execution of PT program.
RV
- Static variable in class hardware.
Temp
S
SEQ
- class irt.
SEQ
.
SEQ(Stm, Stm)
- Constructor for class irt.
SEQ
size
- Variable in class irt.
SubFrag
size
- Variable in class irt.
GlobalFrag
src
- Variable in class irt.
MOVE
stm
- Variable in class irt.
ESEQ
Stm
- class irt.
Stm
.
Stm()
- Constructor for class irt.
Stm
StmList
- class irt.
StmList
.
StmList(Stm, StmList)
- Constructor for class irt.
StmList
stmtList
- Variable in class ast.
Guard
StringExpr
- class ast.
StringExpr
.
StringExpr(int, String)
- Constructor for class ast.
StringExpr
StringFrag
- class irt.
StringFrag
.
StringFrag(Label, String)
- Constructor for class irt.
StringFrag
StringTypeD
- class ast.
StringTypeD
.
StringTypeD()
- Constructor for class ast.
StringTypeD
SubCall
- class ast.
SubCall
.
SubCall(int, String, String, ExprList)
- Constructor for class ast.
SubCall
subDecl
- Variable in class ast.
SubDeclList
SubDecl
- class ast.
SubDecl
.
SubDecl(int, String, Type, VarDeclList, Block)
- Constructor for class ast.
SubDecl
subDeclList
- Variable in class ast.
Block
subDeclList
- Variable in class ast.
SubDeclList
SubDeclList
- class ast.
SubDeclList
.
SubDeclList(int, SubDecl, SubDeclList)
- Constructor for class ast.
SubDeclList
SubFrag
- class irt.
SubFrag
.
SubFrag(Label, int, Stm)
- Constructor for class irt.
SubFrag
SubTypeD
- class ast.
SubTypeD
.
SubTypeD(TypeDList, TypeD)
- Constructor for class ast.
SubTypeD
T
tail
- Variable in class irt.
ExpList
tail
- Variable in class irt.
StmList
targets
- Variable in class irt.
JUMP
temp
- Variable in class irt.
TEMP
Temp
- class hardware.
Temp
.
TEMP
- class irt.
TEMP
.
Temp()
- Constructor for class hardware.
Temp
Temp(String)
- Constructor for class hardware.
Temp
TEMP(Temp)
- Constructor for class irt.
TEMP
toString()
- Method in class ast.
TypeD
toString()
- Method in class hardware.
Temp
toString()
- Method in class hardware.
Label
type
- Variable in class ast.
TypeDecl
type
- Variable in class ast.
VarDeclList
type
- Variable in class ast.
SubDecl
type
- Variable in class ast.
ArrayType
Type
- class ast.
Type
.
Type()
- Constructor for class ast.
Type
typeD
- Variable in class ast.
ArrayTypeD
typeD
- Variable in class ast.
SubTypeD
typeD
- Variable in class ast.
TypeDList
typeD
- Variable in class irt.
Exp
TypeD
- class ast.
TypeD
.
TypeD()
- Constructor for class ast.
TypeD
typeDecl
- Variable in class ast.
TypeDeclList
TypeDecl
- class ast.
TypeDecl
.
TypeDecl(int, String, Type)
- Constructor for class ast.
TypeDecl
typeDeclList
- Variable in class ast.
Block
typeDeclList
- Variable in class ast.
TypeDeclList
TypeDeclList
- class ast.
TypeDeclList
.
TypeDeclList(int, TypeDecl, TypeDeclList)
- Constructor for class ast.
TypeDeclList
typeDList
- Variable in class ast.
SubTypeD
typeDList
- Variable in class ast.
TypeDList
TypeDList
- class ast.
TypeDList
.
List of type descriptors.
TypeDList(String, int, TypeD, TypeDList)
- Constructor for class ast.
TypeDList
U
UGE
- Static variable in class irt.
CJUMP
UGT
- Static variable in class irt.
CJUMP
ULE
- Static variable in class irt.
CJUMP
ULT
- Static variable in class irt.
CJUMP
upper
- Variable in class ast.
ArrayTypeD
upper
- Variable in class ast.
ArrayType
V
value
- Variable in class ast.
StringExpr
value
- Variable in class ast.
CharExpr
value
- Variable in class ast.
FloatExpr
value
- Variable in class ast.
IntExpr
value
- Variable in class irt.
CONST
value
- Variable in class irt.
StringFrag
varDecl
- Variable in class ast.
VarDeclList
VarDecl
- class ast.
VarDecl
.
VarDecl(int, String)
- Constructor for class ast.
VarDecl
varDeclList
- Variable in class ast.
SubDecl
varDeclList
- Variable in class ast.
Block
VarDeclList
- class ast.
VarDeclList
.
VarDeclList(int, VarDecl)
- Constructor for class ast.
VarDeclList
VarDeclList(int, VarDeclList, VarDeclList)
- Constructor for class ast.
VarDeclList
VarDeclList(int, VarDecl, VarDeclList)
- Constructor for class ast.
VarDeclList
VarDeclList(int, VarDecl, VarDeclList, VarDeclList)
- Constructor for class ast.
VarDeclList
varDeclListLeft
- Variable in class ast.
VarDeclList
varDeclListRight
- Variable in class ast.
VarDeclList
W
wordsize
- Static variable in class hardware.
Frame
X
XOR
- Static variable in class irt.
BINOP
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
X
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES