Antlr4.Runtime.Atn.ATNConfig.Equals C# (CSharp) Method

Equals() public method

public Equals ( Antlr4 other ) : bool
other Antlr4
return bool
        public virtual bool Equals(Antlr4.Runtime.Atn.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.ReachesIntoOuterContext == other.ReachesIntoOuterContext && this.Context.Equals(other.Context) && this.SemanticContext.Equals(other.SemanticContext) && this.PrecedenceFilterSuppressed == other.PrecedenceFilterSuppressed && this.PassedThroughNonGreedyDecision == other.PassedThroughNonGreedyDecision && EqualityComparer<LexerActionExecutor>.Default.Equals(this.ActionExecutor, other.ActionExecutor);
        }

Same methods

ATNConfig::Equals ( object o ) : bool

Usage Example

Beispiel #1
0
 protected internal override bool CanMerge(ATNConfig left, long leftKey, ATNConfig right)
 {
     return(left.Equals(right));
 }
All Usage Examples Of Antlr4.Runtime.Atn.ATNConfig::Equals