All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.scalajs.js.annotation.JSExportDescendentObjects.scala Maven / Gradle / Ivy

There is a newer version: 1.0.0-M3
Show newest version
/*                     __                                               *\
**     ________ ___   / /  ___      __ ____  Scala.js API               **
**    / __/ __// _ | / /  / _ | __ / // __/  (c) 2013, LAMP/EPFL        **
**  __\ \/ /__/ __ |/ /__/ __ |/_// /_\ \    http://scala-lang.org/     **
** /____/\___/_/ |_/____/_/ | |__/ /____/                               **
**                          |/____/                                     **
\*                                                                      */



package scala.scalajs.js.annotation

/** Specifies that all the objects extending the annotated class or trait
 *  should be exported for use in raw JS.
 *  Note that objects exported this way are exported under their fully
 *  qualified name.
 *
 *  @param ignoreInvalidDescendants If true, descendants that cannot be exported
 *      are silently ignored.
 *  @see [[http://www.scala-js.org/doc/export-to-javascript.html Export Scala.js APIs to JavaScript]]
 */
class JSExportDescendentObjects(ignoreInvalidDescendants: Boolean)
    extends scala.annotation.StaticAnnotation {
  /** Constructor that makes invalid descendants fail.
   *
   *  same as setting ingoreInvalidDescendants to false
   */
  def this() = this(false)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy