Object comparison. @param o another AST
(Object o)
| 32 | * @param o another AST |
| 33 | **/ |
| 34 | @Override |
| 35 | public boolean equals(Object o) |
| 36 | { |
| 37 | if (o == this) return true; |
| 38 | if (!(o instanceof AST)) return false; |
| 39 | AST casted = (AST) o; |
| 40 | |
| 41 | return |
| 42 | (getContext().nCtx() == casted.getContext().nCtx()) && |
| 43 | (Native.isEqAst(getContext().nCtx(), getNativeObject(), casted.getNativeObject())); |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Object Comparison. |
no test coverage detected