ParamDecl constructor

ParamDecl(
  1. IdentifierExpr id, {
  2. TypeExpr? declType,
  3. ASTNode? initializer,
  4. bool isVariadic = false,
  5. bool isOptional = false,
  6. bool isNamed = false,
  7. bool isInitialization = false,
  8. HTSource? source,
  9. int line = 0,
  10. int column = 0,
  11. int offset = 0,
  12. int length = 0,
})

Implementation

ParamDecl(
  IdentifierExpr id, {
  TypeExpr? declType,
  ASTNode? initializer,
  this.isVariadic = false,
  this.isOptional = false,
  this.isNamed = false,
  this.isInitialization = false,
  super.source,
  super.line = 0,
  super.column = 0,
  super.offset = 0,
  super.length = 0,
}) : super(id,
          declType: declType,
          initializer: initializer,
          isMutable: true,
          isStatement: false);