class axl::re::RegexCompiler

#include <axl_re_Regex.h>

class RegexCompiler
{
public:
    // enums

    enum Const;
    enum Flag;

    // structs

    struct Token;

    // construction

    RegexCompiler(
        Regex* regex,
        RegexNameMgr* nameMgr = NULL
        );

    RegexCompiler(
        uint_t flags,
        Regex* regex,
        RegexNameMgr* nameMgr = NULL
        );

    // methods

    bool
    compile(
        const sl::StringRef& source,
        void* acceptContext = NULL
        );

    bool
    incrementalCompile(
        const sl::StringRef& source,
        void* acceptContext = NULL
        );

    void
    finalize();
};