clang
6.0.0
|
Encapsulates keywords that are context sensitive or for languages not properly supported by Clang's lexer. More...
#include "/work/www-prereleases/6.0.0/rc3/llvm.src/tools/clang/lib/Format/FormatToken.h"
Public Member Functions | |
AdditionalKeywords (IdentifierTable &IdentTable) | |
bool | IsJavaScriptIdentifier (const FormatToken &Tok) const |
Returns true if Tok is a true JavaScript identifier, returns false if it is a keyword or a pseudo keyword. More... | |
Encapsulates keywords that are context sensitive or for languages not properly supported by Clang's lexer.
Definition at line 634 of file FormatToken.h.
|
inline |
Definition at line 635 of file FormatToken.h.
References clang::IdentifierTable::get().
|
inline |
Returns true
if Tok
is a true JavaScript identifier, returns false
if it is a keyword or a pseudo keyword.
Definition at line 766 of file FormatToken.h.
References clang::Token::getIdentifierInfo(), clang::format::FormatToken::is(), and clang::format::FormatToken::Tok.
IdentifierInfo* clang::format::AdditionalKeywords::kw___except |
Definition at line 711 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw___has_include |
Definition at line 712 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw___has_include_next |
Definition at line 713 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_abstract |
Definition at line 736 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_as |
Definition at line 716 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_assert |
Definition at line 737 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_async |
Definition at line 717 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_await |
Definition at line 718 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_CF_ENUM |
Definition at line 707 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_CF_OPTIONS |
Definition at line 708 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_declare |
Definition at line 719 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_extend |
Definition at line 751 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_extends |
Definition at line 738 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_final |
Definition at line 703 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_finally |
Definition at line 720 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_from |
Definition at line 721 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_function |
Definition at line 722 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_get |
Definition at line 723 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_implements |
Definition at line 739 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_import |
Definition at line 724 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_in |
Definition at line 705 of file FormatToken.h.
Referenced by clang::format::FormatTokenLexer::lex(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_instanceof |
Definition at line 740 of file FormatToken.h.
Referenced by clang::format::FormatTokenLexer::lex(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_interface |
Definition at line 741 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_is |
Definition at line 725 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_let |
Definition at line 726 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_mark |
Definition at line 748 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_module |
Definition at line 727 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_native |
Definition at line 742 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_NS_ENUM |
Definition at line 709 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_NS_OPTIONS |
Definition at line 710 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_of |
Definition at line 706 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_option |
Definition at line 752 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_optional |
Definition at line 753 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_override |
Definition at line 704 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_package |
Definition at line 743 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_qsignals |
Definition at line 760 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_qslots |
Definition at line 762 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_readonly |
Definition at line 728 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_repeated |
Definition at line 754 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_required |
Definition at line 755 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_returns |
Definition at line 756 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_set |
Definition at line 729 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_signals |
Definition at line 759 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_slots |
Definition at line 761 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_synchronized |
Definition at line 744 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_throws |
Definition at line 745 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_type |
Definition at line 730 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_typeof |
Definition at line 731 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_var |
Definition at line 732 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_yield |
Definition at line 733 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().