Trait

de.surfice.smacrotools

JsBlackboxMacroTools

Related Doc: package smacrotools

Permalink

trait JsBlackboxMacroTools extends BlackboxMacroTools with JsCommonMacroTools

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsBlackboxMacroTools
  2. JsCommonMacroTools
  3. BlackboxMacroTools
  4. CommonMacroTools
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type UniverseProvider = AnyRef { val universe: scala.reflect.macros.Universe }

    Permalink
    Definition Classes
    CommonMacroTools

Abstract Value Members

  1. abstract val c: Context

    Permalink
    Definition Classes
    BlackboxMacroToolsCommonMacroTools

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object JSName

    Permalink
    Definition Classes
    JsCommonMacroTools
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def error(msg: String): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  10. def extractAnnotationParameters(symbol: scala.reflect.macros.Universe.Symbol, annotation: String, paramNames: Seq[String]): Option[Map[String, Option[scala.reflect.macros.Universe.Tree]]]

    Permalink

    Checks if the provided symbol is annotated with the specified type and returns the trees for all arguments of this annotation.

    Checks if the provided symbol is annotated with the specified type and returns the trees for all arguments of this annotation.

    symbol

    Symbol to be checked for the annotation

    annotation

    fully qualified name of the annotation

    paramNames

    list with all allowed parameter names of the annotation (in the correct order)

    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  11. def extractAnnotationParameters(annotation: scala.reflect.macros.Universe.Tree, paramNames: Seq[String]): Map[String, Option[scala.reflect.macros.Universe.Tree]]

    Permalink

    Takes a tree representing an annotation value and a list with the names of all valid parameter names for this annotation (in the correct order), and returns a map containing the tree for each specified parameter, or None for unspecified parameters.

    Takes a tree representing an annotation value and a list with the names of all valid parameter names for this annotation (in the correct order), and returns a map containing the tree for each specified parameter, or None for unspecified parameters.

    annotation

    complete annotation tree

    paramNames

    list with all allowed parameter names (in the correct order)

    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  12. def extractStringConstant(arg: scala.reflect.macros.Universe.Tree): Option[String]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def findAnnotation(annotations: Seq[scala.reflect.macros.Universe.Tree], annotation: String): Option[scala.reflect.macros.Universe.Tree]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  15. def findAnnotation(symbol: scala.reflect.macros.Universe.Symbol, annotation: String): Option[scala.reflect.macros.Universe.Tree]

    Permalink

    Returns the tree for the first annotation of the specified type found on the symbol, or None.

    Returns the tree for the first annotation of the specified type found on the symbol, or None.

    symbol

    Symbol to be searched for the specified annotation type

    annotation

    Fully qualified name of the annotation type

    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  16. def findAnnotations(annotations: Seq[scala.reflect.macros.Universe.Tree]): Seq[(String, scala.reflect.macros.Universe.Tree)]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  17. def findAnnotations(symbol: scala.reflect.macros.Universe.Symbol): Seq[(String, scala.reflect.macros.Universe.Tree)]

    Permalink

    Returns a list of tuples containing all annotations found on the specified symbol.

    Returns a list of tuples containing all annotations found on the specified symbol. The first element of each tuple is the fully qualified annotation name, the second element represents the annotation tree.

    symbol

    type symbol to be parsed for annotations

    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getDebugConfig(modifiers: scala.reflect.macros.Universe.Modifiers): DebugConfig

    Permalink

    Returns the debug configuration from the provided modifiers

    Returns the debug configuration from the provided modifiers

    Definition Classes
    CommonMacroTools
  20. def getEnclosingNamespace(): Option[String]

    Permalink

    Returns the full path name of the enclosing package (at the current position), or None, if there is no enclosing package.

    Returns the full path name of the enclosing package (at the current position), or None, if there is no enclosing package.

    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  21. def getQualifiedTypeName(tree: scala.reflect.macros.Universe.Tree): String

    Permalink

    Takes a tree and returns the fully qualified name of its type.

    Takes a tree and returns the fully qualified name of its type.

    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def isSet(flag: String): Boolean

    Permalink

    Returns true if the specified macro-setting is defined as an option to scalac

    Returns true if the specified macro-setting is defined as an option to scalac

    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def paramNames(params: Iterable[scala.reflect.macros.Universe.Tree]): Iterable[scala.reflect.macros.Universe.TermName]

    Permalink

    Takes a sequence of parameter definition trees and returns the corresponding parameter names.

    Takes a sequence of parameter definition trees and returns the corresponding parameter names.

    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  29. def printTree(tree: scala.reflect.macros.Universe.Tree): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  30. def selectDynamic(base: scala.reflect.macros.Universe.Tree, fullName: String): scala.reflect.macros.Universe.Tree

    Permalink
    Attributes
    protected[this]
    Definition Classes
    JsCommonMacroTools
  31. def selectExported(fullName: String): scala.reflect.macros.Universe.Tree

    Permalink

    Returns a tree that represent the JS reference to a Scala.js type annotated with JSExport.

    Returns a tree that represent the JS reference to a Scala.js type annotated with JSExport.

    fullName

    fully qualified name of the scala type

    Attributes
    protected[this]
    Definition Classes
    JsCommonMacroTools
  32. def selectGlobalDynamic(fullName: String): scala.reflect.macros.Universe.Tree

    Permalink

    Returns a Tree that represents a type or object (specified by its fully qualified name) as a js.Dynamic.

    Returns a Tree that represents a type or object (specified by its fully qualified name) as a js.Dynamic.

    Attributes
    protected[this]
    Definition Classes
    JsCommonMacroTools
  33. def selectGlobalDynamic[T](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T]): scala.reflect.macros.Universe.Tree

    Permalink

    Returns a Tree that represents the specified type T as a js.Dynamic.

    Returns a Tree that represents the specified type T as a js.Dynamic.

    Attributes
    protected[this]
    Definition Classes
    JsCommonMacroTools
  34. def setting(flag: String, default: String): String

    Permalink
    Attributes
    protected[this]
    Definition Classes
    CommonMacroTools
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JsCommonMacroTools

Inherited from BlackboxMacroTools

Inherited from CommonMacroTools

Inherited from AnyRef

Inherited from Any

Ungrouped