step6
Class expr.yyTree

java.lang.Object
  extended by step6.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.Lit
           
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
 Node Add(Node expr, Node expr2)
           
 Node Div(Node expr, Node expr2)
           
 Node Lit(Integer Number)
           
 Node Minus(Node expr)
           
 Node Mod(Node expr, Node expr2)
           
 Node Mul(Node expr, Node expr2)
           
 Node Sub(Node expr, Node 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 Node Add(Node expr,
                Node expr2)
Specified by:
Add in interface expr.yyActions

Sub

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

Mul

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

Div

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

Mod

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

Minus

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

Lit

public Node Lit(Integer Number)
Specified by:
Lit in interface expr.yyActions