LLVM  3.7.0
Public Types | Public Member Functions | List of all members
llvm::TGLexer Class Reference

TGLexer - TableGen Lexer class. More...

#include <TGLexer.h>

Public Types

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

Public Member Functions

 TGLexer (SourceMgr &SrcMgr)
 
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)

Member Function Documentation

tgtok::TokKind llvm::TGLexer::getCode ( ) const
inline

Definition at line 99 of file TGLexer.h.

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

Definition at line 111 of file TGLexer.h.

References llvm::tgtok::BinaryIntVal.

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

Definition at line 107 of file TGLexer.h.

References llvm::tgtok::IntVal.

const std::string& llvm::TGLexer::getCurStrVal ( ) const
inline
const DependenciesMapTy& llvm::TGLexer::getDependencies ( ) const
inline

Definition at line 95 of file TGLexer.h.

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

SMLoc TGLexer::getLoc ( ) const

Definition at line 36 of file TGLexer.cpp.

References llvm::SMLoc::getFromPointer().

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

tgtok::TokKind llvm::TGLexer::Lex ( )
inline

Definition at line 91 of file TGLexer.h.


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