top | up | prev | next

Global Namespace

Namespaces

CmajorKeywords
CmajorTokens
ContainerFileKeywords
ContainerFileTokens
LexerFileTokenLexerKeywords
LexerFileTokenLexerTokens
ParserFileTokenLexerKeywords
ParserFileTokenLexerTokens
TokenLexerKeywords
TokenLexerTokens

Classes

class CmajorLexer
class ContainerFileLexer
class LexerFileTokenLexer
class ParserFileTokenLexer
class TokenLexer

Functions

std::string MakeFilePath(const Lexeme& lexeme)
void ParseCharacterLiteral(const std::string& fileName, const Token& token, char32_t& charLit, int& charLitPrefix)
char32_t ParseEscape(const std::string& fileName, const char32_t*& p, const char32_t* e, const Token& token)
void ParseFloatingLiteral(const std::string& fileName, const Token& token, double& floatingLit, bool& floatingLitFloat)
void ParseHexChar(const std::string& fileName, char32_t& value, const char32_t*& p, const char32_t* e, const Token& token)
void ParseIntegerLiteral(const std::string& fileName, const Token& token, uint64_t& intLit, bool& intLitUnsigned)
void ParseStringLiteral(const std::string& fileName, const Token& token, std::u32string& stringLit, int& stringLitPrefix)

Variables

const int noPrefix
const int utf16Prefix
const int utf32Prefix

Function Details

MakeFilePath Function

std::string MakeFilePath(const Lexeme& lexeme)

Definition at line 340 of TokenValueParsers.cpp

Called by: ContainerFileLexer::GetTokenId


ParseCharacterLiteral Function

void ParseCharacterLiteral(const std::string& fileName, const Token& token, char32_t & charLit, int & charLitPrefix)

Definition at line 215 of TokenValueParsers.cpp


ParseEscape Function

char32_t ParseEscape(const std::string& fileName, const char32_t *& p, const char32_t * e, const Token& token)

Definition at line 149 of TokenValueParsers.cpp


ParseFloatingLiteral Function

void ParseFloatingLiteral(const std::string& fileName, const Token& token, double & floatingLit, bool & floatingLitFloat)

Definition at line 12 of TokenValueParsers.cpp


ParseHexChar Function

void ParseHexChar(const std::string& fileName, char32_t & value, const char32_t *& p, const char32_t * e, const Token& token)

Definition at line 109 of TokenValueParsers.cpp


ParseIntegerLiteral Function

void ParseIntegerLiteral(const std::string& fileName, const Token& token, uint64_t& intLit, bool & intLitUnsigned)

Definition at line 42 of TokenValueParsers.cpp


ParseStringLiteral Function

void ParseStringLiteral(const std::string& fileName, const Token& token, std::u32string& stringLit, int & stringLitPrefix)

Definition at line 269 of TokenValueParsers.cpp


top | up | prev | next