step8
Class expr.yyTree

java.lang.Object
  extended by step8.expr.yyTree
All Implemented Interfaces:
expr.yyActions
Enclosing class:
expr

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

tree factory.


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

Constructor Detail

expr.yyTree

public expr.yyTree()
Method Detail

Add

public expr.Commutative Add(Object expr,
                            Object expr2)
Specified by:
Add in interface expr.yyActions

Sub

public Node Sub(Object expr,
                Object expr2)
Specified by:
Sub in interface expr.yyActions

Mul

public expr.Commutative Mul(Object expr,
                            Object expr2)
Specified by:
Mul in interface expr.yyActions

Div

public Node Div(Object expr,
                Object expr2)
Specified by:
Div in interface expr.yyActions

Mod

public Node Mod(Object expr,
                Object expr2)
Specified by:
Mod in interface expr.yyActions

Minus

public Node Minus(Object expr)
Specified by:
Minus in interface expr.yyActions