@Override protected void addForLineNumber(int $line, java.util.List<AbstractAST> $result) { if (getLocation().getBeginLine() == $line) { $result.add(this); } ISourceLocation $l; $l = pre.getLocation(); if ($l.hasLineColumn() && $l.getBeginLine() <= $line && $l.getEndLine() >= $line) { pre.addForLineNumber($line, $result); } if ($l.getBeginLine() > $line) { return; } $l = template.getLocation(); if ($l.hasLineColumn() && $l.getBeginLine() <= $line && $l.getEndLine() >= $line) { template.addForLineNumber($line, $result); } if ($l.getBeginLine() > $line) { return; } $l = tail.getLocation(); if ($l.hasLineColumn() && $l.getBeginLine() <= $line && $l.getEndLine() >= $line) { tail.addForLineNumber($line, $result); } if ($l.getBeginLine() > $line) { return; } }
@Override public int hashCode() { return 389 + 683 * pre.hashCode() + 577 * template.hashCode() + 653 * tail.hashCode(); }
@Override public int hashCode() { return 541 + 509 * pre.hashCode() + 941 * template.hashCode() + 653 * tail.hashCode(); }