public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (other == null) { return false; } return this.state.stateNumber==other.state.stateNumber && this.alt==other.alt && (this.context==other.context || (this.context != null && this.context.equals(other.context))) && this.semanticContext.equals(other.semanticContext) && this.isPrecedenceFilterSuppressed() == other.isPrecedenceFilterSuppressed(); }
if (config.isPrecedenceFilterSuppressed()) { existing.setPrecedenceFilterSuppressed(true);
if (!config.isPrecedenceFilterSuppressed()) {
public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (other == null) { return false; } return this.state.stateNumber==other.state.stateNumber && this.alt==other.alt && (this.context==other.context || (this.context != null && this.context.equals(other.context))) && this.semanticContext.equals(other.semanticContext) && this.isPrecedenceFilterSuppressed() == other.isPrecedenceFilterSuppressed(); }
public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (other == null) { return false; } return this.state.stateNumber==other.state.stateNumber && this.alt==other.alt && (this.context==other.context || (this.context != null && this.context.equals(other.context))) && this.semanticContext.equals(other.semanticContext) && this.isPrecedenceFilterSuppressed() == other.isPrecedenceFilterSuppressed(); }
public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (other == null) { return false; } return this.state.stateNumber==other.state.stateNumber && this.alt==other.alt && (this.context==other.context || (this.context != null && this.context.equals(other.context))) && this.semanticContext.equals(other.semanticContext) && this.isPrecedenceFilterSuppressed() == other.isPrecedenceFilterSuppressed(); }
if (config.isPrecedenceFilterSuppressed()) { existing.setPrecedenceFilterSuppressed(true);
if (config.isPrecedenceFilterSuppressed()) { existing.setPrecedenceFilterSuppressed(true);
if (config.isPrecedenceFilterSuppressed()) { existing.setPrecedenceFilterSuppressed(true);
if (!config.isPrecedenceFilterSuppressed()) {
public boolean equals(ATNConfig other) { if (this == other) { return true; } else if (other == null) { return false; } return this.getState().stateNumber==other.getState().stateNumber && this.getAlt()==other.getAlt() && this.getReachesIntoOuterContext() == other.getReachesIntoOuterContext() && this.getContext().equals(other.getContext()) && this.getSemanticContext().equals(other.getSemanticContext()) && this.isPrecedenceFilterSuppressed() == other.isPrecedenceFilterSuppressed() && this.hasPassedThroughNonGreedyDecision() == other.hasPassedThroughNonGreedyDecision() && ObjectEqualityComparator.INSTANCE.equals(this.getLexerActionExecutor(), other.getLexerActionExecutor()); }
if (mergedConfig != null && canMerge(e, key, mergedConfig)) { mergedConfig.setOuterContextDepth(Math.max(mergedConfig.getOuterContextDepth(), e.getOuterContextDepth())); if (e.isPrecedenceFilterSuppressed()) { mergedConfig.setPrecedenceFilterSuppressed(true); if (canMerge(e, key, unmergedConfig)) { unmergedConfig.setOuterContextDepth(Math.max(unmergedConfig.getOuterContextDepth(), e.getOuterContextDepth())); if (e.isPrecedenceFilterSuppressed()) { unmergedConfig.setPrecedenceFilterSuppressed(true);
c.setPrecedenceFilterSuppressed(config.isPrecedenceFilterSuppressed()); assert depth > Integer.MIN_VALUE; closure(c, configs, intermediate, closureBusy, collectPredicates, hasMoreContexts, contextCache, depth - 1, treatEofAsEpsilon);