OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tgtok
(Results
1 - 3
of
3
) sorted by null
/external/llvm/lib/TableGen/
TGLexer.h
29
namespace
tgtok
{
namespace in namespace:llvm
74
tgtok
::TokKind CurCode;
91
tgtok
::TokKind Lex() {
99
tgtok
::TokKind getCode() const { return CurCode; }
102
assert((CurCode ==
tgtok
::Id || CurCode ==
tgtok
::StrVal ||
103
CurCode ==
tgtok
::VarName || CurCode ==
tgtok
::CodeFragment) &&
108
assert(CurCode ==
tgtok
::IntVal && "This token isn't an integer");
112
assert(CurCode ==
tgtok
::BinaryIntVal &
[
all
...]
TGLexer.cpp
41
/// location. This is defined to always return
tgtok
::Error.
42
tgtok
::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) {
44
return
tgtok
::Error;
88
tgtok
::TokKind TGLexer::LexToken() {
101
case EOF: return
tgtok
::Eof;
102
case ':': return
tgtok
::colon;
103
case ';': return
tgtok
::semi;
104
case '.': return
tgtok
::period;
105
case ',': return
tgtok
::comma;
106
case '<': return
tgtok
::less
[
all
...]
TGParser.cpp
365
static bool isObjectStart(
tgtok
::TokKind K) {
366
return K ==
tgtok
::Class || K ==
tgtok
::Def ||
367
K ==
tgtok
::Defm || K ==
tgtok
::Let ||
368
K ==
tgtok
::MultiClass || K ==
tgtok
::Foreach;
384
case
tgtok
::colon:
385
case
tgtok
::semi:
386
case
tgtok
::l_brace
[
all
...]
Completed in 57 milliseconds