Module Document.Refs

val collect : Ast.blocks -> Ast.reference_map