Logo Search packages:      
Sourcecode: eli version File versions

visitprocs.c

#include "HEAD.h"
#include "err.h"
#include "node.h"
#include "visitprocs.h"
#include "attrpredef.h"

#include "visitmap.h"

#ifdef MONITOR
#include "attr_mon_dapto.h"
#include "liga_dapto.h"
#endif

#ifndef _VisitVarDecl
#define _VisitVarDecl()
#endif

#ifndef _VisitEntry
#define _VisitEntry()
#endif

#ifndef _VisitExit
#define _VisitExit()
#endif


#if defined(__STDC__) || defined(__cplusplus)
#define _CALL_VS_(args) (void (*)args)
#else
#define _CALL_VS_(args) 
#endif
int* _IG_incl6;
Environment* _IG_incl5;
KeyArray* _IG_incl2;
int* _IG_incl1;
PTGNode* _IG_incl0;
int _AVTreeNum_val;
NodeType _AVType_nodetype;
NodeType _AVTreeType_nodetype;
CharPtr _AVTargtype_c_typename;
int _AVTargtype_arg_no;
int _AVTargtype_inserted;
PTGNode _AVInsertions__const20;
PTGNode _AVInsertions__const21;
PTGNode _AVInsertions__const22;
PTGNode _AVInsertions__const23;
PTGNode _AVInsertions__const24;
int _AVFctCalltreenonum_post;
int _AVSubTreecomponentindex_pre;
PTGNode _AVRule__const4;
KeyArray _AVRule_pattern;
int _AVRule_firstdef_sym;
int _AVRule_isempty;
CharPtr _AVRule_pattern_name;
PTGNode _AVRule_structure;
PTGNode _AVRule_comma_typenames;
PTGNode _AVRule_comma_type;
PTGNode _AVRule_comma_arguments;
PTGNode _AVRule_semicolon_typenames;
PTGNode _AVRule_assignments;
PTGNode _AVRule_node_definition;
PTGNode _AVRule_node_prototype;
int _AVRule_output_possibly_empty;
PTGNode _AVRule_empty_condition_check;
PTGNode _AVRule_optional_empty_condition_check;
PTGNode _AVRule_check_empty_arguments;
PTGNode _AVRule_print_function;
PTGNode _AVRule_node_implementation;
int _AVRule_components;
NodeArray _AVFctCallinsertion_points_post;
int _AVNodeName_Sym;
PTGNode _AVRules__const3;
PTGNode _AVRules__const4;
PTGNode _AVRules__const5;
PTGNode _AVOptItem__const4;
PTGNode _AVOptItem__const6;
int _AVOptItem__const10;
int _AVOptItem__const16;
int _AVOptItem__const18;
int _AVOptItem__const19;
int _AVOptItem__const25;
PTGNode _AVOptItem__const26;
PTGNode _AVOptItem__const27;
int _AVOptItem__const28;
PTGNode _AVOptItem__const30;
PTGNode _AVOptItem_print_code;
PTGNode _AVOptItem_component_print_code;
PTGNode _AVSubTree_empty_condition_check;
PTGNode _AVSubTree_optional_empty_condition_check;
PTGNode _AVSubTree_print_optional_condition;
PTGNode _AVSubTree_function_type;
int _AVSubTree_output_possibly_empty;
PTGNode _AVSubTree_print_code;
PTGNode _AVPrintString_print_code;
int _AVPrintString_output_possibly_empty;
int _AVFctCall__const16;
int _AVFctCall__const18;
int _AVFctCall__const25;
PTGNode _AVFctCall__const26;
PTGNode _AVFctCall__const27;
int _AVFctCall__const28;
PTGNode _AVFctCall_function_call_prototype;
PTGNode _AVFctCall_function_type;
PTGNode _AVFctCall_print_code;
int _AVFctCall_components;
int _AVFctCall_output_possibly_empty;
DefTableKey _AVFctName_FctKey;
Binding _AVFctName_FctBind;
int _AVSubTrees__const10;
PTGNode _AVSubTrees__const14;
PTGNode _AVSubTrees__const15;
int _AVSubTrees__const16;
int _AVSubTrees__const18;
int _AVSubTrees__const25;
PTGNode _AVSubTrees__const26;
PTGNode _AVSubTrees__const27;
int _AVSubTrees__const28;
PTGNode _AVLST_Insertions__const20;
PTGNode _AVLST_Insertions__const21;
PTGNode _AVLST_Insertions__const22;
PTGNode _AVLST_Insertions__const23;
PTGNode _AVLST_Insertions__const24;

#if defined(__STDC__) || defined(__cplusplus)
void LIGA_ATTREVAL (NODEPTR _currn)
#else
void LIGA_ATTREVAL (_currn) NODEPTR _currn;
#endif
{(*(VS1MAP[_currn->_prod])) ((NODEPTR)_currn);}
/*SPC(0)*/

#if defined(__STDC__) || defined(__cplusplus)
void _VS0Empty(NODEPTR _currn)
#else
void _VS0Empty(_currn) NODEPTR _currn;
#endif
{ _VisitVarDecl()
_VisitEntry();

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1pDefaultTree(_TPPpDefaultTree _currn)
#else
void _VS1pDefaultTree(_currn )
_TPPpDefaultTree _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVTreeNum_val=NEG(1);
/*SPC(15)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1pNumberedTree(_TPPpNumberedTree _currn)
#else
void _VS1pNumberedTree(_currn )
_TPPpNumberedTree _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVTreeNum_val=_currn->_ATTERM_1;
/*SPC(19)*/

if (EQ(_AVTreeNum_val, 0)) {
message(ERROR, "use positive numbers", 0, (&( _currn->_AT_pos)));

} else {
}
;
/*SPC(20)*/

if (GT(_AVTreeNum_val, 20)) {
message(WARNING, "use Subtree-Numbers in the range 1..20", 0, (&( _currn->_AT_pos)));

} else {
}
;
/*SPC(22)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1targtype(_TPPtargtype _currn,PTGNode* _AS0assignment,PTGNode* _AS0semicolon_typename,PTGNode* _AS0comma_argument,PTGNode* _AS0comma_typename,PTGNode* _AS0structure_component)
#else
void _VS1targtype(_currn ,_AS0assignment,_AS0semicolon_typename,_AS0comma_argument,_AS0comma_typename,_AS0structure_component)
_TPPtargtype _currn;
PTGNode* _AS0structure_component;
PTGNode* _AS0comma_typename;
PTGNode* _AS0comma_argument;
PTGNode* _AS0semicolon_typename;
PTGNode* _AS0assignment;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVTargtype_c_typename=GetTypeof(GetType(_currn->_ATTERM_1, UNDEF));
/*SPC(256)*/
_AVTargtype_arg_no=GetIndex(_currn->_ATTERM_1, 0);
/*SPC(257)*/
_AVTargtype_inserted=GetInserted(_currn->_ATTERM_1, 0);
/*SPC(258)*/
(* _AS0structure_component)=
((_AVTargtype_inserted
) ? (PTGNULL
) : (PTGstructure_component(_AVTargtype_c_typename, _AVTargtype_arg_no)))
;
/*SPC(268)*/
(* _AS0comma_typename)=PTGcomma_typename(_AVTargtype_c_typename, _AVTargtype_arg_no);
/*SPC(287)*/
(* _AS0comma_argument)=PTGcomma_argument(_AVTargtype_arg_no);
/*SPC(288)*/
(* _AS0semicolon_typename)=PTGsemicolon_typename(_AVTargtype_c_typename, _AVTargtype_arg_no);
/*SPC(289)*/
(* _AS0assignment)=
((_AVTargtype_inserted
) ? (PTGNULL
) : (PTGassignment(_AVTargtype_arg_no)))
;
/*SPC(290)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1targtypes(_TPPtargtypes _currn)
#else
void _VS1targtypes(_currn )
_TPPtargtypes _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_AVInsertions__const20=_AVLST_Insertions__const20;
/*SPC(227)*/
_AVInsertions__const21=_AVLST_Insertions__const21;
/*SPC(227)*/
_AVInsertions__const22=_AVLST_Insertions__const22;
/*SPC(227)*/
_AVInsertions__const23=_AVLST_Insertions__const23;
/*SPC(227)*/
_AVInsertions__const24=_AVLST_Insertions__const24;
/*SPC(227)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_000(_TPPrule_000 _currn)
#else
void _VS1rule_000(_currn )
_TPPrule_000 _currn;

#endif
{
Environment* _IL_incl5;

_VisitVarDecl()
_VisitEntry();
_IL_incl5=_IG_incl5;_IG_incl5= &(_currn->_ATFctEnv);
_currn->_ATFctEnv=FctRootEnv;
/*SPC(525)*/
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(*(_CALL_VS_((NODEPTR )) (VS3MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
PTGOutFile("ptg_gen.h", PTGHeaderFile(_AVRules__const3, _AVRules__const4));
/*SPC(499)*/
PTGOutFile("ptg_gen.c", PTGImplementationFile(_AVRules__const5));
/*SPC(508)*/
_IG_incl5=_IL_incl5;

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_001(_TPPrule_001 _currn)
#else
void _VS1rule_001(_currn )
_TPPrule_001 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_currn->_desc2->_ATisoptional=0;
/*SPC(76)*/
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS2rule_001(_TPPrule_001 _currn)
#else
void _VS2rule_001(_currn )
_TPPrule_001 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_001(_TPPrule_001 _currn)
#else
void _VS3rule_001(_currn )
_TPPrule_001 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS3MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(*(_CALL_VS_((NODEPTR )) (VS3MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);
_AVRules__const3=PTGSeq(_AVRules__const3, IDENTICAL(_AVRule_node_prototype));
/*SPC(615)*/
_AVRules__const4=PTGSeq(_AVRules__const4, _AVRule__const4);
/*SPC(615)*/
_AVRules__const5=PTGSeq(_AVRules__const5, IDENTICAL(_AVRule_node_implementation));
/*SPC(615)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_002(_TPPrule_002 _currn)
#else
void _VS3rule_002(_currn )
_TPPrule_002 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVRules__const3=PTGNull();
/*SPC(619)*/
_AVRules__const4=PTGNull();
/*SPC(619)*/
_AVRules__const5=PTGNull();
/*SPC(619)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_003(_TPPrule_003 _currn)
#else
void _VS1rule_003(_currn )
_TPPrule_003 _currn;

#endif
{
PTGNode _AS2_const4;
PTGNode _AS2_const6;
int _AS2_const10;
int _AS2_const16;
int _AS2_const18;
int _AS2_const19;
int _AS2_const25;
PTGNode _AS2_const26;
PTGNode _AS2_const27;
int _AS2_const28;
PTGNode _AS2_const29;
PTGNode _AS2_const30;
PTGNode _AS1_const4;
PTGNode _AS1_const6;
int _AS1_const10;
int _AS1_const16;
int _AS1_const18;
int _AS1_const19;
int _AS1_const25;
PTGNode _AS1_const26;
PTGNode _AS1_const27;
int _AS1_const28;
PTGNode _AS1_const29;
PTGNode _AS1_const30;

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_AVFctCalltreenonum_post=_currn->_desc1->_ATtreenonum_post;
/*SPC(0)*/
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);
_currn->_ATtreenonum_post=_currn->_desc2->_ATtreenonum_post;
/*SPC(0)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS2rule_003(_TPPrule_003 _currn)
#else
void _VS2rule_003(_currn )
_TPPrule_003 _currn;

#endif
{
PTGNode _AS2_const4;
PTGNode _AS2_const6;
int _AS2_const10;
int _AS2_const16;
int _AS2_const18;
int _AS2_const19;
int _AS2_const25;
PTGNode _AS2_const26;
PTGNode _AS2_const27;
int _AS2_const28;
PTGNode _AS2_const29;
PTGNode _AS2_const30;
PTGNode _AS1_const4;
PTGNode _AS1_const6;
int _AS1_const10;
int _AS1_const16;
int _AS1_const18;
int _AS1_const19;
int _AS1_const25;
PTGNode _AS1_const26;
PTGNode _AS1_const27;
int _AS1_const28;
PTGNode _AS1_const29;
PTGNode _AS1_const30;

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_003(_TPPrule_003 _currn,PTGNode* _AS0_const30,int* _AS0_const19,int* _AS0_const10)
#else
void _VS3rule_003(_currn ,_AS0_const30,_AS0_const19,_AS0_const10)
_TPPrule_003 _currn;
int* _AS0_const10;
int* _AS0_const19;
PTGNode* _AS0_const30;

#endif
{
PTGNode _AS2_const4;
PTGNode _AS2_const6;
int _AS2_const10;
int _AS2_const16;
int _AS2_const18;
int _AS2_const19;
int _AS2_const25;
PTGNode _AS2_const26;
PTGNode _AS2_const27;
int _AS2_const28;
PTGNode _AS2_const29;
PTGNode _AS2_const30;
PTGNode _AS1_const4;
PTGNode _AS1_const6;
int _AS1_const10;
int _AS1_const16;
int _AS1_const18;
int _AS1_const19;
int _AS1_const25;
PTGNode _AS1_const26;
PTGNode _AS1_const27;
int _AS1_const28;
PTGNode _AS1_const29;
PTGNode _AS1_const30;

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR ,PTGNode*,int*,int*)) (VS3MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1,(&( _AS1_const30)),(&( _AS1_const19)),(&( _AS1_const10)));
(*(_CALL_VS_((NODEPTR ,PTGNode*,int*,int*)) (VS3MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2,(&( _AS2_const30)),(&( _AS2_const19)),(&( _AS2_const10)));
(* _AS0_const10)=ADD(_AS1_const10, _AS2_const10);
/*SPC(623)*/
(* _AS0_const19)=MyMAX(_AS1_const19, _AS2_const19);
/*SPC(623)*/
(* _AS0_const30)=PTGAndSeq(_AS1_const30, _AS2_const30);
/*SPC(623)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS4rule_003(_TPPrule_003 _currn,PTGNode* _AS0_const30,PTGNode* _AS0_const29,int* _AS0_const28,PTGNode* _AS0_const27,PTGNode* _AS0_const26,int* _AS0_const25,int* _AS0_const19,int* _AS0_const18,int* _AS0_const16,int* _AS0_const10,PTGNode* _AS0_const6,PTGNode* _AS0_const4)
#else
void _VS4rule_003(_currn ,_AS0_const30,_AS0_const29,_AS0_const28,_AS0_const27,_AS0_const26,_AS0_const25,_AS0_const19,_AS0_const18,_AS0_const16,_AS0_const10,_AS0_const6,_AS0_const4)
_TPPrule_003 _currn;
PTGNode* _AS0_const4;
PTGNode* _AS0_const6;
int* _AS0_const10;
int* _AS0_const16;
int* _AS0_const18;
int* _AS0_const19;
int* _AS0_const25;
PTGNode* _AS0_const26;
PTGNode* _AS0_const27;
int* _AS0_const28;
PTGNode* _AS0_const29;
PTGNode* _AS0_const30;

#endif
{
PTGNode _AS2_const4;
PTGNode _AS2_const6;
int _AS2_const10;
int _AS2_const16;
int _AS2_const18;
int _AS2_const19;
int _AS2_const25;
PTGNode _AS2_const26;
PTGNode _AS2_const27;
int _AS2_const28;
PTGNode _AS2_const29;
PTGNode _AS2_const30;
PTGNode _AS1_const4;
PTGNode _AS1_const6;
int _AS1_const10;
int _AS1_const16;
int _AS1_const18;
int _AS1_const19;
int _AS1_const25;
PTGNode _AS1_const26;
PTGNode _AS1_const27;
int _AS1_const28;
PTGNode _AS1_const29;
PTGNode _AS1_const30;

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR ,PTGNode*,PTGNode*,int*,PTGNode*,PTGNode*,int*,int*,int*,int*,int*,PTGNode*,PTGNode*)) (VS4MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1,(&( _AS1_const30)),(&( _AS1_const29)),(&( _AS1_const28)),(&( _AS1_const27)),(&( _AS1_const26)),(&( _AS1_const25)),(&( _AS1_const19)),(&( _AS1_const18)),(&( _AS1_const16)),(&( _AS1_const10)),(&( _AS1_const6)),(&( _AS1_const4)));
(*(_CALL_VS_((NODEPTR ,PTGNode*,PTGNode*,int*,PTGNode*,PTGNode*,int*,int*,int*,int*,int*,PTGNode*,PTGNode*)) (VS4MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2,(&( _AS2_const30)),(&( _AS2_const29)),(&( _AS2_const28)),(&( _AS2_const27)),(&( _AS2_const26)),(&( _AS2_const25)),(&( _AS2_const19)),(&( _AS2_const18)),(&( _AS2_const16)),(&( _AS2_const10)),(&( _AS2_const6)),(&( _AS2_const4)));
(* _AS0_const4)=PTGSeq(_AS1_const4, _AS2_const4);
/*SPC(623)*/
(* _AS0_const6)=PTGSeq(_AS1_const6, _AS2_const6);
/*SPC(623)*/
(* _AS0_const16)=ADD(_AS1_const16, _AS2_const16);
/*SPC(623)*/
(* _AS0_const18)=ADD(_AS1_const18, _AS2_const18);
/*SPC(623)*/
(* _AS0_const25)=AND(_AS1_const25, _AS2_const25);
/*SPC(623)*/
(* _AS0_const26)=PTGAndSeq(_AS1_const26, _AS2_const26);
/*SPC(623)*/
(* _AS0_const27)=PTGAndSeq(_AS1_const27, _AS2_const27);
/*SPC(623)*/
(* _AS0_const28)=OR(_AS1_const28, _AS2_const28);
/*SPC(623)*/
(* _AS0_const29)=PTGSeq(_AS1_const29, _AS2_const29);
/*SPC(623)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_004(_TPPrule_004 _currn)
#else
void _VS1rule_004(_currn )
_TPPrule_004 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_currn->_ATtreenonum_post=_AVFctCalltreenonum_post;
/*SPC(0)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_004(_TPPrule_004 _currn,PTGNode* _AS0_const30,int* _AS0_const19,int* _AS0_const10)
#else
void _VS3rule_004(_currn ,_AS0_const30,_AS0_const19,_AS0_const10)
_TPPrule_004 _currn;
int* _AS0_const10;
int* _AS0_const19;
PTGNode* _AS0_const30;

#endif
{

_VisitVarDecl()
_VisitEntry();
(* _AS0_const10)=ZERO();
/*SPC(627)*/
(* _AS0_const19)=ZERO();
/*SPC(627)*/
(* _AS0_const30)=PTGNull();
/*SPC(627)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS4rule_004(_TPPrule_004 _currn,PTGNode* _AS0_const30,PTGNode* _AS0_const29,int* _AS0_const28,PTGNode* _AS0_const27,PTGNode* _AS0_const26,int* _AS0_const25,int* _AS0_const19,int* _AS0_const18,int* _AS0_const16,int* _AS0_const10,PTGNode* _AS0_const6,PTGNode* _AS0_const4)
#else
void _VS4rule_004(_currn ,_AS0_const30,_AS0_const29,_AS0_const28,_AS0_const27,_AS0_const26,_AS0_const25,_AS0_const19,_AS0_const18,_AS0_const16,_AS0_const10,_AS0_const6,_AS0_const4)
_TPPrule_004 _currn;
PTGNode* _AS0_const4;
PTGNode* _AS0_const6;
int* _AS0_const10;
int* _AS0_const16;
int* _AS0_const18;
int* _AS0_const19;
int* _AS0_const25;
PTGNode* _AS0_const26;
PTGNode* _AS0_const27;
int* _AS0_const28;
PTGNode* _AS0_const29;
PTGNode* _AS0_const30;

#endif
{

_VisitVarDecl()
_VisitEntry();
(* _AS0_const4)=PTGNull();
/*SPC(627)*/
(* _AS0_const6)=PTGNull();
/*SPC(627)*/
(* _AS0_const16)=ZERO();
/*SPC(627)*/
(* _AS0_const18)=ZERO();
/*SPC(627)*/
(* _AS0_const25)=ONE();
/*SPC(627)*/
(* _AS0_const26)=PTGNull();
/*SPC(627)*/
(* _AS0_const27)=PTGNull();
/*SPC(627)*/
(* _AS0_const28)=ZERO();
/*SPC(627)*/
(* _AS0_const29)=PTGNull();
/*SPC(627)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_005(_TPPrule_005 _currn)
#else
void _VS1rule_005(_currn )
_TPPrule_005 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_currn->_desc1->_ATisoptional=1;
/*SPC(80)*/
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_currn->_ATtreenonum_post=_AVFctCalltreenonum_post;
/*SPC(0)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS2rule_005(_TPPrule_005 _currn)
#else
void _VS2rule_005(_currn )
_TPPrule_005 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_005(_TPPrule_005 _currn,PTGNode* _AS0_const30,int* _AS0_const19,int* _AS0_const10)
#else
void _VS3rule_005(_currn ,_AS0_const30,_AS0_const19,_AS0_const10)
_TPPrule_005 _currn;
int* _AS0_const10;
int* _AS0_const19;
PTGNode* _AS0_const30;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS3MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(* _AS0_const10)=_AVOptItem__const10;
/*SPC(631)*/
(* _AS0_const19)=_AVOptItem__const19;
/*SPC(631)*/
(* _AS0_const30)=_AVOptItem__const30;
/*SPC(631)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS4rule_005(_TPPrule_005 _currn,PTGNode* _AS0_const30,PTGNode* _AS0_const29,int* _AS0_const28,PTGNode* _AS0_const27,PTGNode* _AS0_const26,int* _AS0_const25,int* _AS0_const19,int* _AS0_const18,int* _AS0_const16,int* _AS0_const10,PTGNode* _AS0_const6,PTGNode* _AS0_const4)
#else
void _VS4rule_005(_currn ,_AS0_const30,_AS0_const29,_AS0_const28,_AS0_const27,_AS0_const26,_AS0_const25,_AS0_const19,_AS0_const18,_AS0_const16,_AS0_const10,_AS0_const6,_AS0_const4)
_TPPrule_005 _currn;
PTGNode* _AS0_const4;
PTGNode* _AS0_const6;
int* _AS0_const10;
int* _AS0_const16;
int* _AS0_const18;
int* _AS0_const19;
int* _AS0_const25;
PTGNode* _AS0_const26;
PTGNode* _AS0_const27;
int* _AS0_const28;
PTGNode* _AS0_const29;
PTGNode* _AS0_const30;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS4MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(* _AS0_const4)=_AVOptItem__const4;
/*SPC(631)*/
(* _AS0_const6)=_AVOptItem__const6;
/*SPC(631)*/
(* _AS0_const16)=_AVOptItem__const16;
/*SPC(631)*/
(* _AS0_const18)=_AVOptItem__const18;
/*SPC(631)*/
(* _AS0_const25)=_AVOptItem__const25;
/*SPC(631)*/
(* _AS0_const26)=_AVOptItem__const26;
/*SPC(631)*/
(* _AS0_const27)=_AVOptItem__const27;
/*SPC(631)*/
(* _AS0_const28)=_AVOptItem__const28;
/*SPC(631)*/
(* _AS0_const29)=IDENTICAL(_AVOptItem_print_code);
/*SPC(631)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_006(_TPPrule_006 _currn)
#else
void _VS1rule_006(_currn )
_TPPrule_006 _currn;

#endif
{
int* _IL_incl1;
PTGNode _AS1_const4;
PTGNode _AS1_const6;
int _AS1_const10;
int _AS1_const16;
int _AS1_const18;
int _AS1_const19;
int _AS1_const25;
PTGNode _AS1_const26;
PTGNode _AS1_const27;
int _AS1_const28;
PTGNode _AS1_const29;
PTGNode _AS1_const30;

_VisitVarDecl()
_VisitEntry();
_IL_incl1=_IG_incl1;_IG_incl1= &(_currn->_ATisoptional);
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_AVFctCalltreenonum_post=_currn->_desc1->_ATtreenonum_post;
/*SPC(0)*/
_IG_incl1=_IL_incl1;

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS2rule_006(_TPPrule_006 _currn)
#else
void _VS2rule_006(_currn )
_TPPrule_006 _currn;

#endif
{
int* _IL_incl1;
PTGNode _AS1_const4;
PTGNode _AS1_const6;
int _AS1_const10;
int _AS1_const16;
int _AS1_const18;
int _AS1_const19;
int _AS1_const25;
PTGNode _AS1_const26;
PTGNode _AS1_const27;
int _AS1_const28;
PTGNode _AS1_const29;
PTGNode _AS1_const30;

_VisitVarDecl()
_VisitEntry();
_IL_incl1=_IG_incl1;_IG_incl1= &(_currn->_ATisoptional);
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_IG_incl1=_IL_incl1;

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_006(_TPPrule_006 _currn)
#else
void _VS3rule_006(_currn )
_TPPrule_006 _currn;

#endif
{
int* _IL_incl1;
PTGNode _AS1_const4;
PTGNode _AS1_const6;
int _AS1_const10;
int _AS1_const16;
int _AS1_const18;
int _AS1_const19;
int _AS1_const25;
PTGNode _AS1_const26;
PTGNode _AS1_const27;
int _AS1_const28;
PTGNode _AS1_const29;
PTGNode _AS1_const30;

_VisitVarDecl()
_VisitEntry();
_IL_incl1=_IG_incl1;_IG_incl1= &(_currn->_ATisoptional);
(*(_CALL_VS_((NODEPTR ,PTGNode*,int*,int*)) (VS3MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1,(&( _AS1_const30)),(&( _AS1_const19)),(&( _AS1_const10)));
_AVOptItem__const10=_AS1_const10;
/*SPC(635)*/
_AVOptItem__const19=_AS1_const19;
/*SPC(635)*/
_AVOptItem__const30=_AS1_const30;
/*SPC(635)*/
_IG_incl1=_IL_incl1;

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS4rule_006(_TPPrule_006 _currn)
#else
void _VS4rule_006(_currn )
_TPPrule_006 _currn;

#endif
{
int* _IL_incl1;
PTGNode _AS1_const4;
PTGNode _AS1_const6;
int _AS1_const10;
int _AS1_const16;
int _AS1_const18;
int _AS1_const19;
int _AS1_const25;
PTGNode _AS1_const26;
PTGNode _AS1_const27;
int _AS1_const28;
PTGNode _AS1_const29;
PTGNode _AS1_const30;

_VisitVarDecl()
_VisitEntry();
_IL_incl1=_IG_incl1;_IG_incl1= &(_currn->_ATisoptional);
(*(_CALL_VS_((NODEPTR ,PTGNode*,PTGNode*,int*,PTGNode*,PTGNode*,int*,int*,int*,int*,int*,PTGNode*,PTGNode*)) (VS4MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1,(&( _AS1_const30)),(&( _AS1_const29)),(&( _AS1_const28)),(&( _AS1_const27)),(&( _AS1_const26)),(&( _AS1_const25)),(&( _AS1_const19)),(&( _AS1_const18)),(&( _AS1_const16)),(&( _AS1_const10)),(&( _AS1_const6)),(&( _AS1_const4)));
_AVOptItem__const4=_AS1_const4;
/*SPC(635)*/
_AVOptItem__const6=_AS1_const6;
/*SPC(635)*/
_AVOptItem__const16=_AS1_const16;
/*SPC(635)*/
_AVOptItem__const18=_AS1_const18;
/*SPC(635)*/
_AVOptItem__const25=_AS1_const25;
/*SPC(635)*/
_AVOptItem__const26=_AS1_const26;
/*SPC(635)*/
_AVOptItem__const27=_AS1_const27;
/*SPC(635)*/
_AVOptItem__const28=_AS1_const28;
/*SPC(635)*/
_AVOptItem_component_print_code=_AS1_const6;
/*SPC(449)*/
_AVOptItem_print_code=
((EQ((* _IG_incl0), PTGNULL)
) ? (_AVOptItem_component_print_code
) : (PTGprint_opt_check((* _IG_incl0), _AVOptItem_component_print_code)))
;
/*SPC(453)*/
_IG_incl1=_IL_incl1;

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_007(_TPPrule_007 _currn)
#else
void _VS1rule_007(_currn )
_TPPrule_007 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_currn->_desc1->_ATtreenonum_pre=_AVFctCalltreenonum_post;
/*SPC(0)*/
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_currn->_ATtreenonum_post=_currn->_desc1->_ATtreenonum_post;
/*SPC(0)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_007(_TPPrule_007 _currn,PTGNode* _AS0_const30,int* _AS0_const19,int* _AS0_const10)
#else
void _VS3rule_007(_currn ,_AS0_const30,_AS0_const19,_AS0_const10)
_TPPrule_007 _currn;
int* _AS0_const10;
int* _AS0_const19;
PTGNode* _AS0_const30;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(* _AS0_const10)=ARGTOONE(_currn->_desc1->_ATKey);
/*SPC(639)*/
(* _AS0_const19)=IDENTICAL(_currn->_desc1->_ATtreenum);
/*SPC(639)*/
(* _AS0_const30)=IDENTICAL(_AVSubTree_print_optional_condition);
/*SPC(639)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS4rule_007(_TPPrule_007 _currn,PTGNode* _AS0_const30,PTGNode* _AS0_const29,int* _AS0_const28,PTGNode* _AS0_const27,PTGNode* _AS0_const26,int* _AS0_const25,int* _AS0_const19,int* _AS0_const18,int* _AS0_const16,int* _AS0_const10,PTGNode* _AS0_const6,PTGNode* _AS0_const4)
#else
void _VS4rule_007(_currn ,_AS0_const30,_AS0_const29,_AS0_const28,_AS0_const27,_AS0_const26,_AS0_const25,_AS0_const19,_AS0_const18,_AS0_const16,_AS0_const10,_AS0_const6,_AS0_const4)
_TPPrule_007 _currn;
PTGNode* _AS0_const4;
PTGNode* _AS0_const6;
int* _AS0_const10;
int* _AS0_const16;
int* _AS0_const18;
int* _AS0_const19;
int* _AS0_const25;
PTGNode* _AS0_const26;
PTGNode* _AS0_const27;
int* _AS0_const28;
PTGNode* _AS0_const29;
PTGNode* _AS0_const30;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS3MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(*(_CALL_VS_((NODEPTR )) (VS4MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(* _AS0_const4)=PTGNull();
/*SPC(639)*/
(* _AS0_const6)=IDENTICAL(_AVSubTree_print_code);
/*SPC(639)*/
(* _AS0_const16)=ARGTOONE(_currn->_desc1->_ATtreenum);
/*SPC(639)*/
(* _AS0_const18)=ARGTOONE(_currn->_desc1->_ATKey);
/*SPC(639)*/
(* _AS0_const25)=IDENTICAL(_AVSubTree_output_possibly_empty);
/*SPC(639)*/
(* _AS0_const26)=IDENTICAL(_AVSubTree_empty_condition_check);
/*SPC(639)*/
(* _AS0_const27)=IDENTICAL(_AVSubTree_optional_empty_condition_check);
/*SPC(639)*/
(* _AS0_const28)=IDENTICAL(_currn->_desc1->_ATisoptional);
/*SPC(639)*/
(* _AS0_const29)=IDENTICAL(_AVSubTree_print_code);
/*SPC(639)*/
_AVSubTreecomponentindex_pre=_currn->_desc1->_ATcomponentindex_post;
/*SPC(0)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_008(_TPPrule_008 _currn)
#else
void _VS1rule_008(_currn )
_TPPrule_008 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_currn->_ATtreenonum_post=_AVFctCalltreenonum_post;
/*SPC(0)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_008(_TPPrule_008 _currn,PTGNode* _AS0_const30,int* _AS0_const19,int* _AS0_const10)
#else
void _VS3rule_008(_currn ,_AS0_const30,_AS0_const19,_AS0_const10)
_TPPrule_008 _currn;
int* _AS0_const10;
int* _AS0_const19;
PTGNode* _AS0_const30;

#endif
{

_VisitVarDecl()
_VisitEntry();
(* _AS0_const10)=ARGTOONE(_currn->_desc1->_ATKey);
/*SPC(643)*/
(* _AS0_const19)=ZERO();
/*SPC(643)*/
(* _AS0_const30)=PTGNull();
/*SPC(643)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS4rule_008(_TPPrule_008 _currn,PTGNode* _AS0_const30,PTGNode* _AS0_const29,int* _AS0_const28,PTGNode* _AS0_const27,PTGNode* _AS0_const26,int* _AS0_const25,int* _AS0_const19,int* _AS0_const18,int* _AS0_const16,int* _AS0_const10,PTGNode* _AS0_const6,PTGNode* _AS0_const4)
#else
void _VS4rule_008(_currn ,_AS0_const30,_AS0_const29,_AS0_const28,_AS0_const27,_AS0_const26,_AS0_const25,_AS0_const19,_AS0_const18,_AS0_const16,_AS0_const10,_AS0_const6,_AS0_const4)
_TPPrule_008 _currn;
PTGNode* _AS0_const4;
PTGNode* _AS0_const6;
int* _AS0_const10;
int* _AS0_const16;
int* _AS0_const18;
int* _AS0_const19;
int* _AS0_const25;
PTGNode* _AS0_const26;
PTGNode* _AS0_const27;
int* _AS0_const28;
PTGNode* _AS0_const29;
PTGNode* _AS0_const30;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(* _AS0_const4)=PTGNull();
/*SPC(643)*/
(* _AS0_const6)=IDENTICAL(_AVPrintString_print_code);
/*SPC(643)*/
(* _AS0_const16)=ZERO();
/*SPC(643)*/
(* _AS0_const18)=ARGTOONE(_currn->_desc1->_ATKey);
/*SPC(643)*/
(* _AS0_const25)=IDENTICAL(_AVPrintString_output_possibly_empty);
/*SPC(643)*/
(* _AS0_const26)=PTGNull();
/*SPC(643)*/
(* _AS0_const27)=PTGNull();
/*SPC(643)*/
(* _AS0_const28)=IDENTICAL(_currn->_desc1->_ATisoptional);
/*SPC(643)*/
(* _AS0_const29)=IDENTICAL(_AVPrintString_print_code);
/*SPC(643)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_009(_TPPrule_009 _currn)
#else
void _VS1rule_009(_currn )
_TPPrule_009 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_currn->_ATtreenonum_post=_AVFctCalltreenonum_post;
/*SPC(0)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS2rule_009(_TPPrule_009 _currn)
#else
void _VS2rule_009(_currn )
_TPPrule_009 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_009(_TPPrule_009 _currn,PTGNode* _AS0_const30,int* _AS0_const19,int* _AS0_const10)
#else
void _VS3rule_009(_currn ,_AS0_const30,_AS0_const19,_AS0_const10)
_TPPrule_009 _currn;
int* _AS0_const10;
int* _AS0_const19;
PTGNode* _AS0_const30;

#endif
{

_VisitVarDecl()
_VisitEntry();
(* _AS0_const10)=ARGTOONE(_currn->_desc1->_ATKey);
/*SPC(647)*/
(* _AS0_const19)=_currn->_desc1->_AT_const19;
/*SPC(647)*/
(* _AS0_const30)=PTGNull();
/*SPC(647)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS4rule_009(_TPPrule_009 _currn,PTGNode* _AS0_const30,PTGNode* _AS0_const29,int* _AS0_const28,PTGNode* _AS0_const27,PTGNode* _AS0_const26,int* _AS0_const25,int* _AS0_const19,int* _AS0_const18,int* _AS0_const16,int* _AS0_const10,PTGNode* _AS0_const6,PTGNode* _AS0_const4)
#else
void _VS4rule_009(_currn ,_AS0_const30,_AS0_const29,_AS0_const28,_AS0_const27,_AS0_const26,_AS0_const25,_AS0_const19,_AS0_const18,_AS0_const16,_AS0_const10,_AS0_const6,_AS0_const4)
_TPPrule_009 _currn;
PTGNode* _AS0_const4;
PTGNode* _AS0_const6;
int* _AS0_const10;
int* _AS0_const16;
int* _AS0_const18;
int* _AS0_const19;
int* _AS0_const25;
PTGNode* _AS0_const26;
PTGNode* _AS0_const27;
int* _AS0_const28;
PTGNode* _AS0_const29;
PTGNode* _AS0_const30;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS3MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(* _AS0_const4)=IDENTICAL(_AVFctCall_function_call_prototype);
/*SPC(647)*/
(* _AS0_const6)=IDENTICAL(_AVFctCall_print_code);
/*SPC(647)*/
(* _AS0_const16)=_AVFctCall__const16;
/*SPC(647)*/
(* _AS0_const18)=ADD(_AVFctCall__const18, ARGTOONE(_currn->_desc1->_ATKey));
/*SPC(647)*/
(* _AS0_const25)=AND(_AVFctCall__const25, IDENTICAL(_AVFctCall_output_possibly_empty));
/*SPC(647)*/
(* _AS0_const26)=_AVFctCall__const26;
/*SPC(647)*/
(* _AS0_const27)=_AVFctCall__const27;
/*SPC(647)*/
(* _AS0_const28)=OR(_AVFctCall__const28, IDENTICAL(_currn->_desc1->_ATisoptional));
/*SPC(647)*/
(* _AS0_const29)=IDENTICAL(_AVFctCall_print_code);
/*SPC(647)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_010(_TPPrule_010 _currn)
#else
void _VS1rule_010(_currn )
_TPPrule_010 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS2rule_010(_TPPrule_010 _currn)
#else
void _VS2rule_010(_currn )
_TPPrule_010 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVNodeName_Sym=_currn->_ATTERM_1;
/*SPC(177)*/

if (IsPredefined(StringTable(_AVNodeName_Sym))) {
message(ERROR, "Collision with name of predefined function", 0, (&( _currn->_AT_pos)));

} else {
}
;
/*SPC(185)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_011(_TPPrule_011 _currn)
#else
void _VS1rule_011(_currn )
_TPPrule_011 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_currn->_ATval=_AVTreeNum_val;
/*SPC(27)*/
_currn->_ATtreenonum_post=ADD(_currn->_ATtreenonum_pre, 
((EQ(_currn->_ATval, NEG(1))
) ? (1
) : (0))
);
/*SPC(38)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS2rule_011(_TPPrule_011 _currn)
#else
void _VS2rule_011(_currn )
_TPPrule_011 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);
_currn->_ATnodetype=_AVTreeType_nodetype;
/*SPC(71)*/
_currn->_ATtreenum=
((EQ(_currn->_ATval, NEG(1))
) ? (_currn->_ATtreenonum_pre
) : (_currn->_ATval))
;
/*SPC(37)*/
_currn->_ATisoptional=(* _IG_incl1);
/*SPC(84)*/
_currn->_ATKey=NewKey();
/*SPC(5)*/
_AVSubTree_print_optional_condition=
((OR(_currn->_ATisoptional, NE(_currn->_ATnodetype, NODE))
) ? (PTGNULL
) : (PTGprint_optional_condition(_currn->_ATtreenum)))
;
/*SPC(434)*/
ResetIndex(_currn->_ATKey, _currn->_ATtreenum);
ResetType(_currn->_ATKey, _currn->_ATnodetype);
ResetKind(_currn->_ATKey, INSPOINT);
ResetOptional(_currn->_ATKey, _currn->_ATisoptional);
;
/*SPC(89)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_011(_TPPrule_011 _currn)
#else
void _VS3rule_011(_currn )
_TPPrule_011 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_currn->_ATcomponentindex_post=
(StoreKeyInArray((* _IG_incl2), _AVSubTreecomponentindex_pre, _currn->_ATKey), ADD(_AVSubTreecomponentindex_pre, 1))
;
/*SPC(126)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS4rule_011(_TPPrule_011 _currn)
#else
void _VS4rule_011(_currn )
_TPPrule_011 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVFctCallinsertion_points_post=SetNodeArray(_AVFctCallinsertion_points_post, (&( _currn->_AT_pos)), SUB(_currn->_ATtreenum, 1), _currn->_ATKey);
/*SPC(239)*/
_AVSubTree_empty_condition_check=
((OR(_currn->_ATisoptional, NE(_currn->_ATnodetype, NODE))
) ? (PTGNULL
) : (PTGcheck_empty_argument(_currn->_ATtreenum)))
;
/*SPC(368)*/
_AVSubTree_optional_empty_condition_check=
((OR(NOT(_currn->_ATisoptional), NE(_currn->_ATnodetype, NODE))
) ? (PTGNULL
) : (PTGcheck_empty_argument(_currn->_ATtreenum)))
;
/*SPC(373)*/
_AVSubTree_function_type=PTGfunction_type(GetTypeof(_currn->_ATnodetype));
/*SPC(476)*/
_AVSubTree_output_possibly_empty=EQ(_currn->_ATnodetype, NODE);
/*SPC(354)*/
_AVSubTree_print_code=
((EQ(_currn->_ATnodetype, NODE)
) ? (PTGprint_invocation(_currn->_ATtreenum)
) : (PTGprint_macro_call(GetMacronameof(_currn->_ATnodetype), _currn->_ATtreenum)))
;
/*SPC(420)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_012(_TPPrule_012 _currn)
#else
void _VS1rule_012(_currn )
_TPPrule_012 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_AVTreeType_nodetype=_AVType_nodetype;
/*SPC(63)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_013(_TPPrule_013 _currn)
#else
void _VS1rule_013(_currn )
_TPPrule_013 _currn;

#endif
{
int* _IL_incl6;
KeyArray* _IL_incl2;

_VisitVarDecl()
_VisitEntry();
_IL_incl6=_IG_incl6;_IG_incl6= &(_currn->_ATmay_use_pointer);
_IL_incl2=_IG_incl2;_IG_incl2= &(_currn->_ATkeyarray);
_currn->_ATmay_use_pointer=1;
/*SPC(156)*/
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);
_AVSubTreecomponentindex_pre=0;
/*SPC(122)*/
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_AVFctCall_components=_AVSubTrees__const10;
/*SPC(118)*/
_currn->_ATkeyarray=NewKeyArray(_AVFctCall_components);
/*SPC(120)*/
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);

if (NE(_AVFctCall_components, _AVSubTreecomponentindex_pre)) {
message(DEADLY, "Component Count mismatch", 133, (&( _currn->_AT_pos)));

} else {
}
;
/*SPC(133)*/
_AVFctCalltreenonum_post=_currn->_desc2->_ATtreenonum_post;
/*SPC(0)*/
_currn->_ATFctKey=_AVFctName_FctKey;
/*SPC(194)*/
_currn->_ATisoptional=(* _IG_incl1);
/*SPC(84)*/
_currn->_ATKey=NewKey();
/*SPC(5)*/
ResetFunctionSym(_currn->_ATKey, _currn->_desc1->_ATSym);
ResetArguments(_currn->_ATKey, _currn->_ATkeyarray);
ResetKind(_currn->_ATKey, FCTCALL);
ResetOptional(_currn->_ATKey, _currn->_ATisoptional);
;
/*SPC(106)*/
SetArguments(_currn->_ATFctKey, _currn->_ATkeyarray, GetArguments(_currn->_ATFctKey, NoKeyArray));
/*SPC(195)*/
_IG_incl6=_IL_incl6;
_IG_incl2=_IL_incl2;

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS2rule_013(_TPPrule_013 _currn)
#else
void _VS2rule_013(_currn )
_TPPrule_013 _currn;

#endif
{
int* _IL_incl6;
KeyArray* _IL_incl2;

_VisitVarDecl()
_VisitEntry();
_IL_incl6=_IG_incl6;_IG_incl6= &(_currn->_ATmay_use_pointer);
_IL_incl2=_IG_incl2;_IG_incl2= &(_currn->_ATkeyarray);
_currn->_AT_const19=_currn->_desc2->_AT_const19;
/*SPC(663)*/
OrInconsistentUse(_currn->_ATFctKey, NOT(CompareArguments(_currn->_ATkeyarray, GetArguments(_currn->_ATFctKey, NoKeyArray))));
/*SPC(208)*/
_IG_incl6=_IL_incl6;
_IG_incl2=_IL_incl2;

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_013(_TPPrule_013 _currn)
#else
void _VS3rule_013(_currn )
_TPPrule_013 _currn;

#endif
{
int* _IL_incl6;
KeyArray* _IL_incl2;

_VisitVarDecl()
_VisitEntry();
_IL_incl6=_IG_incl6;_IG_incl6= &(_currn->_ATmay_use_pointer);
_IL_incl2=_IG_incl2;_IG_incl2= &(_currn->_ATkeyarray);

if (GetInconsistentUse(_currn->_ATFctKey, 0)) {
message(ERROR, "function-name used inconsistently", 0, (&( _currn->_AT_pos)));

} else {
}
;
/*SPC(216)*/
(*(_CALL_VS_((NODEPTR )) (VS3MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);
_AVFctCall__const16=_AVSubTrees__const16;
/*SPC(663)*/
_AVFctCall__const18=_AVSubTrees__const18;
/*SPC(663)*/
_AVFctCall__const25=_AVSubTrees__const25;
/*SPC(663)*/
_AVFctCall__const26=_AVSubTrees__const26;
/*SPC(663)*/
_AVFctCall__const27=_AVSubTrees__const27;
/*SPC(663)*/
_AVFctCall__const28=_AVSubTrees__const28;
/*SPC(663)*/
_AVSubTreecomponentindex_pre=
(StoreKeyInArray((* _IL_incl2), _AVSubTreecomponentindex_pre, _currn->_ATKey), ADD(_AVSubTreecomponentindex_pre, 1))
;
/*SPC(126)*/
_AVFctCall_function_type=_AVSubTrees__const15;
/*SPC(465)*/
_AVFctCall_print_code=PTGprint_function_call(StringTable(_currn->_desc1->_ATSym), _AVSubTrees__const14);
/*SPC(426)*/
_AVFctCall_output_possibly_empty=_currn->_ATisoptional;
/*SPC(351)*/
_AVFctCall_function_call_prototype=
(SetPrototypeComputed(_currn->_ATFctKey, 0, 1), 
((GetPrototypeComputed(_currn->_ATFctKey, 0)
) ? (PTGNULL
) : (PTGfunction_call_prototype(StringTable(_currn->_desc1->_ATSym), _AVFctCall_function_type)))
)
;
/*SPC(467)*/
_IG_incl6=_IL_incl6;
_IG_incl2=_IL_incl2;

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_014(_TPPrule_014 _currn)
#else
void _VS1rule_014(_currn )
_TPPrule_014 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_currn->_desc2->_ATtreenonum_pre=_currn->_desc1->_ATtreenonum_post;
/*SPC(0)*/
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);
_AVSubTrees__const10=ADD(_AVSubTrees__const10, ARGTOONE(_currn->_desc2->_ATKey));
/*SPC(667)*/
_currn->_ATtreenonum_post=_currn->_desc2->_ATtreenonum_post;
/*SPC(0)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS2rule_014(_TPPrule_014 _currn)
#else
void _VS2rule_014(_currn )
_TPPrule_014 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(*(_CALL_VS_((NODEPTR )) (VS3MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);
_currn->_AT_const19=MyMAX(_currn->_desc1->_AT_const19, IDENTICAL(_currn->_desc2->_ATtreenum));
/*SPC(667)*/
_AVSubTreecomponentindex_pre=_currn->_desc2->_ATcomponentindex_post;
/*SPC(0)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_014(_TPPrule_014 _currn)
#else
void _VS3rule_014(_currn )
_TPPrule_014 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR )) (VS3MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(*(_CALL_VS_((NODEPTR )) (VS4MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);
_AVSubTrees__const14=PTGSeq(_AVSubTrees__const14, PTGprint_function_argument(_currn->_desc2->_ATtreenum));
/*SPC(667)*/
_AVSubTrees__const15=PTGSeq(_AVSubTrees__const15, IDENTICAL(_AVSubTree_function_type));
/*SPC(667)*/
_AVSubTrees__const16=ADD(_AVSubTrees__const16, ARGTOONE(_currn->_desc2->_ATtreenum));
/*SPC(667)*/
_AVSubTrees__const18=ADD(_AVSubTrees__const18, ARGTOONE(_currn->_desc2->_ATKey));
/*SPC(667)*/
_AVSubTrees__const25=AND(_AVSubTrees__const25, IDENTICAL(_AVSubTree_output_possibly_empty));
/*SPC(667)*/
_AVSubTrees__const26=PTGAndSeq(_AVSubTrees__const26, IDENTICAL(_AVSubTree_empty_condition_check));
/*SPC(667)*/
_AVSubTrees__const27=PTGAndSeq(_AVSubTrees__const27, IDENTICAL(_AVSubTree_optional_empty_condition_check));
/*SPC(667)*/
_AVSubTrees__const28=OR(_AVSubTrees__const28, IDENTICAL(_currn->_desc2->_ATisoptional));
/*SPC(667)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_015(_TPPrule_015 _currn)
#else
void _VS1rule_015(_currn )
_TPPrule_015 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVSubTrees__const10=ZERO();
/*SPC(671)*/
_currn->_ATtreenonum_post=_AVFctCalltreenonum_post;
/*SPC(0)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS2rule_015(_TPPrule_015 _currn)
#else
void _VS2rule_015(_currn )
_TPPrule_015 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_currn->_AT_const19=ZERO();
/*SPC(671)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_015(_TPPrule_015 _currn)
#else
void _VS3rule_015(_currn )
_TPPrule_015 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVSubTrees__const14=PTGNull();
/*SPC(671)*/
_AVSubTrees__const15=PTGNull();
/*SPC(671)*/
_AVSubTrees__const16=ZERO();
/*SPC(671)*/
_AVSubTrees__const18=ZERO();
/*SPC(671)*/
_AVSubTrees__const25=ONE();
/*SPC(671)*/
_AVSubTrees__const26=PTGNull();
/*SPC(671)*/
_AVSubTrees__const27=PTGNull();
/*SPC(671)*/
_AVSubTrees__const28=ZERO();
/*SPC(671)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_016(_TPPrule_016 _currn)
#else
void _VS1rule_016(_currn )
_TPPrule_016 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVFctName_FctBind=BindIdn((* _IG_incl5), _currn->_ATSym);
/*SPC(560)*/
_AVFctName_FctKey=KeyOf(_AVFctName_FctBind);
/*SPC(562)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_017(_TPPrule_017 _currn)
#else
void _VS1rule_017(_currn )
_TPPrule_017 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_currn->_ATisoptional=(* _IG_incl1);
/*SPC(84)*/
_currn->_ATKey=NewKey();
/*SPC(5)*/
ResetString(_currn->_ATKey, StringTable(_currn->_ATTERM_1));
ResetKind(_currn->_ATKey, FIXEDSTRING);
ResetOptional(_currn->_ATKey, _currn->_ATisoptional);
;
/*SPC(96)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS2rule_017(_TPPrule_017 _currn)
#else
void _VS2rule_017(_currn )
_TPPrule_017 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVSubTreecomponentindex_pre=
(StoreKeyInArray((* _IG_incl2), _AVSubTreecomponentindex_pre, _currn->_ATKey), ADD(_AVSubTreecomponentindex_pre, 1))
;
/*SPC(126)*/
_AVPrintString_print_code=PTGprint_string(StringTable(_currn->_ATTERM_1));
/*SPC(417)*/
_AVPrintString_output_possibly_empty=_currn->_ATisoptional;
/*SPC(351)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_1(_TPPrule_1 _currn)
#else
void _VS1rule_1(_currn )
_TPPrule_1 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVType_nodetype=INTEGER;
/*SPC(45)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_2(_TPPrule_2 _currn)
#else
void _VS1rule_2(_currn )
_TPPrule_2 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVType_nodetype=STRING;
/*SPC(47)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_3(_TPPrule_3 _currn)
#else
void _VS1rule_3(_currn )
_TPPrule_3 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVType_nodetype=SOMEPTR;
/*SPC(49)*/

if (NOT((* _IG_incl6))) {
message(ERROR, "Use of 'pointer' not allowed here.", 0, (&( _currn->_AT_pos)));

} else {
}
;
/*SPC(160)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_4(_TPPrule_4 _currn)
#else
void _VS1rule_4(_currn )
_TPPrule_4 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVType_nodetype=LONG;
/*SPC(51)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_5(_TPPrule_5 _currn)
#else
void _VS1rule_5(_currn )
_TPPrule_5 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVType_nodetype=SHORT;
/*SPC(53)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_6(_TPPrule_6 _currn)
#else
void _VS1rule_6(_currn )
_TPPrule_6 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVType_nodetype=CHAR;
/*SPC(55)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_7(_TPPrule_7 _currn)
#else
void _VS1rule_7(_currn )
_TPPrule_7 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVType_nodetype=FLOAT;
/*SPC(57)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_8(_TPPrule_8 _currn)
#else
void _VS1rule_8(_currn )
_TPPrule_8 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVType_nodetype=DOUBLE;
/*SPC(59)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_9(_TPPrule_9 _currn)
#else
void _VS1rule_9(_currn )
_TPPrule_9 _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVTreeType_nodetype=NODE;
/*SPC(67)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1rule_10(_TPPrule_10 _currn)
#else
void _VS1rule_10(_currn )
_TPPrule_10 _currn;

#endif
{
int* _IL_incl1;
PTGNode _AS2_const4;
PTGNode _AS2_const6;
int _AS2_const10;
int _AS2_const16;
int _AS2_const18;
int _AS2_const19;
int _AS2_const25;
PTGNode _AS2_const26;
PTGNode _AS2_const27;
int _AS2_const28;
PTGNode _AS2_const29;
PTGNode _AS2_const30;

_VisitVarDecl()
_VisitEntry();
_IL_incl1=_IG_incl1;_IG_incl1= &(_currn->_ATisoptional);
_AVFctCalltreenonum_post=1;
/*SPC(32)*/
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);
_IG_incl1=_IL_incl1;

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS2rule_10(_TPPrule_10 _currn)
#else
void _VS2rule_10(_currn )
_TPPrule_10 _currn;

#endif
{
int* _IL_incl1;
PTGNode _AS2_const4;
PTGNode _AS2_const6;
int _AS2_const10;
int _AS2_const16;
int _AS2_const18;
int _AS2_const19;
int _AS2_const25;
PTGNode _AS2_const26;
PTGNode _AS2_const27;
int _AS2_const28;
PTGNode _AS2_const29;
PTGNode _AS2_const30;

_VisitVarDecl()
_VisitEntry();
_IL_incl1=_IG_incl1;_IG_incl1= &(_currn->_ATisoptional);
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);
_IG_incl1=_IL_incl1;

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS3rule_10(_TPPrule_10 _currn)
#else
void _VS3rule_10(_currn )
_TPPrule_10 _currn;

#endif
{
int* _IL_incl6;
KeyArray* _IL_incl2;
int* _IL_incl1;
PTGNode* _IL_incl0;
PTGNode _AS2_const4;
PTGNode _AS2_const6;
int _AS2_const10;
int _AS2_const16;
int _AS2_const18;
int _AS2_const19;
int _AS2_const25;
PTGNode _AS2_const26;
PTGNode _AS2_const27;
int _AS2_const28;
PTGNode _AS2_const29;
PTGNode _AS2_const30;

_VisitVarDecl()
_VisitEntry();
_IL_incl6=_IG_incl6;_IG_incl6= &(_currn->_ATmay_use_pointer);
_IL_incl2=_IG_incl2;_IG_incl2= &(_currn->_ATkeyarray);
_IL_incl1=_IG_incl1;_IG_incl1= &(_currn->_ATisoptional);
_IL_incl0=_IG_incl0;_IG_incl0= &(_currn->_ATprint_optional_condition);
_currn->_ATmay_use_pointer=0;
/*SPC(152)*/
(*(_CALL_VS_((NODEPTR ,PTGNode*,int*,int*)) (VS3MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2,(&( _AS2_const30)),(&( _AS2_const19)),(&( _AS2_const10)));
_AVSubTreecomponentindex_pre=0;
/*SPC(122)*/
_AVFctCallinsertion_points_post=NewNodeArray(_AS2_const19);
/*SPC(233)*/
(*(_CALL_VS_((NODEPTR )) (VS2MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1);
_currn->_ATprint_optional_condition=_AS2_const30;
/*SPC(441)*/
_AVRule_components=_AS2_const10;
/*SPC(118)*/
_currn->_ATkeyarray=NewKeyArray(_AVRule_components);
/*SPC(120)*/
(*(_CALL_VS_((NODEPTR ,PTGNode*,PTGNode*,int*,PTGNode*,PTGNode*,int*,int*,int*,int*,int*,PTGNode*,PTGNode*)) (VS4MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2,(&( _AS2_const30)),(&( _AS2_const29)),(&( _AS2_const28)),(&( _AS2_const27)),(&( _AS2_const26)),(&( _AS2_const25)),(&( _AS2_const19)),(&( _AS2_const18)),(&( _AS2_const16)),(&( _AS2_const10)),(&( _AS2_const6)),(&( _AS2_const4)));
_currn->_desc3 = (_TSPInsertions)GetNodeTree(_AVFctCallinsertion_points_post);
/*SPC(248)*/
_AVFctCalltreenonum_post=_currn->_desc2->_ATtreenonum_post;
/*SPC(0)*/
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc3->_prod])))((NODEPTR) _currn->_desc3);

if (NE(_AVRule_components, _AVSubTreecomponentindex_pre)) {
message(DEADLY, "Component Count mismatch", 133, (&( _currn->_AT_pos)));

} else {
}
;
/*SPC(133)*/

if (NOT(OR(EQ(_AVFctCalltreenonum_post, 1), EQ(_AVFctCalltreenonum_post, ADD(_AS2_const16, 1))))) {
message(WARNING, "Bad style: Don't mix numbered and unnumbered $", 0, (&( _currn->_AT_pos)));

} else {
}
;
/*SPC(143)*/
_AVRule__const4=_AS2_const4;
/*SPC(247)*/
_AVRule_pattern=_currn->_ATkeyarray;
/*SPC(138)*/
_AVRule_firstdef_sym=CheckMultiplePatterns((&( _currn->_AT_pos)), _AVNodeName_Sym, _AVRule_pattern);
/*SPC(171)*/
_AVRule_isempty=EQ(_AS2_const18, 0);
/*SPC(181)*/
_AVRule_pattern_name=StringTable(_AVNodeName_Sym);
/*SPC(263)*/
_AVRule_structure=PTGstructure(_AVRule_pattern_name, _AVInsertions__const20);
/*SPC(276)*/
_AVRule_comma_type=_AVInsertions__const21;
/*SPC(298)*/
_AVRule_comma_arguments=_AVInsertions__const22;
/*SPC(305)*/
_AVRule_semicolon_typenames=_AVInsertions__const23;
/*SPC(308)*/
_AVRule_assignments=_AVInsertions__const24;
/*SPC(311)*/
_AVRule_output_possibly_empty=_AS2_const25;
/*SPC(359)*/
_AVRule_empty_condition_check=_AS2_const26;
/*SPC(381)*/
_AVRule_optional_empty_condition_check=_AS2_const27;
/*SPC(384)*/
_AVRule_check_empty_arguments=PTGcheck_empty_arguments(
((_AVRule_output_possibly_empty
) ? (
((NE(_AVRule_empty_condition_check, PTGNULL)
) ? (_AVRule_empty_condition_check
) : (_AVRule_optional_empty_condition_check))

) : (PTGNULL))
);
/*SPC(391)*/
_AVRule_print_function=PTGprint_function(_AVRule_pattern_name, _AS2_const29);
/*SPC(408)*/
_AVRule_comma_typenames=
((EQ(_AVRule_comma_type, PTGNULL)
) ? (PTGvoid()
) : (_AVRule_comma_type))
;
/*SPC(301)*/
_AVRule_node_definition=
((EQ(_AVRule_assignments, PTGNULL)
) ? (PTGstatic_node_definition(_AVRule_pattern_name, _AVRule_comma_typenames, _AVRule_comma_arguments, _AVRule_semicolon_typenames, _AVRule_check_empty_arguments)
) : (PTGnode_definition(_AVRule_pattern_name, _AVRule_comma_typenames, _AVRule_comma_arguments, _AVRule_semicolon_typenames, _AVRule_assignments, _AVRule_check_empty_arguments)))
;
/*SPC(314)*/
_AVRule_node_prototype=
((_AVRule_isempty
) ? (PTGrefer_ptgnull(_AVRule_pattern_name)
) : (
((EQ(_AVRule_firstdef_sym, 0)
) ? (PTGnode_prototype(_AVRule_pattern_name, _AVRule_comma_typenames)
) : (
((EQ(_AVRule_firstdef_sym, _AVNodeName_Sym)
) ? (PTGNULL
) : (PTGrefer_other_node(_AVRule_pattern_name, StringTable(_AVRule_firstdef_sym))))
))
))
;
/*SPC(334)*/
_AVRule_node_implementation=
((_AVRule_isempty
) ? (PTGNULL
) : (
((EQ(_AVRule_firstdef_sym, 0)
) ? (PTGnode_implementation(_AVRule_pattern_name, _AVRule_structure, _AVRule_print_function, _AVRule_node_definition)
) : (
((EQ(_AVRule_firstdef_sym, _AVNodeName_Sym)
) ? (PTGNULL
) : (PTGnode_other(_AVRule_pattern_name, StringTable(_AVRule_firstdef_sym))))
))
))
;
/*SPC(482)*/

if (AND(_AS2_const28, EQ(_AVRule_empty_condition_check, PTGNULL))) {
message(WARNING, "braces ignored", 0, (&( _currn->_AT_pos)));

} else {
}
;
/*SPC(399)*/
Check_Types((&( _currn->_AT_pos)), _AVRule_pattern, _AVRule_pattern);
/*SPC(165)*/
_IG_incl6=_IL_incl6;
_IG_incl2=_IL_incl2;
_IG_incl1=_IL_incl1;
_IG_incl0=_IL_incl0;

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1LST_Targtypetargtypes(_TPPLST_Targtypetargtypes _currn)
#else
void _VS1LST_Targtypetargtypes(_currn )
_TPPLST_Targtypetargtypes _currn;

#endif
{
PTGNode _AS1structure_component;
PTGNode _AS1comma_typename;
PTGNode _AS1comma_argument;
PTGNode _AS1semicolon_typename;
PTGNode _AS1assignment;

_VisitVarDecl()
_VisitEntry();
(*(_CALL_VS_((NODEPTR ,PTGNode*,PTGNode*,PTGNode*,PTGNode*,PTGNode*)) (VS1MAP[_currn->_desc1->_prod])))((NODEPTR) _currn->_desc1,(&( _AS1assignment)),(&( _AS1semicolon_typename)),(&( _AS1comma_argument)),(&( _AS1comma_typename)),(&( _AS1structure_component)));
(*(_CALL_VS_((NODEPTR )) (VS1MAP[_currn->_desc2->_prod])))((NODEPTR) _currn->_desc2);
_AVLST_Insertions__const20=PTGSeq(IDENTICAL(_AS1structure_component), _AVLST_Insertions__const20);
/*SPC(227)*/
_AVLST_Insertions__const21=PTGCommaSeq(IDENTICAL(_AS1comma_typename), _AVLST_Insertions__const21);
/*SPC(227)*/
_AVLST_Insertions__const22=PTGCommaSeq(IDENTICAL(_AS1comma_argument), _AVLST_Insertions__const22);
/*SPC(227)*/
_AVLST_Insertions__const23=PTGSeq(IDENTICAL(_AS1semicolon_typename), _AVLST_Insertions__const23);
/*SPC(227)*/
_AVLST_Insertions__const24=PTGSeq(IDENTICAL(_AS1assignment), _AVLST_Insertions__const24);
/*SPC(227)*/

_VisitExit();
}

#if defined(__STDC__) || defined(__cplusplus)
void _VS1LST_0targtypes(_TPPLST_0targtypes _currn)
#else
void _VS1LST_0targtypes(_currn )
_TPPLST_0targtypes _currn;

#endif
{

_VisitVarDecl()
_VisitEntry();
_AVLST_Insertions__const20=PTGNull();
/*SPC(227)*/
_AVLST_Insertions__const21=PTGNull();
/*SPC(227)*/
_AVLST_Insertions__const22=PTGNull();
/*SPC(227)*/
_AVLST_Insertions__const23=PTGNull();
/*SPC(227)*/
_AVLST_Insertions__const24=PTGNull();
/*SPC(227)*/

_VisitExit();
}


Generated by  Doxygen 1.6.0   Back to index