#ifndef RUBY_PARSER_STATE_STACK_HH #define RUBY_PARSER_STATE_STACK_HH #include #include namespace ruby_parser { class state_stack { std::vector stack; public: void push(bool state); bool pop(); void lexpop(); void clear(); bool active() const; }; } #endif