ASTCompilation constructor

ASTCompilation({
  1. required Map<String, ASTSource> values,
  2. required Map<String, ASTSource> sources,
  3. required String entryFullname,
  4. required HTResourceType entryResourceType,
  5. required List<HTError> errors,
  6. HTSource? source,
  7. int line = 0,
  8. int column = 0,
  9. int offset = 0,
  10. int length = 0,
})

Implementation

ASTCompilation({
  required this.values,
  required this.sources,
  required this.entryFullname,
  required this.entryResourceType,
  required this.errors,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(Semantic.compilation, isStatement: true) {
  // for (final decl in values.values) {
  //   decl.parent = this;
  // }
  // for (final decl in sources.values) {
  //   decl.parent = this;
  // }
}