fabil.visit
Class AssignNormalizer

java.lang.Object
  extended by NodeVisitor
      extended by fabil.visit.AssignNormalizer

public class AssignNormalizer
extends NodeVisitor

Traverses the AST and normalizes assignment operations. Converts a op= b to a = a op b.


Constructor Summary
AssignNormalizer(NodeFactory nf)
           
 
Method Summary
 Node leave(Node old, Node n, NodeVisitor v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssignNormalizer

public AssignNormalizer(NodeFactory nf)
Method Detail

leave

public Node leave(Node old,
                  Node n,
                  NodeVisitor v)