ImportExportDecl constructor

ImportExportDecl({
  1. String? fromPath,
  2. IdentifierExpr? alias,
  3. List<IdentifierExpr> showList = const [],
  4. bool isPreloadedModule = false,
  5. bool isExport = false,
  6. bool hasEndOfStmtMark = false,
  7. HTSource? source,
  8. int line = 0,
  9. int column = 0,
  10. int offset = 0,
  11. int length = 0,
})

Implementation

ImportExportDecl({
  this.fromPath,
  this.alias,
  this.showList = const [],
  this.isPreloadedModule = false,
  this.isExport = false,
  super.hasEndOfStmtMark = false,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(isExport ? Semantic.exportStmt : Semantic.importStmt);