TreeSitterAllocationError class final
Managed counterpart of Tree-sitter's fatal default-allocation failure.
Native Tree-sitter writes this message to stderr and calls abort(). A
pure-Dart package cannot abort consistently on every target (notably web),
so the managed boundary throws this fatal Error with the byte-exact
native diagnostic instead. Successful and zero-sized calls retain the
native contracts.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- operation → String
-
final
- requestedBytes → Object
-
Unsigned native byte count. Values above Dart's signed 64-bit int
range are represented as BigInt.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace at the point where this error was first thrown.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited