#include <position.h>
| Public Types | |
| typedef std::shared_ptr< position > | pointer_t | 
| Public Member Functions | |
| position (std::string const &filename, line_t page=1, line_t line=1) | |
| std::string const & | get_filename () const | 
| line_t | get_line () const | 
| line_t | get_page () const | 
| line_t | get_total_line () const | 
| void | next_line () | 
| void | next_page () | 
| Private Attributes | |
| std::string | f_filename | 
| line_t | f_line = 1 | 
| line_t | f_page = 1 | 
| line_t | f_total_line = 1 | 
Definition at line 33 of file position.h.
| typedef std::shared_ptr<position> csspp::position::pointer_t | 
Definition at line 36 of file position.h.
Definition at line 22 of file position.cpp.
| std::string const & csspp::position::get_filename | ( | ) | const | 
Definition at line 42 of file position.cpp.
References f_filename.
Referenced by csspp::error::operator<<().
| line_t csspp::position::get_line | ( | ) | const | 
Definition at line 52 of file position.cpp.
References f_line.
Referenced by csspp::error::operator<<().
| line_t csspp::position::get_page | ( | ) | const | 
Definition at line 47 of file position.cpp.
References f_page.
| line_t csspp::position::get_total_line | ( | ) | const | 
Definition at line 57 of file position.cpp.
References f_total_line.
| void csspp::position::next_line | ( | ) | 
Definition at line 30 of file position.cpp.
References f_line, and f_total_line.
Referenced by csspp::lexer::getc().
| void csspp::position::next_page | ( | ) | 
Definition at line 36 of file position.cpp.
References f_line, and f_page.
Referenced by csspp::lexer::getc().
| 
 | private | 
Definition at line 49 of file position.h.
Referenced by get_filename().
| 
 | private | 
Definition at line 51 of file position.h.
Referenced by get_line(), next_line(), and next_page().
| 
 | private | 
Definition at line 50 of file position.h.
Referenced by get_page(), and next_page().
| 
 | private | 
Definition at line 52 of file position.h.
Referenced by get_total_line(), and next_line().
Documentation of CSS Preprocessor.
This document is part of the Snap! Websites Project.
Copyright by Made to Order Software Corp.