public boolean equals(Object obj) {if (obj == this) {return true;}else if (!(obj instanceof LexerPushModeAction)) {return false;}return mode == ((LexerPushModeAction)obj).mode;}
public override bool Equals(object obj){if (obj == this){return true;}else{if (!(obj is Antlr4.Runtime.Atn.LexerPushModeAction)){return false;}}return mode == ((Antlr4.Runtime.Atn.LexerPushModeAction)obj).mode;}