Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LARA
inox
Commits
093e6b73
Commit
093e6b73
authored
14 years ago
by
Philippe Suter
Browse files
Options
Downloads
Patches
Plain Diff
No commit message
No commit message
parent
83273586
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/purescala/Analyser.scala
+0
-7
0 additions, 7 deletions
src/purescala/Analyser.scala
src/purescala/Extensions.scala
+15
-0
15 additions, 0 deletions
src/purescala/Extensions.scala
with
15 additions
and
7 deletions
src/purescala/Analyser.scala
deleted
100644 → 0
+
0
−
7
View file @
83273586
package
purescala
import
purescala.Definitions._
abstract
class
Analyzer
(
reporter
:
Reporter
)
{
def
analyze
(
program
:
Program
)
}
This diff is collapsed.
Click to expand it.
src/purescala/Extensions.scala
+
15
−
0
View file @
093e6b73
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
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment