object InteractiveSemanticdb extends VersionCompilerOps
- Alphabetic
- By Inheritance
- InteractiveSemanticdb
- VersionCompilerOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addCompilationUnit(global: Global, code: String, filename: String): tools.nsc.interactive.Global.RichCompilationUnit
Create new compilation unit from given code.
-
def
addCursor(code: String, offset: Int): String
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.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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] )
-
def
forceWarnings(global: Global): Unit
- Definition Classes
- VersionCompilerOps
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newCompiler(classpath: String, scalacOptions: List[String]): Global
Construct new presentation compiler with given classpath and scalac flags.
- def newCompiler(scalacOptions: List[String]): Global
- def newCompiler(): Global
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toTextDocument(compiler: Global, code: String, filename: String, timeout: Long, options: List[String]): TextDocument
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.
- def toTextDocument(compiler: Global, code: String, filename: String, timeout: Long): TextDocument
- def toTextDocument(compiler: Global, code: String, options: List[String]): TextDocument
- def toTextDocument(compiler: Global, code: String): TextDocument
-
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()