예제 #1
0
 ArrayList New0()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TypedList listNode3 = new TypedList();
     TypedList listNode2 = (TypedList)nodeArrayList1[0];
     if ( listNode2 != null )
     {
     listNode3.AddAll(listNode2);
     }
     ADocument pdocumentNode1 = new ADocument (
       listNode3
     );
     nodeList.Add(pdocumentNode1);
     return nodeList;
 }
예제 #2
0
 internal Sexp_Cast(ADocument obj)
 {
     this.obj = obj;
 }
예제 #3
0
 public virtual void CaseADocument(ADocument node)
 {
     DefaultCase(node);
 }
예제 #4
0
 public virtual void OutADocument(ADocument node)
 {
     DefaultOut(node);
 }
예제 #5
0
 public virtual void InADocument(ADocument node)
 {
     DefaultIn(node);
 }
예제 #6
0
 public override void CaseADocument(ADocument node)
 {
     InADocument(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);
     }
     }
     OutADocument(node);
 }