GCC Middle and Back End API Reference
attribute_urlifier Class Reference

#include <gcc-urlifier.h>

Inheritance diagram for attribute_urlifier:
Collaboration diagram for attribute_urlifier:

Public Member Functions

 attribute_urlifier ()
 
 attribute_urlifier (const char *target_docs_name)
 
char * get_url_for_quoted_text (const char *p, size_t sz) const final override
 
label_text get_url_suffix_for_quoted_text (const char *p, size_t sz) const
 
label_text get_url_suffix_for_quoted_text (const char *p) const
 

Private Attributes

const char * m_target_docs_name
 

Detailed Description

Subclass of urlifier that attempts to add URLs to quoted strings
containing names of attributes.   

Constructor & Destructor Documentation

◆ attribute_urlifier() [1/2]

attribute_urlifier::attribute_urlifier ( )
class attribute_urlifier : public urlifier.   
By default, use the target's documentation name.   

◆ attribute_urlifier() [2/2]

attribute_urlifier::attribute_urlifier ( const char * target_docs_name)
Explicitly specify a target's documentation name, for use in selftests.   

Member Function Documentation

◆ get_url_for_quoted_text()

char * attribute_urlifier::get_url_for_quoted_text ( const char * p,
size_t sz ) const
finaloverridevirtual

◆ get_url_suffix_for_quoted_text() [1/2]

label_text attribute_urlifier::get_url_suffix_for_quoted_text ( const char * p) const

◆ get_url_suffix_for_quoted_text() [2/2]

label_text attribute_urlifier::get_url_suffix_for_quoted_text ( const char * p,
size_t sz ) const

Field Documentation

◆ m_target_docs_name

const char* attribute_urlifier::m_target_docs_name
private

The documentation for this class was generated from the following files: