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

Description

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>

Collaboration diagram for Rose::StringUtility::StringWithLineNumber:
Collaboration graph
[legend]

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: