SchemaBuildState

The total state for building schemas in runtime.

The intention isn't to perfectly travers and handle all mutants in the worklist if the worklist is manipulated while the schema generation is running. It is just "good enough" to generate schemas for those mutants when it was started.

Members

Enums

State
enum State
Undocumented in source.

Functions

finalize
void finalize()

Consume all fragments or discard.

initFiles
void initFiles(FileId[] files)
Undocumented in source. Be warned that the author may not have intended to support it.
process
Optional!(SchemataBuilder.ET) process()
Undocumented in source. Be warned that the author may not have intended to support it.
setIntermediate
void setIntermediate()
Undocumented in source. Be warned that the author may not have intended to support it.
setMinMutants
void setMinMutants(long desiredValue)
Undocumented in source. Be warned that the author may not have intended to support it.
setReducedIntermediate
void setReducedIntermediate(long sizeDiv, long threshold)
Undocumented in source. Be warned that the author may not have intended to support it.
tick
void tick()

Step through the schema building.

updateFiles
size_t updateFiles(Set!MutationStatusId whiteList, SchemaFragmentV2[] delegate(FileId) @(safe) fragmentsFn, Nullable!Path delegate(FileId) @(safe) fnameFn, Mutation.Kind delegate(MutationStatusId) @(safe) kindFn)

Add all fragments from one of the files to process to those to be incorporated into future schemas.

Structs

ProcessFiles
struct ProcessFiles
Undocumented in source.

Variables

builder
SchemataBuilder builder;
Undocumented in source.
files
ProcessFiles files;
Undocumented in source.
minMutantsPerSchema
typeof(ConfigSchema.minMutantsPerSchema) minMutantsPerSchema;
Undocumented in source.
mutantsPerSchema
typeof(ConfigSchema.mutantsPerSchema) mutantsPerSchema;
Undocumented in source.
st
State st;
Undocumented in source.

Meta