...
lazy val diagnosticChildren = List(child1, child2, myAttribute1typeDef_ )
}
In the above, you see the two lines associated with the typeDef attribute of ElementBase. The first obtains the value, if possible from the LV (lazy value) created by the associated private typeDef_. This is the common idiom, to have two lines together like this.
...