TreeSitterRawHandle<T extends Object> class
final
A single-owner pure-Dart counterpart of an opaque native pointer.
intoRaw APIs place their backing value in this handle and fromRaw takes
it exactly once. This models Rust's ManuallyDrop ownership transfer
without importing dart:ffi, so the same contract works on the web.
Constructors
- TreeSitterRawHandle.owned(T value)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConsumed → bool
-
no setter
- 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
-
take(
) → T -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited