Declaration Descriptor
Functions
Properties
Inheritors
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Extensions
Link copied to clipboard
fun DeclarationDescriptor.gather(predicate: (DeclarationDescriptor) -> Boolean): List<DeclarationDescriptor>
Content copied to clipboard
Gather all descriptors which satisfy a predicate, going inside every element recursively.
Link copied to clipboard
returns true if we have declared something with a @Law or lives inside an object that inherits Laws
Link copied to clipboard
fun DeclarationDescriptor.isCompatibleWith(other: DeclarationDescriptor): Boolean
Content copied to clipboard
check if a descriptor is compatible with other, in the sense that they refer to a function with the same signature
Link copied to clipboard
should we treat a node as a field and create 'field(name, x)'?
Link copied to clipboard
fun DeclarationDescriptor.isLooselyCompatibleWith(other: DeclarationDescriptor): Boolean
Content copied to clipboard
check if a descriptor is compatible with other, in the sense that the arguments are (possibly) supertypes
Link copied to clipboard
fun DeclarationDescriptor.overriddenDescriptors(): Collection<DeclarationDescriptor>?
Content copied to clipboard
Obtain the descriptors which have been overridden by a declaration, if they exist
Link copied to clipboard
Removes the indirection from type aliases in a descriptor.