aboutsummaryrefslogtreecommitdiff
path: root/0.8.0/paludis/repositories/cran/cran_dep_parser.hh
blob: 69bdd80609ebd132b200e5435ebd8a55c6c520dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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