/** An ATN configuration is equal to another if both have * the same state, they predict the same alternative, and * syntactic/semantic contexts are the same. */ @Override public boolean equals(Object o) { if (!(o instanceof ATNConfig)) { return false; } return this.equals((ATNConfig)o); }
@Override public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (!(other instanceof LexerATNConfig)) { return false; } LexerATNConfig lexerOther = (LexerATNConfig)other; if (passedThroughNonGreedyDecision != lexerOther.passedThroughNonGreedyDecision) { return false; } if (!ObjectEqualityComparator.INSTANCE.equals(lexerActionExecutor, lexerOther.lexerActionExecutor)) { return false; } return super.equals(other); }
/** An ATN configuration is equal to another if both have * the same state, they predict the same alternative, and * syntactic/semantic contexts are the same. */ @Override public boolean equals(Object o) { if (!(o instanceof ATNConfig)) { return false; } return this.equals((ATNConfig)o); }
/** An ATN configuration is equal to another if both have * the same state, they predict the same alternative, and * syntactic/semantic contexts are the same. */ @Override public boolean equals(Object o) { if (!(o instanceof ATNConfig)) { return false; } return this.equals((ATNConfig)o); }
@Override protected boolean canMerge(ATNConfig left, long leftKey, ATNConfig right) { return left.equals(right); }
/** An ATN configuration is equal to another if both have * the same state, they predict the same alternative, and * syntactic/semantic contexts are the same. */ @Override public boolean equals(Object o) { if (!(o instanceof ATNConfig)) { return false; } return this.equals((ATNConfig)o); }
/** An ATN configuration is equal to another if both have * the same state, they predict the same alternative, and * syntactic/semantic contexts are the same. */ @Override public boolean equals(Object o) { if (!(o instanceof ATNConfig)) { return false; } return this.equals((ATNConfig)o); }
@Override public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (!(other instanceof LexerATNConfig)) { return false; } LexerATNConfig lexerOther = (LexerATNConfig)other; if (passedThroughNonGreedyDecision != lexerOther.passedThroughNonGreedyDecision) { return false; } if (!ObjectEqualityComparator.INSTANCE.equals(lexerActionExecutor, lexerOther.lexerActionExecutor)) { return false; } return super.equals(other); }
@Override public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (!(other instanceof LexerATNConfig)) { return false; } LexerATNConfig lexerOther = (LexerATNConfig)other; if (passedThroughNonGreedyDecision != lexerOther.passedThroughNonGreedyDecision) { return false; } if (!ObjectEqualityComparator.INSTANCE.equals(lexerActionExecutor, lexerOther.lexerActionExecutor)) { return false; } return super.equals(other); }
@Override public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (!(other instanceof LexerATNConfig)) { return false; } LexerATNConfig lexerOther = (LexerATNConfig)other; if (passedThroughNonGreedyDecision != lexerOther.passedThroughNonGreedyDecision) { return false; } if (!ObjectEqualityComparator.INSTANCE.equals(lexerActionExecutor, lexerOther.lexerActionExecutor)) { return false; } return super.equals(other); }