Lines Matching refs:DSLExpression
38 DSLVarBase(DSLType type, skstd::string_view name, DSLExpression initialValue, PositionInfo pos);
40 DSLVarBase(DSLType type, DSLExpression initialValue, PositionInfo pos);
43 DSLExpression initialValue, PositionInfo pos);
45 DSLVarBase(const DSLModifiers& modifiers, DSLType type, DSLExpression initialValue,
62 DSLExpression x() { in x()
63 return DSLExpression(*this, PositionInfo()).x(); in x()
66 DSLExpression y() { in y()
67 return DSLExpression(*this, PositionInfo()).y(); in y()
70 DSLExpression z() { in z()
71 return DSLExpression(*this, PositionInfo()).z(); in z()
74 DSLExpression w() { in w()
75 return DSLExpression(*this, PositionInfo()).w(); in w()
78 DSLExpression r() { in r()
79 return DSLExpression(*this, PositionInfo()).r(); in r()
82 DSLExpression g() { in g()
83 return DSLExpression(*this, PositionInfo()).g(); in g()
86 DSLExpression b() { in b()
87 return DSLExpression(*this, PositionInfo()).b(); in b()
90 DSLExpression a() { in a()
91 return DSLExpression(*this, PositionInfo()).a(); in a()
94 DSLExpression field(skstd::string_view name) { in field()
95 return DSLExpression(*this, PositionInfo()).field(name); in field()
98 DSLPossibleExpression operator[](DSLExpression&& index);
101 return ++DSLExpression(*this, PositionInfo());
105 return DSLExpression(*this, PositionInfo())++;
109 return --DSLExpression(*this, PositionInfo());
113 return DSLExpression(*this, PositionInfo())--;
117 DSLPossibleExpression assign(DSLExpression other);
132 DSLExpression fInitialValue;
139 friend class DSLExpression; variable
154 DSLExpression initialValue = DSLExpression(),
158 DSLVar(DSLType type, const char* name, DSLExpression initialValue = DSLExpression(),
162 DSLVar(DSLType type, DSLExpression initialValue, PositionInfo pos = PositionInfo::Capture())
166 DSLExpression initialValue = DSLExpression(), PositionInfo pos = PositionInfo::Capture())
170 DSLExpression initialValue = DSLExpression(), PositionInfo pos = PositionInfo::Capture())
179 DSLPossibleExpression operator=(DSLExpression expr);
182 return this->operator=(DSLExpression(param));
187 return this->operator=(DSLExpression(param));
202 DSLExpression initialValue = DSLExpression(), PositionInfo pos = PositionInfo::Capture())
205 DSLGlobalVar(DSLType type, const char* name, DSLExpression initialValue = DSLExpression(),
209 DSLGlobalVar(DSLType type, DSLExpression initialValue,
214 DSLExpression initialValue = DSLExpression(), PositionInfo pos = PositionInfo::Capture())
218 DSLExpression initialValue = DSLExpression(), PositionInfo pos = PositionInfo::Capture())
229 DSLPossibleExpression operator=(DSLExpression expr);
232 return this->operator=(DSLExpression(param));
237 return this->operator=(DSLExpression(param));
245 DSLExpression eval(DSLExpression x, PositionInfo pos = PositionInfo::Capture());
251 DSLExpression eval(DSLExpression x, DSLExpression y,
255 DSLExpression eval(ExpressionArray args, PositionInfo pos);
271 : INHERITED(type, name, DSLExpression(), pos) {} in INHERITED() argument
278 : INHERITED(modifiers, type, name, DSLExpression(), pos) {} in INHERITED() argument
290 DSLPossibleExpression operator=(DSLExpression expr);
293 return this->operator=(DSLExpression(param));
298 return this->operator=(DSLExpression(param));