8#ifndef SKSL_METHODREFERENCE
9#define SKSL_METHODREFERENCE
17class FunctionDeclaration;
37 std::unique_ptr<Expression>
self,
43 std::unique_ptr<Expression>&
self() {
return fSelf; }
44 const std::unique_ptr<Expression>&
self()
const {
return fSelf; }
59 std::unique_ptr<Expression>
self,
66 std::unique_ptr<Expression> fSelf;
67 const FunctionDeclaration* fOverloadChain;
std::unique_ptr< Expression > clone() const
Expression(Position pos, Kind kind, const Type *type)
const Type & type() const
const FunctionDeclaration * overloadChain() const
std::string description(OperatorPrecedence) const override
const std::unique_ptr< Expression > & self() const
std::unique_ptr< Expression > & self()
std::unique_ptr< Expression > clone(Position pos) const override
MethodReference(const Context &context, Position pos, std::unique_ptr< Expression > self, const FunctionDeclaration *overloadChain)
static constexpr Kind kIRNodeKind
const myers::Point & get(const myers::Segment &)