mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
21 lines
569 B
C++
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
|