codetree.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_CODETREE_H
#define RUDIMENTS_CODETREE_H
#include <rudiments/private/codetreeincludes.h>
class codetreegrammar;
class RUDIMENTS_DLLSPEC codetree {
public:
codetree();
~codetree();
bool parse(const char *input,
const char *grammar,
const char *startsymbol,
domnode *output,
const char **codeposition);
bool parse(const char *input,
codetreegrammar *grammar,
const char *startsymbol,
domnode *output,
const char **codeposition);
bool write(domnode *input,
const char *grammar,
stringbuffer *output);
bool write(domnode *input,
codetreegrammar *grammar,
stringbuffer *output);
void setDebugLevel(uint8_t debuglevel);
#include <rudiments/private/codetree.h>
};
class RUDIMENTS_DLLSPEC codetreegrammar : public xmldom {
friend class codetree;
public:
codetreegrammar();
~codetreegrammar();
#include <rudiments/private/codetreegrammar.h>
};
#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