angular_compiler 2.0.2 copy "angular_compiler: ^2.0.2" to clipboard
angular_compiler: ^2.0.2 copied to clipboard

discontinuedreplaced by: ngcompiler
SDKDart

Compiler for AngularDart.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add angular_compiler

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  angular_compiler: ^2.0.2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:angular_compiler/v1/angular_compiler.dart';
import 'package:angular_compiler/v1/cli.dart';
import 'package:angular_compiler/v1/kythe_utils.dart';
import 'package:angular_compiler/v1/src/angular_compiler/analyzer.dart';
import 'package:angular_compiler/v1/src/angular_compiler/analyzer/common.dart';
import 'package:angular_compiler/v1/src/angular_compiler/analyzer/di/dependencies.dart';
import 'package:angular_compiler/v1/src/angular_compiler/analyzer/di/global_singleton_services.dart';
import 'package:angular_compiler/v1/src/angular_compiler/analyzer/di/injector.dart';
import 'package:angular_compiler/v1/src/angular_compiler/analyzer/di/modules.dart';
import 'package:angular_compiler/v1/src/angular_compiler/analyzer/di/providers.dart';
import 'package:angular_compiler/v1/src/angular_compiler/analyzer/di/tokens.dart';
import 'package:angular_compiler/v1/src/angular_compiler/analyzer/link.dart';
import 'package:angular_compiler/v1/src/angular_compiler/analyzer/reflector.dart';
import 'package:angular_compiler/v1/src/angular_compiler/analyzer/types.dart';
import 'package:angular_compiler/v1/src/angular_compiler/analyzer/view/directive.dart';
import 'package:angular_compiler/v1/src/angular_compiler/analyzer/view/typed_reader.dart';
import 'package:angular_compiler/v1/src/angular_compiler/asset.dart';
import 'package:angular_compiler/v1/src/angular_compiler/cli/builder.dart';
import 'package:angular_compiler/v1/src/angular_compiler/cli/flags.dart';
import 'package:angular_compiler/v1/src/angular_compiler/cli/logging.dart';
import 'package:angular_compiler/v1/src/angular_compiler/cli/messages.dart';
import 'package:angular_compiler/v1/src/angular_compiler/cli/messages/messages.dart';
import 'package:angular_compiler/v1/src/angular_compiler/emitter/injector.dart';
import 'package:angular_compiler/v1/src/angular_compiler/emitter/reflector.dart';
import 'package:angular_compiler/v1/src/angular_compiler/outliner.dart';
import 'package:angular_compiler/v1/src/angular_compiler/outliner/collect_type_parameters.dart';
import 'package:angular_compiler/v1/src/compiler/analyzed_class.dart';
import 'package:angular_compiler/v1/src/compiler/angular_compiler.dart';
import 'package:angular_compiler/v1/src/compiler/aria_attributes.dart';
import 'package:angular_compiler/v1/src/compiler/ast_directive_normalizer.dart';
import 'package:angular_compiler/v1/src/compiler/attribute_matcher.dart';
import 'package:angular_compiler/v1/src/compiler/chars.dart';
import 'package:angular_compiler/v1/src/compiler/compile_metadata.dart';
import 'package:angular_compiler/v1/src/compiler/compiler_utils.dart';
import 'package:angular_compiler/v1/src/compiler/expression_parser/analyzer_parser.dart';
import 'package:angular_compiler/v1/src/compiler/expression_parser/ast.dart';
import 'package:angular_compiler/v1/src/compiler/expression_parser/parser.dart';
import 'package:angular_compiler/v1/src/compiler/html_events.dart';
import 'package:angular_compiler/v1/src/compiler/html_tags.dart';
import 'package:angular_compiler/v1/src/compiler/i18n.dart';
import 'package:angular_compiler/v1/src/compiler/i18n/builder.dart';
import 'package:angular_compiler/v1/src/compiler/i18n/message.dart';
import 'package:angular_compiler/v1/src/compiler/i18n/metadata.dart';
import 'package:angular_compiler/v1/src/compiler/i18n/property_visitor.dart';
import 'package:angular_compiler/v1/src/compiler/identifiers.dart';
import 'package:angular_compiler/v1/src/compiler/ir/model.dart';
import 'package:angular_compiler/v1/src/compiler/js_split_facade.dart';
import 'package:angular_compiler/v1/src/compiler/module/ng_compiler_module.dart';
import 'package:angular_compiler/v1/src/compiler/optimize_ir/merge_events.dart';
import 'package:angular_compiler/v1/src/compiler/optimize_ir/optimize_lifecycles.dart';
import 'package:angular_compiler/v1/src/compiler/output/abstract_emitter.dart';
import 'package:angular_compiler/v1/src/compiler/output/convert.dart';
import 'package:angular_compiler/v1/src/compiler/output/dart_emitter.dart';
import 'package:angular_compiler/v1/src/compiler/output/output_ast.dart';
import 'package:angular_compiler/v1/src/compiler/output/path_util.dart';
import 'package:angular_compiler/v1/src/compiler/parse_util.dart';
import 'package:angular_compiler/v1/src/compiler/provider_parser.dart';
import 'package:angular_compiler/v1/src/compiler/schema/dom_element_schema_registry.dart';
import 'package:angular_compiler/v1/src/compiler/schema/element_schema_registry.dart';
import 'package:angular_compiler/v1/src/compiler/schema/skip_selectors_validator.dart';
import 'package:angular_compiler/v1/src/compiler/security.dart';
import 'package:angular_compiler/v1/src/compiler/selector.dart';
import 'package:angular_compiler/v1/src/compiler/semantic_analysis/binding_converter.dart';
import 'package:angular_compiler/v1/src/compiler/semantic_analysis/directive_converter.dart';
import 'package:angular_compiler/v1/src/compiler/semantic_analysis/element_converter.dart';
import 'package:angular_compiler/v1/src/compiler/semantic_analysis/matched_directive_converter.dart';
import 'package:angular_compiler/v1/src/compiler/source_module.dart';
import 'package:angular_compiler/v1/src/compiler/style_url_resolver.dart';
import 'package:angular_compiler/v1/src/compiler/stylesheet_compiler/builder.dart';
import 'package:angular_compiler/v1/src/compiler/stylesheet_compiler/processor.dart';
import 'package:angular_compiler/v1/src/compiler/stylesheet_compiler/shadow_css.dart';
import 'package:angular_compiler/v1/src/compiler/stylesheet_compiler/style_compiler.dart';
import 'package:angular_compiler/v1/src/compiler/template_ast.dart';
import 'package:angular_compiler/v1/src/compiler/template_compiler.dart';
import 'package:angular_compiler/v1/src/compiler/template_optimize.dart';
import 'package:angular_compiler/v1/src/compiler/template_parser.dart';
import 'package:angular_compiler/v1/src/compiler/template_parser/ast_template_parser.dart';
import 'package:angular_compiler/v1/src/compiler/template_parser/missing_directives_validator.dart';
import 'package:angular_compiler/v1/src/compiler/template_parser/recursive_template_visitor.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/bound_value_converter.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/compile_element.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/compile_method.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/compile_pipe.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/compile_query.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/compile_view.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/constants.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/devtools.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/directive_compiler.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/event_binder.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/expression_converter.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/interpolation_utils.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/ir/provider_resolver.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/ir/provider_source.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/ir/view_storage.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/lifecycle_binder.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/parse_utils.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/property_binder.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/provider_forest.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/update_statement_visitor.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/view_binder.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/view_builder.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/view_compiler.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/view_compiler_utils.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/view_name_resolver.dart';
import 'package:angular_compiler/v1/src/compiler/view_compiler/view_style_linker.dart';
import 'package:angular_compiler/v1/src/compiler/view_type.dart';
import 'package:angular_compiler/v1/src/source_gen/common/annotation_matcher.dart';
import 'package:angular_compiler/v1/src/source_gen/common/url_resolver.dart';
import 'package:angular_compiler/v1/src/source_gen/template_compiler/annotation_information.dart';
import 'package:angular_compiler/v1/src/source_gen/template_compiler/code_builder.dart';
import 'package:angular_compiler/v1/src/source_gen/template_compiler/compile_metadata.dart';
import 'package:angular_compiler/v1/src/source_gen/template_compiler/component_visitor_exceptions.dart';
import 'package:angular_compiler/v1/src/source_gen/template_compiler/dart_object_utils.dart';
import 'package:angular_compiler/v1/src/source_gen/template_compiler/find_components.dart';
import 'package:angular_compiler/v1/src/source_gen/template_compiler/generator.dart';
import 'package:angular_compiler/v1/src/source_gen/template_compiler/lifecycle_hooks.dart';
import 'package:angular_compiler/v1/src/source_gen/template_compiler/pipe_visitor.dart';
import 'package:angular_compiler/v1/src/source_gen/template_compiler/provider_inference.dart';
import 'package:angular_compiler/v1/src/source_gen/template_compiler/resolve_reflectables.dart';
import 'package:angular_compiler/v1/src/source_gen/template_compiler/template_compiler_outputs.dart';
import 'package:angular_compiler/v1/src/source_gen/template_compiler/template_processor.dart';
import 'package:angular_compiler/v2/analyzer.dart';
import 'package:angular_compiler/v2/asset.dart';
import 'package:angular_compiler/v2/context.dart';
import 'package:angular_compiler/v2/src/context/build_error.dart';
import 'package:angular_compiler/v2/src/testing/runtime_source_resolution.dart';
import 'package:angular_compiler/v2/testing.dart';