41 return std::make_unique<TypeReference>(context,
pos,
type);
void error(Position position, std::string_view msg)
const Type & type() const
std::string_view name() const
static bool VerifyType(const Context &context, const SkSL::Type *type, Position pos)
static std::unique_ptr< TypeReference > Convert(const Context &context, Position pos, const Type *type)
static std::unique_ptr< TypeReference > Make(const Context &context, Position pos, const Type *type)
bool isAllowedInES2(const Context &context) const
virtual bool isLiteral() const