compile method

Uint8List compile(
  1. ASTCompilation compilation, {
  2. bool printPerformanceStatistics = false,
})

Implementation

Uint8List compile(
  ASTCompilation compilation, {
  bool printPerformanceStatistics = false,
}) {
  final tik = DateTime.now().millisecondsSinceEpoch;
  final bytes = compilation.accept(this);
  final tok = DateTime.now().millisecondsSinceEpoch;
  if (printPerformanceStatistics) {
    print('hetu: ${tok - tik}ms\tto compile\t[${compilation.entryFullname}]');
  }
  return bytes;
}