PrefixedIdentifierImpl constructor

PrefixedIdentifierImpl({
  1. required SimpleIdentifierImpl prefix,
  2. required Token period,
  3. required SimpleIdentifierImpl identifier,
})

Initialize a newly created prefixed identifier.

Implementation

PrefixedIdentifierImpl({
  required SimpleIdentifierImpl prefix,
  required this.period,
  required SimpleIdentifierImpl identifier,
})  : _prefix = prefix,
      _identifier = identifier {
  _becomeParentOf(_prefix);
  _becomeParentOf(_identifier);
}