Aseba::Error Struct Reference
[AESL Compiler]

Compilation error. More...

#include <compiler.h>

List of all members.

Public Member Functions

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

Public Attributes

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

Detailed Description

Compilation error.

Definition at line 143 of file compiler.h.


Constructor & Destructor Documentation

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

Create an error at pos.

Definition at line 148 of file compiler.h.

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

Create an empty error.

Definition at line 150 of file compiler.h.

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

Create an error at pos.

Definition at line 148 of file compiler.h.

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

Create an empty error.

Definition at line 150 of file compiler.h.


Member Function Documentation

std::string Aseba::Error::toString (  )  const

Return a string describing the error.


Member Data Documentation

std::string Aseba::Error::message

message

Definition at line 146 of file compiler.h.

position of error in source string

Definition at line 145 of file compiler.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


asebaros
Author(s): $author
autogenerated on Mon Sep 5 08:42:13 2011