HTVariableDeclaration constructor

HTVariableDeclaration({
  1. required String id,
  2. String? classId,
  3. HTDeclarationNamespace? closure,
  4. HTSource? source,
  5. HTType? declType,
  6. bool isPrivate = false,
  7. bool isExternal = false,
  8. bool isStatic = false,
  9. bool isConst = false,
  10. bool isMutable = false,
  11. bool isTopLevel = false,
  12. bool lateFinalize = false,
})

Implementation

HTVariableDeclaration(
    {required String id,
    super.classId,
    super.closure,
    super.source,
    HTType? declType,
    super.isPrivate = false,
    super.isExternal = false,
    super.isStatic = false,
    super.isConst = false,
    super.isMutable = false,
    super.isTopLevel = false,
    this.lateFinalize = false})
    : _declType = declType,
      super(id: id) {
  if (_declType != null && _declType!.isResolved) {
    _resolvedDeclType = _declType!;
  }
}