Convert a canonicalised (R|P|)DEPEND into an AST