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

Rudiments

codetree.h
1 // Copyright (c) 1999-2018 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
336 class RUDIMENTS_DLLSPEC codetree {
337 public:
338
340 codetree();
341
343 ~codetree();
344
350 bool parse(const char *input,
351 const char *grammar,
352 const char *startsymbol,
353 domnode *output,
354 const char **codeposition);
355
361 bool parse(const char *input,
362 codetreegrammar *grammar,
363 const char *startsymbol,
364 domnode *output,
365 const char **codeposition);
366
370 bool write(domnode *input,
371 const char *grammar,
372 stringbuffer *output);
373
377 bool write(domnode *input,
378 codetreegrammar *grammar,
379 stringbuffer *output);
380
382 void setDebugLevel(uint8_t debuglevel);
383
384 #include <rudiments/private/codetree.h>
385 };
386
388 class RUDIMENTS_DLLSPEC codetreegrammar : public xmldom {
389 friend class codetree;
390 public:
392 codetreegrammar();
393
395 ~codetreegrammar();
396
397 #include <rudiments/private/codetreegrammar.h>
398 };
399
400 #endif
codetree
Definition: codetree.h:336
codetree::write
bool write(domnode *input, const char *grammar, stringbuffer *output)
codetree::parse
bool parse(const char *input, codetreegrammar *grammar, const char *startsymbol, domnode *output, const char **codeposition)
codetree::setDebugLevel
void setDebugLevel(uint8_t debuglevel)
codetree::~codetree
~codetree()
codetree::codetree
codetree()
codetree::parse
bool parse(const char *input, const char *grammar, const char *startsymbol, domnode *output, const char **codeposition)
codetree::write
bool write(domnode *input, codetreegrammar *grammar, stringbuffer *output)
codetreegrammar
Definition: codetree.h:388
codetreegrammar::codetreegrammar
codetreegrammar()
codetreegrammar::~codetreegrammar
~codetreegrammar()
domnode
Definition: domnode.h:122
input
Definition: input.h:9
output
Definition: output.h:9
stringbuffer
Definition: stringbuffer.h:13
xmldom
Definition: xmldom.h:10