polserver/pol-core/bscript/compiler/astbuilder/CompoundStatementBuilder.h
2020-08-19 19:43:08 +02:00

21 lines
569 B
C++

#ifndef POLSERVER_COMPOUNDSTATEMENTBUILDER_H
#define POLSERVER_COMPOUNDSTATEMENTBUILDER_H
#include "compiler/astbuilder/SimpleStatementBuilder.h"
namespace Pol::Bscript::Compiler
{
class CompoundStatementBuilder : public SimpleStatementBuilder
{
public:
CompoundStatementBuilder( const SourceFileIdentifier&, BuilderWorkspace& );
void add_statements( EscriptGrammar::EscriptParser::StatementContext*,
std::vector<std::unique_ptr<Statement>>& );
};
} // namespace Pol::Bscript::Compiler
#endif // POLSERVER_COMPOUNDSTATEMENTBUILDER_H