Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

GrammarManager.cpp File Reference

Interface to our primary yacc-generated parser (which reads EBNF). More...

#include <stdio.h>
#include <dlfcn.h>
#include "ebnf.h"
#include "abstract_grammar.h"
#include "GrammarManager.h"
#include "YaccGeneratedParser.h"

Include dependency graph for GrammarManager.cpp:

Include dependency graph

Go to the source code of this file.

Doubly-Linked-List Tree Structure

@memo Intrinsic List Style

Author:
\URL[Sandro Hawke]{http://www.w3.org/People/Sandro} (sandro@w3.org)
Version:
Header:
/sources/public/2001/blindfold/src/dltree.h,v 1.2 2001/06/23 18:20:02 sandro Exp
@doc

Intrinic List Style means: anything in the tree should be a struct whose first element is a DLTreeNode. Poor-man's subclassing.

Functions


Detailed Description

Interface to our primary yacc-generated parser (which reads EBNF).

Definition in file GrammarManager.cpp.


Function Documentation

void* dltree_alloc size_t    bytes
 

Allocate a new node, with extra zero'd bytes as needed to reach the given size; return a pointer to it.

Not linked in anywhere. Could be used as root node.

Definition at line 7 of file dltree.c.

void* dltree_append_child void *    parent,
void *    child
 

Returns:
child

Definition at line 23 of file dltree.c.

void* dltree_unlink_last_child void *    parent
 

Returns:
child

Definition at line 35 of file dltree.c.


Home to blindfold. This page generated via doxygen 1.2.11.1 Wed Oct 10 16:40:35 2001.