Add way to get constructor args.
This commit is contained in:
@@ -62,6 +62,10 @@ class Constructor {
|
|||||||
default: [].toBlock();
|
default: [].toBlock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getArgList():Array<FunctionArg>
|
||||||
|
return beforeArgs.concat(args).concat(afterArgs);
|
||||||
|
|
||||||
public function addStatement(e:Expr, ?prepend)
|
public function addStatement(e:Expr, ?prepend)
|
||||||
if (prepend)
|
if (prepend)
|
||||||
this.nuStatements.unshift(e)
|
this.nuStatements.unshift(e)
|
||||||
|
|||||||
Reference in New Issue
Block a user