Ejemplo n.º 1
0
        /// <summary>
        /// Создание тела модуля из коллекции утверждений
        /// Функции, переменные, структуры буду разделены
        /// </summary>
        public Body(StatementCollection statements, VariableCollection variables)
        {
            Functions = new FunctionCollection();
            Structures = new StructureCollection();
            Statements = new StatementCollection();
            Variables = new VariableCollection();

            this.AddStatements(statements);
            this.AddVariables(variables);
        }
Ejemplo n.º 2
0
 public Enumerator(StructureCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }