diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-02-02 15:46:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-02 15:46:39 +0100 |
commit | 3e65cff0caf4c671d3cf98da347792c85a4ac2de (patch) | |
tree | 415cfd9ac0601ceef6856e8873dcb384bb00abc3 /compiler/src/dotty/tools/dotc/core/Phases.scala | |
parent | fc031140ec00f2bfdc79456e1de9e15ae7df8d9a (diff) | |
parent | 6a2d1e0eb1005aa2e3567f256c6e259ede2f6ea7 (diff) | |
download | dotty-3e65cff0caf4c671d3cf98da347792c85a4ac2de.tar.gz dotty-3e65cff0caf4c671d3cf98da347792c85a4ac2de.tar.bz2 dotty-3e65cff0caf4c671d3cf98da347792c85a4ac2de.zip |
Merge pull request #1874 from dotty-staging/topic/dottydoc-markdown
[doctool] Add markdown support && Static site generation
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/Phases.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/Phases.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/Phases.scala b/compiler/src/dotty/tools/dotc/core/Phases.scala index d217afed8..44608296a 100644 --- a/compiler/src/dotty/tools/dotc/core/Phases.scala +++ b/compiler/src/dotty/tools/dotc/core/Phases.scala @@ -263,6 +263,13 @@ object Phases { trait Phase extends DotClass { + /** A name given to the `Phase` that can be used to debug the compiler. For + * instance, it is possible to print trees after a given phase using: + * + * ```bash + * $ ./bin/dotc -Xprint:<phaseNameHere> sourceFile.scala + * ``` + */ def phaseName: String /** List of names of phases that should precede this phase */ |