Package

com.fortysevendeg.exercises

compiler

Permalink

package compiler

Visibility
  1. Public
  2. All

Type Members

  1. case class Compiler() extends Product with Serializable

    Permalink
  2. class CompilerJava extends AnyRef

    Permalink
  3. class DocExtractionGlobal extends Global

    Permalink

    Scala compiler global needed for extracting doc comments.

    Scala compiler global needed for extracting doc comments. This uses the ScaladocSyntaxAnalyzer, which keeps DocDefs in the parsed AST.

    It would be ideal to do this as a compiler plugin. Unfortunately there doesn't seem to be a way to replace the syntax analyzer phase (named "parser") with a plugin.

  4. class SourceTextExtraction extends AnyRef

    Permalink
  5. case class TreeGen[U <: Universe](u: U = scala.reflect.runtime.universe) extends Product with Serializable

    Permalink

    This is responsible for generating exercise code.

    This is responsible for generating exercise code. It generates scala compiler trees, which can be evaluated or rendered to source code.

Value Members

  1. object Comments

    Permalink

    Facade for the different layers of comment processing.

  2. object DocExtractionGlobal

    Permalink
  3. object MethodBodyReader

    Permalink
  4. object SourceTextExtraction

    Permalink

    Utility to find doc exercise-worthy comments and source code blobs in a tree.

Ungrouped