EvalProgram evaluates a given program on the given facts, modifying the fact store in the process. Deprecated: use EvalStratifiedProgramWithStats instead.
(programInfo *analysis.ProgramInfo, store factstore.FactStore, options ...EvalOption)
| 136 | // EvalProgram evaluates a given program on the given facts, modifying the fact store in the process. |
| 137 | // Deprecated: use EvalStratifiedProgramWithStats instead. |
| 138 | func EvalProgram(programInfo *analysis.ProgramInfo, store factstore.FactStore, options ...EvalOption) error { |
| 139 | _, err := EvalProgramWithStats(programInfo, store, options...) |
| 140 | return err |
| 141 | } |
| 142 | |
| 143 | func newEvalOptions(options ...EvalOption) EvalOptions { |
| 144 | ops := EvalOptions{} |