public override bool Equals(Object other) {
if (other == null) {
return false;
}
var localOther = other as SymbolNode;
if (localOther == null) {
return false;
}
if (StartPosition != localOther.StartPosition) {
return false;
}
if (EndPosition != localOther.EndPosition) {
return false;
}
if (Symbol != localOther.Symbol) {
return false;
}
return true;
}