TreeSitterExternalScannerDestroy<State> class abstract interface

Optional deterministic counterpart of an external scanner's native destroy callback.

Most pure-Dart scanner states contain only managed values and need no action. Resource-owning scanner ports implement this interface so parser reset/disposal observes the same lifecycle boundary as parser.c.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy(State state) → void
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