|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object polyglot.ext.jl.ast.Ext_c polyglot.ext.pao.extension.PaoExt_c polyglot.ext.pao.extension.PaoBinaryExt_c
public class PaoBinaryExt_c
The PaoExt
implementation for the
Binary
AST node.
Field Summary |
---|
Fields inherited from class polyglot.ext.jl.ast.Ext_c |
---|
ext, node |
Constructor Summary | |
---|---|
PaoBinaryExt_c()
|
Method Summary | |
---|---|
Node |
rewrite(PaoTypeSystem ts,
NodeFactory nf)
Rewrite the binary operators == and != to
invoke Primitive.equals(o, p) . |
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 PaoBinaryExt_c()
Method Detail |
---|
public Node rewrite(PaoTypeSystem ts, NodeFactory nf)
==
and !=
to
invoke Primitive.equals(o, p)
.
rewrite
in interface PaoExt
rewrite
in class PaoExt_c
ts
- The PaoTypeSystem
instance.nf
- The NodeFactory
instance.
PaoExt.rewrite(PaoTypeSystem, NodeFactory)
,
Primitive.equals(Object, Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |