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 
286 class codetree {
287  public:
288 
290  codetree();
291 
293  ~codetree();
294 
300  bool parse(const char *input,
301  const char *grammar,
302  const char *startsymbol,
303  xmldomnode *output,
304  const char **codeposition);
305 
309  bool write(xmldomnode *input,
310  const char *grammar,
311  stringbuffer *output);
312 
314  void setDebugLevel(uint8_t debuglevel);
315 
316  #include <rudiments/private/codetree.h>
317 };
318 
319 // @endcond
320 
321 #endif
void setDebugLevel(uint8_t debuglevel)
Definition: xmldomnode.h:116
Definition: stringbuffer.h:15
Definition: codetree.h:286
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)