scala.tools.nsc.backend.Platform.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.scala-compiler
Show all versions of org.apache.servicemix.bundles.scala-compiler
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
/* NSC -- new Scala compiler
* Copyright 2005-2011 LAMP/EPFL
* @author Paul Phillips
*/
package scala.tools.nsc
package backend
import util.ClassPath
/** The platform dependent pieces of Global.
*/
trait Platform[T] {
val global: Global
import global._
/** The compiler classpath. */
def classPath: ClassPath[T]
/** The root symbol loader. */
def rootLoader: LazyType
/** Any platform-specific phases. */
def platformPhases: List[SubComponent]
/** Symbol for a method which compares two objects. */
def externalEquals: Symbol
/** The various ways a boxed primitive might materialize at runtime. */
def isMaybeBoxed(sym: Symbol): Boolean
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy