OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TokenKind
(Results
1 - 25
of
211
) sorted by null
1
2
3
4
5
6
7
8
9
/external/clang/bindings/python/tests/cindex/
test_token_kind.py
1
from clang.cindex import
TokenKind
7
"""Ensure
TokenKind
constructor works as expected."""
9
t =
TokenKind
(5, 'foo')
18
TokenKind
.register(2, 'foo')
24
TokenKind
.from_value(-1)
28
ok_(hasattr(
TokenKind
, 'LITERAL'))
29
literal =
TokenKind
.LITERAL
31
ok_(isinstance(literal,
TokenKind
))
35
t =
TokenKind
.from_value(3)
36
ok_(isinstance(t,
TokenKind
))
[
all
...]
/external/clang/include/clang/Basic/
TokenKinds.h
11
/// \brief Defines the clang::
TokenKind
enum and support functions.
25
enum
TokenKind
: unsigned short {
57
const char *getTokenName(
TokenKind
Kind) LLVM_READNONE;
66
const char *getPunctuatorSpelling(
TokenKind
Kind) LLVM_READNONE;
70
const char *getKeywordSpelling(
TokenKind
Kind) LLVM_READNONE;
73
inline bool isAnyIdentifier(
TokenKind
K) {
79
inline bool isStringLiteral(
TokenKind
K) {
87
inline bool isLiteral(
TokenKind
K) {
95
inline bool isAnnotation(
TokenKind
K) {
OperatorPrecedence.h
47
prec::Level getBinOpPrecedence(tok::
TokenKind
Kind, bool GreaterThanIsOperator,
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/Basic/
TokenKinds.h
11
/// \brief Defines the clang::
TokenKind
enum and support functions.
25
enum
TokenKind
: unsigned short {
57
const char *getTokenName(
TokenKind
Kind) LLVM_READNONE;
66
const char *getPunctuatorSpelling(
TokenKind
Kind) LLVM_READNONE;
70
const char *getKeywordSpelling(
TokenKind
Kind) LLVM_READNONE;
73
inline bool isAnyIdentifier(
TokenKind
K) {
79
inline bool isStringLiteral(
TokenKind
K) {
87
inline bool isLiteral(
TokenKind
K) {
95
inline bool isAnnotation(
TokenKind
K) {
OperatorPrecedence.h
47
prec::Level getBinOpPrecedence(tok::
TokenKind
Kind, bool GreaterThanIsOperator,
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/Basic/
TokenKinds.h
11
/// \brief Defines the clang::
TokenKind
enum and support functions.
25
enum
TokenKind
: unsigned short {
57
const char *getTokenName(
TokenKind
Kind) LLVM_READNONE;
66
const char *getPunctuatorSpelling(
TokenKind
Kind) LLVM_READNONE;
70
const char *getKeywordSpelling(
TokenKind
Kind) LLVM_READNONE;
73
inline bool isAnyIdentifier(
TokenKind
K) {
79
inline bool isStringLiteral(
TokenKind
K) {
87
inline bool isLiteral(
TokenKind
K) {
95
inline bool isAnnotation(
TokenKind
K) {
OperatorPrecedence.h
47
prec::Level getBinOpPrecedence(tok::
TokenKind
Kind, bool GreaterThanIsOperator,
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/Basic/
TokenKinds.h
11
/// \brief Defines the clang::
TokenKind
enum and support functions.
25
enum
TokenKind
: unsigned short {
57
const char *getTokenName(
TokenKind
Kind) LLVM_READNONE;
66
const char *getPunctuatorSpelling(
TokenKind
Kind) LLVM_READNONE;
70
const char *getKeywordSpelling(
TokenKind
Kind) LLVM_READNONE;
73
inline bool isAnyIdentifier(
TokenKind
K) {
79
inline bool isStringLiteral(
TokenKind
K) {
87
inline bool isLiteral(
TokenKind
K) {
95
inline bool isAnnotation(
TokenKind
K) {
OperatorPrecedence.h
47
prec::Level getBinOpPrecedence(tok::
TokenKind
Kind, bool GreaterThanIsOperator,
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Basic/
TokenKinds.h
11
/// \brief Defines the clang::
TokenKind
enum and support functions.
25
enum
TokenKind
: unsigned short {
57
const char *getTokenName(
TokenKind
Kind) LLVM_READNONE;
66
const char *getPunctuatorSpelling(
TokenKind
Kind) LLVM_READNONE;
70
const char *getKeywordSpelling(
TokenKind
Kind) LLVM_READNONE;
73
inline bool isAnyIdentifier(
TokenKind
K) {
79
inline bool isStringLiteral(
TokenKind
K) {
87
inline bool isLiteral(
TokenKind
K) {
95
inline bool isAnnotation(
TokenKind
K) {
OperatorPrecedence.h
47
prec::Level getBinOpPrecedence(tok::
TokenKind
Kind, bool GreaterThanIsOperator,
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/Basic/
TokenKinds.h
11
/// \brief Defines the clang::
TokenKind
enum and support functions.
25
enum
TokenKind
: unsigned short {
57
const char *getTokenName(
TokenKind
Kind) LLVM_READNONE;
66
const char *getPunctuatorSpelling(
TokenKind
Kind) LLVM_READNONE;
70
const char *getKeywordSpelling(
TokenKind
Kind) LLVM_READNONE;
73
inline bool isAnyIdentifier(
TokenKind
K) {
79
inline bool isStringLiteral(
TokenKind
K) {
87
inline bool isLiteral(
TokenKind
K) {
95
inline bool isAnnotation(
TokenKind
K) {
OperatorPrecedence.h
47
prec::Level getBinOpPrecedence(tok::
TokenKind
Kind, bool GreaterThanIsOperator,
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/Basic/
TokenKinds.h
11
/// \brief Defines the clang::
TokenKind
enum and support functions.
25
enum
TokenKind
: unsigned short {
57
const char *getTokenName(
TokenKind
Kind) LLVM_READNONE;
66
const char *getPunctuatorSpelling(
TokenKind
Kind) LLVM_READNONE;
70
const char *getKeywordSpelling(
TokenKind
Kind) LLVM_READNONE;
73
inline bool isAnyIdentifier(
TokenKind
K) {
79
inline bool isStringLiteral(
TokenKind
K) {
87
inline bool isLiteral(
TokenKind
K) {
95
inline bool isAnnotation(
TokenKind
K) {
OperatorPrecedence.h
47
prec::Level getBinOpPrecedence(tok::
TokenKind
Kind, bool GreaterThanIsOperator,
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/Basic/
TokenKinds.h
11
/// \brief Defines the clang::
TokenKind
enum and support functions.
25
enum
TokenKind
: unsigned short {
57
const char *getTokenName(
TokenKind
Kind) LLVM_READNONE;
66
const char *getPunctuatorSpelling(
TokenKind
Kind) LLVM_READNONE;
70
const char *getKeywordSpelling(
TokenKind
Kind) LLVM_READNONE;
73
inline bool isAnyIdentifier(
TokenKind
K) {
79
inline bool isStringLiteral(
TokenKind
K) {
87
inline bool isLiteral(
TokenKind
K) {
95
inline bool isAnnotation(
TokenKind
K) {
OperatorPrecedence.h
47
prec::Level getBinOpPrecedence(tok::
TokenKind
Kind, bool GreaterThanIsOperator,
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/Basic/
TokenKinds.h
11
/// \brief Defines the clang::
TokenKind
enum and support functions.
25
enum
TokenKind
: unsigned short {
57
const char *getTokenName(
TokenKind
Kind) LLVM_READNONE;
66
const char *getPunctuatorSpelling(
TokenKind
Kind) LLVM_READNONE;
70
const char *getKeywordSpelling(
TokenKind
Kind) LLVM_READNONE;
73
inline bool isAnyIdentifier(
TokenKind
K) {
79
inline bool isStringLiteral(
TokenKind
K) {
87
inline bool isLiteral(
TokenKind
K) {
95
inline bool isAnnotation(
TokenKind
K) {
OperatorPrecedence.h
47
prec::Level getBinOpPrecedence(tok::
TokenKind
Kind, bool GreaterThanIsOperator,
/external/clang/lib/Basic/
TokenKinds.cpp
10
// This file implements the
TokenKind
enum and support functions.
25
const char *tok::getTokenName(
TokenKind
Kind) {
28
llvm_unreachable("unknown
TokenKind
");
32
const char *tok::getPunctuatorSpelling(
TokenKind
Kind) {
41
const char *tok::getKeywordSpelling(
TokenKind
Kind) {
/external/swiftshader/third_party/LLVM/include/llvm/MC/MCParser/
MCAsmLexer.h
24
enum
TokenKind
{
56
TokenKind
Kind;
66
AsmToken(
TokenKind
_Kind, StringRef _Str, int64_t _IntVal = 0)
69
TokenKind
getKind() const { return Kind; }
70
bool is(
TokenKind
K) const { return Kind == K; }
71
bool isNot(
TokenKind
K) const { return Kind != K; }
170
AsmToken::
TokenKind
getKind() const { return CurTok.getKind(); }
173
bool is(AsmToken::
TokenKind
K) const { return CurTok.is(K); }
176
bool isNot(AsmToken::
TokenKind
K) const { return CurTok.isNot(K); }
/external/swiftshader/third_party/LLVM/include/llvm/MC/
MCTargetAsmLexer.h
78
AsmToken::
TokenKind
getKind() const { return CurTok.getKind(); }
81
bool is(AsmToken::
TokenKind
K) const { return CurTok.is(K); }
84
bool isNot(AsmToken::
TokenKind
K) const { return CurTok.isNot(K); }
/external/llvm/include/llvm/MC/MCParser/
MCAsmLexer.h
27
enum
TokenKind
{
62
TokenKind
Kind;
72
AsmToken(
TokenKind
Kind, StringRef Str, APInt IntVal)
74
AsmToken(
TokenKind
Kind, StringRef Str, int64_t IntVal = 0)
77
TokenKind
getKind() const { return Kind; }
78
bool is(
TokenKind
K) const { return Kind == K; }
79
bool isNot(
TokenKind
K) const { return Kind != K; }
210
AsmToken::
TokenKind
getKind() const { return getTok().getKind(); }
213
bool is(AsmToken::
TokenKind
K) const { return getTok().is(K); }
216
bool isNot(AsmToken::
TokenKind
K) const { return getTok().isNot(K);
[
all
...]
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/MC/MCParser/
MCAsmLexer.h
29
enum
TokenKind
{
72
TokenKind
Kind;
82
AsmToken(
TokenKind
Kind, StringRef Str, APInt IntVal)
84
AsmToken(
TokenKind
Kind, StringRef Str, int64_t IntVal = 0)
87
TokenKind
getKind() const { return Kind; }
88
bool is(
TokenKind
K) const { return Kind == K; }
89
bool isNot(
TokenKind
K) const { return Kind != K; }
241
AsmToken::
TokenKind
getKind() const { return getTok().getKind(); }
244
bool is(AsmToken::
TokenKind
K) const { return getTok().is(K); }
247
bool isNot(AsmToken::
TokenKind
K) const { return getTok().isNot(K);
[
all
...]
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/MC/MCParser/
MCAsmLexer.h
29
enum
TokenKind
{
72
TokenKind
Kind;
82
AsmToken(
TokenKind
Kind, StringRef Str, APInt IntVal)
84
AsmToken(
TokenKind
Kind, StringRef Str, int64_t IntVal = 0)
87
TokenKind
getKind() const { return Kind; }
88
bool is(
TokenKind
K) const { return Kind == K; }
89
bool isNot(
TokenKind
K) const { return Kind != K; }
241
AsmToken::
TokenKind
getKind() const { return getTok().getKind(); }
244
bool is(AsmToken::
TokenKind
K) const { return getTok().is(K); }
247
bool isNot(AsmToken::
TokenKind
K) const { return getTok().isNot(K);
[
all
...]
Completed in 1950 milliseconds
1
2
3
4
5
6
7
8
9