37 lines
853 B
C++
37 lines
853 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "HAL/Platform.h"
|
|
#include "MuR/Operations.h"
|
|
#include "MuR/Ptr.h"
|
|
#include "MuT/AST.h"
|
|
|
|
|
|
namespace mu
|
|
{
|
|
struct FProgram;
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
//!
|
|
//---------------------------------------------------------------------------------------------
|
|
class ASTOpConstantString final : public ASTOp
|
|
{
|
|
public:
|
|
//!
|
|
FString value;
|
|
|
|
public:
|
|
EOpType GetOpType() const override { return EOpType::ST_CONSTANT; }
|
|
uint64 Hash() const override;
|
|
void ForEachChild(const TFunctionRef<void(ASTChild&)>) override;
|
|
bool IsEqual(const ASTOp& otherUntyped) const override;
|
|
Ptr<ASTOp> Clone(MapChildFuncRef mapChild) const override;
|
|
void Link(FProgram& program, FLinkerOptions* Options) override;
|
|
};
|
|
|
|
|
|
}
|
|
|