Package

scala.meta

testkit

Permalink

package testkit

Visibility
  1. Public
  2. All

Type Members

  1. case class AnyDiff(a: Any, b: Any) extends Exception with Product with Serializable

    Permalink

    Helper class to create textual diff between two objects

  2. case class Corpus(url: String, filter: (String) ⇒ Boolean) extends Product with Serializable

    Permalink

    A collection of Scala source files to run SyntaxAnalysis.

    A collection of Scala source files to run SyntaxAnalysis.

    url

    A zip file that matches the following structure: 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.

    filter

    Files that don't match the filter are excluded from the analysis.

  3. case class CorpusFile(filename: String, projectUrl: String, commit: String) extends Product with Serializable

    Permalink

    A Scala source file taken from some Github repo

    A Scala source file taken from some Github repo

    filename

    Path to the file relative to the "target/repos" root directory.

    projectUrl

    The url of the Github project containing this source file.

    commit

    The commit has at where this ScalaFile originates from.

  4. case class Observation[T](msg: String, line: Int, kind: T) extends Product with Serializable

    Permalink

    An observation during a SyntaxAnalysis.

    An observation during a SyntaxAnalysis.

    msg

    The message corresponding this individual observation. The message will be dislayed next to this entry.

    line

    The offending line number in the source file where the observation was made. Starts from line 0, which matches with scala.meta.Position.line.

    kind

    The category of this observation. Observations of the same category are grouped together in the markdown table. Good values are enumerations or sealed ADTs.

Value Members

  1. object Corpus extends Serializable

    Permalink
  2. object FileOps

    Permalink
  3. object Observation extends Serializable

    Permalink
  4. object Phase

    Permalink
  5. object StringFS

    Permalink
  6. object StructurallyEqual

    Permalink
  7. object SyntaxAnalysis

    Permalink

Ungrouped