getList() public method

public getList ( ) : List
return List
Beispiel #1
0
 public override void VisitMatrixElement(MatrixVariableDeclaration element)
 {
     Console.Write("Matrix<" + element.getType()+">[");
     VisitElement(element.getRow());
     Console.Write("][");
     VisitElement(element.getColumn());
     Console.Write("] ");
     VisitElement(element.getVar());
     Console.Write(" = [");
     List<Element> elem = element.getList();
     for (int i = 0; i < elem.Count; i++)
     {
         VisitElement(elem[i]);
         if (elem.Count > 1 && i!= (elem.Count-1))
         {
             Console.Write(",");
         }
     }
     Console.Write("];\n");
 }