Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

kydefs.h File Reference

Definitions of types and macros used by KYGrammar class. More...

#include "defs.h"
#include "arithdefs.h"
#include "grammardefs.h"
#include "hashtable.h"
#include "list.h"
#include "stack.h"

Go to the source code of this file.

Compounds

struct  InputItem
 One item of the input queue. More...

struct  MatchingRule
 Structure for description how many input symbol matched the (whole) rule. More...

struct  NeighboursDescription
 Description of a rule element's neighbour. More...

struct  Rule
 Structure representing one rule. More...

struct  RuleElement
 One element of a Rule. More...

struct  RuleElementNeighbour
 Description of symbol following given symbol - a neighbour. More...

struct  TestedElement
 Description of the currently examined rule element. More...

struct  TestedRule
 Description of currently tested rule. More...


Defines

#define TERMINAL_ALPHABET_DEFAULT_SIZE   256
 Default size of terminal set.


Typedefs

typedef unsigned int RuleFreq
 Type for rule reference counts.

typedef unsigned long RuleId
 Type for rule identifications.

typedef List< RuleRuleSet
 Definition of a rule set. More...

typedef List< RuleElementNeighbourNeighboursDescriptionList
 Linked list containg descriptions of all element's neighbours.

typedef List< RuleRuleElementRepresentedByList
 Linked list of rules that represent a string (equal or longer) than the string represented by given rule element.

typedef HashTable< unsigned
long, NeighboursDescription,
List, 3079 > 
TerminalDigrams
 Hash array mapping unsigned long to lists with neighbours descriptions for terminals.

typedef HashTable< unsigned
long, NeighboursDescription,
List, 98317 > 
VariableDigrams
 Hash array mapping unsigned long to lists with neighbours descriptions for variables.

typedef List< TestedRuleTestedRules
 Linked list of tested rules.


Enumerations

enum  RuleMatchResult { Matches = 1, DoesntMatch = 2, Ignore = 3 }
 Results of rule-matching operations. More...


Detailed Description

Definitions of types and macros used by KYGrammar class.

This file contains definitions of types and macros used by KYGrammar class.

Definition in file kydefs.h.


Typedef Documentation

typedef List<Rule> RuleSet
 

Definition of a rule set.

Implemented as a doubly-linked list of elements with type Rule.

Definition at line 143 of file kydefs.h.


Enumeration Type Documentation

enum RuleMatchResult
 

Results of rule-matching operations.

Used when matching rules against the contents of the input queue.

Enumeration values:
Matches  Rule matches.
DoesntMatch  Rule doesn't match.
Ignore  No result.

Definition at line 94 of file kydefs.h.


Generated on Wed Feb 5 10:43:03 2003 for Exalt by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002