package
0.3.2
Repository: https://github.com/serulian/compiler.git
Documentation: pkg.go.dev

# Functions

ComputeDiff computes the differences between the original type graph and the updated type graph.

# Constants

Added indicates an item was added.
BackwardCompatible indicates that the change is backward-compatible.
BackwardIncompatible indicates that the change is backward-incompatible, and that existing users of the code will break.
Changed indicates an existing item was changed.
CompatibilityNotApplicable indicates that there are no changes.
MemberDiffReasonGenericsChanged indicates that the generics of the member have changed.
MemberDiffReasonKindChanged indicates that the kind of the member has changed.
MemberDiffReasonNotApplicable is applied to members that have not changed.
MemberDiffReasonParametersCompatible indicates that the parameters of the member has changed in a forward compatible manner.
MemberDiffReasonParametersNotCompatible indicates that the parameters of the member has changed in a forward incompatible manner.
MemberDiffReasonTypeNotCompatible indicates that the declared/return type of the member has changed in a forward incompatible manner.
PackageDiffReasonExportedMembersAdded indicates an exported member was added.
PackageDiffReasonExportedMembersChanged indicates an exported member was changed.
PackageDiffReasonExportedMembersRemoved indicates an exported member was removed.
PackageDiffReasonExportedTypesAdded indicates an exported type was added.
PackageDiffReasonExportedTypesChanged indicates an exported type was changed.
PackageDiffReasonExportedTypesRemoved indicates an exported type was removed.
PackageDiffReasonNotApplicable is applied to packages that have not changed.
Removed indicates an existing item was removed.
Same indicates an existing item remained the same, with no changes.
TypeDiffReasonAttributesAdded indicates that one or more attributes on the type were added.
TypeDiffReasonAttributesRemoved indicates that one or more attributes on the type were removed.
TypeDiffReasonExportedMembersAdded indicates that some exported members of the type have been added.
TypeDiffReasonExportedMembersChanged indicates that some exported members of the type have been changed, in some manner.
TypeDiffReasonExportedMembersRemoved indicates that some exported members of the type have been removed.
TypeDiffReasonGenericsChanged indicates that the generics of the type have changed.
TypeDiffReasonKindChanged indicates that the kind of the type has changed.
TypeDiffReasonNotApplicable is applied to types that have not changed.
TypeDiffReasonParentTypesChanged indicates that the parent type(s) of the type have changed.
TypeDiffReasonPricipalTypeChanged indicates that the principal type of the type has changed.
TypeDiffReasonRequiredMemberAdded indicates that a *required* member of the type has been added.

# Structs

MemberDiff defines the diff between two versions of a member.
PackageDiff defines the diff between two packages.
TypeDiff defines the diff between two versions of a type.
TypeGraphDiff defines the diff between two type graphs.
TypeGraphInformation specifies the graph information for a type graph to be diff-ed.

# Type aliases

No description provided by the author
DiffKind defines the various diff kinds.
MemberDiffReason defines a bitwise enumeration specifying why a member changed.
PackageDiffReason defines a bitwise enumeration specifying why a package changed.
ReasonCompatibility describes the compatibility implications of a change.
TypeDiffReason defines a bitwise enumeration specifying why a type changed.