public bool Equals(FunctionPrototypeAstNode other) { if (Name != other.Name || ReturnType != other.ReturnType) { return(false); } return(Name == other.Name && ReturnType == other.ReturnType && EqUtil.EnumerableEqual(Parameters, other.Parameters) && EqUtil.SortedEnumerableEqual(Attributes, other.Attributes)); }
public override bool Equals(object?obj) { return(EqUtil.NotNullAndSameType(this, obj) && Equals((VariableDefineAstNode)obj !)); }
public override bool Equals(object?obj) { return(EqUtil.NotNullAndSameType(this, obj) && Equals((IdentifierAstNode)obj !)); }
public bool Equals(CodeBlockAstNode other) { return(EqUtil.EnumerableEqual(Statements, other.Statements)); }
public override bool Equals(object?obj) { return(EqUtil.NotNullAndSameType(this, obj) && Equals((BinaryOperatorAstNode)obj !)); }
public override bool Equals(object?obj) { return(EqUtil.NotNullAndSameType(this, obj) && Equals((FunctionPrototypeAstNode)obj !)); }
public bool Equals(FunctionCallingAstNode other) { return(Callee == other.Callee && EqUtil.EnumerableEqual(Arguments, other.Arguments)); }