Aseba  1.5.5
Public Member Functions | Public Attributes | List of all members
Aseba::SourcePos Struct Reference

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

#include <compiler.h>

Public Member Functions

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

Public Attributes

unsigned character
 position in source text
 
unsigned row
 line in source text
 
unsigned column
 column 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.


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