|
clang 23.0.0git
|
#include "clang/AST/CommentLexer.h"
Public Member Functions | |
| SourceLocation | getLocation () const LLVM_READONLY |
| void | setLocation (SourceLocation SL) |
| SourceLocation | getEndLocation () const LLVM_READONLY |
| tok::TokenKind | getKind () const LLVM_READONLY |
| void | setKind (tok::TokenKind K) |
| bool | is (tok::TokenKind K) const LLVM_READONLY |
| bool | isNot (tok::TokenKind K) const LLVM_READONLY |
| unsigned | getLength () const LLVM_READONLY |
| void | setLength (unsigned L) |
| StringRef | getText () const LLVM_READONLY |
| void | setText (StringRef Text) |
| StringRef | getUnknownCommandName () const LLVM_READONLY |
| void | setUnknownCommandName (StringRef Name) |
| unsigned | getCommandID () const LLVM_READONLY |
| void | setCommandID (unsigned ID) |
| unsigned | getVerbatimBlockID () const LLVM_READONLY |
| void | setVerbatimBlockID (unsigned ID) |
| StringRef | getVerbatimBlockText () const LLVM_READONLY |
| void | setVerbatimBlockText (StringRef Text) |
| unsigned | getVerbatimLineID () const LLVM_READONLY |
| void | setVerbatimLineID (unsigned ID) |
| StringRef | getVerbatimLineText () const LLVM_READONLY |
| void | setVerbatimLineText (StringRef Text) |
| StringRef | getHTMLTagStartName () const LLVM_READONLY |
| void | setHTMLTagStartName (StringRef Name) |
| StringRef | getHTMLIdent () const LLVM_READONLY |
| void | setHTMLIdent (StringRef Name) |
| StringRef | getHTMLQuotedString () const LLVM_READONLY |
| void | setHTMLQuotedString (StringRef Str) |
| StringRef | getHTMLTagEndName () const LLVM_READONLY |
| void | setHTMLTagEndName (StringRef Name) |
| void | dump (const Lexer &L, const SourceManager &SM) const |
Friends | |
| class | Lexer |
| class | TextTokenRetokenizer |
Comment token.
Definition at line 58 of file CommentLexer.h.
| void clang::comments::Token::dump | ( | const Lexer & | L, |
| const SourceManager & | SM ) const |
Definition at line 22 of file CommentLexer.cpp.
References clang::comments::Lexer::getSpelling(), Lexer, and SM.
|
inline |
Definition at line 123 of file CommentLexer.h.
References clang::comments::tok::at_command, clang::comments::tok::backslash_command, and is().
Referenced by clang::comments::Parser::parseInlineCommand().
|
inline |
Definition at line 86 of file CommentLexer.h.
References clang::SourceLocation::getLocWithOffset().
Referenced by clang::comments::Parser::parseCommandArgs(), clang::comments::Parser::parseInlineCommand(), clang::comments::Parser::parseParamCommandArgs(), clang::comments::Parser::parseParCommandArgs(), clang::comments::Parser::parseThrowCommandArgs(), clang::comments::Parser::parseTParamCommandArgs(), and clang::comments::Parser::parseVerbatimLine().
|
inline |
Definition at line 186 of file CommentLexer.h.
References clang::comments::tok::html_ident, and is().
Referenced by clang::comments::Parser::parseHTMLStartTag().
|
inline |
Definition at line 197 of file CommentLexer.h.
References clang::comments::tok::html_quoted_string, and is().
|
inline |
Definition at line 208 of file CommentLexer.h.
References clang::comments::tok::html_end_tag, and is().
Referenced by clang::comments::Parser::parseHTMLEndTag().
|
inline |
Definition at line 175 of file CommentLexer.h.
References clang::comments::tok::html_start_tag, and is().
|
inline |
Definition at line 92 of file CommentLexer.h.
|
inline |
Definition at line 98 of file CommentLexer.h.
|
inline |
Definition at line 83 of file CommentLexer.h.
Referenced by clang::comments::Parser::parseCommandArgs(), clang::comments::Parser::parseHTMLEndTag(), clang::comments::Parser::parseHTMLStartTag(), clang::comments::Parser::parseInlineCommand(), clang::comments::Parser::parseParamCommandArgs(), clang::comments::Parser::parseParCommandArgs(), clang::comments::Parser::parseThrowCommandArgs(), clang::comments::Parser::parseTParamCommandArgs(), and clang::comments::Parser::parseVerbatimLine().
|
inline |
Definition at line 101 of file CommentLexer.h.
References is(), and clang::comments::tok::text.
Referenced by clang::comments::Parser::parseCommandArgs(), clang::comments::Parser::parseParamCommandArgs(), clang::comments::Parser::parseParCommandArgs(), clang::comments::Parser::parseThrowCommandArgs(), and clang::comments::Parser::parseTParamCommandArgs().
|
inline |
Definition at line 112 of file CommentLexer.h.
References is(), clang::comments::tok::unknown_at_command, and clang::comments::tok::unknown_backslash_command.
|
inline |
Definition at line 133 of file CommentLexer.h.
References is(), clang::comments::tok::verbatim_block_begin, and clang::comments::tok::verbatim_block_end.
|
inline |
Definition at line 143 of file CommentLexer.h.
References is(), and clang::comments::tok::verbatim_block_line.
|
inline |
Definition at line 154 of file CommentLexer.h.
References is(), and clang::comments::tok::verbatim_line_name.
Referenced by clang::comments::Parser::parseVerbatimLine().
|
inline |
Definition at line 164 of file CommentLexer.h.
References is(), and clang::comments::tok::verbatim_line_text.
|
inline |
Definition at line 95 of file CommentLexer.h.
Referenced by getCommandID(), getHTMLIdent(), getHTMLQuotedString(), getHTMLTagEndName(), getHTMLTagStartName(), getText(), getUnknownCommandName(), getVerbatimBlockID(), getVerbatimBlockText(), getVerbatimLineID(), getVerbatimLineText(), clang::comments::Parser::parseInlineCommand(), setCommandID(), setHTMLIdent(), setHTMLQuotedString(), setHTMLTagEndName(), setHTMLTagStartName(), setText(), setUnknownCommandName(), setVerbatimBlockID(), setVerbatimBlockText(), setVerbatimLineID(), and setVerbatimLineText().
|
inline |
Definition at line 96 of file CommentLexer.h.
|
inline |
Definition at line 128 of file CommentLexer.h.
References clang::comments::tok::at_command, clang::comments::tok::backslash_command, and is().
|
inline |
Definition at line 191 of file CommentLexer.h.
References clang::comments::tok::html_ident, and is().
|
inline |
Definition at line 202 of file CommentLexer.h.
References clang::comments::tok::html_quoted_string, and is().
|
inline |
Definition at line 213 of file CommentLexer.h.
References clang::comments::tok::html_end_tag, and is().
|
inline |
Definition at line 180 of file CommentLexer.h.
References clang::comments::tok::html_start_tag, and is().
|
inline |
Definition at line 93 of file CommentLexer.h.
|
inline |
Definition at line 99 of file CommentLexer.h.
|
inline |
Definition at line 84 of file CommentLexer.h.
|
inline |
Definition at line 106 of file CommentLexer.h.
References is(), clang::Text, and clang::comments::tok::text.
|
inline |
Definition at line 117 of file CommentLexer.h.
References is(), clang::comments::tok::unknown_at_command, and clang::comments::tok::unknown_backslash_command.
|
inline |
Definition at line 138 of file CommentLexer.h.
References is(), clang::comments::tok::verbatim_block_begin, and clang::comments::tok::verbatim_block_end.
|
inline |
Definition at line 148 of file CommentLexer.h.
References is(), clang::Text, and clang::comments::tok::verbatim_block_line.
|
inline |
Definition at line 159 of file CommentLexer.h.
References is(), and clang::comments::tok::verbatim_line_name.
|
inline |
Definition at line 169 of file CommentLexer.h.
References is(), clang::Text, and clang::comments::tok::verbatim_line_text.
|
friend |
|
friend |
Definition at line 60 of file CommentLexer.h.
References TextTokenRetokenizer.
Referenced by TextTokenRetokenizer.