ASTBinaryInfo class

What a binary AST image says about itself, without decoding its AST.

Constructors

ASTBinaryInfo({required ASTBinaryHeader header, required String writerVersion, required String language, required String codeUnitId, required String namespace, required List<int> unknownSectionIds, required int fileSize})
const

Properties

codeUnitId String
The code unit id, usually a file path. May be empty.
final
fileSize int
The total size of the image, in bytes.
final
hashCode int
The hash code for this object.
no setterinherited
The file's fixed header.
final
isSigned bool
Whether the image carries a signature.
no setter
language String
The language of the code unit, already normalized (java11, not java).
final
namespace String
The namespace the code unit belongs to.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unknownSectionIds List<int>
Section ids this build did not recognize and skipped.
final
writerVersion String
The ApolloVM.VERSION that wrote the image. Informational only — it never gates decoding; ASTBinaryHeader.formatVersion does.
final

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