Public Member Functions | Public Attributes
Aseba::Error Struct Reference

Compilation error. More...

#include <compiler.h>

Inheritance diagram for Aseba::Error:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Error (const SourcePos &pos, const std::wstring &message)
 Create an error at pos.
 Error ()
 Create an empty error.
std::wstring toWString () const
 Return a string describing the error.

Public Attributes

std::wstring message
SourcePos pos
 position of error in source string

Detailed Description

Compilation error.

Definition at line 174 of file compiler.h.


Constructor & Destructor Documentation

Aseba::Error::Error ( const SourcePos pos,
const std::wstring &  message 
) [inline]

Create an error at pos.

Definition at line 179 of file compiler.h.

Aseba::Error::Error ( ) [inline]

Create an empty error.

Definition at line 181 of file compiler.h.


Member Data Documentation

std::wstring Aseba::Error::message

message

Reimplemented in Aseba::TranslatableError.

Definition at line 177 of file compiler.h.

position of error in source string

Definition at line 176 of file compiler.h.


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


aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:17