Public Member Functions | Public Attributes | List of all members
Rose::StringUtility::StringWithLineNumber Struct Reference


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 <FileUtility.h>

Collaboration diagram for Rose::StringUtility::StringWithLineNumber:
Collaboration graph

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

The documentation for this struct was generated from the following file: