AstBundleFormat class abstract final

Configuration constants for the AstBundle file format.

Centralizes all format-defining values to avoid hardcoded literals throughout the codebase. These constants define:

  • File format version and extensions
  • Archive entry naming conventions
  • JSON key names for serialization
  • Magic byte sequences for format detection

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

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

astJsonSuffix → const String
File extension suffix for AST JSON entries within the archive.
bundleExtension → const String
Default file extension for bundle archives.
gzipMagicBytes → const List<int>
Gzip file signature bytes (\x1f\x8b).
keyEntryPoint → const String
Key for the entry point URI field.
keyFiles → const String
Key for the file-to-URI mapping in the manifest.
keyModules → const String
Key for the modules map in the JSON serialization.
keySources → const String
Key for the optional source code map.
keyVersion → const String
Key for the format version field.
manifestFileName → const String
Name of the manifest file within the ZIP archive.
sourceDartSuffix → const String
File extension suffix for Dart source entries within the archive.
version → const String
Current bundle format version identifier.
zipMagicBytes → const List<int>
ZIP file signature bytes (PK\x03\x04).