1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00

🔥 the commented-out PythonTracer synonym.

This commit is contained in:
Rob Rix 2018-03-09 12:08:15 -05:00
parent 3cdbaecc93
commit c0315632ae

View File

@ -53,8 +53,6 @@ typecheckPythonFile path = runAnalysis @(CachingAnalysis Evaluating) @Python.Ter
tracePythonFile path = runAnalysis @(TracingAnalysis [] Evaluating) @Python.Term @PythonValue . evaluateModule . snd <$> parseFile pythonParser path tracePythonFile path = runAnalysis @(TracingAnalysis [] Evaluating) @Python.Term @PythonValue . evaluateModule . snd <$> parseFile pythonParser path
-- type PythonTracer = TracingAnalysis [] Evaluating Python.Term PythonValue '[DeadCode Python.Term, Tracer [] Python.Term PythonValue]
evaluateDeadTracePythonFile path = runAnalysis @(DeadCodeAnalysis (TracingAnalysis [] Evaluating)) @Python.Term @PythonValue . evaluateModule . snd <$> parseFile pythonParser path evaluateDeadTracePythonFile path = runAnalysis @(DeadCodeAnalysis (TracingAnalysis [] Evaluating)) @Python.Term @PythonValue . evaluateModule . snd <$> parseFile pythonParser path
evaluatePythonFile path = evaluate @PythonValue . snd <$> parseFile pythonParser path evaluatePythonFile path = evaluate @PythonValue . snd <$> parseFile pythonParser path