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
SMLoc getLoc () const

Detailed Description

TGLexer - TableGen Lexer class.

Definition at line 62 of file TGLexer.h.


Member Typedef Documentation

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

Definition at line 79 of file TGLexer.h.


Constructor & Destructor Documentation

TGLexer::TGLexer ( SourceMgr SrcMgr)
llvm::TGLexer::~TGLexer ( ) [inline]

Definition at line 86 of file TGLexer.h.


Member Function Documentation

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

Definition at line 96 of file TGLexer.h.

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

Definition at line 104 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 92 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 88 of file TGLexer.h.


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