Interfaces class final
Configuration for Objective-C interfaces.
Constructors
- Interfaces.new({bool include(Declaration declaration) = _excludeAll, bool includeMember(Declaration declaration, String member) = _includeAllMembers, bool includeSymbolAddress(Declaration declaration) = _excludeAll, String rename(Declaration declaration) = _useOriginalName, String renameMember(Declaration declaration, String member) = _useMemberOriginalName, bool includeTransitive = false, String? module(Declaration declaration) = _moduleDefault})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- include → bool Function(Declaration declaration)
-
Checks if a name is allowed by a filter.
finalinherited
- includeMember → bool Function(Declaration declaration, String member)
-
Whether a member of a declaration should be included.
finalinherited
- includeSymbolAddress → bool Function(Declaration declaration)
-
Checks if the symbol address should be included for this name.
finalinherited
- includeTransitive → bool
-
If enabled, Objective-C interfaces that are not explicitly included by
the
Declarations
, but are transitively included by other bindings, will be code-genned as if they were included. If disabled, these transitively included interfaces will be generated as stubs instead.final - module → String? Function(Declaration declaration)
-
The module that the Objective-C interface belongs to.
final
- rename → String Function(Declaration declaration)
-
Applies renaming and returns the result.
finalinherited
- renameMember → String Function(Declaration declaration, String member)
-
Applies member renaming and returns the result. Used for struct/union
fields, enum elements, function params, and ObjC
interface/protocol/category methods/properties.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
includeSet(
Set< String> names) → Interfaces
Constants
- excludeAll → const Interfaces
- includeAll → const Interfaces