|
HikoGUI
A low latency retained GUI
|
#include <ttauri/parse_location.hpp>
Public Member Functions | |
| parse_location () noexcept | |
| Construct an empty location object. | |
| parse_location (std::shared_ptr< URL > const &file) noexcept | |
| Construct a location. | |
| parse_location (URL const &file) noexcept | |
| Construct a location. | |
| parse_location (std::shared_ptr< URL > const &file, int line, int column) noexcept | |
| Construct a location. | |
| parse_location (int line, int column) noexcept | |
| Construct a location. | |
| bool | has_file () const noexcept |
| URL | file () const noexcept |
| int | line () const noexcept |
| int | column () const noexcept |
| std::pair< int, int > | line_and_column () const noexcept |
| void | set_file (std::shared_ptr< URL > file) |
| void | set_file (URL file) |
| void | set_line (int line) noexcept |
| void | set_column (int column) noexcept |
| void | set_line_and_column (std::pair< int, int > line_and_column) noexcept |
| void | increment_column () noexcept |
| void | tab_column () noexcept |
| void | increment_line () noexcept |
| parse_location & | operator+= (char c) noexcept |
| parse_location & | operator+= (std::string const &s) noexcept |
| parse_location & | operator+= (char const *s) noexcept |
| parse_location & | operator+= (parse_location const &location) noexcept |
Friends | |
| std::string | to_string (parse_location const &l) noexcept |
| std::ostream & | operator<< (std::ostream &os, parse_location const &l) |
Location inside a configuration file.
|
inlinenoexcept |
Construct an empty location object.
|
inlinenoexcept |
Construct a location.
| file | An URL to the file where the token was found. |
|
inlinenoexcept |
Construct a location.
| file | An URL to the file where the token was found. |
|
inlinenoexcept |
Construct a location.
| file | An URL to the file where the token was found. |
| line | Line number where the token was found. |
| column | Column where the token was found. |
|
inlinenoexcept |
Construct a location.
| line | Line number where the token was found. |
| column | Column where the token was found. |