Function to determine if a new line should be inserted after a node.
final bool Function(String localName)? shouldInsertANewLine;