front_end 0.1.0-alpha.2 copy "front_end: ^0.1.0-alpha.2" to clipboard
front_end: ^0.1.0-alpha.2 copied to clipboard

discontinued
outdatedDart 1 only

Front end for compilation of Dart code.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add front_end

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

dependencies:
  front_end: ^0.1.0-alpha.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:front_end/compilation_error.dart';
import 'package:front_end/compiler_options.dart';
import 'package:front_end/dependency_grapher.dart';
import 'package:front_end/file_system.dart';
import 'package:front_end/incremental_kernel_generator.dart';
import 'package:front_end/incremental_resolved_ast_generator.dart';
import 'package:front_end/kernel_generator.dart';
import 'package:front_end/memory_file_system.dart';
import 'package:front_end/physical_file_system.dart';
import 'package:front_end/resolved_ast_generator.dart';
import 'package:front_end/summary_generator.dart';