package de.dhbwstuttgart.strucTypes4.syntaxtree;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by sebastian on 07.04.17.
 */
public class SourceFile {

    private List<Class> classList = new ArrayList<>();


    public SourceFile(List<Class> classList) {
        this.classList = classList;
    }

    public List<Class> getClassList() {
        return classList;
    }

    public void setClassList(List<Class> classList) {
        this.classList = classList;
    }

    @Override
    public String toString() {
        String s2 = "";
        for (Class cl : classList) {
            s2 = s2.concat(cl.toString() + "\n");
        }


        return s2;
    }
}
