initialize 0.3.1+1 initialize: ^0.3.1+1 copied to clipboard
Generic building blocks for doing static initialization.
0.3.1 #
- Added
InitializePluginTransformer
class inplugin_transformer.dart
which provides a base transformer class which can be extended to perform custom transformations for annotations. These transformers should be included after the maininitialize
transformer and work by parsing the bootstrap file so the program doesn't need to be re-analyzed.
0.3.0 #
- Library initializers now pass a
LibraryIdentifier
toinitialize
instead of just aSymbol
. This provides the package and path to the library in addition to the symbol so that paths can be normalized.
0.2.0 #
-
entryPoint
andnewEntryPoint
transformer options were renamed toentry_point
andnew_entry_pont
. -
Added
html_entry_point
option to the transformer. This will search that file for any script tag whose src isentry_point
and rewrite it to point at the bootstrapped filenew_entry_point
. -
Top level properties and static class properties are now supported in initializer constructors, as well as List and Map literals, 5.
0.1.0+1 #
Quick fix for the transformer on windows.