|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpolyglot.ext.jl.ast.Ext_c
polyglot.ext.pao.extension.PaoExt_c
polyglot.ext.pao.extension.PaoInstanceofExt_c
The PaoExt implementation for the
InstanceOf AST node.
| Field Summary |
| Fields inherited from class polyglot.ext.jl.ast.Ext_c |
ext, node |
| Constructor Summary | |
PaoInstanceofExt_c()
|
|
| Method Summary | |
Node |
rewrite(PaoTypeSystem ts,
NodeFactory nf)
Rewrites instanceof checks where the comparison type is
a primitive type to use the boxed type instead. |
| 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 |
public PaoInstanceofExt_c()
| Method Detail |
public Node rewrite(PaoTypeSystem ts,
NodeFactory nf)
instanceof checks where the comparison type is
a primitive type to use the boxed type instead. For example,
"e instanceof int" gets rewritten to
"e instanceof polyglot.ext.pao.runtime.Integer".
rewrite in interface PaoExtrewrite in class PaoExt_cPaoExt.rewrite(PaoTypeSystem, NodeFactory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||