public class SourceSupplier extends Object
Constructor and Description |
---|
SourceSupplier(String fqn,
Set<ITypeManifold> tms,
Supplier<String> supplier) |
Modifier and Type | Method and Description |
---|---|
byte[] |
compile(String fqn) |
Set<IFile> |
getResourceFiles() |
String |
getSource()
Produce the source.
|
boolean |
isPrimary()
Is this source supplier the primary or core producer of the source? As opposed to a
supplementary or partial producer.
|
boolean |
isSelfCompile(String fqn) |
void |
parse(String fqn) |
public SourceSupplier(String fqn, Set<ITypeManifold> tms, Supplier<String> supplier)
fqn
- Qualified name of typetms
- The set of type manifolds responsible for producing the source. An
empty or null set implies no type manifolds are involved.supplier
- Supplier of the source code.public String getSource()
public boolean isPrimary()
public boolean isSelfCompile(String fqn)
public void parse(String fqn)
public byte[] compile(String fqn)
Copyright © 2024. All rights reserved.