Modified the data class ASTComparator