Property definitions

markdown2 $ MdASTPrinter :: defaultinit
# Print the AST content
class MdASTPrinter
	super MdVisitor

	# Current indent level
	var indent = 0

	# Visit `self` to print the AST content
	fun print_ast(node: MdNode) do
		print "{"  " * indent}{node}"
		indent += 1
		node.visit_all(self)
		indent -= 1
	end

	redef fun visit(node) do print_ast(node)
end
lib/markdown2/markdown_ast.nit:164,1--180,3