webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Typedefs | Functions
pp Namespace Reference

Classes

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

Typedefs

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

Functions

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

Typedef Documentation

◆ MacroSet

Function Documentation

◆ numeric_base_int()

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

◆ numeric_lex_float()

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

◆ numeric_lex_int()

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

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator<<()

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ PredefineMacro()

void pp::PredefineMacro ( MacroSet *  macroSet,
const char *  name,
int  value 
)