public virtual void CaseAFunction(AFunction node)
 {
     DefaultCase(node);
 }
 public virtual void OutAFunction(AFunction node)
 {
     DefaultOut(node);
 }
 public override void CaseAFunction(AFunction node)
 {
     InAFunction(node);
     if(node.GetBlock() != null)
     {
     node.GetBlock().Apply(this);
     }
     if(node.GetType() != null)
     {
     node.GetType().Apply(this);
     }
     if(node.GetOperatorClosingParenthesis() != null)
     {
     node.GetOperatorClosingParenthesis().Apply(this);
     }
     if(node.GetOperatorOpeningParenthesis() != null)
     {
     node.GetOperatorOpeningParenthesis().Apply(this);
     }
     if(node.GetKeywordFunc() != null)
     {
     node.GetKeywordFunc().Apply(this);
     }
     OutAFunction(node);
 }
 public virtual void InAFunction(AFunction node)
 {
     DefaultIn(node);
 }
Exemple #5
0
 ArrayList New102()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList5 = (ArrayList) Pop();
     ArrayList nodeArrayList4 = (ArrayList) Pop();
     ArrayList nodeArrayList3 = (ArrayList) Pop();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TKeywordFunc tkeywordfuncNode2 = (TKeywordFunc)nodeArrayList1[0];
     TOperatorOpeningParenthesis toperatoropeningparenthesisNode3 = (TOperatorOpeningParenthesis)nodeArrayList2[0];
     TOperatorClosingParenthesis toperatorclosingparenthesisNode4 = (TOperatorClosingParenthesis)nodeArrayList3[0];
     PType ptypeNode5 = (PType)nodeArrayList4[0];
     PBlock pblockNode6 = (PBlock)nodeArrayList5[0];
     AFunction pfunctionNode1 = new AFunction (
       tkeywordfuncNode2,
       toperatoropeningparenthesisNode3,
       toperatorclosingparenthesisNode4,
       ptypeNode5,
       pblockNode6
     );
     nodeList.Add(pfunctionNode1);
     return nodeList;
 }