mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* update grammar * implementation * tests * docs and core-changes * cleanup old .cot files * add error on duplicate class, enum class definition; tests * Fix compiler warnings * add test for unscoped identifier failure
24 lines
805 B
C++
24 lines
805 B
C++
#include "BuilderWorkspace.h"
|
|
|
|
#include "bscript/compiler/ast/Statement.h"
|
|
#include "bscript/compiler/file/SourceFile.h"
|
|
#include "bscript/compiler/file/SourceFileCache.h"
|
|
#include "bscript/compiler/file/SourceFileIdentifier.h"
|
|
|
|
namespace Pol::Bscript::Compiler
|
|
{
|
|
BuilderWorkspace::BuilderWorkspace( CompilerWorkspace& compiler_workspace,
|
|
SourceFileCache& em_cache, SourceFileCache& inc_cache,
|
|
Profile& profile, Report& report )
|
|
: compiler_workspace( compiler_workspace ),
|
|
em_cache( em_cache ),
|
|
inc_cache( inc_cache ),
|
|
profile( profile ),
|
|
report( report ),
|
|
function_resolver( compiler_workspace, report )
|
|
{
|
|
}
|
|
|
|
BuilderWorkspace::~BuilderWorkspace() = default;
|
|
|
|
} // namespace Pol::Bscript::Compiler
|