ROSE 0.11.145.147
|
String with source location information.
The location information is a file name string (empty means generated code) and a line number. Line numbers are one-origin; the first line of a file is numbered 1, not 0.
Definition at line 40 of file FileUtility.h.
#include <util/stringSupport/FileUtility.h>
Public Member Functions | |
StringWithLineNumber (const std::string &str, const std::string &filename, unsigned int line) | |
ROSE_UTIL_API std::string | toString () const |
Public Attributes | |
std::string | str |
std::string | filename |
unsigned int | line |
|
inline |
Definition at line 45 of file FileUtility.h.
std::string Rose::StringUtility::StringWithLineNumber::str |
Definition at line 41 of file FileUtility.h.
std::string Rose::StringUtility::StringWithLineNumber::filename |
Definition at line 42 of file FileUtility.h.
unsigned int Rose::StringUtility::StringWithLineNumber::line |
Definition at line 43 of file FileUtility.h.