Rudiments
codetree.h
1 // Copyright (c) 2012 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_CODETREE_H
5 #define RUDIMENTS_CODETREE_H
6 
7 #include <rudiments/private/codetreeincludes.h>
8 
9 class codetreeprivate;
10 
314 class codetree {
315  public:
316 
318  codetree();
319 
321  ~codetree();
322 
328  bool parse(const char *input,
329  const char *grammar,
330  const char *startsymbol,
331  xmldomnode *output,
332  const char **codeposition);
333 
337  bool write(xmldomnode *input,
338  const char *grammar,
339  stringbuffer *output);
340 
342  void setDebugLevel(uint8_t debuglevel);
343 
344  #include <rudiments/private/codetree.h>
345 };
346 
347 // @endcond
348 
349 #endif
void setDebugLevel(uint8_t debuglevel)
Definition: xmldomnode.h:116
Definition: stringbuffer.h:22
Definition: codetree.h:314
bool write(xmldomnode *input, const char *grammar, stringbuffer *output)
bool parse(const char *input, const char *grammar, const char *startsymbol, xmldomnode *output, const char **codeposition)