abstract class PresentationCompileResult extends PresentationCompilationResult
Ordering
- Alphabetic
- By Inheritance
Inherited
- PresentationCompileResult
- PresentationCompilationResult
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new PresentationCompileResult(compiler: interactive.Global, inputRange: Position, cursor: Int, buf: String)
Type Members
- type Candidates = (Int, List[CompletionCandidate])
Abstract Value Members
- abstract val unit: interactive.Global.RichCompilationUnit
Concrete Value Members
- val NoCandidates: (Int, collection.immutable.Nil.type)
- val buf: String
The user's input
The user's input
- Definition Classes
- PresentationCompileResult → PresentationCompilationResult
- def cleanup(): Unit
- Definition Classes
- PresentationCompileResult → PresentationCompilationResult
- val compiler: interactive.Global
- def completionCandidates(filter: Boolean, tabCount: Int): Candidates
- Definition Classes
- PresentationCompileResult → PresentationCompilationResult
- final def completionCandidates(tabCount: Int = -1): (Int, List[CompletionCandidate])
- Definition Classes
- PresentationCompilationResult
- def completionsAt(cursor: Int): CompletionResult
- val cursor: Int
The 0-based offset of the cursor into
buf
The 0-based offset of the cursor into
buf
- Definition Classes
- PresentationCompileResult → PresentationCompilationResult
- val inputRange: Position
The start and end of this range position correspond to the start and end of user input inside
buf
Start may not be zero if there's leading whitespace/comments, which are not represented as trees.The start and end of this range position correspond to the start and end of user input inside
buf
Start may not be zero if there's leading whitespace/comments, which are not represented as trees. Similarly for the end position.- Definition Classes
- PresentationCompileResult → PresentationCompilationResult
- def positionOf(cursor: Int): Position
- def print: String
- Definition Classes
- PresentationCompileResult → PresentationCompilationResult
- def treeAt(pos: Position): interactive.Global.Tree
- def treeAt(start: Int, end: Int): interactive.Global.Tree
- def treeString(tree: interactive.Global.Tree): String
- def typeAt(start: Int, end: Int): String
- Definition Classes
- PresentationCompileResult → PresentationCompilationResult
- def typeString(tree: interactive.Global.Tree): String
- def typedTreeAt(selectionStart: Int, selectionEnd: Int): interactive.Global.Tree
Deprecated Value Members
- def candidates(tabCount: Int): (Int, List[String])
- Definition Classes
- PresentationCompilationResult
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.2)
completionCandidates
returns richer information (CompletionCandidates, not just strings)
The Scala compiler and reflection APIs.