codetree.h
// Copyright (c) 2012 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_CODETREE_H
#define RUDIMENTS_CODETREE_H
#include <rudiments/private/codetreeincludes.h>
class codetreeprivate;
class codetree {
public:
codetree();
~codetree();
bool parse(const char *input,
const char *grammar,
const char *startsymbol,
xmldomnode *output,
const char **codeposition);
bool write(xmldomnode *input,
const char *grammar,
stringbuffer *output);
void setDebugLevel(uint8_t debuglevel);
#include <rudiments/private/codetree.h>
};
// @endcond
#endif