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
10
328class RUDIMENTS_DLLSPEC codetree : public object {
329 public:
330
333
336
342 bool parse(const char *in,
343 const char *grammar,
344 const char *startsymbol,
345 domnode *out,
346 const char **codeposition);
347
353 bool parse(const char *in,
354 codetreegrammar *grammar,
355 const char *startsymbol,
356 domnode *out,
357 const char **codeposition);
358
362 bool write(domnode *in, const char *grammar,
363 output *out);
364
368 bool write(domnode *in, codetreegrammar *grammar,
369 output *out);
370
372 void setDebugLevel(uint8_t debuglevel);
373
374 #include <rudiments/private/codetree.h>
375};
376
378class RUDIMENTS_DLLSPEC codetreegrammar : public xmldom {
379 friend class codetree;
380 public:
383
386
387 #include <rudiments/private/codetreegrammar.h>
388};
389
390#endif
Definition codetree.h:328
bool write(domnode *in, const char *grammar, output *out)
bool parse(const char *in, codetreegrammar *grammar, const char *startsymbol, domnode *out, const char **codeposition)
bool write(domnode *in, codetreegrammar *grammar, output *out)
void setDebugLevel(uint8_t debuglevel)
bool parse(const char *in, const char *grammar, const char *startsymbol, domnode *out, const char **codeposition)
Definition codetree.h:378
Definition domnode.h:122
Definition object.h:10
Definition output.h:11
Definition xmldom.h:15