예제 #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);
 }