...
class ParentNode(context : ASTNode,...) {
...
lazy val c1 = new ChildNode(this, ...other args)
...
}
This is the style one would commonly see as the pattern for the way constructors are called.
...
...
class ParentNode(context : ASTNode,...) {
...
lazy val c1 = new ChildNode(this, ...other args)
...
}
This is the style one would commonly see as the pattern for the way constructors are called.
...