ASTBinaryError enum
Why a binary AST file could not be read.
Values
- badMagic → const ASTBinaryError
-
The file does not start with the binary AST magic.
- truncated → const ASTBinaryError
-
The file is shorter than its own header claims, has trailing garbage, or a section overruns the section stream.
- unsupportedVersion → const ASTBinaryError
-
The file requires a newer reader, or is older than this build supports.
- unknownFlags → const ASTBinaryError
-
The header sets a flag bit this build does not understand, so the payload cannot be interpreted safely.
- malformedSection → const ASTBinaryError
-
A required section is missing, out of order, or malformed.
- unsupportedNode → const ASTBinaryError
-
A node encoding this build does not know. Unlike an unknown section, an unknown node tag is never skipped — skipping would yield a wrong AST.
- checksumMismatch → const ASTBinaryError
-
The CRC-32 does not match the file contents.
- signatureMissing → const ASTBinaryError
-
A verifier was supplied but the file carries no signature.
- signatureMismatch → const ASTBinaryError
-
The signature was rejected by the verifier.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ASTBinaryError> - A constant List of the values in this enum, in order of their declaration.