2
0

31 lines
658 B
Java
Raw Normal View History

2014-09-04 16:35:44 +02:00
package de.dhbwstuttgart.syntaxtree;
import java.util.*;
2015-08-27 13:36:14 +02:00
import java.util.stream.Stream;
2014-09-04 16:35:44 +02:00
import de.dhbwstuttgart.core.MyCompiler;
2016-12-15 15:45:23 +01:00
import de.dhbwstuttgart.typecheck.JavaClassName;
2013-10-18 13:33:46 +02:00
2016-12-07 14:32:48 +01:00
public class SourceFile extends SyntaxTreeNode
2013-10-18 13:33:46 +02:00
{
2013-10-18 13:33:46 +02:00
private String pkgName;
2013-10-18 13:33:46 +02:00
public List<Class> KlassenVektor = new ArrayList<>();
2016-12-07 14:32:48 +01:00
private List<JavaClassName> imports;
2013-10-18 13:33:46 +02:00
/**
* Die SourceFile repräsntiert eine zu einem Syntaxbaum eingelesene Java-Datei.
* SourceFile stellt dabei den Wurzelknoten des Syntaxbaumes dar.
2013-10-18 13:33:46 +02:00
*/
2016-12-07 14:32:48 +01:00
public SourceFile(List<Class> classDefinitions) {
this.KlassenVektor = classDefinitions;
2014-09-16 11:31:15 +02:00
}
2015-08-27 13:36:14 +02:00
2013-10-18 13:33:46 +02:00
}
// ino.end