mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
19 lines
332 B
C++
19 lines
332 B
C++
#ifndef COMPILER_CONTEXT_H_INCLUDED
|
|
#define COMPILER_CONTEXT_H_INCLUDED
|
|
|
|
namespace Compiler
|
|
{
|
|
class Context
|
|
{
|
|
public:
|
|
|
|
virtual ~Context() {}
|
|
|
|
virtual bool canDeclareLocals() const = 0;
|
|
///< Is the compiler allowed to declare local variables?
|
|
};
|
|
}
|
|
|
|
#endif
|
|
|