diff options
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/parser.h b/src/parser.h index 2693fc79..93ea994f 100644 --- a/src/parser.h +++ b/src/parser.h @@ -50,10 +50,10 @@ namespace ledger { class expr_t::parser_t : public noncopyable { mutable token_t lookahead; - mutable bool use_lookahead; + mutable bool use_lookahead; token_t& next_token(std::istream& in, const parse_flags_t& tflags, - const char expecting = '\0') const { + const char expecting = '\0') const { if (use_lookahead) use_lookahead = false; else @@ -76,25 +76,25 @@ class expr_t::parser_t : public noncopyable } ptr_op_t parse_value_term(std::istream& in, - const parse_flags_t& flags) const; + const parse_flags_t& flags) const; ptr_op_t parse_dot_expr(std::istream& in, - const parse_flags_t& flags) const; + const parse_flags_t& flags) const; ptr_op_t parse_unary_expr(std::istream& in, - const parse_flags_t& flags) const; + const parse_flags_t& flags) const; ptr_op_t parse_mul_expr(std::istream& in, - const parse_flags_t& flags) const; + const parse_flags_t& flags) const; ptr_op_t parse_add_expr(std::istream& in, - const parse_flags_t& flags) const; + const parse_flags_t& flags) const; ptr_op_t parse_logic_expr(std::istream& in, - const parse_flags_t& flags) const; + const parse_flags_t& flags) const; ptr_op_t parse_and_expr(std::istream& in, - const parse_flags_t& flags) const; + const parse_flags_t& flags) const; ptr_op_t parse_or_expr(std::istream& in, - const parse_flags_t& flags) const; + const parse_flags_t& flags) const; ptr_op_t parse_querycolon_expr(std::istream& in, - const parse_flags_t& flags) const; + const parse_flags_t& flags) const; ptr_op_t parse_value_expr(std::istream& in, - const parse_flags_t& flags) const; + const parse_flags_t& flags) const; public: parser_t() : use_lookahead(false) { @@ -104,9 +104,9 @@ public: TRACE_DTOR(parser_t); } - ptr_op_t parse(std::istream& in, - const parse_flags_t& flags = PARSE_DEFAULT, - const optional<string>& original_string = NULL); + ptr_op_t parse(std::istream& in, + const parse_flags_t& flags = PARSE_DEFAULT, + const optional<string>& original_string = NULL); }; } // namespace ledger |