All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Translate.Translate

java.lang.Object
   |
   +----Translate.Translate

public class Translate
extends Object

Variable Index

 o frame

Constructor Index

 o Translate(Frame)

Method Index

 o ArrayExp(Exp, Exp)
 o AssignExp(Exp, Exp)
 o BreakExp(Label)
 o Error()
 o FieldVar(Exp, int)
 o ForExp(Exp, Exp, Exp, Label)
 o FunctionDec()
 o FunExp(Level, Level, Symbol, ExpList)
 o getResult()
 o IfExp(Exp, Exp, Exp)
 o IntExp(int)
 o LetExp(ExpList, Exp)
 o NilExp()
 o OpExp(int, Exp, Exp)
 o procEntryExit(Level, Exp)
 o ProcExp(Level, Level, Symbol, ExpList)
 o RecordExp(ExpList)
 o SeqExp(ExpList)
 o SimpleVar(Level, Access)
 o StringExp(String)
 o StrOpExp(int, Exp, Exp)
 o SubscriptVar(Exp, Exp)
 o TypeDec()
 o VarDec(Access, Exp)
 o WhileExp(Exp, Exp, Label)

Variables

 o frame
 public Frame frame

Constructors

 o Translate
 public Translate(Frame f)

Methods

 o procEntryExit
 public void procEntryExit(Level level,
                           Exp body)
 o getResult
 public Frag getResult()
 o Error
 public Exp Error()
 o SimpleVar
 public Exp SimpleVar(Level level,
                      Access access)
 o FieldVar
 public Exp FieldVar(Exp record,
                     int index)
 o SubscriptVar
 public Exp SubscriptVar(Exp array,
                         Exp index)
 o NilExp
 public Exp NilExp()
 o IntExp
 public Exp IntExp(int value)
 o StringExp
 public Exp StringExp(String lit)
 o FunExp
 public Exp FunExp(Level from,
                   Level to,
                   Symbol f,
                   ExpList args)
 o ProcExp
 public Exp ProcExp(Level from,
                    Level to,
                    Symbol f,
                    ExpList args)
 o OpExp
 public Exp OpExp(int op,
                  Exp left,
                  Exp right)
 o StrOpExp
 public Exp StrOpExp(int op,
                     Exp left,
                     Exp right)
 o RecordExp
 public Exp RecordExp(ExpList init)
 o SeqExp
 public Exp SeqExp(ExpList e)
 o AssignExp
 public Exp AssignExp(Exp lhs,
                      Exp rhs)
 o IfExp
 public Exp IfExp(Exp cc,
                  Exp aa,
                  Exp bb)
 o WhileExp
 public Exp WhileExp(Exp test,
                     Exp body,
                     Label done)
 o ForExp
 public Exp ForExp(Exp lo,
                   Exp hi,
                   Exp body,
                   Label done)
 o BreakExp
 public Exp BreakExp(Label done)
 o LetExp
 public Exp LetExp(ExpList lets,
                   Exp body)
 o ArrayExp
 public Exp ArrayExp(Exp size,
                     Exp init)
 o VarDec
 public Exp VarDec(Access a,
                   Exp init)
 o TypeDec
 public Exp TypeDec()
 o FunctionDec
 public Exp FunctionDec()

All Packages  Class Hierarchy  This Package  Previous  Next  Index