Object

scala.meta.interactive

InteractiveSemanticdb

Related Doc: package interactive

Permalink

object InteractiveSemanticdb

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InteractiveSemanticdb
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def addCompilationUnit(global: Global, code: String, filename: String): tools.nsc.interactive.Global.RichCompilationUnit

    Permalink

    Create new compilation unit from given code.

  5. def addCursor(code: String, offset: Int): String

    Permalink

    Inserts "_CURSOR_" at given offset.

    Inserts "_CURSOR_" at given offset.

    _CURSOR_ hints to the presentation compiler that this file is being edited with the cursor at that offset. This hint helps completions amongst other things.

  6. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def newCompiler(classpath: String, scalacOptions: List[String]): Global

    Permalink

    Construct new presentation compiler with given classpath and scalac flags.

  16. def newCompiler(scalacOptions: List[String]): Global

    Permalink
  17. def newCompiler(): Global

    Permalink
  18. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def toTextDocument(compiler: Global, code: String, filename: String, timeout: Long, options: List[String]): TextDocument

    Permalink

    Build semanticdb document from this snippet of code.

    Build semanticdb document from this snippet of code.

    compiler

    an instance of scalac interactive global.

    code

    the code to be compiled.

    filename

    the name of the source file.

    timeout

    max number of milliseconds to allow the presentation compiler to typecheck this file.

    options

    configuration options to influence how the document is built. Must start with -P:semanticdb: prefix, for example "-P:semanticdb:symbols:all".

    Exceptions thrown

    Exception note that this method can fail in many different ways with exceptions, including but not limited to tokenize/parse/type errors.

  23. def toTextDocument(compiler: Global, code: String, filename: String, timeout: Long): TextDocument

    Permalink
  24. def toTextDocument(compiler: Global, code: String, options: List[String]): TextDocument

    Permalink
  25. def toTextDocument(compiler: Global, code: String): TextDocument

    Permalink
  26. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped