Closed vega0 closed 8 months ago
Haxe can be weird. It automatically removes the default value from ClassField
and assigns it in the constructor. I'll see if I can make a helper function to extract or find the default value! 👌
ok, thx.
Hello! I have added the following functions to ClassVarData
:
public function hasDefaultValue(): Bool;
public function getDefaultUntypedExpr(): Null<Expr>;
public function findDefaultExpr(): Null<TypedExpr>;
I hope this helps!
Hello! I have added the following functions to
ClassVarData
:public function hasDefaultValue(): Bool; public function getDefaultUntypedExpr(): Null<Expr>; public function findDefaultExpr(): Null<TypedExpr>;
I hope this helps!
is it possbile to create Class statement object? for statements valker.
Sorry, I don't understand the question. 😢 What is "Class statement object"?
(Closing due to inactivity)
Question as in title.
Look: