Names for the child nodes to show in AST dumps. Defaults to a numbered sequence starting at 0
but can be overridden by subclasses to produce more suitable names.
Names for the child nodes to show in AST dumps. Defaults to a numbered sequence starting at 0
but can be overridden by subclasses to produce more suitable names.
final def infer(scope: Scope, typeChildren: Boolean): Self
Rebuild this node and all children with their computed type. If this node already has a type,
the children are only type-checked again if typeChildren is true. if retype is also
true, the existing type of this node is replaced. If this node does not yet have a type, the
types of all children are computed first.
Rebuild this node and all children with their computed type. If this node already has a type,
the children are only type-checked again if typeChildren is true. if retype is also
true, the existing type of this node is replaced. If this node does not yet have a type, the
types of all children are computed first.
Apply a mapping function to all children of this node and recreate the node with the new
children. If all new children are identical to the old ones, this node is returned. If
keepType is true, the type of this node is kept even when the children have changed.
Apply a mapping function to all children of this node and recreate the node with the new
children. If all new children are identical to the old ones, this node is returned. If
keepType is true, the type of this node is kept even when the children have changed.