diff options
Diffstat (limited to 'odb/sql-token.ixx')
-rw-r--r-- | odb/sql-token.ixx | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/odb/sql-token.ixx b/odb/sql-token.ixx deleted file mode 100644 index 97dde7c..0000000 --- a/odb/sql-token.ixx +++ /dev/null @@ -1,45 +0,0 @@ -// file : odb/sql-token.ixx -// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC -// license : GNU GPL v3; see accompanying LICENSE file - -inline sql_token::token_type sql_token:: -type () const -{ - return type_; -} - -inline std::string const& sql_token:: -identifier () const -{ - return str_; -} - -inline sql_token::punctuation_type sql_token:: -punctuation () const -{ - return type_ == t_punctuation ? punctuation_ : p_invalid; -} - -inline std::string const& sql_token:: -literal () const -{ - return str_; -} - -inline sql_token:: -sql_token () - : type_ (t_eos) -{ -} - -inline sql_token:: -sql_token (punctuation_type p) - : type_ (t_punctuation), punctuation_ (p) -{ -} - -inline sql_token:: -sql_token (token_type t, std::string const& s) - : type_ (t), str_ (s) -{ -} |