clang
7.0.0
|
Encapsulates keywords that are context sensitive or for languages not properly supported by Clang's lexer. More...
#include "/work/llvm-www-releases/7.0.0/docsbuild/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 655 of file FormatToken.h.
|
inline |
Definition at line 656 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 787 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 732 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw___has_include |
Definition at line 733 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw___has_include_next |
Definition at line 734 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_abstract |
Definition at line 757 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_as |
Definition at line 737 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_assert |
Definition at line 758 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_async |
Definition at line 738 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_await |
Definition at line 739 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_CF_ENUM |
Definition at line 728 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_CF_OPTIONS |
Definition at line 729 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_declare |
Definition at line 740 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_extend |
Definition at line 772 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_extends |
Definition at line 759 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_final |
Definition at line 724 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_finally |
Definition at line 741 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_from |
Definition at line 742 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_function |
Definition at line 743 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_get |
Definition at line 744 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_implements |
Definition at line 760 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_import |
Definition at line 745 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_in |
Definition at line 726 of file FormatToken.h.
Referenced by clang::format::FormatTokenLexer::lex(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_instanceof |
Definition at line 761 of file FormatToken.h.
Referenced by clang::format::FormatTokenLexer::lex(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_interface |
Definition at line 762 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_is |
Definition at line 746 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_let |
Definition at line 747 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_mark |
Definition at line 769 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_module |
Definition at line 748 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_native |
Definition at line 763 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_NS_ENUM |
Definition at line 730 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_NS_OPTIONS |
Definition at line 731 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_of |
Definition at line 727 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_option |
Definition at line 773 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_optional |
Definition at line 774 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_override |
Definition at line 725 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_package |
Definition at line 764 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_qsignals |
Definition at line 781 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_qslots |
Definition at line 783 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_readonly |
Definition at line 749 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_repeated |
Definition at line 775 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_required |
Definition at line 776 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_returns |
Definition at line 777 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_set |
Definition at line 750 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_signals |
Definition at line 780 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_slots |
Definition at line 782 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_synchronized |
Definition at line 765 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_throws |
Definition at line 766 of file FormatToken.h.
Referenced by clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_type |
Definition at line 751 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_typeof |
Definition at line 752 of file FormatToken.h.
IdentifierInfo* clang::format::AdditionalKeywords::kw_var |
Definition at line 753 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().
IdentifierInfo* clang::format::AdditionalKeywords::kw_yield |
Definition at line 754 of file FormatToken.h.
Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().