public virtual void OutAPointerMultiLvalue(APointerMultiLvalue node)
 {
     DefaultOut(node);
 }
示例#2
0
 internal Tokens_Cast(APointerMultiLvalue obj)
 {
     this.obj = obj;
 }
 public virtual void InAPointerMultiLvalue(APointerMultiLvalue node)
 {
     DefaultIn(node);
 }
 public override void CaseAPointerMultiLvalue(APointerMultiLvalue node)
 {
     InAPointerMultiLvalue(node);
     if (node.GetBase() != null)
     {
         node.GetBase().Apply(this);
     }
     {
         Object[] temp = new Object[node.GetTokens().Count];
         node.GetTokens().CopyTo(temp, 0);
         for (int i = temp.Length - 1; i >= 0; i--)
         {
             ((TStar)temp[i]).Apply(this);
         }
     }
     OutAPointerMultiLvalue(node);
 }
 public virtual void CaseAPointerMultiLvalue(APointerMultiLvalue node)
 {
     DefaultCase(node);
 }
示例#6
0
        public override void OutAPointerMultiLvalue(APointerMultiLvalue node)
        {
            ALvalueExp lvalueExp;
            APointerLvalue pointerLvalue = new APointerLvalue((TStar) node.GetTokens()[0], node.GetBase());

            while (node.GetTokens().Count > 0)
            {
                lvalueExp = new ALvalueExp(pointerLvalue);
                pointerLvalue = new APointerLvalue((TStar) node.GetTokens()[0], lvalueExp);
            }

            node.ReplaceBy(pointerLvalue);
            pointerLvalue.Apply(this);
        }
示例#7
0
 ArrayList New346()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList3 = (ArrayList) Pop();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TypedList listNode4 = new TypedList();
     TStar tstarNode2 = (TStar)nodeArrayList1[0];
     TypedList listNode3 = (TypedList)nodeArrayList2[0];
     if ( tstarNode2 != null )
     {
     listNode4.Add(tstarNode2);
     }
     if ( listNode3 != null )
     {
     listNode4.AddAll(listNode3);
     }
     PExp pexpNode5 = (PExp)nodeArrayList3[0];
     APointerMultiLvalue plvalueNode1 = new APointerMultiLvalue (
       listNode4,
       pexpNode5
     );
     nodeList.Add(plvalueNode1);
     return nodeList;
 }