Wolframe, 0.0.3

sourceLineInfo.hpp File Reference

Defines a data structure to hold positional info in a source string for error messsages etc. More...

#include <string>
#include <boost/shared_ptr.hpp>

Go to the source code of this file.

Classes

class  _Wolframe::utils::SourceLineInfo
 Line information for error messages for parser using STL string iterators as source scanners. More...
 

Namespaces

 _Wolframe
 Toplevel Wolframe namespace.
 
 _Wolframe::utils
 Utility functions for parsing, handling files, allocating memory, etc. (implemented in the core library libwolframe)
 

Functions

SourceLineInfo _Wolframe::utils::getSourceLineInfo (const std::string::const_iterator &start, const std::string::const_iterator &pos)
 Get the source line info by scanning the source parsed from 'start' to 'pos', counting lines and characters inbetween. More...
 

Detailed Description

Defines a data structure to hold positional info in a source string for error messsages etc.