Beispiel #1
0
 public override void CaseAPassExpr2(APassExpr2 node)
 {
     InAPassExpr2(node);
     if (node.GetOperand() != null)
     {
         node.GetOperand().Apply(this);
     }
     OutAPassExpr2(node);
 }
Beispiel #2
0
        ArrayList New15()
        {
            ArrayList  nodeList       = new ArrayList();
            ArrayList  nodeArrayList1 = (ArrayList)Pop();
            POperand   poperandNode2  = (POperand)nodeArrayList1[0];
            APassExpr2 pexpr2Node1    = new APassExpr2(
                poperandNode2
                );

            nodeList.Add(pexpr2Node1);
            return(nodeList);
        }
Beispiel #3
0
        //pass expr2
        public override void OutAPassExpr2(APassExpr2 node)
        {
            Definition expr4Def;

            //    check if decorated, if no decorate
            if (!_decoratedParseTree.TryGetValue(node.GetExpr4(), out expr4Def))
            {
            }
            else
            {
                _decoratedParseTree.Add(node, expr4Def);
            }
        }
Beispiel #4
0
 public virtual void OutAPassExpr2(APassExpr2 node)
 {
     DefaultOut(node);
 }
Beispiel #5
0
 public virtual void InAPassExpr2(APassExpr2 node)
 {
     DefaultIn(node);
 }
Beispiel #6
0
 public virtual void CaseAPassExpr2(APassExpr2 node)
 {
     DefaultCase(node);
 }