class MainClass extends Driver with EvalLoop
The main class for NSC, a compiler for the programming language Scala.
- Source
- Main.scala
- Alphabetic
- By Inheritance
- MainClass
- EvalLoop
- Driver
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
ξ
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
ξ
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef β Any
- Annotations
- @native()
-
ξ
def
hashCode(): Int
- Definition Classes
- AnyRef β Any
- Annotations
- @native()
-
ξ
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
- Annotations
- @native()
-
ξ
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
ξ
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( ... ) @native()
- ξ def β[B](y: B): (MainClass, B)
Deprecated Value Members
-
ξ
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from MainClass to StringFormat[MainClass] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.