Utility functions for parsing, tokenization and positional error handling. More...
Go to the source code of this file.
Classes | |
class | _Wolframe::utils::CharTable |
Character table structure for parseNextToken( std::string&,std::string::const_iterator&, std::string::const_iterator, ...);. More... | |
class | _Wolframe::utils::IdentifierTable |
Identifier table structure for parseNextIdentifier( std::string::const_iterator&, std::string::const_iterator, ...);. More... | |
Namespaces | |
_Wolframe | |
Toplevel Wolframe namespace. | |
_Wolframe::utils | |
Utility functions for parsing, handling files, allocating memory, etc. (implemented in the core library libwolframe) | |
Functions | |
const CharTable & | _Wolframe::utils::identifierCharTable () |
Get the default identifier character table. More... | |
const CharTable & | _Wolframe::utils::emptyCharTable () |
Get an empty character set as table. More... | |
const CharTable & | _Wolframe::utils::anyCharTable () |
Get the character set containing all characters as table. More... | |
char | _Wolframe::utils::parseNextToken (std::string &tok, std::string::const_iterator &itr, std::string::const_iterator end, const CharTable &operatorTable, const CharTable &alphaTable) |
Parsing the next token in a UTF-8 or Isolatin-1 string that is either. More... | |
char | _Wolframe::utils::parseNextToken (std::string &tok, std::string::const_iterator &itr, std::string::const_iterator end, const CharTable &operatorTable) |
See utils::parseNextToken(std::string&,std::string::const_iterator&,std::string::const_iterator,const CharTable&,const CharTable&) More... | |
char | _Wolframe::utils::parseNextToken (std::string &tok, std::string::const_iterator &itr, std::string::const_iterator end) |
See utils::parseNextToken(std::string&,std::string::const_iterator&,std::string::const_iterator,const CharTable&,const CharTable&) More... | |
char | _Wolframe::utils::gotoNextToken (std::string::const_iterator &itr, std::string::const_iterator end) |
Skip to next token (skip white spaces) More... | |
std::string | _Wolframe::utils::parseLine (std::string::const_iterator &si, const std::string::const_iterator &se) |
Parse the rest of the line starting. More... | |
int | _Wolframe::utils::parseNextIdentifier (std::string::const_iterator &si, const std::string::const_iterator &se, const IdentifierTable &idtab) |
Parse the next identifier if it is in 'idtab' or goto the next token if not. More... | |
std::pair< std::string, std::string > | _Wolframe::utils::parseTokenAssignement (std::string::const_iterator &itr, std::string::const_iterator end, const CharTable &alphaTable) |
Parse a token assignement 'identifier = token'. More... | |
std::pair< std::string, std::string > | _Wolframe::utils::parseTokenAssignement (std::string::const_iterator &itr, std::string::const_iterator end) |
Parse a token assignement 'identifier = token' with the standard identifier table. More... | |
std::string | _Wolframe::utils::parseNextLine (std::string::const_iterator &itr, std::string::const_iterator end) |
Utility functions for parsing, tokenization and positional error handling.
Copyright © 2014 - Project Wolframe - All Rights Reserved