code: func (p *parser) parseTypeSelector() (result Selector, err error) {
  	tag, err := p.parseIdentifier()
  	if err != nil {
  		return nil, err
  	}
  
  	return typeSelector(tag), nil
  }
docs: // parseTypeSelector parses a type selector (one that matches by tag name).