clang
7.0.0
|
#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 56 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::SourceLocation::dump(), and clang::comments::Lexer::getSpelling().
|
inline |
Definition at line 121 of file CommentLexer.h.
References clang::comments::tok::at_command, and clang::comments::tok::backslash_command.
Referenced by clang::comments::BriefParser::Parse(), clang::comments::Parser::parseBlockCommand(), and clang::comments::Parser::parseParagraphOrBlockCommand().
|
inline |
Definition at line 84 of file CommentLexer.h.
References clang::SourceLocation::getLocWithOffset().
Referenced by clang::comments::Parser::parseBlockCommand(), clang::comments::Parser::parseBlockCommandArgs(), clang::comments::Parser::parseHTMLStartTag(), clang::comments::Parser::parseInlineCommand(), clang::comments::Parser::parseParagraphOrBlockCommand(), clang::comments::Parser::parseParamCommandArgs(), and clang::comments::Parser::parseTParamCommandArgs().
|
inline |
Definition at line 184 of file CommentLexer.h.
References clang::comments::tok::html_ident.
Referenced by clang::comments::Parser::parseHTMLStartTag().
|
inline |
Definition at line 195 of file CommentLexer.h.
References clang::comments::tok::html_quoted_string.
Referenced by clang::comments::Parser::parseHTMLStartTag().
|
inline |
Definition at line 206 of file CommentLexer.h.
References clang::comments::tok::html_end_tag.
|
inline |
Definition at line 173 of file CommentLexer.h.
References clang::comments::tok::html_start_tag.
Referenced by clang::comments::Parser::parseHTMLStartTag().
|
inline |
Definition at line 90 of file CommentLexer.h.
Referenced by clang::comments::Parser::parseBlockContent(), clang::comments::Parser::parseHTMLStartTag(), and clang::comments::Parser::parseParagraphOrBlockCommand().
|
inline |
Definition at line 96 of file CommentLexer.h.
Referenced by clang::comments::Lexer::getSpelling().
|
inline |
Definition at line 81 of file CommentLexer.h.
Referenced by clang::comments::Lexer::getSpelling(), clang::comments::Parser::parseBlockCommand(), clang::comments::Parser::parseBlockCommandArgs(), clang::comments::Parser::parseHTMLEndTag(), clang::comments::Parser::parseHTMLStartTag(), clang::comments::Parser::parseInlineCommand(), clang::comments::Parser::parseParagraphOrBlockCommand(), clang::comments::Parser::parseParamCommandArgs(), clang::comments::Parser::parseTParamCommandArgs(), clang::comments::Parser::parseVerbatimBlock(), and clang::comments::Parser::parseVerbatimLine().
|
inline |
Definition at line 99 of file CommentLexer.h.
References clang::comments::tok::text.
Referenced by clang::comments::BriefParser::Parse(), clang::comments::Parser::parseBlockCommandArgs(), clang::comments::Parser::parseInlineCommand(), clang::comments::Parser::parseParagraphOrBlockCommand(), clang::comments::Parser::parseParamCommandArgs(), and clang::comments::Parser::parseTParamCommandArgs().
|
inline |
Definition at line 110 of file CommentLexer.h.
References clang::comments::tok::unknown_command.
Referenced by clang::comments::Parser::parseParagraphOrBlockCommand().
|
inline |
Definition at line 131 of file CommentLexer.h.
References clang::comments::tok::verbatim_block_begin, and clang::comments::tok::verbatim_block_end.
Referenced by clang::comments::Parser::parseVerbatimBlock().
|
inline |
Definition at line 141 of file CommentLexer.h.
References clang::comments::tok::verbatim_block_line.
Referenced by clang::comments::Parser::parseVerbatimBlock().
|
inline |
Definition at line 152 of file CommentLexer.h.
References clang::comments::tok::verbatim_line_name.
|
inline |
Definition at line 162 of file CommentLexer.h.
References clang::comments::tok::verbatim_line_text.
Referenced by clang::comments::Parser::parseVerbatimLine().
|
inline |
Definition at line 93 of file CommentLexer.h.
Referenced by clang::comments::BriefParser::Parse(), clang::comments::Parser::parseBlockCommand(), clang::comments::Parser::parseFullComment(), clang::comments::Parser::parseHTMLEndTag(), clang::comments::Parser::parseHTMLStartTag(), clang::comments::Parser::parseInlineCommand(), clang::comments::Parser::parseParagraphOrBlockCommand(), clang::comments::Parser::parseVerbatimBlock(), and clang::comments::Parser::parseVerbatimLine().
|
inline |
Definition at line 94 of file CommentLexer.h.
Referenced by clang::comments::BriefParser::Parse(), clang::comments::Parser::parseFullComment(), and clang::comments::Parser::parseHTMLStartTag().
|
inline |
Definition at line 126 of file CommentLexer.h.
References clang::comments::tok::at_command, and clang::comments::tok::backslash_command.
|
inline |
Definition at line 189 of file CommentLexer.h.
|
inline |
Definition at line 200 of file CommentLexer.h.
References clang::comments::tok::html_quoted_string.
|
inline |
Definition at line 211 of file CommentLexer.h.
|
inline |
Definition at line 178 of file CommentLexer.h.
|
inline |
Definition at line 91 of file CommentLexer.h.
|
inline |
Definition at line 97 of file CommentLexer.h.
|
inline |
Definition at line 82 of file CommentLexer.h.
|
inline |
Definition at line 104 of file CommentLexer.h.
References clang::comments::tok::text.
|
inline |
Definition at line 115 of file CommentLexer.h.
|
inline |
Definition at line 136 of file CommentLexer.h.
References clang::comments::tok::verbatim_block_begin, and clang::comments::tok::verbatim_block_end.
|
inline |
Definition at line 146 of file CommentLexer.h.
References clang::comments::tok::verbatim_block_line.
|
inline |
Definition at line 157 of file CommentLexer.h.
References clang::comments::tok::verbatim_line_name.
|
inline |
Definition at line 167 of file CommentLexer.h.
References clang::comments::tok::verbatim_line_text.
|
friend |
Definition at line 57 of file CommentLexer.h.
|
friend |
Definition at line 58 of file CommentLexer.h.