Compounds | |
| class | AtomNode |
| An AtomNode represents an atomic string. More... | |
| class | ConjunctionNode |
| A ConjunctionNode represents a conjunction between other nodes. More... | |
| class | DisjunctionNode |
| A DisjunctionNode represents a disjunction between other nodes. More... | |
| class | FeatvalNode |
| A FeatvalNode represents one feature (or attribute) in a feature structure, along with its value. More... | |
| class | FunctionNode |
| A FunctionNode represents the head of a function, which takes a number of feature structures as its arguments and returns a feature structure. More... | |
| class | GenericNode |
| The GenericNode is the root of the node class hierarchy. More... | |
| struct | List |
| A list of nodes. More... | |
| class | ListNode |
| A ListNode represents a list of feature structures. More... | |
| struct | NodeIdMap |
| NodeIdMap maps node IDs to pointers to nodes. More... | |
| struct | NodeIdMapping |
NodeIdMapping is one mapping in a NodeIdMap. More... | |
| class | ReentNode |
| A ReentNode is a wrapper around a shared feature structure (or any shared object of another node type). More... | |
| class | RefNode |
| A RefNode represents a reference to another feature structure. More... | |
| class | RelationNode |
| A RelationNode represents a relation between a number of feature structures. More... | |
| class | RestNode |
| A RestNode represents all remaining elements in a set, that are not displayed. More... | |
| class | SetNode |
| A SetNode represents a set of feature structures. More... | |
| class | StrucNode |
| A StrucNode represents an entire feature structure. More... | |
| class | TailNode |
| A TailNode represents the tail of a list. More... | |
| class | TreeNode |
| A TreeNode represents one visible node in a structure tree. More... | |
| class | TypeNode |
| A TypeNode represents a type in afeature structure. More... | |
Defines | |
| #define | NODEFLAG_HIDDEN 0x00000001 |
| Node is hidden. | |
| #define | NODEFLAG_EXPANDED 0x00000002 |
| Node is expanded (applies to expandable nodes only). | |
| #define | NODEFLAG_DIFFERENT 0x00000004 |
| Node is to be marked as different (used in structure compare). | |
| #define | NODEFLAG_FOUND 0x00000008 |
| Node is to be marked as found (used in the "Find Node" function). | |
| #define | NODEFLAG_STRIKEOUT 0x00000010 |
| Node is struck out. | |
| #define | NODEFLAG_SHOWHIDDEN 0x00000020 |
| Always show node in gray if hidden (even if global "show hidden" is turned off). | |
| #define | NODEFLAG_MULTILINE 0x00000040 |
| Infix operators: draw each operand on a new line. | |
| #define | NODETYPE_GENERIC_NODE 1 |
| Type-ID of a GenericNode. | |
| #define | NODETYPE_TYPE_NODE 2 |
| Type-ID of a TypeNode. | |
| #define | NODETYPE_STRUC_NODE 3 |
| Type-ID of a StrucNode. | |
| #define | NODETYPE_FEATVAL_NODE 4 |
| Type-ID of a FeatvalNode. | |
| #define | NODETYPE_LIST_NODE 5 |
| Type-ID of a ListNode. | |
| #define | NODETYPE_SET_NODE 6 |
| Type-ID of a SetNode. | |
| #define | NODETYPE_FUNCTION_NODE 7 |
| Type-ID of a FunctionNode. | |
| #define | NODETYPE_REF_NODE 8 |
| Type-ID of a RefNode. | |
| #define | NODETYPE_REENT_NODE 9 |
| Type-ID of a ReentNode. | |
| #define | NODETYPE_TREE_NODE 10 |
| Type-ID of a TreeNode. | |
| #define | NODETYPE_ATOM_NODE 11 |
| Type-ID of a AtomNode. | |
| #define | NODETYPE_REL_NODE 12 |
| Type-ID of a RelationNode. | |
| #define | NODETYPE_TAIL_NODE 13 |
| Type-ID of a TailNode. | |
| #define | NODETYPE_REST_NODE 14 |
| Type-ID of a RestNode. | |
| #define | NODETYPE_DISJUNCTION_NODE 15 |
| Type-ID of a DisjunctionNode. | |
| #define | NODETYPE_CONJUNCTION_NODE 16 |
| Type-ID of a ConjunctionNode. | |
| #define | ID_LENGTH 10 |
| The maximum length of the string representation of a node ID. | |
Functions | |
| TypeNode * | createType (unsigned int flags, int id, char *name) |
| Creates a type node. | |
| StrucNode * | createStruc (unsigned int flags, int id, TypeNode *type, List *featvals) |
| Creates a StrucNode. | |
| FunctionNode * | createFunction (unsigned int flags, int id, TypeNode *type, char *functor, List *structs) |
| Creates a FunctionNode. | |
| RelationNode * | createRelation (unsigned int flags, int id, char *functor, List *structs) |
| Creates a RelationNode. | |
| SetNode * | createSet (unsigned int flags, int id, List *structs, RestNode *rest) |
| Creates a SetNode. | |
| ListNode * | createList (unsigned int flags, int id, List *structs, TailNode *tail) |
| Creates a ListNode. | |
| FeatvalNode * | createFeatval (unsigned int flags, int id, char *feature, GenericNode *value) |
| Creates a FeatvalNode. | |
| RefNode * | createRef (unsigned int flags, int id, int ref) |
| Creates a RefNode. | |
| ReentNode * | createReent (unsigned int flags, int id, int ref, GenericNode *value) |
| Creates a ReentNode. | |
| TreeNode * | createTree (unsigned int flags, int id, char *label, char *arclabel, int linkid, List *subtrees) |
| Creates a TreeNode. | |
| AtomNode * | createAtom (unsigned int flags, int id, char *atom) |
| Creates an AtomNode. | |
| TailNode * | createTail (unsigned int flags, int id, GenericNode *tail) |
| Creates a TailNode (which represents the tail in a list of type ListNode). | |
| RestNode * | createRest (unsigned int flags, int id, GenericNode *rest) |
| Creates a RestNode (which represents the rest in a set of type SetNode). | |
| DisjunctionNode * | createDisjunction (unsigned int flags, int id, List *operands) |
| Creates a DisjunctionNode. | |
| ConjunctionNode * | createConjunction (unsigned int flags, int id, List *operands) |
| Creates a ConjunctionNode. | |
| void | destroyNode (GenericNode *node) |
| Deallocates all memory used by a node. | |
| List * | prepend (GenericNode *item, List *tail) |
| Prepends a node to a list. | |
| List * | append (List *l, GenericNode *item) |
| Appends a node to a list. | |
| void | freeList (List *list) |
| Frees a list. | |
| void | catList (List *list, int level) |
| DEBUG: Print a list. | |
| void | writeGenericNode (FILE *file, GenericNode *node) |
| Writes a node and all its child nodes to a file in the Grisu data exchange format. (See EBNF documentation). | |
| NodeIdMap * | addToMap (NodeIdMap *map, GenericNode *node, int id) |
| Adds a node to a node map. | |
| GenericNode * | findNodeById (NodeIdMap *map, char *id) |
| Returns a node given its node ID. | |
| void | destroyMap (NodeIdMap *map) |
| Destroys a node map, and deletes all nodes contained in the map. | |
|
|
The maximum length of the string representation of a node ID.
|
|
|
Node is to be marked as different (used in structure compare).
|
|
|
Node is expanded (applies to expandable nodes only).
|
|
|
Node is to be marked as found (used in the "Find Node" function).
|
|
|
Node is hidden.
|
|
|
Infix operators: draw each operand on a new line.
|
|
|
Always show node in gray if hidden (even if global "show hidden" is turned off).
|
|
|
Node is struck out.
|
|
|
Type-ID of a AtomNode.
|
|
|
Type-ID of a ConjunctionNode.
|
|
|
Type-ID of a DisjunctionNode.
|
|
|
Type-ID of a FeatvalNode.
|
|
|
Type-ID of a FunctionNode.
|
|
|
Type-ID of a GenericNode.
|
|
|
Type-ID of a ListNode.
|
|
|
Type-ID of a ReentNode.
|
|
|
Type-ID of a RefNode.
|
|
|
Type-ID of a RelationNode.
|
|
|
Type-ID of a RestNode.
|
|
|
Type-ID of a SetNode.
|
|
|
Type-ID of a StrucNode.
|
|
|
Type-ID of a TailNode.
|
|
|
Type-ID of a TreeNode.
|
|
|
Type-ID of a TypeNode.
|
|
||||||||||||||||
|
Adds a node to a node map.
|
|
||||||||||||
|
Appends a node to a list.
|
|
||||||||||||
|
DEBUG: Print a list.
|
|
||||||||||||||||
|
Creates an AtomNode.
|
|
||||||||||||||||
|
Creates a ConjunctionNode.
|
|
||||||||||||||||
|
Creates a DisjunctionNode.
|
|
||||||||||||||||||||
|
Creates a FeatvalNode.
|
|
||||||||||||||||||||||||
|
Creates a FunctionNode.
|
|
||||||||||||||||||||
|
Creates a ListNode.
|
|
||||||||||||||||||||
|
Creates a ReentNode.
|
|
||||||||||||||||
|
Creates a RefNode.
|
|
||||||||||||||||||||
|
Creates a RelationNode.
|
|
||||||||||||||||
|
Creates a RestNode (which represents the rest in a set of type SetNode).
|
|
||||||||||||||||||||
|
Creates a SetNode.
|
|
||||||||||||||||||||
|
Creates a StrucNode.
|
|
||||||||||||||||
|
Creates a TailNode (which represents the tail in a list of type ListNode).
|
|
||||||||||||||||||||||||||||
|
Creates a TreeNode.
|
|
||||||||||||||||
|
Creates a type node.
|
|
|
Destroys a node map, and deletes all nodes contained in the map.
|
|
|
Deallocates all memory used by a node. Note that this function does not recursively delete any child nodes! Memory is freed instead by destroying all nodes in a NodeIdMap.
|
|
||||||||||||
|
Returns a node given its node ID.
|
|
|
Frees a list. The nodes in the list are not freed (nodes are freed by deleting all nodes in a NodeIdMap.
|
|
||||||||||||
|
Prepends a node to a list.
|
|
||||||||||||
|
Writes a node and all its child nodes to a file in the Grisu data exchange format.
|
1.3