LLVM API Documentation

Public Types | Public Member Functions
llvm::TGLexer Class Reference

TGLexer - TableGen Lexer class. More...

#include <TGLexer.h>

List of all members.

Public Types

typedef std::map< std::string,
SMLoc
DependenciesMapTy

Public Member Functions

 TGLexer (SourceMgr &SrcMgr)
 ~TGLexer ()
tgtok::TokKind Lex ()
const DependenciesMapTygetDependencies () const
tgtok::TokKind getCode () const
const std::string & getCurStrVal () const
int64_t getCurIntVal () const
std::pair< int64_t, unsignedgetCurBinaryIntVal () const
SMLoc getLoc () const

Detailed Description

TGLexer - TableGen Lexer class.

Definition at line 66 of file TGLexer.h.


Member Typedef Documentation

typedef std::map<std::string, SMLoc> llvm::TGLexer::DependenciesMapTy

Definition at line 83 of file TGLexer.h.


Constructor & Destructor Documentation

TGLexer::TGLexer ( SourceMgr SrcMgr)

Definition at line 90 of file TGLexer.h.


Member Function Documentation

Definition at line 100 of file TGLexer.h.

std::pair<int64_t, unsigned> llvm::TGLexer::getCurBinaryIntVal ( ) const [inline]

Definition at line 112 of file TGLexer.h.

References llvm::tgtok::BinaryIntVal.

int64_t llvm::TGLexer::getCurIntVal ( ) const [inline]

Definition at line 108 of file TGLexer.h.

References llvm::tgtok::IntVal.

const std::string& llvm::TGLexer::getCurStrVal ( ) const [inline]

Definition at line 96 of file TGLexer.h.

Referenced by llvm::TGParser::getDependencies().

Definition at line 36 of file TGLexer.cpp.

References llvm::SMLoc::getFromPointer().

Referenced by llvm::TGParser::TokError().

Definition at line 92 of file TGLexer.h.


The documentation for this class was generated from the following files: