Lines Matching defs:base
25 Swizzle(const Context& context, std::unique_ptr<Expression> base,
27 : INHERITED(base->fLine, kExpressionKind,
28 &base->type().componentType().toCompound(context, components.size(), 1))
29 , fBase(std::move(base))
38 std::unique_ptr<Expression> base,
42 std::unique_ptr<Expression> base,
51 std::unique_ptr<Expression>& base() {
55 const std::unique_ptr<Expression>& base() const {
64 return this->base()->hasProperty(property);
68 return std::unique_ptr<Expression>(new Swizzle(&this->type(), this->base()->clone(),
73 String result = this->base()->description() + ".";
81 Swizzle(const Type* type, std::unique_ptr<Expression> base, const ComponentArray& components)
82 : INHERITED(base->fLine, kExpressionKind, type)
83 , fBase(std::move(base))