Пример #1
0
 public virtual void CaseAFunction(AFunction node)
 {
     DefaultCase(node);
 }
Пример #2
0
 public virtual void OutAFunction(AFunction node)
 {
     DefaultOut(node);
 }
Пример #3
0
 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);
 }
Пример #4
0
 public virtual void InAFunction(AFunction node)
 {
     DefaultIn(node);
 }
Пример #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;
 }