Diff for /Amaya/amaya/trans.h between versions 1.9 and 1.10

version 1.9, 1998/02/19 17:14:04 version 1.10, 1999/01/29 17:21:42
Line 41  strMatch; Line 41  strMatch;
 /* Source structure tree nodes definition */  /* Source structure tree nodes definition */
 typedef struct _Node  typedef struct _Node
   {    {
      char               *Tag;           /* HTML tag */       STRING              Tag;           /* HTML tag */
      Element             Elem;          /* element instance */       Element             Elem;          /* element instance */
      struct _Node       *Parent;               struct _Node       *Parent;        
      struct _Node       *Child;       struct _Node       *Child;
Line 64  typedef strNode   *StructureTree; Line 64  typedef strNode   *StructureTree;
 /* Attribute descriptor */  /* Attribute descriptor */
 typedef struct _AttrDesc  typedef struct _AttrDesc
   {    {
      char               *NameAttr;       STRING              NameAttr;
      int                 ThotAttr;       int                 ThotAttr;
      boolean             IsInt;       boolean             IsInt;
      boolean             IsTransf;       boolean             IsTransf;
      union       union
        {         {
           char               *_TextVal;            STRING              _TextVal;
           int                 _IntVal;            int                 _IntVal;
           struct _s0            struct _s0
             {              {
                char               *_Tag;                 STRING              _Tag;
                char               *_Attr;                 STRING              _Attr;
             }              }
           s0;            s0;
        }         }
Line 92  strAttrDesc; Line 92  strAttrDesc;
 /* node generated */  /* node generated */
 typedef struct _NodeDesc  typedef struct _NodeDesc
   {    {
      char               *Tag;       STRING              Tag;
      strAttrDesc        *Attributes;       strAttrDesc        *Attributes;
      struct _NodeDesc   *Next;       struct _NodeDesc   *Next;
   }    }
Line 100  strNodeDesc; Line 100  strNodeDesc;
   
 typedef struct _RuleDesc  typedef struct _RuleDesc
   {    {
      char               *RuleName;       STRING              RuleName;
      strNodeDesc        *OptionNodes;       strNodeDesc        *OptionNodes;
      strNodeDesc        *NewNodes;       strNodeDesc        *NewNodes;
      boolean            DeleteRule;       boolean            DeleteRule;
Line 131  strListSymb; Line 131  strListSymb;
 /* pattern node (symbol) */  /* pattern node (symbol) */
 typedef struct _SymbDesc  typedef struct _SymbDesc
   {    {
      char               *SymbolName;       STRING              SymbolName;
      char               *Tag;       STRING              Tag;
      strRuleDesc        *Rule;       strRuleDesc        *Rule;
      boolean             IsOptional;       boolean             IsOptional;
      boolean             IsActiveSymb;       boolean             IsActiveSymb;
Line 148  strSymbDesc; Line 148  strSymbDesc;
 /* transformation descriptor */  /* transformation descriptor */
 typedef struct _TransDesc  typedef struct _TransDesc
   {    {
      char               *NameTrans;       STRING              NameTrans;
      int                 NbPatSymb;       int                 NbPatSymb;
      int                 NbRules;       int                 NbRules;
      int                 PatDepth;       int                 PatDepth;
Line 157  typedef struct _TransDesc Line 157  typedef struct _TransDesc
      strSymbDesc        *Symbols;       strSymbDesc        *Symbols;
      strRuleDesc        *Rules;       strRuleDesc        *Rules;
      boolean             IsActiveTrans;       boolean             IsActiveTrans;
      char               *DestinationTag;       STRING              DestinationTag;
      struct _TransDesc  *Next;       struct _TransDesc  *Next;
   }    }
 strTransDesc;  strTransDesc;
Line 165  strTransDesc; Line 165  strTransDesc;
 typedef struct _TransSet  typedef struct _TransSet
 {  {
   /* name of the transformation set (eg, name of file without suffix .trans) */    /* name of the transformation set (eg, name of file without suffix .trans) */
   char                TransFileName [20];    CHAR                TransFileName [20];
 #ifndef PPSTANDALONE  #ifndef PPSTANDALONE
   SSchema             Schema;    SSchema             Schema;
 #endif  #endif

Removed from v.1.9  
changed lines
  Added in v.1.10


Webmaster