LabelImpl constructor

LabelImpl({
  1. required SimpleIdentifierImpl label,
  2. required Token colon,
})

Initialize a newly created label.

Implementation

LabelImpl({
  required SimpleIdentifierImpl label,
  required this.colon,
}) : _label = label {
  _becomeParentOf(_label);
}