Remove dead backend code
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>main
parent
b1ced46b62
commit
45b024bed1
@ -1,25 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "GrammarContext.h"
|
|
||||||
|
|
||||||
namespace ScriptCanvas
|
|
||||||
{
|
|
||||||
namespace Grammar
|
|
||||||
{
|
|
||||||
const SubgraphInterfaceSystem& Context::GetExecutionMapSystem() const
|
|
||||||
{
|
|
||||||
return m_executionMapSystem;
|
|
||||||
}
|
|
||||||
|
|
||||||
SubgraphInterfaceSystem& Context::ModExecutionMapSystem()
|
|
||||||
{
|
|
||||||
return m_executionMapSystem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,37 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include <AzCore/Memory/Memory.h>
|
|
||||||
#include <AzCore/Memory/SystemAllocator.h>
|
|
||||||
|
|
||||||
#include <ScriptCanvas/Core/SubgraphInterface.h>
|
|
||||||
|
|
||||||
namespace ScriptCanvas
|
|
||||||
{
|
|
||||||
namespace Grammar
|
|
||||||
{
|
|
||||||
class Context
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
AZ_CLASS_ALLOCATOR(Context, AZ::SystemAllocator, 0);
|
|
||||||
|
|
||||||
Context() = default;
|
|
||||||
~Context() = default;
|
|
||||||
|
|
||||||
const SubgraphInterfaceSystem& GetExecutionMapSystem() const;
|
|
||||||
SubgraphInterfaceSystem& ModExecutionMapSystem();
|
|
||||||
|
|
||||||
private:
|
|
||||||
SubgraphInterfaceSystem m_executionMapSystem;
|
|
||||||
|
|
||||||
// put grammatical state globals in here, things that can be useful across several parses of graphs
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,35 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
namespace ScriptCanvas
|
|
||||||
{
|
|
||||||
namespace Grammar
|
|
||||||
{
|
|
||||||
class Context;
|
|
||||||
|
|
||||||
struct RequestTraits : public AZ::EBusTraits
|
|
||||||
{
|
|
||||||
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single;
|
|
||||||
|
|
||||||
virtual Context* GetGrammarContext() = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
using RequestBus = AZ::EBus<RequestTraits>;
|
|
||||||
|
|
||||||
struct EventTraits : public AZ::EBusTraits
|
|
||||||
{
|
|
||||||
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single;
|
|
||||||
|
|
||||||
// add stuff here to speed up parsing across separate graphs
|
|
||||||
};
|
|
||||||
|
|
||||||
using EventBus = AZ::EBus<EventTraits>;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,38 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include <AzCore/EBus/EBus.h>
|
|
||||||
|
|
||||||
#include "Translation.h"
|
|
||||||
|
|
||||||
namespace ScriptCanvas
|
|
||||||
{
|
|
||||||
namespace Translation
|
|
||||||
{
|
|
||||||
class Context;
|
|
||||||
|
|
||||||
struct RequestTraits : public AZ::EBusTraits
|
|
||||||
{
|
|
||||||
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single;
|
|
||||||
|
|
||||||
virtual Context* GetTranslationContext() = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
using RequestBus = AZ::EBus<RequestTraits>;
|
|
||||||
|
|
||||||
struct EventTraits : public AZ::EBusTraits
|
|
||||||
{
|
|
||||||
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single;
|
|
||||||
};
|
|
||||||
|
|
||||||
using EventBus = AZ::EBus<EventTraits>;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue