aboutsummaryrefslogtreecommitdiff
path: root/0.8.0/paludis/repositories/cran/cran_dep_parser.hh
diff options
context:
space:
mode:
Diffstat (limited to '0.8.0/paludis/repositories/cran/cran_dep_parser.hh')
-rw-r--r--0.8.0/paludis/repositories/cran/cran_dep_parser.hh21
1 files changed, 21 insertions, 0 deletions
diff --git a/0.8.0/paludis/repositories/cran/cran_dep_parser.hh b/0.8.0/paludis/repositories/cran/cran_dep_parser.hh
new file mode 100644
index 0000000..69bdd80
--- /dev/null
+++ b/0.8.0/paludis/repositories/cran/cran_dep_parser.hh
@@ -0,0 +1,21 @@
+#ifndef PALUDIS_GUARD_PALUDIS_CRAN_DEP_PARSER_HH
+#define PALUDIS_GUARD_PALUDIS_CRAN_DEP_PARSER_HH 1
+
+#include <paludis/dep_atom.hh>
+#include <string>
+
+namespace paludis
+{
+ /**
+ * The CRANDepParser conversts a string representation of a CRAN Depends:
+ * specification into a DepAtom instance.
+ *
+ * \ingroup grpdepparser
+ */
+ struct PALUDIS_VISIBLE CRANDepParser
+ {
+ static DepAtom::ConstPointer parse(const std::string & s);
+ };
+}
+
+#endif