clang  6.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::format::AdditionalKeywords Struct Reference

Encapsulates keywords that are context sensitive or for languages not properly supported by Clang's lexer. More...

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/Format/FormatToken.h"

Collaboration diagram for clang::format::AdditionalKeywords:
Collaboration graph
[legend]

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...
 

Public Attributes

IdentifierInfokw_final
 
IdentifierInfokw_override
 
IdentifierInfokw_in
 
IdentifierInfokw_of
 
IdentifierInfokw_CF_ENUM
 
IdentifierInfokw_CF_OPTIONS
 
IdentifierInfokw_NS_ENUM
 
IdentifierInfokw_NS_OPTIONS
 
IdentifierInfokw___except
 
IdentifierInfokw___has_include
 
IdentifierInfokw___has_include_next
 
IdentifierInfokw_as
 
IdentifierInfokw_async
 
IdentifierInfokw_await
 
IdentifierInfokw_declare
 
IdentifierInfokw_finally
 
IdentifierInfokw_from
 
IdentifierInfokw_function
 
IdentifierInfokw_get
 
IdentifierInfokw_import
 
IdentifierInfokw_is
 
IdentifierInfokw_let
 
IdentifierInfokw_module
 
IdentifierInfokw_readonly
 
IdentifierInfokw_set
 
IdentifierInfokw_type
 
IdentifierInfokw_typeof
 
IdentifierInfokw_var
 
IdentifierInfokw_yield
 
IdentifierInfokw_abstract
 
IdentifierInfokw_assert
 
IdentifierInfokw_extends
 
IdentifierInfokw_implements
 
IdentifierInfokw_instanceof
 
IdentifierInfokw_interface
 
IdentifierInfokw_native
 
IdentifierInfokw_package
 
IdentifierInfokw_synchronized
 
IdentifierInfokw_throws
 
IdentifierInfokw_mark
 
IdentifierInfokw_extend
 
IdentifierInfokw_option
 
IdentifierInfokw_optional
 
IdentifierInfokw_repeated
 
IdentifierInfokw_required
 
IdentifierInfokw_returns
 
IdentifierInfokw_signals
 
IdentifierInfokw_qsignals
 
IdentifierInfokw_slots
 
IdentifierInfokw_qslots
 

Detailed Description

Encapsulates keywords that are context sensitive or for languages not properly supported by Clang's lexer.

Definition at line 634 of file FormatToken.h.

Constructor & Destructor Documentation

◆ AdditionalKeywords()

clang::format::AdditionalKeywords::AdditionalKeywords ( IdentifierTable IdentTable)
inline

Definition at line 635 of file FormatToken.h.

References clang::IdentifierTable::get().

Member Function Documentation

◆ IsJavaScriptIdentifier()

bool clang::format::AdditionalKeywords::IsJavaScriptIdentifier ( const FormatToken Tok) const
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.

Member Data Documentation

◆ kw___except

IdentifierInfo* clang::format::AdditionalKeywords::kw___except

Definition at line 711 of file FormatToken.h.

◆ kw___has_include

IdentifierInfo* clang::format::AdditionalKeywords::kw___has_include

Definition at line 712 of file FormatToken.h.

◆ kw___has_include_next

IdentifierInfo* clang::format::AdditionalKeywords::kw___has_include_next

Definition at line 713 of file FormatToken.h.

◆ kw_abstract

IdentifierInfo* clang::format::AdditionalKeywords::kw_abstract

Definition at line 736 of file FormatToken.h.

Referenced by clang::format::mustBeJSIdent().

◆ kw_as

IdentifierInfo* clang::format::AdditionalKeywords::kw_as

Definition at line 716 of file FormatToken.h.

Referenced by clang::format::mustBeJSIdent().

◆ kw_assert

IdentifierInfo* clang::format::AdditionalKeywords::kw_assert

Definition at line 737 of file FormatToken.h.

◆ kw_async

IdentifierInfo* clang::format::AdditionalKeywords::kw_async

Definition at line 717 of file FormatToken.h.

Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().

◆ kw_await

IdentifierInfo* clang::format::AdditionalKeywords::kw_await

Definition at line 718 of file FormatToken.h.

Referenced by clang::format::mustBeJSIdent().

◆ kw_CF_ENUM

IdentifierInfo* clang::format::AdditionalKeywords::kw_CF_ENUM

Definition at line 707 of file FormatToken.h.

◆ kw_CF_OPTIONS

IdentifierInfo* clang::format::AdditionalKeywords::kw_CF_OPTIONS

Definition at line 708 of file FormatToken.h.

◆ kw_declare

IdentifierInfo* clang::format::AdditionalKeywords::kw_declare

Definition at line 719 of file FormatToken.h.

◆ kw_extend

IdentifierInfo* clang::format::AdditionalKeywords::kw_extend

Definition at line 751 of file FormatToken.h.

◆ kw_extends

IdentifierInfo* clang::format::AdditionalKeywords::kw_extends

Definition at line 738 of file FormatToken.h.

Referenced by clang::format::mustBeJSIdent().

◆ kw_final

IdentifierInfo* clang::format::AdditionalKeywords::kw_final

Definition at line 703 of file FormatToken.h.

◆ kw_finally

IdentifierInfo* clang::format::AdditionalKeywords::kw_finally

Definition at line 720 of file FormatToken.h.

Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().

◆ kw_from

IdentifierInfo* clang::format::AdditionalKeywords::kw_from

Definition at line 721 of file FormatToken.h.

Referenced by clang::format::mustBeJSIdent().

◆ kw_function

IdentifierInfo* clang::format::AdditionalKeywords::kw_function

Definition at line 722 of file FormatToken.h.

Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().

◆ kw_get

IdentifierInfo* clang::format::AdditionalKeywords::kw_get

Definition at line 723 of file FormatToken.h.

◆ kw_implements

IdentifierInfo* clang::format::AdditionalKeywords::kw_implements

Definition at line 739 of file FormatToken.h.

Referenced by clang::format::mustBeJSIdent().

◆ kw_import

IdentifierInfo* clang::format::AdditionalKeywords::kw_import

Definition at line 724 of file FormatToken.h.

Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().

◆ kw_in

IdentifierInfo* clang::format::AdditionalKeywords::kw_in

◆ kw_instanceof

IdentifierInfo* clang::format::AdditionalKeywords::kw_instanceof

◆ kw_interface

IdentifierInfo* clang::format::AdditionalKeywords::kw_interface

Definition at line 741 of file FormatToken.h.

Referenced by clang::format::mustBeJSIdent().

◆ kw_is

IdentifierInfo* clang::format::AdditionalKeywords::kw_is

Definition at line 725 of file FormatToken.h.

Referenced by clang::format::mustBeJSIdent().

◆ kw_let

IdentifierInfo* clang::format::AdditionalKeywords::kw_let

Definition at line 726 of file FormatToken.h.

Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().

◆ kw_mark

IdentifierInfo* clang::format::AdditionalKeywords::kw_mark

Definition at line 748 of file FormatToken.h.

◆ kw_module

IdentifierInfo* clang::format::AdditionalKeywords::kw_module

Definition at line 727 of file FormatToken.h.

◆ kw_native

IdentifierInfo* clang::format::AdditionalKeywords::kw_native

Definition at line 742 of file FormatToken.h.

◆ kw_NS_ENUM

IdentifierInfo* clang::format::AdditionalKeywords::kw_NS_ENUM

Definition at line 709 of file FormatToken.h.

◆ kw_NS_OPTIONS

IdentifierInfo* clang::format::AdditionalKeywords::kw_NS_OPTIONS

Definition at line 710 of file FormatToken.h.

◆ kw_of

IdentifierInfo* clang::format::AdditionalKeywords::kw_of

Definition at line 706 of file FormatToken.h.

Referenced by clang::format::mustBeJSIdent().

◆ kw_option

IdentifierInfo* clang::format::AdditionalKeywords::kw_option

Definition at line 752 of file FormatToken.h.

◆ kw_optional

IdentifierInfo* clang::format::AdditionalKeywords::kw_optional

Definition at line 753 of file FormatToken.h.

◆ kw_override

IdentifierInfo* clang::format::AdditionalKeywords::kw_override

Definition at line 704 of file FormatToken.h.

◆ kw_package

IdentifierInfo* clang::format::AdditionalKeywords::kw_package

Definition at line 743 of file FormatToken.h.

◆ kw_qsignals

IdentifierInfo* clang::format::AdditionalKeywords::kw_qsignals

Definition at line 760 of file FormatToken.h.

◆ kw_qslots

IdentifierInfo* clang::format::AdditionalKeywords::kw_qslots

Definition at line 762 of file FormatToken.h.

◆ kw_readonly

IdentifierInfo* clang::format::AdditionalKeywords::kw_readonly

Definition at line 728 of file FormatToken.h.

◆ kw_repeated

IdentifierInfo* clang::format::AdditionalKeywords::kw_repeated

Definition at line 754 of file FormatToken.h.

◆ kw_required

IdentifierInfo* clang::format::AdditionalKeywords::kw_required

Definition at line 755 of file FormatToken.h.

◆ kw_returns

IdentifierInfo* clang::format::AdditionalKeywords::kw_returns

Definition at line 756 of file FormatToken.h.

◆ kw_set

IdentifierInfo* clang::format::AdditionalKeywords::kw_set

Definition at line 729 of file FormatToken.h.

◆ kw_signals

IdentifierInfo* clang::format::AdditionalKeywords::kw_signals

Definition at line 759 of file FormatToken.h.

◆ kw_slots

IdentifierInfo* clang::format::AdditionalKeywords::kw_slots

Definition at line 761 of file FormatToken.h.

◆ kw_synchronized

IdentifierInfo* clang::format::AdditionalKeywords::kw_synchronized

Definition at line 744 of file FormatToken.h.

◆ kw_throws

IdentifierInfo* clang::format::AdditionalKeywords::kw_throws

Definition at line 745 of file FormatToken.h.

Referenced by clang::format::mustBeJSIdent().

◆ kw_type

IdentifierInfo* clang::format::AdditionalKeywords::kw_type

Definition at line 730 of file FormatToken.h.

◆ kw_typeof

IdentifierInfo* clang::format::AdditionalKeywords::kw_typeof

Definition at line 731 of file FormatToken.h.

◆ kw_var

IdentifierInfo* clang::format::AdditionalKeywords::kw_var

Definition at line 732 of file FormatToken.h.

Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().

◆ kw_yield

IdentifierInfo* clang::format::AdditionalKeywords::kw_yield

Definition at line 733 of file FormatToken.h.

Referenced by clang::format::isJSDeclOrStmt(), and clang::format::mustBeJSIdent().


The documentation for this struct was generated from the following file: