8#ifndef SKSL_CONSTRUCTOR_DIAGONAL_MATRIX
9#define SKSL_CONSTRUCTOR_DIAGONAL_MATRIX
37 static std::unique_ptr<Expression>
Make(
const Context& context,
40 std::unique_ptr<Expression> arg);
bool supportsConstantValues() const override
ConstructorDiagonalMatrix(Position pos, const Type &type, std::unique_ptr< Expression > arg)
static std::unique_ptr< Expression > Make(const Context &context, Position pos, const Type &type, std::unique_ptr< Expression > arg)
static constexpr Kind kIRNodeKind
std::unique_ptr< Expression > clone(Position pos) const override
std::optional< double > getConstantValue(int n) const override
std::unique_ptr< Expression > clone() const
const Type & type() const
SingleArgumentConstructor(Position pos, Kind kind, const Type *type, std::unique_ptr< Expression > argument)
std::unique_ptr< Expression > & argument()