ngcompiler 2.1.2+0 copy "ngcompiler: ^2.1.2+0" to clipboard
ngcompiler: ^2.1.2+0 copied to clipboard

SDKDart
outdated

The AngularDart compiler. It compiles your component files written in Dart into templates so that you don't have to worry about all the complicated hassle.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add ngcompiler

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

dependencies:
  ngcompiler: ^2.1.2+0

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

Publisher

verified publisherangulardart.xyz

The AngularDart compiler. It compiles your component files written in Dart into templates so that you don't have to worry about all the complicated hassle.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, args, build, build_test, code_builder, collection, csslib, dart_style, logging, meta, ngast, ngdart, package_config, path, source_gen, source_span, stack_trace

More

Packages that depend on ngcompiler