polyglot.ext.pao.extension
Class PaoExt_c

java.lang.Object
  extended by polyglot.ext.jl.ast.Ext_c
      extended by polyglot.ext.pao.extension.PaoExt_c
All Implemented Interfaces:
java.lang.Cloneable, Ext, PaoExt, Copy
Direct Known Subclasses:
PaoBinaryExt_c, PaoCastExt_c, PaoInstanceofExt_c

public class PaoExt_c
extends Ext_c
implements PaoExt

Default implementation of PaoExt.


Field Summary
 
Fields inherited from class polyglot.ext.jl.ast.Ext_c
ext, node
 
Constructor Summary
PaoExt_c()
           
 
Method Summary
 Node rewrite(PaoTypeSystem ts, NodeFactory nf)
          Default implementation of rewrite, returns the node unchanged.
 
Methods inherited from class polyglot.ext.jl.ast.Ext_c
copy, dump, ext, ext, init, node, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface polyglot.ast.Ext
dump, ext, ext, init, node
 
Methods inherited from interface polyglot.util.Copy
copy
 

Constructor Detail

PaoExt_c

public PaoExt_c()
Method Detail

rewrite

public Node rewrite(PaoTypeSystem ts,
                    NodeFactory nf)
Default implementation of rewrite, returns the node unchanged.

Specified by:
rewrite in interface PaoExt
Parameters:
ts - The PaoTypeSystem instance.
nf - The NodeFactory instance.
Returns:
the result of rewriting the AST node to provide boxing and unboxing.
See Also:
PaoExt.rewrite(PaoTypeSystem, NodeFactory)