Aseba::SourcePos Struct Reference
[AESL Compiler]

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 ()
 SourcePos (unsigned character, unsigned row, unsigned column)
 SourcePos ()
 SourcePos (unsigned character, unsigned row, unsigned column)
std::string toString () const
std::string toString () 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 130 of file compiler.h.


Constructor & Destructor Documentation

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

Definition at line 137 of file compiler.h.

Aseba::SourcePos::SourcePos (  )  [inline]

Definition at line 138 of file compiler.h.

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

Definition at line 137 of file compiler.h.

Aseba::SourcePos::SourcePos (  )  [inline]

Definition at line 138 of file compiler.h.


Member Function Documentation

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

Member Data Documentation

position in source text

Definition at line 132 of file compiler.h.

column in source text

Definition at line 134 of file compiler.h.

line in source text

Definition at line 133 of file compiler.h.

true if character, row and column hold valid values

Definition at line 135 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:15 2011