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

Position in a source file or string. First is line, second is column. More...

#include <compiler.h>

List of all members.

Public Member Functions

 SourcePos (unsigned character, unsigned row, unsigned column)
 SourcePos ()
std::wstring toWString () const
 Return the string version of this position.

Public Attributes

unsigned character
 position in source text
unsigned column
 column in source text
unsigned row
 line in source text
bool valid
 true if character, row and column hold valid values

Detailed Description

Position in a source file or string. First is line, second is column.

Definition at line 149 of file compiler.h.


Constructor & Destructor Documentation

Aseba::SourcePos::SourcePos ( unsigned  character,
unsigned  row,
unsigned  column 
) [inline]

Definition at line 156 of file compiler.h.

Definition at line 157 of file compiler.h.


Member Data Documentation

position in source text

Definition at line 151 of file compiler.h.

column in source text

Definition at line 153 of file compiler.h.

line in source text

Definition at line 152 of file compiler.h.

true if character, row and column hold valid values

Definition at line 154 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