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; }
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; }
internal Sexp_Cast(AListSexp obj) { this.obj = obj; }
public virtual void CaseAListSexp(AListSexp node) { DefaultCase(node); }
public virtual void OutAListSexp(AListSexp node) { DefaultOut(node); }
public virtual void InAListSexp(AListSexp node) { DefaultIn(node); }
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); }