// errNode panics with given node infos func errNode(node ast.Node, msg string) { errPanic(fmt.Errorf("%s\nNode: %s", msg, node), node.Location().Line) }
// processWhitespaces performs whitespace control on given AST // // WARNING: It must be called only once on AST. func processWhitespaces(node ast.Node) { node.Accept(newWhitespaceVisitor()) }