TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
G3D::Any::Source Class Reference

#include <Any.h>

Public Member Functions

 Source ()
 
void set (const TextInput &ti, const Token &t)
 

Public Attributes

std::string filename
 
int line
 
int character
 

Detailed Description

Where an Any came from in a file. Useful for throwing parsing errors

Constructor & Destructor Documentation

G3D::Any::Source::Source ( )
inline
198 : line(0), character(0) {}
int character
Definition: Any.h:196
int line
Definition: Any.h:195

Member Function Documentation

void G3D::Any::Source::set ( const TextInput ti,
const Token t 
)
inline
200  {
201  filename = ti.filename();
202  line = t.line();
203  character = t.character();
204  }
std::string filename
Definition: Any.h:194
int character
Definition: Any.h:196
int line
Definition: Any.h:195

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

int G3D::Any::Source::character
std::string G3D::Any::Source::filename
int G3D::Any::Source::line

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