step10
Class mini.yyTree

java.lang.Object
  extended by step10.mini.yyTree
All Implemented Interfaces:
mini.yyActions
Enclosing class:
mini

public static class mini.yyTree
extends Object
implements mini.yyActions

tree factory.


Nested Class Summary
protected static class mini.yyTree.Add
           
protected static class mini.yyTree.And
           
protected static class mini.yyTree.AndIf
           
protected static class mini.yyTree.Begin
           
protected static class mini.yyTree.Call
           
protected static class mini.yyTree.Deref
           
protected static class mini.yyTree.Div
           
protected static class mini.yyTree.Eq
           
protected static class mini.yyTree.Ge
           
protected static class mini.yyTree.Gt
           
protected static class mini.yyTree.If
           
protected static class mini.yyTree.Le
           
protected static class mini.yyTree.Let
           
protected static class mini.yyTree.Letrec
           
protected static class mini.yyTree.Lit
           
protected static class mini.yyTree.Lsh
           
protected static class mini.yyTree.Lt
           
protected static class mini.yyTree.Minus
           
protected static class mini.yyTree.Mod
           
protected static class mini.yyTree.Mul
           
protected static class mini.yyTree.Ne
           
protected static class mini.yyTree.Neg
           
protected static class mini.yyTree.Not
           
protected static class mini.yyTree.Or
           
protected static class mini.yyTree.OrIf
           
protected static class mini.yyTree.Param
           
protected static class mini.yyTree.Proc
           
protected static class mini.yyTree.Rsh
           
protected static class mini.yyTree.Sub
           
protected static class mini.yyTree.Type
           
protected static class mini.yyTree.TypeList
           
protected static class mini.yyTree.Var
           
protected static class mini.yyTree.Xor
           
 
Constructor Summary
mini.yyTree()
           
 
Method Summary
 ArrayList Add(ArrayList expr, ArrayList expr2)
           
 ArrayList And(ArrayList expr, ArrayList expr2)
           
 ArrayList AndIf(ArrayList expr, ArrayList expr2)
           
 ArrayList Begin(ArrayList exprs)
           
 ArrayList Call(String Id, ArrayList calls)
           
 ArrayList Deref(String Id)
           
 ArrayList Div(ArrayList expr, ArrayList expr2)
           
 ArrayList Eq(ArrayList expr, ArrayList expr2)
           
 ArrayList Ge(ArrayList expr, ArrayList expr2)
           
 ArrayList Gt(ArrayList expr, ArrayList expr2)
           
 ArrayList If(ArrayList expr, ArrayList expr3, ArrayList expr5)
           
 ArrayList Le(ArrayList expr, ArrayList expr2)
           
 ArrayList Let(ArrayList vars, ArrayList expr)
           
 ArrayList Letrec(ArrayList procs, ArrayList expr)
           
 ArrayList Lit(Object literal)
           
 ArrayList Lsh(ArrayList expr, ArrayList expr2)
           
 ArrayList Lt(ArrayList expr, ArrayList expr2)
           
 ArrayList Minus(ArrayList unary)
           
 ArrayList Mod(ArrayList expr, ArrayList expr2)
           
 ArrayList Mul(ArrayList expr, ArrayList expr2)
           
 ArrayList Ne(ArrayList expr, ArrayList expr2)
           
 ArrayList Neg(ArrayList unary)
           
 ArrayList Not(ArrayList unary)
           
 ArrayList Or(ArrayList expr, ArrayList expr2)
           
 ArrayList OrIf(ArrayList expr, ArrayList expr2)
           
 ArrayList Param(ArrayList type, String Id)
           
 ArrayList Proc(String TypeId, String Id, ArrayList opt_params, ArrayList typelists, ArrayList expr)
           
 ArrayList Rsh(ArrayList expr, ArrayList expr2)
           
 ArrayList Sub(ArrayList expr, ArrayList expr2)
           
 ArrayList Type(String TypeId, ArrayList typelists)
           
 ArrayList TypeList(Object opt_types)
           
 ArrayList Var(String Id, ArrayList expr)
           
 ArrayList Xor(ArrayList expr, ArrayList expr2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

mini.yyTree

public mini.yyTree()
Method Detail

Begin

public ArrayList Begin(ArrayList exprs)
Specified by:
Begin in interface mini.yyActions

If

public ArrayList If(ArrayList expr,
                    ArrayList expr3,
                    ArrayList expr5)
Specified by:
If in interface mini.yyActions

Let

public ArrayList Let(ArrayList vars,
                     ArrayList expr)
Specified by:
Let in interface mini.yyActions

Letrec

public ArrayList Letrec(ArrayList procs,
                        ArrayList expr)
Specified by:
Letrec in interface mini.yyActions

Var

public ArrayList Var(String Id,
                     ArrayList expr)
Specified by:
Var in interface mini.yyActions

Proc

public ArrayList Proc(String TypeId,
                      String Id,
                      ArrayList opt_params,
                      ArrayList typelists,
                      ArrayList expr)
Specified by:
Proc in interface mini.yyActions

Param

public ArrayList Param(ArrayList type,
                       String Id)
Specified by:
Param in interface mini.yyActions

Type

public ArrayList Type(String TypeId,
                      ArrayList typelists)
Specified by:
Type in interface mini.yyActions

TypeList

public ArrayList TypeList(Object opt_types)
Specified by:
TypeList in interface mini.yyActions

OrIf

public ArrayList OrIf(ArrayList expr,
                      ArrayList expr2)
Specified by:
OrIf in interface mini.yyActions

AndIf

public ArrayList AndIf(ArrayList expr,
                       ArrayList expr2)
Specified by:
AndIf in interface mini.yyActions

Or

public ArrayList Or(ArrayList expr,
                    ArrayList expr2)
Specified by:
Or in interface mini.yyActions

Xor

public ArrayList Xor(ArrayList expr,
                     ArrayList expr2)
Specified by:
Xor in interface mini.yyActions

And

public ArrayList And(ArrayList expr,
                     ArrayList expr2)
Specified by:
And in interface mini.yyActions

Lt

public ArrayList Lt(ArrayList expr,
                    ArrayList expr2)
Specified by:
Lt in interface mini.yyActions

Le

public ArrayList Le(ArrayList expr,
                    ArrayList expr2)
Specified by:
Le in interface mini.yyActions

Gt

public ArrayList Gt(ArrayList expr,
                    ArrayList expr2)
Specified by:
Gt in interface mini.yyActions

Ge

public ArrayList Ge(ArrayList expr,
                    ArrayList expr2)
Specified by:
Ge in interface mini.yyActions

Eq

public ArrayList Eq(ArrayList expr,
                    ArrayList expr2)
Specified by:
Eq in interface mini.yyActions

Ne

public ArrayList Ne(ArrayList expr,
                    ArrayList expr2)
Specified by:
Ne in interface mini.yyActions

Lsh

public ArrayList Lsh(ArrayList expr,
                     ArrayList expr2)
Specified by:
Lsh in interface mini.yyActions

Rsh

public ArrayList Rsh(ArrayList expr,
                     ArrayList expr2)
Specified by:
Rsh in interface mini.yyActions

Add

public ArrayList Add(ArrayList expr,
                     ArrayList expr2)
Specified by:
Add in interface mini.yyActions

Sub

public ArrayList Sub(ArrayList expr,
                     ArrayList expr2)
Specified by:
Sub in interface mini.yyActions

Mul

public ArrayList Mul(ArrayList expr,
                     ArrayList expr2)
Specified by:
Mul in interface mini.yyActions

Div

public ArrayList Div(ArrayList expr,
                     ArrayList expr2)
Specified by:
Div in interface mini.yyActions

Mod

public ArrayList Mod(ArrayList expr,
                     ArrayList expr2)
Specified by:
Mod in interface mini.yyActions

Minus

public ArrayList Minus(ArrayList unary)
Specified by:
Minus in interface mini.yyActions

Not

public ArrayList Not(ArrayList unary)
Specified by:
Not in interface mini.yyActions

Neg

public ArrayList Neg(ArrayList unary)
Specified by:
Neg in interface mini.yyActions

Lit

public ArrayList Lit(Object literal)
Specified by:
Lit in interface mini.yyActions

Deref

public ArrayList Deref(String Id)
Specified by:
Deref in interface mini.yyActions

Call

public ArrayList Call(String Id,
                      ArrayList calls)
Specified by:
Call in interface mini.yyActions