zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pp Namespace Reference

Classes

class  Diagnostics
 
class  DirectiveHandler
 
class  DirectiveParser
 
class  ExpressionParser
 
class  Input
 
class  Lexer
 
struct  Macro
 
class  MacroExpander
 
class  Preprocessor
 
struct  SourceLocation
 
struct  Token
 
class  Tokenizer
 

Typedefs

typedef std::map< std::string,
Macro
MacroSet
 

Functions

std::ios::fmtflags numeric_base_int (const std::string &str)
 
template<typename FloatType >
bool numeric_lex_float (const std::string &str, FloatType *value)
 
template<typename IntType >
bool numeric_lex_int (const std::string &str, IntType *value)
 
bool operator!= (const SourceLocation &lhs, const SourceLocation &rhs)
 
bool operator!= (const Token &lhs, const Token &rhs)
 
std::ostream & operator<< (std::ostream &out, const Token &token)
 
bool operator== (const SourceLocation &lhs, const SourceLocation &rhs)
 
bool operator== (const Token &lhs, const Token &rhs)
 

Typedef Documentation

Definition at line 41 of file Macro.h.

Function Documentation

std::ios::fmtflags pp::numeric_base_int ( const std::string str)
inline

Definition at line 16 of file numeric_lex.h.

Referenced by numeric_lex_int().

template<typename FloatType >
bool pp::numeric_lex_float ( const std::string str,
FloatType *  value 
)

Definition at line 49 of file numeric_lex.h.

Referenced by pp::Token::fValue().

template<typename IntType >
bool pp::numeric_lex_int ( const std::string str,
IntType *  value 
)

Definition at line 37 of file numeric_lex.h.

References numeric_base_int().

Referenced by pp::Token::iValue(), and pp::Token::uValue().

bool pp::operator!= ( const SourceLocation &  lhs,
const SourceLocation &  rhs 
)
inline

Definition at line 32 of file SourceLocation.h.

References pp::SourceLocation::equals().

bool pp::operator!= ( const Token &  lhs,
const Token &  rhs 
)
inline

Definition at line 98 of file Token.h.

References pp::Token::equals().

std::ostream & pp::operator<< ( std::ostream &  out,
const Token &  token 
)

Definition at line 74 of file Token.cpp.

References pp::Token::hasLeadingSpace(), and pp::Token::text.

bool pp::operator== ( const SourceLocation &  lhs,
const SourceLocation &  rhs 
)
inline

Definition at line 27 of file SourceLocation.h.

References pp::SourceLocation::equals().

bool pp::operator== ( const Token &  lhs,
const Token &  rhs 
)
inline

Definition at line 93 of file Token.h.

References pp::Token::equals().