2020-08-10 00:42:37 -07:00
|
|
|
#include "BuilderWorkspace.h"
|
|
|
|
|
|
2021-02-25 16:53:22 +01:00
|
|
|
#include "bscript/compiler/file/SourceFile.h"
|
|
|
|
|
#include "bscript/compiler/file/SourceFileCache.h"
|
|
|
|
|
#include "bscript/compiler/ast/Statement.h"
|
|
|
|
|
#include "bscript/compiler/file/SourceFileIdentifier.h"
|
2020-08-14 13:54:20 -07:00
|
|
|
|
2020-08-10 03:20:29 -07:00
|
|
|
namespace Pol::Bscript::Compiler
|
2020-08-10 00:42:37 -07:00
|
|
|
{
|
2020-08-16 17:22:16 -07:00
|
|
|
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 ),
|
2020-08-23 15:01:39 -07:00
|
|
|
report( report ),
|
|
|
|
|
function_resolver( report )
|
2020-08-10 00:42:37 -07:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
BuilderWorkspace::~BuilderWorkspace() = default;
|
|
|
|
|
|
2020-08-10 03:20:29 -07:00
|
|
|
} // namespace Pol::Bscript::Compiler
|