*/
/**
- * Interface to manage the ecoli nodes.
+ * @defgroup grammar_tree Grammar Tree
+ * @{
*
- * A node is a main structure of the ecoli library, used to define how
- * to match and complete the input tokens. A node is a generic object
+ * @brief Libecoli grammar nodes.
+ *
+ * The grammar node is a main structure of the ecoli library, used to define
+ * how to match and complete the input tokens. A node is a generic object
* that implements:
* - a parse(node, input) method: check if an input matches
* - a complete(node, input) method: return possible completions for
#include <sys/types.h>
#include <stdio.h>
+/**
+ * Node has no identifier.
+ */
#define EC_NO_ID "no-id"
#define EC_NODE_ENDLIST ((void *)1)
const struct ec_node_type *type);
#endif
+
+ /** @} */