| 
    Bridge++
    Ver. 1.2.x
    
   | 
 
Abstract a position. More...
#include <position.hh>
Public Member Functions | |
| position (std::string *f=YY_NULL, unsigned int l=1u, unsigned int c=1u) | |
| Construct a position.  More... | |
| void | initialize (std::string *fn=YY_NULL, unsigned int l=1u, unsigned int c=1u) | 
| Initialization.  More... | |
Line and Column related manipulators  | |
| void | lines (int count=1) | 
| (line related) Advance to the COUNT next lines.  More... | |
| void | columns (int count=1) | 
| (column related) Advance to the COUNT next columns.  More... | |
Public Attributes | |
| std::string * | filename | 
| File name to which this position refers.  More... | |
| unsigned int | line | 
| Current line number.  More... | |
| unsigned int | column | 
| Current column number.  More... | |
Abstract a position.
Definition at line 59 of file position.hh.
      
  | 
  inlineexplicit | 
Construct a position.
Definition at line 64 of file position.hh.
      
  | 
  inline | 
(column related) Advance to the COUNT next columns.
Definition at line 94 of file position.hh.
      
  | 
  inline | 
Initialization.
Definition at line 75 of file position.hh.
      
  | 
  inline | 
(line related) Advance to the COUNT next lines.
Definition at line 87 of file position.hh.
| unsigned int yy::position::column | 
Current column number.
Definition at line 105 of file position.hh.
| std::string* yy::position::filename | 
File name to which this position refers.
Definition at line 101 of file position.hh.
| unsigned int yy::position::line | 
Current line number.
Definition at line 103 of file position.hh.