polyglot.ext.pao.extension
Interface PaoExt
- All Superinterfaces:
- java.lang.Cloneable, Copy, Ext
- All Known Implementing Classes:
- PaoBinaryExt_c, PaoCastExt_c, PaoExt_c, PaoInstanceofExt_c
public interface PaoExt
- extends Ext
The Ext
interface for the pao extension. The
PaoExt
interface provides one additional method:
rewrite(PaoTypeSystem, NodeFactory)
.
Methods inherited from interface polyglot.util.Copy |
copy |
rewrite
Node rewrite(PaoTypeSystem ts,
NodeFactory nf)
- Rewrites the
Node
associated with this Ext
object, to automatically box and unbox primitives.
- Parameters:
ts
- The PaoTypeSystem
instance.nf
- The NodeFactory
instance.
- Returns:
- the result of rewriting the AST node to provide boxing and
unboxing.