33 lines
678 B
C++
33 lines
678 B
C++
#ifndef __PDDL_PARSE__DETAIL__VARIABLE_STACK_H
|
|
#define __PDDL_PARSE__DETAIL__VARIABLE_STACK_H
|
|
|
|
#include <pddlparse/ASTForward.h>
|
|
|
|
namespace pddl
|
|
{
|
|
namespace detail
|
|
{
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// VariableStack
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
class VariableStack
|
|
{
|
|
public:
|
|
void push(ast::VariableDeclarations *variables);
|
|
void pop();
|
|
|
|
private:
|
|
std::vector<ast::VariableDeclarations *> m_variableStack;
|
|
};
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
}
|
|
}
|
|
|
|
#endif
|