(pathset string, units []parse.SourceUnit, programInfo *analysis.ProgramInfo)
| 408 | } |
| 409 | |
| 410 | func (i *Interpreter) pushSourceFragment(pathset string, units []parse.SourceUnit, programInfo *analysis.ProgramInfo) { |
| 411 | i.src = append(i.src, pathset) |
| 412 | i.sourceFragments[pathset] = &sourceFragment{units, programInfo, i.simpleStore, i.temporalStore} |
| 413 | for _, decl := range programInfo.Decls { |
| 414 | i.knownPredicates[decl.DeclaredAtom.Predicate] = *decl |
| 415 | } |
| 416 | i.simpleStore = factstore.NewTeeingStore(i.simpleStore) |
| 417 | i.temporalStore = factstore.NewTeeingTemporalStore(i.temporalStore) |
| 418 | i.updateCombinedStore() |
| 419 | } |
| 420 | |
| 421 | func (i *Interpreter) evalProgram(programInfo *analysis.ProgramInfo) error { |
| 422 | stats, err := engine.EvalProgramWithStats(programInfo, i.store, engine.WithTemporalStore(i.temporalStore)) |
no test coverage detected