Corpus

scala.meta.testkit.Corpus
See theCorpus companion object
case class Corpus(url: String, filter: String => Boolean)

A collection of Scala source files to run SyntaxAnalysis.

Value parameters

filter

Files that don't match the filter are excluded from the analysis. Here's the structure for url files:

          repos/
            project1/
              COMMIT // <- git commit hash of project1 snapshot
              URL    // <- Github project url
              src/main/...
              Code.scala
            project2/
            ...
            projectN/

In particular, each project directory must contain a COMMIT and URL file. These files are used to construct links to the source files on Github.

url

A zip file that matches the structure described below.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product