Пример #1
0
 public override void CaseAMultipleStmts(AMultipleStmts node)
 {
     InAMultipleStmts(node);
     if (node.GetStmt() != null)
     {
         node.GetStmt().Apply(this);
     }
     if (node.GetStmts() != null)
     {
         node.GetStmts().Apply(this);
     }
     OutAMultipleStmts(node);
 }
Пример #2
0
        ArrayList New1()
        {
            ArrayList      nodeList       = new ArrayList();
            ArrayList      nodeArrayList2 = (ArrayList)Pop();
            ArrayList      nodeArrayList1 = (ArrayList)Pop();
            PStmts         pstmtsNode2    = (PStmts)nodeArrayList1[0];
            PStmt          pstmtNode3     = (PStmt)nodeArrayList2[0];
            AMultipleStmts pstmtsNode1    = new AMultipleStmts(
                pstmtsNode2,
                pstmtNode3
                );

            nodeList.Add(pstmtsNode1);
            return(nodeList);
        }
Пример #3
0
 public virtual void OutAMultipleStmts(AMultipleStmts node)
 {
     DefaultOut(node);
 }
Пример #4
0
 public virtual void InAMultipleStmts(AMultipleStmts node)
 {
     DefaultIn(node);
 }
Пример #5
0
 public virtual void CaseAMultipleStmts(AMultipleStmts node)
 {
     DefaultCase(node);
 }