public virtual void OutAAndBinop(AAndBinop node)
 {
     DefaultOut(node);
 }
 public virtual void CaseAAndBinop(AAndBinop node)
 {
     DefaultCase(node);
 }
 public virtual void InAAndBinop(AAndBinop node)
 {
     DefaultIn(node);
 }
 public override void CaseAAndBinop(AAndBinop node)
 {
     InAAndBinop(node);
     if (node.GetToken() != null)
     {
         node.GetToken().Apply(this);
     }
     OutAAndBinop(node);
 }
 public override void CaseAAndBinop(AAndBinop node)
 {
     Write("&");
 }
示例#6
0
 ArrayList New497()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList3 = (ArrayList) Pop();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     PExp pexpNode2 = (PExp)nodeArrayList1[0];
     TAnd tandNode4 = (TAnd)nodeArrayList2[0];
     AAndBinop pbinopNode3 = new AAndBinop (
       tandNode4
     );
     PExp pexpNode5 = (PExp)nodeArrayList3[0];
     ABinopExp pexpNode1 = new ABinopExp (
       pexpNode2,
       pbinopNode3,
       pexpNode5
     );
     nodeList.Add(pexpNode1);
     return nodeList;
 }
示例#7
0
 ArrayList New49()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TAnd tandNode2 = (TAnd)nodeArrayList1[0];
     AAndBinop pbinopNode1 = new AAndBinop (
       tandNode2
     );
     nodeList.Add(pbinopNode1);
     return nodeList;
 }
 public override void CaseAAndBinop(AAndBinop node)
 {
     Value += " & ";
 }