Пример #1
0
 ArrayList New1()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TypedList listNode3 = new TypedList();
     TTParenopen ttparenopenNode2 = (TTParenopen)nodeArrayList1[0];
     AListSexp psexpNode1 = new AListSexp (
       ttparenopenNode2,
       listNode3
     );
     nodeList.Add(psexpNode1);
     return nodeList;
 }
Пример #2
0
 ArrayList New2()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList3 = (ArrayList) Pop();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TypedList listNode4 = new TypedList();
     TTParenopen ttparenopenNode2 = (TTParenopen)nodeArrayList1[0];
     TypedList listNode3 = (TypedList)nodeArrayList2[0];
     if ( listNode3 != null )
     {
     listNode4.AddAll(listNode3);
     }
     AListSexp psexpNode1 = new AListSexp (
       ttparenopenNode2,
       listNode4
     );
     nodeList.Add(psexpNode1);
     return nodeList;
 }
Пример #3
0
 internal Sexp_Cast(AListSexp obj)
 {
     this.obj = obj;
 }
Пример #4
0
 public virtual void CaseAListSexp(AListSexp node)
 {
     DefaultCase(node);
 }
Пример #5
0
 public virtual void OutAListSexp(AListSexp node)
 {
     DefaultOut(node);
 }
Пример #6
0
 public virtual void InAListSexp(AListSexp node)
 {
     DefaultIn(node);
 }
Пример #7
0
 public override void CaseAListSexp(AListSexp node)
 {
     InAListSexp(node);
     {
     Object[] temp = new Object[node.GetSexp().Count];
     node.GetSexp().CopyTo(temp, 0);
     for(int i = temp.Length - 1; i >= 0; i--)
     {
         ((PSexp) temp[i]).Apply(this);
     }
     }
     if(node.GetTParenopen() != null)
     {
     node.GetTParenopen().Apply(this);
     }
     OutAListSexp(node);
 }