8#ifndef SKSL_VARIABLEREFERENCE
9#define SKSL_VARIABLEREFERENCE
Expression(Position pos, Kind kind, const Type *type)
std::string description() const final
VariableReference & operator=(const VariableReference &)=delete
const Variable * variable() const
std::unique_ptr< Expression > clone(Position pos) const override
void setRefKind(RefKind refKind)
static std::unique_ptr< Expression > Make(Position pos, const Variable *variable, RefKind refKind=RefKind::kRead)
VariableReference(const VariableReference &)=delete
static constexpr Kind kIRNodeKind
void setVariable(const Variable *variable)
VariableReference(Position pos, const Variable *variable, RefKind refKind)