step6
Class typed.yyTree

java.lang.Object
  extended by step6.typed.yyTree
All Implemented Interfaces:
typed.yyActions
Enclosing class:
typed

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

tree factory.


Nested Class Summary
protected static class typed.yyTree.Add
           
protected static class typed.yyTree.Div
           
protected static class typed.yyTree.Lit
           
protected static class typed.yyTree.Minus
           
protected static class typed.yyTree.Mod
           
protected static class typed.yyTree.Mul
           
protected static class typed.yyTree.Sub
           
 
Constructor Summary
typed.yyTree()
           
 
Method Summary
 ArrayList Add(ArrayList expr, ArrayList expr2)
           
 ArrayList Div(ArrayList expr, ArrayList expr2)
           
 ArrayList Lit(Integer Number)
           
 ArrayList Minus(ArrayList expr)
           
 ArrayList Mod(ArrayList expr, ArrayList expr2)
           
 ArrayList Mul(ArrayList expr, ArrayList expr2)
           
 ArrayList Sub(ArrayList expr, ArrayList expr2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

typed.yyTree

public typed.yyTree()
Method Detail

Add

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

Sub

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

Mul

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

Div

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

Mod

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

Minus

public ArrayList Minus(ArrayList expr)
Specified by:
Minus in interface typed.yyActions

Lit

public ArrayList Lit(Integer Number)
Specified by:
Lit in interface typed.yyActions