Exemplo n.º 1
0
 public virtual void OutADocument(ADocument node)
 {
     DefaultOut(node);
 }
Exemplo n.º 2
0
 public virtual void CaseADocument(ADocument node)
 {
     DefaultCase(node);
 }
Exemplo n.º 3
0
 public override void CaseADocument(ADocument node)
 {
     InADocument(node);
     if(node.GetB() != null)
     {
     node.GetB().Apply(this);
     }
     if(node.GetDocumentinside() != null)
     {
     node.GetDocumentinside().Apply(this);
     }
     {
     Object[] temp = new Object[node.GetScopealteration().Count];
     node.GetScopealteration().CopyTo(temp, 0);
     for(int i = temp.Length - 1; i >= 0; i--)
     {
         ((PScopealteration) temp[i]).Apply(this);
     }
     }
     {
     Object[] temp = new Object[node.GetImport().Count];
     node.GetImport().CopyTo(temp, 0);
     for(int i = temp.Length - 1; i >= 0; i--)
     {
         ((PImport) temp[i]).Apply(this);
     }
     }
     if(node.GetA() != null)
     {
     node.GetA().Apply(this);
     }
     OutADocument(node);
 }
Exemplo n.º 4
0
 public virtual void InADocument(ADocument node)
 {
     DefaultIn(node);
 }
Exemplo n.º 5
0
 internal Import_Cast(ADocument obj)
 {
     this.obj = obj;
 }
Exemplo n.º 6
0
 internal Scopealteration_Cast(ADocument obj)
 {
     this.obj = obj;
 }
Exemplo n.º 7
0
 ArrayList New8()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList4 = (ArrayList) Pop();
     ArrayList nodeArrayList3 = (ArrayList) Pop();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TypedList listNode4 = new TypedList();
     TypedList listNode5 = new TypedList();
     TypedList listNode3 = (TypedList)nodeArrayList1[0];
     if ( listNode3 != null )
     {
     listNode4.AddAll(listNode3);
     }
     TypedList listNode8 = new TypedList();
     TypedList listNode10 = new TypedList();
     TypedList listNode7 = (TypedList)nodeArrayList2[0];
     if ( listNode7 != null )
     {
     listNode8.AddAll(listNode7);
     }
     TypedList listNode9 = (TypedList)nodeArrayList3[0];
     if ( listNode9 != null )
     {
     listNode10.AddAll(listNode9);
     }
     PDeclarefirstlist pdeclarefirstlistNode11 = (PDeclarefirstlist)nodeArrayList4[0];
     ABDocumentinside pdocumentinsideNode6 = new ABDocumentinside (
       listNode8,
       listNode10,
       pdeclarefirstlistNode11
     );
     ADocument pdocumentNode1 = new ADocument (
       null,
       listNode4,
       listNode5,
       pdocumentinsideNode6,
       null
     );
     nodeList.Add(pdocumentNode1);
     return nodeList;
 }
Exemplo n.º 8
0
 ArrayList New9()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList3 = (ArrayList) Pop();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TypedList listNode4 = new TypedList();
     TypedList listNode5 = new TypedList();
     TNewline tnewlineNode2 = (TNewline)nodeArrayList1[0];
     TypedList listNode3 = (TypedList)nodeArrayList2[0];
     if ( listNode3 != null )
     {
     listNode4.AddAll(listNode3);
     }
     PDeclarefirstlist pdeclarefirstlistNode7 = (PDeclarefirstlist)nodeArrayList3[0];
     AADocumentinside pdocumentinsideNode6 = new AADocumentinside (
       pdeclarefirstlistNode7
     );
     ADocument pdocumentNode1 = new ADocument (
       tnewlineNode2,
       listNode4,
       listNode5,
       pdocumentinsideNode6,
       null
     );
     nodeList.Add(pdocumentNode1);
     return nodeList;
 }
Exemplo n.º 9
0
 ArrayList New47()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList7 = (ArrayList) Pop();
     ArrayList nodeArrayList6 = (ArrayList) Pop();
     ArrayList nodeArrayList5 = (ArrayList) Pop();
     ArrayList nodeArrayList4 = (ArrayList) Pop();
     ArrayList nodeArrayList3 = (ArrayList) Pop();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TypedList listNode4 = new TypedList();
     TypedList listNode6 = new TypedList();
     TNewline tnewlineNode2 = (TNewline)nodeArrayList1[0];
     TypedList listNode3 = (TypedList)nodeArrayList2[0];
     if ( listNode3 != null )
     {
     listNode4.AddAll(listNode3);
     }
     TypedList listNode5 = (TypedList)nodeArrayList3[0];
     if ( listNode5 != null )
     {
     listNode6.AddAll(listNode5);
     }
     TypedList listNode9 = new TypedList();
     TypedList listNode11 = new TypedList();
     TypedList listNode8 = (TypedList)nodeArrayList4[0];
     if ( listNode8 != null )
     {
     listNode9.AddAll(listNode8);
     }
     TypedList listNode10 = (TypedList)nodeArrayList5[0];
     if ( listNode10 != null )
     {
     listNode11.AddAll(listNode10);
     }
     PDeclarefirstlist pdeclarefirstlistNode12 = (PDeclarefirstlist)nodeArrayList6[0];
     ABDocumentinside pdocumentinsideNode7 = new ABDocumentinside (
       listNode9,
       listNode11,
       pdeclarefirstlistNode12
     );
     TNewline tnewlineNode13 = (TNewline)nodeArrayList7[0];
     ADocument pdocumentNode1 = new ADocument (
       tnewlineNode2,
       listNode4,
       listNode6,
       pdocumentinsideNode7,
       tnewlineNode13
     );
     nodeList.Add(pdocumentNode1);
     return nodeList;
 }
Exemplo n.º 10
0
 ArrayList New5()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList4 = (ArrayList) Pop();
     ArrayList nodeArrayList3 = (ArrayList) Pop();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TypedList listNode3 = new TypedList();
     TypedList listNode4 = new TypedList();
     TNewline tnewlineNode2 = (TNewline)nodeArrayList1[0];
     TypedList listNode7 = new TypedList();
     TypedList listNode9 = new TypedList();
     TypedList listNode6 = (TypedList)nodeArrayList2[0];
     if ( listNode6 != null )
     {
     listNode7.AddAll(listNode6);
     }
     TypedList listNode8 = (TypedList)nodeArrayList3[0];
     if ( listNode8 != null )
     {
     listNode9.AddAll(listNode8);
     }
     PDeclarefirstlist pdeclarefirstlistNode10 = (PDeclarefirstlist)nodeArrayList4[0];
     ABDocumentinside pdocumentinsideNode5 = new ABDocumentinside (
       listNode7,
       listNode9,
       pdeclarefirstlistNode10
     );
     ADocument pdocumentNode1 = new ADocument (
       tnewlineNode2,
       listNode3,
       listNode4,
       pdocumentinsideNode5,
       null
     );
     nodeList.Add(pdocumentNode1);
     return nodeList;
 }
Exemplo n.º 11
0
 ArrayList New42()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList4 = (ArrayList) Pop();
     ArrayList nodeArrayList3 = (ArrayList) Pop();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TypedList listNode4 = new TypedList();
     TypedList listNode6 = new TypedList();
     TypedList listNode3 = (TypedList)nodeArrayList1[0];
     if ( listNode3 != null )
     {
     listNode4.AddAll(listNode3);
     }
     TypedList listNode5 = (TypedList)nodeArrayList2[0];
     if ( listNode5 != null )
     {
     listNode6.AddAll(listNode5);
     }
     PDeclarefirstlist pdeclarefirstlistNode8 = (PDeclarefirstlist)nodeArrayList3[0];
     AADocumentinside pdocumentinsideNode7 = new AADocumentinside (
       pdeclarefirstlistNode8
     );
     TNewline tnewlineNode9 = (TNewline)nodeArrayList4[0];
     ADocument pdocumentNode1 = new ADocument (
       null,
       listNode4,
       listNode6,
       pdocumentinsideNode7,
       tnewlineNode9
     );
     nodeList.Add(pdocumentNode1);
     return nodeList;
 }
Exemplo n.º 12
0
 ArrayList New41()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList6 = (ArrayList) Pop();
     ArrayList nodeArrayList5 = (ArrayList) Pop();
     ArrayList nodeArrayList4 = (ArrayList) Pop();
     ArrayList nodeArrayList3 = (ArrayList) Pop();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TypedList listNode3 = new TypedList();
     TypedList listNode5 = new TypedList();
     TNewline tnewlineNode2 = (TNewline)nodeArrayList1[0];
     TypedList listNode4 = (TypedList)nodeArrayList2[0];
     if ( listNode4 != null )
     {
     listNode5.AddAll(listNode4);
     }
     TypedList listNode8 = new TypedList();
     TypedList listNode10 = new TypedList();
     TypedList listNode7 = (TypedList)nodeArrayList3[0];
     if ( listNode7 != null )
     {
     listNode8.AddAll(listNode7);
     }
     TypedList listNode9 = (TypedList)nodeArrayList4[0];
     if ( listNode9 != null )
     {
     listNode10.AddAll(listNode9);
     }
     PDeclarefirstlist pdeclarefirstlistNode11 = (PDeclarefirstlist)nodeArrayList5[0];
     ABDocumentinside pdocumentinsideNode6 = new ABDocumentinside (
       listNode8,
       listNode10,
       pdeclarefirstlistNode11
     );
     TNewline tnewlineNode12 = (TNewline)nodeArrayList6[0];
     ADocument pdocumentNode1 = new ADocument (
       tnewlineNode2,
       listNode3,
       listNode5,
       pdocumentinsideNode6,
       tnewlineNode12
     );
     nodeList.Add(pdocumentNode1);
     return nodeList;
 }
Exemplo n.º 13
0
 ArrayList New3()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TypedList listNode3 = new TypedList();
     TypedList listNode4 = new TypedList();
     TNewline tnewlineNode2 = (TNewline)nodeArrayList1[0];
     PDeclarefirstlist pdeclarefirstlistNode6 = (PDeclarefirstlist)nodeArrayList2[0];
     AADocumentinside pdocumentinsideNode5 = new AADocumentinside (
       pdeclarefirstlistNode6
     );
     ADocument pdocumentNode1 = new ADocument (
       tnewlineNode2,
       listNode3,
       listNode4,
       pdocumentinsideNode5,
       null
     );
     nodeList.Add(pdocumentNode1);
     return nodeList;
 }
Exemplo n.º 14
0
 ArrayList New12()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TypedList listNode3 = new TypedList();
     TypedList listNode5 = new TypedList();
     TypedList listNode4 = (TypedList)nodeArrayList1[0];
     if ( listNode4 != null )
     {
     listNode5.AddAll(listNode4);
     }
     PDeclarefirstlist pdeclarefirstlistNode7 = (PDeclarefirstlist)nodeArrayList2[0];
     AADocumentinside pdocumentinsideNode6 = new AADocumentinside (
       pdeclarefirstlistNode7
     );
     ADocument pdocumentNode1 = new ADocument (
       null,
       listNode3,
       listNode5,
       pdocumentinsideNode6,
       null
     );
     nodeList.Add(pdocumentNode1);
     return nodeList;
 }
Exemplo n.º 15
0
 ArrayList New1()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TypedList listNode3 = new TypedList();
     TypedList listNode4 = new TypedList();
     TypedList listNode7 = new TypedList();
     TypedList listNode8 = new TypedList();
     TypedList listNode6 = (TypedList)nodeArrayList1[0];
     if ( listNode6 != null )
     {
     listNode7.AddAll(listNode6);
     }
     PDeclarefirstlist pdeclarefirstlistNode9 = (PDeclarefirstlist)nodeArrayList2[0];
     ABDocumentinside pdocumentinsideNode5 = new ABDocumentinside (
       listNode7,
       listNode8,
       pdeclarefirstlistNode9
     );
     ADocument pdocumentNode1 = new ADocument (
       null,
       listNode3,
       listNode4,
       pdocumentinsideNode5,
       null
     );
     nodeList.Add(pdocumentNode1);
     return nodeList;
 }