diff options
author | michelou <michelou@epfl.ch> | 2007-06-07 11:22:41 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-06-07 11:22:41 +0000 |
commit | 90fed9c4846f4549099e8c0c8ce2a7683004a92f (patch) | |
tree | 3fd0b40aefd4ea99e1cd077c4e2e7710fe641ba5 /src/compiler/scala/tools/nsc/plugins/PluginDescription.scala | |
parent | d1aed7012af7439181c4696fb33f5f4337b83684 (diff) | |
download | scala-90fed9c4846f4549099e8c0c8ce2a7683004a92f.tar.gz scala-90fed9c4846f4549099e8c0c8ce2a7683004a92f.tar.bz2 scala-90fed9c4846f4549099e8c0c8ce2a7683004a92f.zip |
updated deprecated &f, updated svn:keywords
Diffstat (limited to 'src/compiler/scala/tools/nsc/plugins/PluginDescription.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/plugins/PluginDescription.scala | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/compiler/scala/tools/nsc/plugins/PluginDescription.scala b/src/compiler/scala/tools/nsc/plugins/PluginDescription.scala index f7abda65aa..769b9a9ac4 100644 --- a/src/compiler/scala/tools/nsc/plugins/PluginDescription.scala +++ b/src/compiler/scala/tools/nsc/plugins/PluginDescription.scala @@ -1,7 +1,15 @@ +/* NSC -- new Scala compiler + * Copyright 2007-2008 LAMP/EPFL + * @author Lex Spoon + */ +// $Id$ + package scala.tools.nsc.plugins -import scala.xml.{Node,NodeSeq} + import java.io.File +import scala.xml.{Node,NodeSeq} + /** A description of a compiler plugin, suitable for serialization * to XML for inclusion in the plugin's .jar file. * @@ -9,18 +17,20 @@ import java.io.File * @version 1.0, 2007-5-21 */ abstract class PluginDescription { + /** A short name of the compiler, used to identify it in * various contexts. The phase defined by the plugin - * should have the same name. */ + * should have the same name. + */ val name: String - /** The name of the main class for the plugin */ val classname: String /** An XML representation of this description. It can be - * read back using PluginDescription.fromXML . It should - * be stored inside the jor. */ + * read back using <code>PluginDescription.fromXML</code>. + * It should be stored inside the jar. + */ def toXML: Node = { <plugin> <name>{name}</name> @@ -30,7 +40,6 @@ abstract class PluginDescription { } - /** Utilities for the PluginDescription class. * * @author Lex Spoon |