processPrivateUseExtensions method

void processPrivateUseExtensions()

Consumes tags matched by pu_extensions in the specification, except that the 'x' singleton must already be accepted.

If parsing fails, atEnd() will be false and/or problems will not be empty.

Implementation

void processPrivateUseExtensions() {
  final values = <String>[];
  while (acceptLowAlphaNumeric1to8()) {
    values.add(_accepted);
  }
  if (values.isNotEmpty) {
    _xExtensions = values.join('-');
  }
}