use of dyvilx.tools.compiler.ast.header.ISourceHeader in project Dyvil by Dyvil.
the class TypeAlias method ensureResolved.
// Phases
private void ensureResolved() {
if (this.resolved) {
return;
}
final MarkerList markers = this.enclosingHeader instanceof ISourceHeader ? ((ISourceHeader) this.enclosingHeader).getMarkers() : null;
this.resolveTypes(markers, this.enclosingHeader.getContext());
}
use of dyvilx.tools.compiler.ast.header.ISourceHeader in project Dyvil by Dyvil.
the class DyvilFileType method createUnit.
@Override
public ICompilationUnit createUnit(DyvilCompiler compiler, Package pack, File inputFile, File outputFile) {
final ISourceHeader header = this.headerSupplier.newHeader(compiler, pack, inputFile, outputFile);
if (header == null) {
return null;
}
pack.addHeader(header);
return header;
}
Aggregations