NamespaceDecl constructor

NamespaceDecl(
  1. IdentifierExpr id,
  2. BlockStmt definition, {
  3. String? classId,
  4. bool isPrivate = false,
  5. bool isTopLevel = false,
  6. HTSource? source,
  7. int line = 0,
  8. int column = 0,
  9. int offset = 0,
  10. int length = 0,
})

Implementation

NamespaceDecl(
  this.id,
  this.definition, {
  this.classId,
  this.isPrivate = false,
  this.isTopLevel = false,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(Semantic.namespaceDeclaration);