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 codetreegrammar;
class codetreeprivate;
class RUDIMENTS_DLLSPEC codetree {
public:
codetree();
~codetree();
bool parse(const char *input,
const char *grammar,
const char *startsymbol,
xmldomnode *output,
const char **codeposition);
bool parse(const char *input,
codetreegrammar *grammar,
const char *startsymbol,
xmldomnode *output,
const char **codeposition);
bool write(xmldomnode *input,
const char *grammar,
stringbuffer *output);
bool write(xmldomnode *input,
codetreegrammar *grammar,
stringbuffer *output);
void setDebugLevel(uint8_t debuglevel);
#include <rudiments/private/codetree.h>
};
class codetreegrammarprivate;
class RUDIMENTS_DLLSPEC codetreegrammar : public xmldom {
friend class codetree;
public:
codetreegrammar();
~codetreegrammar();
#include <rudiments/private/codetreegrammar.h>
};
#endif
xmldomnode
Definition: xmldomnode.h:123
stringbuffer
Definition: stringbuffer.h:22
codetreegrammar
Definition: codetree.h:383
codetree
Definition: codetree.h:329
xmldom
Definition: xmldom.h:12