Skip to content
Snippets Groups Projects
Commit 093e6b73 authored by Philippe Suter's avatar Philippe Suter
Browse files

No commit message

No commit message
parent 83273586
No related branches found
No related tags found
No related merge requests found
package purescala
import purescala.Definitions._
abstract class Analyzer(reporter: Reporter) {
def analyze(program: Program)
}
package purescala package purescala
import purescala.Trees._
import purescala.Definitions._
object Extensions { object Extensions {
sealed abstract class Extension(reporter: Reporter)
abstract class Solver(reporter: Reporter) {
// Returns Some(true) if valid, Some(false) if invalid,
// None if unknown.
def solve(expression: Expr) : Option[Boolean]
}
abstract class Analyser(reporter: Reporter) {
// Does whatever the analysis should. Uses the reporter to
// signal results and/or errors.
def analyze(program: Program) : Unit
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment