Rudiments
/home/dmuse/src/rudiments/include/rudiments/private/codetree.h
00001 // Copyright (c) 2012 David Muse
00002 // See the COPYING file for more information.
00003 
00004         private:
00005                 bool    parseNonTerminal(const char *name,
00006                                         rudiments::xmldomnode *treeparent,
00007                                         const char **codeposition,
00008                                         rudiments::stringbuffer *tokenbuffer);
00009                 bool    parseChild(rudiments::xmldomnode *grammarnode,
00010                                         rudiments::xmldomnode *treeparent,
00011                                         const char **codeposition,
00012                                         rudiments::stringbuffer *tokenbuffer);
00013                 bool    parseConcatenation(rudiments::xmldomnode *grammarnode,
00014                                         rudiments::xmldomnode *treeparent,
00015                                         const char **codeposition,
00016                                         rudiments::stringbuffer *tokenbuffer);
00017                 bool    parseAlternation(rudiments::xmldomnode *grammarnode,
00018                                         rudiments::xmldomnode *treeparent,
00019                                         const char **codeposition,
00020                                         rudiments::stringbuffer *tokenbuffer);
00021                 bool    parseOption(rudiments::xmldomnode *grammarnode,
00022                                         rudiments::xmldomnode *treeparent,
00023                                         const char **codeposition,
00024                                         rudiments::stringbuffer *tokenbuffer);
00025                 bool    parseRepetition(rudiments::xmldomnode *grammarnode,
00026                                         rudiments::xmldomnode *treeparent,
00027                                         const char **codeposition,
00028                                         rudiments::stringbuffer *tokenbuffer);
00029                 bool    parseException(rudiments::xmldomnode *grammarnode,
00030                                         rudiments::xmldomnode *treeparent,
00031                                         const char **codeposition,
00032                                         rudiments::stringbuffer *tokenbuffer);
00033                 bool    parseTerminal(rudiments::xmldomnode *grammarnode,
00034                                         rudiments::xmldomnode *treeparent,
00035                                         const char **codeposition,
00036                                         rudiments::stringbuffer *tokenbuffer);
00037                 bool    parseNonTerminal(rudiments::xmldomnode *grammarnode,
00038                                         rudiments::xmldomnode *treeparent,
00039                                         const char **codeposition,
00040                                         rudiments::stringbuffer *tokenbuffer);
00041 
00042                 bool    writeNode(rudiments::xmldomnode *node,
00043                                         rudiments::stringbuffer *output);
00044 
00045                 codetreeprivate         *pvt;