printNode function

String printNode(
  1. Node node
)

Prints any AST node as String.

Accepts any kind of Node.

Implementation

String printNode(Node node) => node.accept(
      _PrintVisitor(),
    );