Rudiments: /home/dmuse/src/rudiments/include/rudiments/codetree.h Source File

Rudiments

- Main Page
- Classes

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 codetreegrammar;
10 class codetreeprivate;
11
329 class RUDIMENTS_DLLSPEC codetree {
330 public:
331
333 codetree();
334
336 ~codetree();
337
343 bool parse(const char *input,
344 const char *grammar,
345 const char *startsymbol,
346 xmldomnode *output,
347 const char **codeposition);
348
354 bool parse(const char *input,
355 codetreegrammar *grammar,
356 const char *startsymbol,
357 xmldomnode *output,
358 const char **codeposition);
359
363 bool write(xmldomnode *input,
364 const char *grammar,
365 stringbuffer *output);
366
370 bool write(xmldomnode *input,
371 codetreegrammar *grammar,
372 stringbuffer *output);
373
375 void setDebugLevel(uint8_t debuglevel);
376
377 #include <rudiments/private/codetree.h>
378 };
379
380 class codetreegrammarprivate;
381
383 class RUDIMENTS_DLLSPEC codetreegrammar : public xmldom {
384 friend class codetree;
385 public:
387 codetreegrammar();
388
390 ~codetreegrammar();
391
392 #include <rudiments/private/codetreegrammar.h>
393 };
394
395 #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