class MainClass extends Driver with EvalLoop
The main class for NSC, a compiler for the programming language Scala.
- Source
- Main.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- MainClass
- EvalLoop
- Driver
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new MainClass()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (MainClass, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
var
command: CompilerCommand
- Attributes
- protected
- Definition Classes
- Driver
- def doCompile(compiler: Global): Unit
- def ensuring(cond: (MainClass) ⇒ Boolean, msg: ⇒ Any): MainClass
- def ensuring(cond: (MainClass) ⇒ Boolean): MainClass
- def ensuring(cond: Boolean, msg: ⇒ Any): MainClass
- def ensuring(cond: Boolean): MainClass
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
loop(action: (String) ⇒ Unit): Unit
- Definition Classes
- EvalLoop
-
def
main(args: Array[String]): Unit
- Definition Classes
- Driver
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newCompiler(): Global
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
process(args: Array[String]): Boolean
- Definition Classes
- Driver
-
def
processSettingsHook(): Boolean
True to continue compilation.
True to continue compilation.
- Attributes
- protected
- Definition Classes
- Driver
-
val
prompt: String
- Definition Classes
- Driver
-
var
reporter: Reporter
- Definition Classes
- Driver
- def resident(compiler: Global): Unit
-
def
scalacError(msg: String): Unit
Forward errors to the (current) reporter.
Forward errors to the (current) reporter.
- Attributes
- protected
- Definition Classes
- Driver
-
var
settings: Settings
- Attributes
- protected
- Definition Classes
- Driver
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (MainClass, B)
The Scala compiler API.
The following resources are useful for Scala plugin/compiler development: