GCC Middle and Back End API Reference
|
#include <gcc-urlifier.h>
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 |
Subclass of urlifier that attempts to add URLs to quoted strings containing names of attributes.
attribute_urlifier::attribute_urlifier | ( | ) |
class attribute_urlifier : public urlifier.
By default, use the target's documentation name.
attribute_urlifier::attribute_urlifier | ( | const char * | target_docs_name | ) |
Explicitly specify a target's documentation name, for use in selftests.
|
finaloverridevirtual |
Implements urlifier.
References get_url_suffix_for_quoted_text(), and make_doc_url().
label_text attribute_urlifier::get_url_suffix_for_quoted_text | ( | const char * | p | ) | const |
References get_url_suffix_for_quoted_text().
label_text attribute_urlifier::get_url_suffix_for_quoted_text | ( | const char * | p, |
size_t | sz ) const |
References find_attr_url_entry(), i, and m_target_docs_name.
Referenced by get_url_for_quoted_text(), and get_url_suffix_for_quoted_text().
|
private |
Referenced by get_url_suffix_for_quoted_text().