class Global extends nsc.Global with CompilerControl with ContextTrees with RichCompilationUnits with Picklers
The main class of the presentation compiler in an interactive environment such as an IDE
- Source
- Global.scala
- Alphabetic
- By Inheritance
- Global
- Picklers
- RichCompilationUnits
- ContextTrees
- CompilerControl
- Global
- Parsing
- Reporting
- Positions
- DocComments
- Printers
- Trees
- PhaseAssembly
- Plugins
- CompilationUnits
- Closeable
- AutoCloseable
- SymbolTable
- SymbolTable
- Reporting
- Internals
- FreshNames
- Translations
- PrivateWithin
- ReificationSupport
- StdCreators
- StdAttachments
- CapturedVariables
- Importers
- TypeDebugging
- Positions
- Printers
- Trees
- AnnotationCheckers
- AnnotationInfos
- StdNames
- Transforms
- InfoTransformers
- BaseTypeSeqs
- Constants
- Definitions
- Mirrors
- Scopes
- FlagSets
- ExistentialsAndSkolems
- Kinds
- Variances
- Types
- FindMembers
- TypeConstraints
- TypeMaps
- GlbLubs
- CommonOwners
- TypeToStrings
- TypeComparers
- Symbols
- Names
- Collections
- Universe
- Universe
- Internals
- Quasiquotes
- Liftables
- Printers
- Mirrors
- StandardLiftables
- StandardNames
- StandardDefinitions
- ImplicitTags
- TypeTags
- Exprs
- Positions
- Annotations
- Constants
- Trees
- Names
- Scopes
- FlagSets
- Types
- Symbols
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Type Members
- class CompilationUnit extends Global.CompilationUnitContextApi
One unit of compilation that has been submitted to the compiler.
One unit of compilation that has been submitted to the compiler. It typically corresponds to a single file of source code. It includes error-reporting hooks.
- Definition Classes
- CompilationUnits
- Annotations
- @nowarn()
- class GlobalMirror extends Roots
- Definition Classes
- Global
- abstract class GlobalPhase extends Phase
- Definition Classes
- Global
- class GlobalPlatform extends JavaPlatform
- Attributes
- protected
- Definition Classes
- Global
- trait GlobalStats extends ReflectStats with TypersStats with ImplicitsStats with MacrosStats with BackendStats with PatternMatchingStats
- Definition Classes
- Global
- class Run extends RunContextApi with RunReporting with RunParsing
A Run is a single execution of the compiler on a set of units.
A Run is a single execution of the compiler on a set of units.
- Definition Classes
- Global
- Annotations
- @nowarn()
- class PerRunParsing extends AnyRef
- Definition Classes
- Parsing
- trait RunParsing extends AnyRef
- Definition Classes
- Parsing
- class PerRunReporting extends (Reporting.this)#PerRunReportingBase
- Definition Classes
- Reporting
- case class DocComment(raw: String, pos: Global.Position = NoPosition, codePos: Global.Position = NoPosition) extends Product with Serializable
- Definition Classes
- DocComments
- class ExpansionLimitExceeded extends Exception
- Definition Classes
- DocComments
- case class UseCase(comment: Global.DocComment, body: String, pos: Global.Position) extends Product with Serializable
- Definition Classes
- DocComments
- class ValidatingPosAssigner extends Global.InternalTraverser with Global.PosAssigner
- Definition Classes
- Positions
- class CompactTreePrinter extends Global.AstTreePrinter
A tree printer which is stingier about vertical whitespace and unnecessary punctuation than the standard one.
A tree printer which is stingier about vertical whitespace and unnecessary punctuation than the standard one.
- Definition Classes
- Printers
- case class DocDef(comment: Global.DocComment, definition: Global.Tree) extends Global.Tree with Product with Serializable
Documented definition, eliminated by analyzer
Documented definition, eliminated by analyzer
- Definition Classes
- Trees
- case class InjectDerivedValue(arg: Global.Tree) extends Global.SymTree with Global.TermTree with Product with Serializable
Derived value class injection (equivalent to:
new C(arg)
after erasure); only used during erasure.Derived value class injection (equivalent to:
new C(arg)
after erasure); only used during erasure. The classC
is stored as a tree attachment.- Definition Classes
- Trees
- case class Parens(args: List[Global.Tree]) extends Global.Tree with Product with Serializable
Only used during parsing
Only used during parsing
- Definition Classes
- Trees
- case class SelectFromArray(qualifier: Global.Tree, name: Global.Name, erasure: Global.Type) extends Global.SymTree with Global.RefTree with Global.TermTree with Product with Serializable
Array selection
<qualifier> . <name>
only used during erasureArray selection
<qualifier> . <name>
only used during erasure- Definition Classes
- Trees
- class Transformer extends Global.InternalTransformer
- Definition Classes
- Trees
- Annotations
- @nowarn()
- trait TreeCopier extends Global.InternalTreeCopierOps
- Definition Classes
- Trees
- case class TypeTreeWithDeferredRefCheck(precheck: Global.TypeTree)(check: () => Global.TypeTree) extends Global.Tree with Global.TypTree with Product with Serializable
emitted by typer, eliminated by refchecks
emitted by typer, eliminated by refchecks
- Definition Classes
- Trees
- case class AskDocCommentItem(sym: Global.Symbol, source: SourceFile, site: Global.Symbol, fragments: List[(Global.Symbol, SourceFile)], response: Global.Response[(String, String, Global.Position)]) extends Global.WorkItem with Product with Serializable
- Definition Classes
- CompilerControl
- case class AskLinkPosItem(sym: Global.Symbol, source: SourceFile, response: Global.Response[Global.Position]) extends Global.WorkItem with Product with Serializable
- Definition Classes
- CompilerControl
- case class AskLoadedTypedItem(source: SourceFile, keepLoaded: Boolean, response: Global.Response[Global.Tree]) extends Global.WorkItem with Product with Serializable
- Definition Classes
- CompilerControl
- case class AskParsedEnteredItem(source: SourceFile, keepLoaded: Boolean, response: Global.Response[Global.Tree]) extends Global.WorkItem with Product with Serializable
- Definition Classes
- CompilerControl
- case class AskScopeCompletionItem(pos: Global.Position, response: Global.Response[List[Global.Member]]) extends Global.WorkItem with Product with Serializable
- Definition Classes
- CompilerControl
- class AskToDoFirstItem extends Global.WorkItem
- Definition Classes
- CompilerControl
- case class AskTypeAtItem(pos: Global.Position, response: Global.Response[Global.Tree]) extends Global.WorkItem with Product with Serializable
- Definition Classes
- CompilerControl
- case class AskTypeCompletionItem(pos: Global.Position, response: Global.Response[List[Global.Member]]) extends Global.WorkItem with Product with Serializable
- Definition Classes
- CompilerControl
- case class AskTypeItem(source: SourceFile, forceReload: Boolean, response: Global.Response[Global.Tree]) extends Global.WorkItem with Product with Serializable
- Definition Classes
- CompilerControl
- case class FilesDeletedItem(sources: List[SourceFile], response: Global.Response[Unit]) extends Global.WorkItem with Product with Serializable
- Definition Classes
- CompilerControl
- abstract class Member extends AnyRef
Info given for every member found by completion
Info given for every member found by completion
- Definition Classes
- CompilerControl
- class NoWorkScheduler extends WorkScheduler
A do-nothing work scheduler that responds immediately with MissingResponse.
A do-nothing work scheduler that responds immediately with MissingResponse.
Used during compiler shutdown.
- Definition Classes
- CompilerControl
- case class ReloadItem(sources: List[SourceFile], response: Global.Response[Unit]) extends Global.WorkItem with Product with Serializable
- Definition Classes
- CompilerControl
- case class ScopeMember(sym: Global.Symbol, tpe: Global.Type, accessible: Boolean, viaImport: Global.Tree, aliasInfo: Option[Global.ScopeMember] = None) extends Global.Member with Product with Serializable
- Definition Classes
- CompilerControl
- case class TypeMember(sym: Global.Symbol, tpe: Global.Type, accessible: Boolean, inherited: Boolean, viaView: Global.Symbol, aliasInfo: Option[Global.ScopeMember] = None) extends Global.Member with Product with Serializable
- Definition Classes
- CompilerControl
- abstract class WorkItem extends () => Unit
- Definition Classes
- CompilerControl
- class ContextTree extends AnyRef
A context tree contains contexts that are indexed by positions.
A context tree contains contexts that are indexed by positions. It satisfies the following properties:
- All context come from compiling the same unit.
2. Child contexts have parent contexts in their outer chain.
3. The
pos
field of a context is the same ascontext.tree.pos
, unless that position is transparent. In that case,pos
equals the position of one of the solid descendants ofcontext.tree
. 4. Children of a context have non-overlapping increasing positions. 5. No context in the tree has a transparent position.
- Definition Classes
- ContextTrees
- All context come from compiling the same unit.
2. Child contexts have parent contexts in their outer chain.
3. The
- trait AbstractTypeRef extends reflect.internal.SymbolTable.TypeRef with reflect.internal.SymbolTable.NonClassTypeRef
- Definition Classes
- Types
- class AbstractTypeSymbol extends reflect.internal.SymbolTable.TypeSymbol
- Definition Classes
- Symbols
- trait AliasTypeRef extends reflect.internal.SymbolTable.TypeRef with reflect.internal.SymbolTable.NonClassTypeRef
- Definition Classes
- Types
- class AliasTypeSymbol extends reflect.internal.SymbolTable.TypeSymbol
- Definition Classes
- Symbols
- case class Alternative extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.AlternativeApi with Product with Serializable
- Definition Classes
- Trees
- trait AlternativeApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class AlternativeExtractor extends AnyRef
- Definition Classes
- Trees
- trait Annotatable[Self] extends AnyRef
- Definition Classes
- AnnotationInfos
- case class Annotated extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.AnnotatedApi with Product with Serializable
- Definition Classes
- Trees
- trait AnnotatedApi extends reflect.api.Universe.TreeApi
- Definition Classes
- Trees
- abstract class AnnotatedExtractor extends AnyRef
- Definition Classes
- Trees
- case class AnnotatedType extends reflect.internal.SymbolTable.Type with reflect.internal.SymbolTable.RewrappingTypeProxy with reflect.internal.SymbolTable.AnnotatedTypeApi with Product with Serializable
- Definition Classes
- Types
- trait AnnotatedTypeApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class AnnotatedTypeExtractor extends AnyRef
- Definition Classes
- Types
- type Annotation = AnnotationInfo
- Definition Classes
- AnnotationInfos → Annotations
- trait AnnotationApi extends AnyRef
- Definition Classes
- Annotations
- trait AnnotationChecker extends AnyRef
- Definition Classes
- AnnotationCheckers
- abstract class AnnotationExtractor extends AnyRef
- Definition Classes
- Annotations
- trait AnnotationFilter extends reflect.internal.SymbolTable.TypeMap
- Definition Classes
- TypeMaps
- abstract class AnnotationInfo extends reflect.internal.SymbolTable.AnnotationApi
- Definition Classes
- AnnotationInfos
- case class AntiPolyType extends reflect.internal.SymbolTable.Type with Product with Serializable
- Definition Classes
- Types
- type ApiTransformer = Global.Transformer
- Definition Classes
- Trees
- case class AppliedTypeTree extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TypTree with reflect.internal.SymbolTable.AppliedTypeTreeApi with Product with Serializable
- Definition Classes
- Trees
- trait AppliedTypeTreeApi extends reflect.api.Universe.TypTreeApi
- Definition Classes
- Trees
- abstract class AppliedTypeTreeExtractor extends AnyRef
- Definition Classes
- Trees
- class AppliedTypeVar extends reflect.internal.SymbolTable.TypeVar
- Definition Classes
- Types
- case class Apply extends reflect.internal.SymbolTable.GenericApply with reflect.internal.SymbolTable.ApplyApi with Product with Serializable
- Definition Classes
- Trees
- trait ApplyApi extends reflect.api.Universe.GenericApplyApi
- Definition Classes
- Trees
- case class ApplyDynamic extends reflect.internal.SymbolTable.SymTree with reflect.internal.SymbolTable.TermTree with Product with Serializable
- Definition Classes
- Trees
- abstract class ApplyExtractor extends AnyRef
- Definition Classes
- Trees
- class ApplyImplicitView extends reflect.internal.SymbolTable.Apply
- Definition Classes
- Trees
- class ApplyToImplicitArgs extends reflect.internal.SymbolTable.Apply
- Definition Classes
- Trees
- class ArgsTypeRef extends reflect.internal.SymbolTable.TypeRef
- Definition Classes
- Types
- case class ArrayAnnotArg extends reflect.internal.SymbolTable.ClassfileAnnotArg with Product with Serializable
- Definition Classes
- AnnotationInfos
- case class ArrayValue extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with Product with Serializable
- Definition Classes
- Trees
- class AsSeenFromMap extends reflect.internal.SymbolTable.TypeMap with reflect.internal.SymbolTable.KeepOnlyTypeConstraints
- Definition Classes
- TypeMaps
- case class Assign extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.AssignApi with Product with Serializable
- Definition Classes
- Trees
- trait AssignApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class AssignExtractor extends AnyRef
- Definition Classes
- Trees
- final type AstTransformer = Transformer
- Definition Classes
- Trees
- final type AstTreePrinter = TreePrinter
- Definition Classes
- Printers
- Annotations
- @nowarn()
- trait Attachable extends AnyRef
- Definition Classes
- StdAttachments
- class BaseTypeSeq extends AnyRef
- Definition Classes
- BaseTypeSeqs
- case class Bind extends reflect.internal.SymbolTable.DefTree with reflect.internal.SymbolTable.BindApi with Product with Serializable
- Definition Classes
- Trees
- trait BindApi extends reflect.api.Universe.DefTreeApi
- Definition Classes
- Trees
- abstract class BindExtractor extends AnyRef
- Definition Classes
- Trees
- case class Block extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.BlockApi with Product with Serializable
- Definition Classes
- Trees
- trait BlockApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class BlockExtractor extends AnyRef
- Definition Classes
- Trees
- case class BooleanFlag extends Product with Serializable
- Definition Classes
- Printers
- case class BoundedWildcardType extends reflect.internal.SymbolTable.ProtoType with reflect.internal.SymbolTable.BoundedWildcardTypeApi with Product with Serializable
- Definition Classes
- Types
- trait BoundedWildcardTypeApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class BoundedWildcardTypeExtractor extends AnyRef
- Definition Classes
- Types
- trait CannotHaveAttrs extends reflect.internal.SymbolTable.Tree
- Definition Classes
- Trees
- case class CaseDef extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.CaseDefApi with Product with Serializable
- Definition Classes
- Trees
- trait CaseDefApi extends reflect.api.Universe.TreeApi
- Definition Classes
- Trees
- abstract class CaseDefExtractor extends AnyRef
- Definition Classes
- Trees
- case class ChangeOwnerAttachment extends Product with Serializable
- Definition Classes
- StdAttachments
- class ChangeOwnerTraverser extends reflect.internal.SymbolTable.InternalTraverser
- Definition Classes
- Trees
- abstract class ChildSolidDescendantsCollector extends reflect.internal.SymbolTable.Traverser
- Definition Classes
- Positions
- case class ClassDef extends reflect.internal.SymbolTable.ImplDef with reflect.internal.SymbolTable.ClassDefApi with Product with Serializable
- Definition Classes
- Trees
- trait ClassDefApi extends reflect.api.Universe.ImplDefApi
- Definition Classes
- Trees
- abstract class ClassDefExtractor extends AnyRef
- Definition Classes
- Trees
- case class ClassInfoType extends reflect.internal.SymbolTable.CompoundType with reflect.internal.SymbolTable.ClassInfoTypeApi with Product with Serializable
- Definition Classes
- Types
- trait ClassInfoTypeApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class ClassInfoTypeExtractor extends AnyRef
- Definition Classes
- Types
- trait ClassMirror extends reflect.api.Universe.TemplateMirror
- Definition Classes
- Mirrors
- class ClassSymbol extends reflect.internal.SymbolTable.TypeSymbol with reflect.internal.SymbolTable.ClassSymbolApi
- Definition Classes
- Symbols
- trait ClassSymbolApi extends reflect.api.Universe.TypeSymbolApi
- Definition Classes
- Symbols
- class ClassUnwrapper extends reflect.internal.SymbolTable.TypeUnwrapper
- Definition Classes
- Types
- sealed abstract class ClassfileAnnotArg extends Product with reflect.internal.SymbolTable.JavaArgumentApi
- Definition Classes
- AnnotationInfos
- class CodePrinter extends reflect.internal.SymbolTable.InternalTreePrinter
- Definition Classes
- Printers
- class CollectTreeTraverser[T] extends reflect.internal.SymbolTable.InternalTraverser
- Definition Classes
- Trees
- class CollectTypeCollector[T] extends reflect.internal.SymbolTable.TypeCollector[List[T]]
- Definition Classes
- TypeMaps
- abstract class CommonNames extends reflect.internal.SymbolTable.NamesApi
- Definition Classes
- StdNames
- class CommonOwnerMap extends reflect.internal.SymbolTable.TypeCollector[reflect.internal.SymbolTable.Symbol]
- Attributes
- protected
- Definition Classes
- CommonOwners
- class CompleteAnnotationInfo extends reflect.internal.SymbolTable.AnnotationInfo
- Definition Classes
- AnnotationInfos
- sealed abstract class CompletionResult extends AnyRef
- abstract class CompoundType extends reflect.internal.SymbolTable.Type with reflect.internal.SymbolTable.CompoundTypeApi
- Definition Classes
- Types
- trait CompoundTypeApi extends AnyRef
- Definition Classes
- Types
- case class CompoundTypeTree extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TypTree with reflect.internal.SymbolTable.CompoundTypeTreeApi with Product with Serializable
- Definition Classes
- Trees
- trait CompoundTypeTreeApi extends reflect.api.Universe.TypTreeApi
- Definition Classes
- Trees
- abstract class CompoundTypeTreeExtractor extends AnyRef
- Definition Classes
- Trees
- case class CompoundTypeTreeOriginalAttachment extends Product with Serializable
- Definition Classes
- StdAttachments
- case class Constant extends reflect.internal.SymbolTable.ConstantApi with Product with Serializable
- Definition Classes
- Constants
- abstract class ConstantApi extends AnyRef
- Definition Classes
- Constants
- abstract class ConstantExtractor extends AnyRef
- Definition Classes
- Constants
- abstract class ConstantType extends reflect.internal.SymbolTable.SingletonType with reflect.internal.SymbolTable.ConstantTypeApi
- Definition Classes
- Types
- trait ConstantTypeApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class ConstantTypeExtractor extends AnyRef
- Definition Classes
- Types
- class ContainsAnyKeyCollector extends reflect.internal.SymbolTable.ExistsTypeRefCollector
- Definition Classes
- TypeMaps
- class ContainsCollector extends reflect.internal.SymbolTable.ExistsTypeRefCollector
- Definition Classes
- TypeMaps
- type Context = (analyzer)#Context
- Definition Classes
- ContextTrees
- type Contexts = ArrayBuffer[ContextTree]
- Definition Classes
- ContextTrees
- case class CyclicReference extends reflect.internal.SymbolTable.TypeError with Product with Serializable
- Definition Classes
- Symbols
- case class DefDef extends reflect.internal.SymbolTable.ValOrDefDef with reflect.internal.SymbolTable.DefDefApi with Product with Serializable
- Definition Classes
- Trees
- trait DefDefApi extends reflect.api.Universe.ValOrDefDefApi
- Definition Classes
- Trees
- abstract class DefDefExtractor extends AnyRef
- Definition Classes
- Trees
- sealed abstract class DefTree extends reflect.internal.SymbolTable.SymTree with reflect.internal.SymbolTable.NameTree with reflect.internal.SymbolTable.DefTreeApi
- Definition Classes
- Trees
- trait DefTreeApi extends reflect.api.Universe.SymTreeApi with reflect.api.Universe.NameTreeApi
- Definition Classes
- Trees
- class DefaultPosAssigner extends reflect.internal.SymbolTable.InternalTraverser with reflect.internal.SymbolTable.PosAssigner
- Attributes
- protected
- Definition Classes
- Positions
- trait DefinitionsApi extends reflect.api.Universe.StandardTypes
- Definition Classes
- StandardDefinitions
- abstract class DefinitionsClass extends reflect.internal.SymbolTable.DefinitionsApi with reflect.internal.SymbolTable.ValueClassDefinitions
- Definition Classes
- Definitions
- type Diff = (Int, Int, String)
- Definition Classes
- Picklers
- class DottyOpaqueTypeAlias extends AnyRef
- Definition Classes
- StdAttachments
- class DottyParameterisedTrait extends AnyRef
- Definition Classes
- StdAttachments
- abstract case class ErasedValueType extends reflect.internal.SymbolTable.UniqueType with Product with Serializable
- Definition Classes
- Types
- class ErroneousAnnotation extends reflect.internal.SymbolTable.CompleteAnnotationInfo
- Definition Classes
- AnnotationInfos
- class ErrorScope extends reflect.internal.SymbolTable.Scope
- Definition Classes
- Scopes
- class ExistentialExtrapolation extends reflect.internal.SymbolTable.VariancedTypeMap
- Definition Classes
- TypeMaps
- case class ExistentialType extends reflect.internal.SymbolTable.Type with reflect.internal.SymbolTable.RewrappingTypeProxy with reflect.internal.SymbolTable.ExistentialTypeApi with Product with Serializable
- Definition Classes
- Types
- trait ExistentialTypeApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class ExistentialTypeExtractor extends AnyRef
- Definition Classes
- Types
- case class ExistentialTypeTree extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TypTree with reflect.internal.SymbolTable.ExistentialTypeTreeApi with Product with Serializable
- Definition Classes
- Trees
- trait ExistentialTypeTreeApi extends reflect.api.Universe.TypTreeApi
- Definition Classes
- Trees
- abstract class ExistentialTypeTreeExtractor extends AnyRef
- Definition Classes
- Trees
- abstract class ExistsTypeRefCollector extends reflect.internal.SymbolTable.TypeCollector[Boolean]
- Definition Classes
- TypeMaps
- trait Expr[+T] extends Equals with Serializable
- Definition Classes
- Exprs
- final class ExtraLazyAnnotationInfo extends reflect.internal.SymbolTable.LazyAnnotationInfo
- Definition Classes
- AnnotationInfos
- trait FieldMirror extends AnyRef
- Definition Classes
- Mirrors
- class FilterTreeTraverser extends reflect.internal.SymbolTable.InternalTraverser
- Definition Classes
- Trees
- class FilterTypeCollector extends reflect.internal.SymbolTable.TypeCollector[List[reflect.internal.SymbolTable.Type]]
- Definition Classes
- TypeMaps
- class FindTreeTraverser extends reflect.internal.SymbolTable.InternalTraverser
- Definition Classes
- Trees
- class FindTypeCollector extends reflect.internal.SymbolTable.TypeCollector[Option[reflect.internal.SymbolTable.Type]]
- Definition Classes
- TypeMaps
- case class FixedMirrorTreeCreator extends TreeCreator with Product with Serializable
- Definition Classes
- StdCreators
- case class FixedMirrorTypeCreator extends TypeCreator with Product with Serializable
- Definition Classes
- StdCreators
- trait FlagAgnosticCompleter extends reflect.internal.SymbolTable.LazyType
- Definition Classes
- Types
- trait FlagAssigningCompleter extends reflect.internal.SymbolTable.LazyType
- Definition Classes
- Types
- trait FlagOps extends Any
- Definition Classes
- FlagSets
- type FlagSet = Long
- Definition Classes
- FlagSets → FlagSets
- trait FlagValues extends AnyRef
- Definition Classes
- FlagSets
- abstract case class FoldableConstantType extends reflect.internal.SymbolTable.ConstantType with Product with Serializable
- Definition Classes
- Types
- class ForEachTypeTraverser extends reflect.internal.SymbolTable.TypeTraverser
- Definition Classes
- TypeMaps
- class ForeachPartialTreeTraverser extends reflect.internal.SymbolTable.InternalTraverser
- Definition Classes
- Trees
- class ForeachTreeTraverser extends reflect.internal.SymbolTable.InternalTraverser
- Definition Classes
- Trees
- trait FreeSymbol extends reflect.internal.SymbolTable.Symbol
- Definition Classes
- Symbols
- class FreeTermSymbol extends reflect.internal.SymbolTable.TermSymbol with reflect.internal.SymbolTable.FreeSymbol with reflect.internal.SymbolTable.FreeTermSymbolApi
- Definition Classes
- Symbols
- trait FreeTermSymbolApi extends reflect.api.Universe.TermSymbolApi
- Definition Classes
- Internals
- class FreeTypeSymbol extends reflect.internal.SymbolTable.TypeSkolem with reflect.internal.SymbolTable.FreeSymbol with reflect.internal.SymbolTable.FreeTypeSymbolApi
- Definition Classes
- Symbols
- trait FreeTypeSymbolApi extends reflect.api.Universe.TypeSymbolApi
- Definition Classes
- Internals
- class FreshNameExtractor extends AnyRef
- Definition Classes
- FreshNames
- case class Function extends reflect.internal.SymbolTable.SymTree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.FunctionApi with Product with Serializable
- Definition Classes
- Trees
- trait FunctionApi extends reflect.api.Universe.TermTreeApi with reflect.api.Universe.SymTreeApi
- Definition Classes
- Trees
- abstract class FunctionExtractor extends AnyRef
- Definition Classes
- Trees
- abstract class GenericApply extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.GenericApplyApi
- Definition Classes
- Trees
- trait GenericApplyApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- class HKTypeVar extends reflect.internal.SymbolTable.TypeVar
- Definition Classes
- Types
- case class Ident extends reflect.internal.SymbolTable.SymTree with reflect.internal.SymbolTable.RefTree with reflect.internal.SymbolTable.IdentApi with Product with Serializable
- Definition Classes
- Trees
- trait IdentApi extends reflect.api.Universe.RefTreeApi
- Definition Classes
- Trees
- abstract class IdentExtractor extends AnyRef
- Definition Classes
- Trees
- case class If extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.IfApi with Product with Serializable
- Definition Classes
- Trees
- trait IfApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class IfExtractor extends AnyRef
- Definition Classes
- Trees
- sealed abstract class ImplDef extends reflect.internal.SymbolTable.MemberDef with reflect.internal.SymbolTable.ImplDefApi
- Definition Classes
- Trees
- trait ImplDefApi extends reflect.api.Universe.MemberDefApi
- Definition Classes
- Trees
- case class Import extends reflect.internal.SymbolTable.SymTree with reflect.internal.SymbolTable.ImportApi with Product with Serializable
- Definition Classes
- Trees
- trait ImportApi extends reflect.api.Universe.SymTreeApi
- Definition Classes
- Trees
- abstract class ImportExtractor extends AnyRef
- Definition Classes
- Trees
- case class ImportSelector extends reflect.internal.SymbolTable.ImportSelectorApi with Product with Serializable
- Definition Classes
- Trees
- trait ImportSelectorApi extends AnyRef
- Definition Classes
- Trees
- abstract class ImportSelectorExtractor extends AnyRef
- Definition Classes
- Trees
- case class ImportType extends reflect.internal.SymbolTable.Type with Product with Serializable
- Definition Classes
- Types
- trait ImportableAttachment extends AnyRef
- Definition Classes
- StdAttachments
- trait Importer extends AnyRef
- Definition Classes
- Internals
- abstract class InfoTransformer extends AnyRef
- Definition Classes
- InfoTransformers
- abstract class InlineAnnotatedAttachment extends AnyRef
- Definition Classes
- StdAttachments
- trait InstanceMirror extends AnyRef
- Definition Classes
- Mirrors
- class InstantiateDependentMap extends reflect.internal.SymbolTable.TypeMap with reflect.internal.SymbolTable.KeepOnlyTypeConstraints
- Definition Classes
- TypeMaps
- type Internal = MacroInternalApi
- Definition Classes
- Internals → Internals
- trait InternalApi extends AnyRef
- Definition Classes
- Internals
- class InternalTransformer extends reflect.internal.SymbolTable.Transformer
- Definition Classes
- Trees
- class InternalTraverser extends reflect.internal.SymbolTable.Traverser
- Definition Classes
- Trees
- abstract class InternalTreeCopierOps extends reflect.internal.SymbolTable.TreeCopierOps
- Definition Classes
- Trees
- final type InternalTreePrinter = Global.TreePrinter
- Definition Classes
- Printers
- class InvalidateTypeCaches extends reflect.internal.SymbolTable.TypeFolder
- Definition Classes
- Types
- type JavaArgument = ClassfileAnnotArg
- Definition Classes
- AnnotationInfos → Annotations
- class JavaKeywords extends AnyRef
- Definition Classes
- StdNames
- class JavaRestrictedIdentifiers extends AnyRef
- Definition Classes
- StdNames
- trait KeepOnlyTypeConstraints extends reflect.internal.SymbolTable.TypeMap with reflect.internal.SymbolTable.AnnotationFilter
- Definition Classes
- TypeMaps
- abstract class Keywords extends reflect.internal.SymbolTable.CommonNames
- Definition Classes
- StdNames
- abstract class Kind extends AnyRef
- Definition Classes
- Kinds
- case class KindErrors extends Product with Serializable
- Definition Classes
- Kinds
- case class LabelDef extends reflect.internal.SymbolTable.DefTree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.LabelDefApi with Product with Serializable
- Definition Classes
- Trees
- trait LabelDefApi extends reflect.api.Universe.DefTreeApi with reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class LabelDefExtractor extends AnyRef
- Definition Classes
- Trees
- class LazyAnnotationInfo extends reflect.internal.SymbolTable.AnnotationInfo
- Definition Classes
- AnnotationInfos
- final type LazyAstTreeCopier = LazyTreeCopier
- Definition Classes
- Trees
- Annotations
- @nowarn()
- abstract class LazyPolyType extends reflect.internal.SymbolTable.LazyType
- Definition Classes
- Types
- abstract class LazyType extends reflect.internal.SymbolTable.Type
- Definition Classes
- Types
- trait Liftable[T] extends AnyRef
- Definition Classes
- Liftables
- case class Literal extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.LiteralApi with Product with Serializable
- Definition Classes
- Trees
- case class LiteralAnnotArg extends reflect.internal.SymbolTable.ClassfileAnnotArg with Product with Serializable
- Definition Classes
- AnnotationInfos
- trait LiteralApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class LiteralExtractor extends AnyRef
- Definition Classes
- Trees
- abstract case class LiteralType extends reflect.internal.SymbolTable.ConstantType with Product with Serializable
- Definition Classes
- Types
- class LocalOwnersTraverser extends reflect.internal.SymbolTable.InternalTraverser
- Definition Classes
- Trees
- class Locator extends reflect.internal.SymbolTable.Traverser
- Definition Classes
- Positions
- case class LookupAmbiguityWarning extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- case class LookupAmbiguous extends reflect.internal.SymbolTable.NameLookup with Product with Serializable
- Definition Classes
- Scopes
- case class LookupInaccessible extends reflect.internal.SymbolTable.NameLookup with Product with Serializable
- Definition Classes
- Scopes
- case class LookupSucceeded extends reflect.internal.SymbolTable.NameLookup with Product with Serializable
- Definition Classes
- Scopes
- trait MacroInternalApi extends reflect.macros.Universe.InternalApi
- Definition Classes
- Universe
- class MalformedType extends reflect.internal.SymbolTable.TypeError
- Definition Classes
- Types
- class MappedBaseTypeSeq extends reflect.internal.SymbolTable.BaseTypeSeq
- Definition Classes
- BaseTypeSeqs
- case class Match extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.MatchApi with Product with Serializable
- Definition Classes
- Trees
- trait MatchApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class MatchExtractor extends AnyRef
- Definition Classes
- Trees
- sealed abstract class MemberDef extends reflect.internal.SymbolTable.DefTree with reflect.internal.SymbolTable.MemberDefApi
- Definition Classes
- Trees
- trait MemberDefApi extends reflect.api.Universe.DefTreeApi
- Definition Classes
- Trees
- type MemberScope = Scope
- Definition Classes
- Scopes → Scopes
- trait MemberScopeApi extends reflect.api.Universe.ScopeApi
- Definition Classes
- Scopes
- trait MethodMirror extends AnyRef
- Definition Classes
- Mirrors
- class MethodSymbol extends reflect.internal.SymbolTable.TermSymbol with reflect.internal.SymbolTable.MethodSymbolApi
- Definition Classes
- Symbols
- trait MethodSymbolApi extends reflect.api.Universe.TermSymbolApi
- Definition Classes
- Symbols
- case class MethodType extends reflect.internal.SymbolTable.Type with reflect.internal.SymbolTable.MethodTypeApi with Product with Serializable
- Definition Classes
- Types
- trait MethodTypeApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class MethodTypeExtractor extends AnyRef
- Definition Classes
- Types
- abstract type Mirror >: Null <: RootsBase
- Definition Classes
- Mirrors → Mirrors
- class MissingAliasControl extends ControlThrowable
- Definition Classes
- Types
- class MissingTypeControl extends ControlThrowable
- Definition Classes
- Types
- case class Modifiers extends reflect.internal.SymbolTable.ModifiersApi with HasFlags with Product with Serializable
- Definition Classes
- Trees
- abstract class ModifiersApi extends AnyRef
- Definition Classes
- Trees
- abstract class ModifiersExtractor extends AnyRef
- Definition Classes
- Trees
- class ModuleClassSymbol extends reflect.internal.SymbolTable.ClassSymbol
- Definition Classes
- Symbols
- case class ModuleDef extends reflect.internal.SymbolTable.ImplDef with reflect.internal.SymbolTable.ModuleDefApi with Product with Serializable
- Definition Classes
- Trees
- trait ModuleDefApi extends reflect.api.Universe.ImplDefApi
- Definition Classes
- Trees
- abstract class ModuleDefExtractor extends AnyRef
- Definition Classes
- Trees
- trait ModuleMirror extends reflect.api.Universe.TemplateMirror
- Definition Classes
- Mirrors
- class ModuleSymbol extends reflect.internal.SymbolTable.TermSymbol with reflect.internal.SymbolTable.ModuleSymbolApi
- Definition Classes
- Symbols
- trait ModuleSymbolApi extends reflect.api.Universe.TermSymbolApi
- Definition Classes
- Symbols
- class ModuleTypeRef extends reflect.internal.SymbolTable.NoArgsTypeRef
- Definition Classes
- Types
- sealed abstract class Name extends reflect.internal.Names.NameApi with NameHasIsEmpty with CharSequence
- Definition Classes
- Names
- abstract class NameApi extends AnyRef
- Definition Classes
- Names
- sealed trait NameHasIsEmpty extends AnyRef
- Definition Classes
- Names
- sealed trait NameLookup extends AnyRef
- Definition Classes
- Scopes
- case class NamePos extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- trait NameTree extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.NameTreeApi
- Definition Classes
- Trees
- trait NameTreeApi extends reflect.api.Universe.TreeApi
- Definition Classes
- Trees
- case class NamedArg extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.NamedArgApi with Product with Serializable
- Definition Classes
- Trees
- trait NamedArgApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class NamedArgExtractor extends AnyRef
- Definition Classes
- Trees
- case class NamedType extends reflect.internal.SymbolTable.Type with Product with Serializable
- Definition Classes
- Types
- trait NamesApi extends AnyRef
- Definition Classes
- StandardNames
- case class NestedAnnotArg extends reflect.internal.SymbolTable.ClassfileAnnotArg with Product with Serializable
- Definition Classes
- AnnotationInfos
- case class New extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.NewApi with Product with Serializable
- Definition Classes
- Trees
- trait NewApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class NewExtractor extends AnyRef
- Definition Classes
- Trees
- class NoArgsTypeRef extends reflect.internal.SymbolTable.TypeRef
- Definition Classes
- Types
- class NoCommonType extends ControlThrowable
- Definition Classes
- Types
- class NoSymbol extends reflect.internal.SymbolTable.Symbol
- Definition Classes
- Symbols
- trait NonClassTypeRef extends reflect.internal.SymbolTable.TypeRef
- Definition Classes
- Types
- case class NullaryMethodType extends reflect.internal.SymbolTable.Type with reflect.internal.SymbolTable.NullaryMethodTypeApi with Product with Serializable
- Definition Classes
- Types
- trait NullaryMethodTypeApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class NullaryMethodTypeExtractor extends AnyRef
- Definition Classes
- Types
- class OnTypeError[T] extends AnyRef
- final case class OverloadedArgProto extends reflect.internal.SymbolTable.ProtoType with reflect.internal.SymbolTable.SimpleTypeProxy with Product with Serializable
- Definition Classes
- Types
- case class OverloadedType extends reflect.internal.SymbolTable.Type with Product with Serializable
- Definition Classes
- Types
- class PackageClassInfoType extends reflect.internal.SymbolTable.ClassInfoType
- Definition Classes
- Types
- class PackageClassSymbol extends reflect.internal.SymbolTable.ModuleClassSymbol
- Definition Classes
- Symbols
- case class PackageDef extends reflect.internal.SymbolTable.MemberDef with reflect.internal.SymbolTable.PackageDefApi with Product with Serializable
- Definition Classes
- Trees
- trait PackageDefApi extends reflect.api.Universe.MemberDefApi
- Definition Classes
- Trees
- abstract class PackageDefExtractor extends AnyRef
- Definition Classes
- Trees
- class PackageObjectClassSymbol extends reflect.internal.SymbolTable.ModuleClassSymbol
- Definition Classes
- Symbols
- class PackageTypeRef extends reflect.internal.SymbolTable.ModuleTypeRef
- Definition Classes
- Types
- case class PatShadowAttachment extends Product with Serializable
- Definition Classes
- StdAttachments
- abstract class PerRunReportingBase extends AnyRef
- Definition Classes
- Reporting
- type Period = Int
- Definition Classes
- SymbolTable
- case class PermittedSubclassSymbols extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- case class PermittedSubclasses extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- trait PlainAttachment extends reflect.internal.SymbolTable.ImportableAttachment
- Definition Classes
- StdAttachments
- case class PolyType extends reflect.internal.SymbolTable.Type with reflect.internal.SymbolTable.PolyTypeApi with Product with Serializable
- Definition Classes
- Types
- trait PolyTypeApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class PolyTypeExtractor extends AnyRef
- Definition Classes
- Types
- trait PosAssigner extends reflect.internal.SymbolTable.InternalTraverser
- Definition Classes
- Positions
- type Position = reflect.internal.util.Position
- Definition Classes
- Positions → Positions
- class ProperTypeKind extends reflect.internal.SymbolTable.Kind
- Definition Classes
- Kinds
- abstract class ProtoType extends reflect.internal.SymbolTable.Type
- Definition Classes
- Types
- class QualTypeSymAttachment extends AnyRef
- Definition Classes
- StdAttachments
- implicit class Quasiquote extends AnyRef
- Definition Classes
- Quasiquotes
- class RawTreePrinter extends reflect.internal.SymbolTable.TreePrinter
- Definition Classes
- Printers
- case class RecoverableCyclicReference extends reflect.internal.SymbolTable.TypeError with Product with Serializable
- Definition Classes
- Types
- trait RefTree extends reflect.internal.SymbolTable.SymTree with reflect.internal.SymbolTable.NameTree with reflect.internal.SymbolTable.RefTreeApi
- Definition Classes
- Trees
- trait RefTreeApi extends reflect.api.Universe.SymTreeApi with reflect.api.Universe.NameTreeApi
- Definition Classes
- Trees
- abstract class RefTreeExtractor extends AnyRef
- Definition Classes
- Trees
- case class ReferenceToBoxed extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.ReferenceToBoxedApi with Product with Serializable
- Definition Classes
- Trees
- trait ReferenceToBoxedApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Internals
- abstract class ReferenceToBoxedExtractor extends AnyRef
- Definition Classes
- Internals
- case class RefinedType extends reflect.internal.SymbolTable.CompoundType with reflect.internal.SymbolTable.RefinedTypeApi with Product with Serializable
- Definition Classes
- Types
- final class RefinedType0 extends reflect.internal.SymbolTable.RefinedType
- Definition Classes
- Types
- trait RefinedTypeApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class RefinedTypeExtractor extends AnyRef
- Definition Classes
- Types
- class RefinementClassSymbol extends reflect.internal.SymbolTable.ClassSymbol
- Definition Classes
- Symbols
- class RefinementTypeRef extends reflect.internal.SymbolTable.NoArgsTypeRef
- Definition Classes
- Types
- trait ReflectStats extends BaseTypeSeqsStats with TypesStats with SymbolTableStats with TreesStats with SymbolsStats with ScopeStats
- Definition Classes
- SymbolTable
- trait ReflectiveMirror extends reflect.api.Mirror[Mirrors.this.type]
- Definition Classes
- Mirrors
- trait ReificationSupportApi extends AnyRef
- Definition Classes
- Internals
- class ReificationSupportImpl extends reflect.internal.SymbolTable.ReificationSupportApi
- Definition Classes
- ReificationSupport
- case class RepeatedType extends reflect.internal.SymbolTable.Type with Product with Serializable
- Definition Classes
- Types
- type Response[T] = interactive.Response[T]
- Definition Classes
- CompilerControl
- type ResponseMap = Map[SourceFile, Set[Response[Tree]]]
- case class Return extends reflect.internal.SymbolTable.SymTree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.ReturnApi with Product with Serializable
- Definition Classes
- Trees
- trait ReturnApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class ReturnExtractor extends AnyRef
- Definition Classes
- Trees
- trait RewrappingTypeProxy extends reflect.internal.SymbolTable.Type with reflect.internal.SymbolTable.SimpleTypeProxy
- Definition Classes
- Types
- trait RootSymbol extends reflect.internal.SymbolTable.Symbol
- Definition Classes
- Mirrors
- abstract class Roots extends reflect.internal.SymbolTable.RootsBase
- Definition Classes
- Mirrors
- abstract class RootsBase extends reflect.api.Mirror[Mirrors.this.type]
- Definition Classes
- Mirrors
- type RunId = Int
- Definition Classes
- SymbolTable
- trait RunReporting extends AnyRef
- Definition Classes
- Reporting
- type RuntimeClass = Class[_]
- Definition Classes
- Global → Mirrors
- trait RuntimeClassApi extends AnyRef
- Definition Classes
- Mirrors
- trait RuntimeMirror extends reflect.api.Mirror[Mirrors.this.type] with reflect.api.Universe.ReflectiveMirror
- Definition Classes
- Mirrors
- case class SAMFunction extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- class Scope extends AbstractIterable[reflect.internal.SymbolTable.Symbol] with reflect.internal.SymbolTable.ScopeApi with reflect.internal.SymbolTable.MemberScopeApi
- Definition Classes
- Scopes
- trait ScopeApi extends Iterable[reflect.api.Universe.Symbol]
- Definition Classes
- Scopes
- class ScopeEntry extends AnyRef
- Definition Classes
- Scopes
- case class Select extends reflect.internal.SymbolTable.SymTree with reflect.internal.SymbolTable.RefTree with reflect.internal.SymbolTable.SelectApi with Product with Serializable
- Definition Classes
- Trees
- trait SelectApi extends reflect.api.Universe.RefTreeApi
- Definition Classes
- Trees
- abstract class SelectExtractor extends AnyRef
- Definition Classes
- Trees
- case class SelectFromTypeTree extends reflect.internal.SymbolTable.SymTree with reflect.internal.SymbolTable.RefTree with reflect.internal.SymbolTable.TypTree with reflect.internal.SymbolTable.SelectFromTypeTreeApi with Product with Serializable
- Definition Classes
- Trees
- trait SelectFromTypeTreeApi extends reflect.api.Universe.TypTreeApi with reflect.api.Universe.RefTreeApi
- Definition Classes
- Trees
- abstract class SelectFromTypeTreeExtractor extends AnyRef
- Definition Classes
- Trees
- trait SimpleTypeProxy extends reflect.internal.SymbolTable.Type
- Definition Classes
- Types
- abstract case class SingleType extends reflect.internal.SymbolTable.SingletonType with reflect.internal.SymbolTable.SingleTypeApi with Product with Serializable
- Definition Classes
- Types
- trait SingleTypeApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class SingleTypeExtractor extends AnyRef
- Definition Classes
- Types
- abstract class SingletonType extends reflect.internal.SymbolTable.SubType with reflect.internal.SymbolTable.SimpleTypeProxy with reflect.internal.SymbolTable.SingletonTypeApi
- Definition Classes
- Types
- trait SingletonTypeApi extends AnyRef
- Definition Classes
- Types
- case class SingletonTypeTree extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TypTree with reflect.internal.SymbolTable.SingletonTypeTreeApi with Product with Serializable
- Definition Classes
- Trees
- trait SingletonTypeTreeApi extends reflect.api.Universe.TypTreeApi
- Definition Classes
- Trees
- abstract class SingletonTypeTreeExtractor extends AnyRef
- Definition Classes
- Trees
- abstract class StandardImporter extends reflect.internal.SymbolTable.Importer
- Definition Classes
- Importers
- trait StandardLiftableInstances extends AnyRef
- Definition Classes
- StandardLiftables
- trait StandardTypes extends AnyRef
- Definition Classes
- StandardDefinitions
- trait StandardUnliftableInstances extends AnyRef
- Definition Classes
- StandardLiftables
- case class Star extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.StarApi with Product with Serializable
- Definition Classes
- Trees
- trait StarApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class StarExtractor extends AnyRef
- Definition Classes
- Trees
- final type StrictAstTreeCopier = StrictTreeCopier
- Definition Classes
- Trees
- Annotations
- @nowarn()
- class StubClassSymbol extends reflect.internal.SymbolTable.ClassSymbol with reflect.internal.SymbolTable.StubSymbol
- Definition Classes
- Symbols
- trait StubSymbol extends reflect.internal.SymbolTable.Symbol
- Definition Classes
- Symbols
- class StubTermSymbol extends reflect.internal.SymbolTable.TermSymbol with reflect.internal.SymbolTable.StubSymbol
- Definition Classes
- Symbols
- abstract class SubType extends reflect.internal.SymbolTable.UniqueType
- Definition Classes
- Types
- final case class SubTypePair extends Product with Serializable
- Definition Classes
- TypeComparers
- case class SubpatternsAttachment extends Product with Serializable
- Definition Classes
- StdAttachments
- abstract class SubstMap[T >: Null] extends reflect.internal.SymbolTable.TypeMap
- Definition Classes
- TypeMaps
- class SubstSymMap extends reflect.internal.SymbolTable.SubstMap[reflect.internal.SymbolTable.Symbol]
- Definition Classes
- TypeMaps
- class SubstThisMap extends reflect.internal.SymbolTable.TypeMap
- Definition Classes
- TypeMaps
- class SubstTypeMap extends reflect.internal.SymbolTable.SubstMap[reflect.internal.SymbolTable.Type]
- Definition Classes
- TypeMaps
- class SubstWildcardMap extends reflect.internal.SymbolTable.TypeMap
- Definition Classes
- TypeMaps
- case class Super extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.SuperApi with Product with Serializable
- Definition Classes
- Trees
- trait SuperApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class SuperExtractor extends AnyRef
- Definition Classes
- Trees
- abstract case class SuperType extends reflect.internal.SymbolTable.SingletonType with reflect.internal.SymbolTable.SuperTypeApi with Product with Serializable
- Definition Classes
- Types
- trait SuperTypeApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class SuperTypeExtractor extends AnyRef
- Definition Classes
- Types
- abstract class SymLoader extends reflect.internal.SymbolTable.LazyType
- Definition Classes
- SymbolTable
- abstract class SymTree extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.SymTreeApi
- Definition Classes
- Trees
- trait SymTreeApi extends reflect.api.Universe.TreeApi
- Definition Classes
- Trees
- abstract class Symbol extends reflect.internal.SymbolTable.SymbolContextApiImpl with HasFlags with reflect.internal.SymbolTable.Annotatable[reflect.internal.SymbolTable.Symbol] with reflect.internal.SymbolTable.Attachable
- Definition Classes
- Symbols
- trait SymbolApi extends AnyRef
- Definition Classes
- Symbols
- abstract class SymbolContextApiImpl extends reflect.internal.SymbolTable.SymbolApi
- Definition Classes
- Symbols
- type SymbolLoadersInInteractive = GlobalSymbolLoaders { ... /* 2 definitions in type refinement */ }
- Attributes
- protected
- sealed abstract class SymbolNames extends AnyRef
- Definition Classes
- StdNames
- case class SymbolOps extends Product with Serializable
- Definition Classes
- Symbols
- type SymbolPair = Global.overridingPairs.SymbolPair
- Definition Classes
- Global
- trait SymbolTableInternal extends reflect.internal.SymbolTable.MacroInternalApi
- Definition Classes
- Internals
- case class Template extends reflect.internal.SymbolTable.SymTree with reflect.internal.SymbolTable.TemplateApi with Product with Serializable
- Definition Classes
- Trees
- trait TemplateApi extends reflect.api.Universe.SymTreeApi
- Definition Classes
- Trees
- abstract class TemplateExtractor extends AnyRef
- Definition Classes
- Trees
- trait TemplateMirror extends AnyRef
- Definition Classes
- Mirrors
- final class TermName extends Name with reflect.internal.Names.TermNameApi
- Definition Classes
- Names
- trait TermNameApi extends AnyRef
- Definition Classes
- Names
- abstract class TermNameExtractor extends AnyRef
- Definition Classes
- Names
- abstract class TermNames extends reflect.internal.SymbolTable.Keywords with reflect.internal.SymbolTable.TermNamesApi
- Definition Classes
- StdNames
- trait TermNamesApi extends reflect.api.Universe.NamesApi
- Definition Classes
- StandardNames
- class TermSymbol extends reflect.internal.SymbolTable.Symbol with reflect.internal.SymbolTable.TermSymbolApi
- Definition Classes
- Symbols
- trait TermSymbolApi extends reflect.api.Universe.SymbolApi
- Definition Classes
- Symbols
- trait TermTree extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTreeApi
- Definition Classes
- Trees
- trait TermTreeApi extends reflect.api.Universe.TreeApi
- Definition Classes
- Trees
- case class This extends reflect.internal.SymbolTable.SymTree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.ThisApi with Product with Serializable
- Definition Classes
- Trees
- trait ThisApi extends reflect.api.Universe.TermTreeApi with reflect.api.Universe.SymTreeApi
- Definition Classes
- Trees
- abstract class ThisExtractor extends AnyRef
- Definition Classes
- Trees
- type ThisPlatform = JavaPlatform { val global: Global.this.type }
- Definition Classes
- Global
- class ThisSubstituter extends reflect.internal.SymbolTable.InternalTransformer
- Definition Classes
- Trees
- abstract case class ThisType extends reflect.internal.SymbolTable.SingletonType with reflect.internal.SymbolTable.ThisTypeApi with Product with Serializable
- Definition Classes
- Types
- trait ThisTypeApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class ThisTypeExtractor extends AnyRef
- Definition Classes
- Types
- case class Throw extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.ThrowApi with Product with Serializable
- Definition Classes
- Trees
- trait ThrowApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class ThrowExtractor extends AnyRef
- Definition Classes
- Trees
- class Traverser extends AnyRef
- Definition Classes
- Trees
- abstract class Tree extends reflect.internal.SymbolTable.TreeContextApiImpl with reflect.internal.SymbolTable.Attachable with Product
- Definition Classes
- Trees
- trait TreeApi extends Product
- Definition Classes
- Trees
- abstract class TreeContextApiImpl extends reflect.internal.SymbolTable.TreeApi
- Definition Classes
- Trees
- abstract class TreeCopierOps extends AnyRef
- Definition Classes
- Trees
- trait TreeGen extends AnyRef
- Definition Classes
- Universe
- class TreeReplacer extends reflect.internal.SymbolTable.InternalTransformer
- Definition Classes
- Trees
- trait TreeStackTraverser extends reflect.internal.SymbolTable.Traverser
- Definition Classes
- Trees
- class TreeSubstituter extends reflect.internal.SymbolTable.InternalTransformer
- Definition Classes
- Trees
- class TreeSymSubstTraverser extends reflect.internal.SymbolTable.TypeMapTreeSubstituter
- Definition Classes
- Trees
- class TreeSymSubstituter extends reflect.internal.SymbolTable.InternalTransformer
- Definition Classes
- Trees
- class TreeTypeSubstituter extends reflect.internal.SymbolTable.TypeMapTreeSubstituter
- Definition Classes
- Trees
- case class Try extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.TryApi with Product with Serializable
- Definition Classes
- Trees
- trait TryApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class TryExtractor extends AnyRef
- Definition Classes
- Trees
- trait TypTree extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TypTreeApi
- Definition Classes
- Trees
- trait TypTreeApi extends reflect.api.Universe.TreeApi
- Definition Classes
- Trees
- abstract class Type extends reflect.internal.SymbolTable.TypeApiImpl with reflect.internal.SymbolTable.Annotatable[reflect.internal.SymbolTable.Type]
- Definition Classes
- Types
- abstract class TypeApi extends AnyRef
- Definition Classes
- Types
- abstract class TypeApiImpl extends reflect.internal.SymbolTable.TypeApi
- Definition Classes
- Types
- case class TypeApply extends reflect.internal.SymbolTable.GenericApply with reflect.internal.SymbolTable.TypeApplyApi with Product with Serializable
- Definition Classes
- Trees
- trait TypeApplyApi extends reflect.api.Universe.GenericApplyApi
- Definition Classes
- Trees
- abstract class TypeApplyExtractor extends AnyRef
- Definition Classes
- Trees
- abstract case class TypeBounds extends reflect.internal.SymbolTable.SubType with reflect.internal.SymbolTable.TypeBoundsApi with Product with Serializable
- Definition Classes
- Types
- trait TypeBoundsApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class TypeBoundsExtractor extends AnyRef
- Definition Classes
- Types
- case class TypeBoundsTree extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TypTree with reflect.internal.SymbolTable.TypeBoundsTreeApi with Product with Serializable
- Definition Classes
- Trees
- trait TypeBoundsTreeApi extends reflect.api.Universe.TypTreeApi
- Definition Classes
- Trees
- abstract class TypeBoundsTreeExtractor extends AnyRef
- Definition Classes
- Trees
- abstract class TypeCollector[T] extends reflect.internal.SymbolTable.TypeFolder
- Definition Classes
- TypeMaps
- class TypeConKind extends reflect.internal.SymbolTable.Kind
- Definition Classes
- Kinds
- class TypeConstraint extends AnyRef
- Definition Classes
- TypeConstraints
- case class TypeDef extends reflect.internal.SymbolTable.MemberDef with reflect.internal.SymbolTable.TypeDefApi with Product with Serializable
- Definition Classes
- Trees
- trait TypeDefApi extends reflect.api.Universe.MemberDefApi
- Definition Classes
- Trees
- abstract class TypeDefExtractor extends AnyRef
- Definition Classes
- Trees
- class TypeError extends Throwable
- Definition Classes
- Types
- abstract class TypeFolder extends (reflect.internal.SymbolTable.Type) => Unit
- Definition Classes
- TypeMaps
- abstract class TypeMap extends (reflect.internal.SymbolTable.Type) => reflect.internal.SymbolTable.Type
- Definition Classes
- TypeMaps
- class TypeMapTreeSubstituter extends reflect.internal.SymbolTable.InternalTraverser
- Definition Classes
- Trees
- final class TypeName extends Name with reflect.internal.Names.TypeNameApi
- Definition Classes
- Names
- trait TypeNameApi extends AnyRef
- Definition Classes
- Names
- abstract class TypeNameExtractor extends AnyRef
- Definition Classes
- Names
- abstract class TypeNames extends reflect.internal.SymbolTable.Keywords with reflect.internal.SymbolTable.TypeNamesApi
- Definition Classes
- StdNames
- trait TypeNamesApi extends reflect.api.Universe.NamesApi
- Definition Classes
- StandardNames
- case class TypeParamVarargsAttachment extends Product with Serializable
- Definition Classes
- StdAttachments
- abstract case class TypeRef extends reflect.internal.SymbolTable.UniqueType with reflect.internal.SymbolTable.TypeRefApi with Product with Serializable
- Definition Classes
- Types
- trait TypeRefApi extends reflect.api.Universe.TypeApi
- Definition Classes
- Types
- abstract class TypeRefExtractor extends AnyRef
- Definition Classes
- Types
- class TypeSkolem extends reflect.internal.SymbolTable.TypeSymbol
- Definition Classes
- Symbols
- abstract class TypeSymbol extends reflect.internal.SymbolTable.Symbol with reflect.internal.SymbolTable.TypeSymbolApi
- Definition Classes
- Symbols
- trait TypeSymbolApi extends reflect.api.Universe.SymbolApi
- Definition Classes
- Symbols
- trait TypeTag[T] extends reflect.api.Universe.WeakTypeTag[T] with Equals with Serializable
- Definition Classes
- TypeTags
- Annotations
- @implicitNotFound()
- abstract class TypeTraverser extends reflect.internal.SymbolTable.TypeMap
- Definition Classes
- TypeMaps
- case class TypeTree extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TypTree with reflect.internal.SymbolTable.TypeTreeApi with Product with Serializable
- Definition Classes
- Trees
- trait TypeTreeApi extends reflect.api.Universe.TypTreeApi
- Definition Classes
- Trees
- abstract class TypeTreeExtractor extends AnyRef
- Definition Classes
- Trees
- class TypeUnwrapper extends (reflect.internal.SymbolTable.Type) => reflect.internal.SymbolTable.Type
- Definition Classes
- Types
- abstract case class TypeVar extends reflect.internal.SymbolTable.Type with Product with Serializable
- Definition Classes
- Types
- case class Typed extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.TypedApi with Product with Serializable
- Definition Classes
- Trees
- trait TypedApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class TypedExtractor extends AnyRef
- Definition Classes
- Trees
- class TypedLocator extends reflect.internal.SymbolTable.Locator
- Definition Classes
- Positions
- class TyperResult extends ControlThrowable
- class TyperRun extends Run
The typer run
- case class UnApply extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.UnApplyApi with Product with Serializable
- Definition Classes
- Trees
- trait UnApplyApi extends reflect.api.Universe.TermTreeApi
- Definition Classes
- Trees
- abstract class UnApplyExtractor extends AnyRef
- Definition Classes
- Trees
- class UndoLog extends Clearable
- Definition Classes
- TypeConstraints
- final class UniqueConstantType extends reflect.internal.SymbolTable.FoldableConstantType
- Definition Classes
- Types
- final class UniqueErasedValueType extends reflect.internal.SymbolTable.ErasedValueType
- Definition Classes
- Types
- final class UniqueLiteralType extends reflect.internal.SymbolTable.LiteralType
- Definition Classes
- Types
- final class UniqueSingleType extends reflect.internal.SymbolTable.SingleType
- Definition Classes
- Types
- final class UniqueSuperType extends reflect.internal.SymbolTable.SuperType
- Definition Classes
- Types
- final class UniqueThisType extends reflect.internal.SymbolTable.ThisType
- Definition Classes
- Types
- abstract class UniqueType extends reflect.internal.SymbolTable.Type with Product
- Definition Classes
- Types
- final class UniqueTypeBounds extends reflect.internal.SymbolTable.TypeBounds
- Definition Classes
- Types
- trait Unliftable[T] extends AnyRef
- Definition Classes
- Liftables
- trait UntouchableTypeVar extends reflect.internal.SymbolTable.TypeVar
- Definition Classes
- Types
- case class ValDef extends reflect.internal.SymbolTable.ValOrDefDef with reflect.internal.SymbolTable.ValDefApi with Product with Serializable
- Definition Classes
- Trees
- trait ValDefApi extends reflect.api.Universe.ValOrDefDefApi
- Definition Classes
- Trees
- abstract class ValDefExtractor extends AnyRef
- Definition Classes
- Trees
- sealed abstract class ValOrDefDef extends reflect.internal.SymbolTable.MemberDef with reflect.internal.SymbolTable.ValOrDefDefApi
- Definition Classes
- Trees
- trait ValOrDefDefApi extends reflect.api.Universe.MemberDefApi
- Definition Classes
- Trees
- class ValidateException extends Exception
- Definition Classes
- Positions
- trait ValueClassDefinitions extends AnyRef
- Definition Classes
- Definitions
- case class VarAlias extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- class VarianceValidator extends reflect.internal.SymbolTable.InternalTraverser
- Definition Classes
- Variances
- abstract class VariancedTypeMap extends reflect.internal.SymbolTable.TypeMap
- Definition Classes
- TypeMaps
- trait WeakTypeTag[T] extends Equals with Serializable
- Definition Classes
- TypeTags
- Annotations
- @implicitNotFound()
- case class WorkEvent(atNode: Int, atMillis: Long) extends Product with Serializable
- class RichCompilationUnit extends Global.CompilationUnit
- Definition Classes
- RichCompilationUnits
Deprecated Type Members
- class TreePrinter extends Global.InternalTreePrinter
- Definition Classes
- Printers
- Annotations
- @nowarn() @deprecated
- Deprecated
(Since version 2.13.4) use AstTreePrinter instead
- class LazyTreeCopier extends Global.LazyTreeCopier with Global.TreeCopier
- Definition Classes
- Trees
- Annotations
- @nowarn() @deprecated
- Deprecated
(Since version 2.13.4) use LazyAstTreeCopier instead
- class StrictTreeCopier extends Global.StrictTreeCopier with Global.TreeCopier
- Definition Classes
- Trees
- Annotations
- @nowarn() @deprecated
- Deprecated
(Since version 2.13.4) use StrictAstTreeCopier instead
- type Compat = MacroCompatApi
- Definition Classes
- Internals → Internals
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) compatibility with Scala 2.10 EOL
- trait CompatApi extends AnyRef
- Definition Classes
- Internals
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) compatibility with Scala 2.10 EOL
- class CompatToken extends AnyRef
- Definition Classes
- Internals
- Annotations
- @implicitNotFound() @deprecated
- Deprecated
(Since version 2.13.0) compatibility with Scala 2.10 EOL
- trait CompilationUnitContextApi extends AnyRef
- Definition Classes
- Universe
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information
- trait JavaArgumentApi extends AnyRef
- Definition Classes
- Annotations
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use
Annotation.tree
to inspect annotation arguments
- trait MacroCompatApi extends reflect.macros.Universe.CompatApi
- Definition Classes
- Universe
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) compatibility with Scala 2.10 EOL
- type ModifiersCreator = ModifiersExtractor
- Definition Classes
- Trees
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use ModifiersExtractor instead
- trait RunContextApi extends AnyRef
- Definition Classes
- Universe
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) c.enclosingTree-style APIs are now deprecated; consult the scaladoc for more information
Value Members
- object CompilationUnit
- Definition Classes
- CompilationUnits
- object NoCompilationUnit extends Global.CompilationUnit
An object representing a missing compilation unit.
An object representing a missing compilation unit.
- Definition Classes
- CompilationUnits
- object async extends AsyncPhase
- Definition Classes
- Global
- object cleanup extends CleanUp
- Definition Classes
- Global
- object constfold extends ConstantFolder
Fold constants
Fold constants
- Definition Classes
- Global
- object constructors extends Constructors
- Definition Classes
- Global
- object delambdafy extends Delambdafy
- Definition Classes
- Global
- object erasure extends Erasure
- Definition Classes
- Global → Transforms
- object explicitOuter extends ExplicitOuter
- Definition Classes
- Global
- object extensionMethods extends ExtensionMethods
- Definition Classes
- Global
- object fields extends Fields
- Definition Classes
- Global
- object flatten extends Flatten
- Definition Classes
- Global
- object gen extends ast.TreeGen
Tree generation, usually based on existing symbols.
Tree generation, usually based on existing symbols.
- Definition Classes
- Global → SymbolTable
- object genBCode extends GenBCode
- Definition Classes
- Global
- object icodes
For sbt compatibility (https://github.com/scala/scala/pull/4588)
For sbt compatibility (https://github.com/scala/scala/pull/4588)
- Definition Classes
- Global
- object lambdaLift extends LambdaLift
- Definition Classes
- Global
- object mixer extends Mixin
- Definition Classes
- Global
- object nodePrinters extends NodePrinters
Print tree in detailed form
Print tree in detailed form
- Definition Classes
- Global
- object overridingPairs extends OverridingPairs
Computing pairs of overriding/overridden symbols
Computing pairs of overriding/overridden symbols
- Definition Classes
- Global
- object patmat extends SubComponent with PatternMatching
- Definition Classes
- Global
- object pickler extends Pickler
- Definition Classes
- Global
- object postErasure extends SubComponent with PostErasure
- Definition Classes
- Global → Transforms
- object refChecks extends RefChecks
- Definition Classes
- Global
- object scalaPrimitives extends ScalaPrimitives
Scala primitives, used the backend
Scala primitives, used the backend
- Definition Classes
- Global
- object specializeTypes extends SpecializeTypes
- Definition Classes
- Global
- object statistics extends Statistics with GlobalStats
Redefine statistics to include all known global + reflect stats.
Redefine statistics to include all known global + reflect stats.
- Definition Classes
- Global → SymbolTable
- object superAccessors extends SuperAccessors
- Definition Classes
- Global
- object tailCalls extends TailCalls
- Definition Classes
- Global
- object terminal extends SubComponent
- Definition Classes
- Global
- object treeBrowsers extends TreeBrowsers
Representing ASTs as graphs
Representing ASTs as graphs
- Definition Classes
- Global
- object treeChecker extends TreeCheckers
Tree checker
Tree checker
- Definition Classes
- Global
- object typeDeconstruct extends StructuredTypeStrings
- Definition Classes
- Global
- object typer extends (analyzer)#Typer
- Definition Classes
- Global
- object uncurry extends UnCurry
- Definition Classes
- Global → Transforms
- object noopTransformer extends Global.AstTransformer
- Definition Classes
- Trees
- object treeInfo extends TreeInfo
- Definition Classes
- Trees
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Global, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val AllOps: SymbolOps
- Definition Classes
- Symbols
- implicit val AlternativeTag: ClassTag[Alternative]
- Definition Classes
- Trees
- implicit val AnnotatedTag: ClassTag[Annotated]
- Definition Classes
- Trees
- implicit val AnnotatedTypeTag: ClassTag[AnnotatedType]
- Definition Classes
- Types
- implicit val AnnotationTag: ClassTag[AnnotationInfo]
- Definition Classes
- AnnotationInfos
- implicit val AppliedTypeTreeTag: ClassTag[AppliedTypeTree]
- Definition Classes
- Trees
- def Apply(sym: Symbol, args: Tree*): Tree
- Definition Classes
- Trees → Trees
- def ApplyConstructor(tpt: Tree, args: List[Tree]): Apply
- Definition Classes
- Trees → Trees
- implicit val ApplyTag: ClassTag[Apply]
- Definition Classes
- Trees
- implicit val AssignTag: ClassTag[Assign]
- Definition Classes
- Trees
- def Bind(sym: Symbol, body: Tree): Bind
- Definition Classes
- Trees → Trees
- implicit val BindTag: ClassTag[Bind]
- Definition Classes
- Trees
- def Block(stats: Tree*): Block
- Definition Classes
- Trees → Trees
- implicit val BlockTag: ClassTag[Block]
- Definition Classes
- Trees
- final val BooleanTag: Int(2)
- Definition Classes
- Constants
- implicit val BoundedWildcardTypeTag: ClassTag[BoundedWildcardType]
- Definition Classes
- Types
- final val ByteTag: Int(3)
- Definition Classes
- Constants
- def CaseDef(pat: Tree, body: Tree): CaseDef
- Definition Classes
- Trees → Trees
- implicit val CaseDefTag: ClassTag[CaseDef]
- Definition Classes
- Trees
- final val CharTag: Int(5)
- Definition Classes
- Constants
- def ClassDef(sym: Symbol, constrMods: Modifiers, vparamss: List[List[ValDef]], body: List[Tree], superPos: Position): ClassDef
Construct class definition with given class symbol, value parameters, supercall arguments and template body.
Construct class definition with given class symbol, value parameters, supercall arguments and template body.
- sym
the class symbol
- constrMods
the modifiers for the class constructor, i.e. as in
class C private (...)
- vparamss
the value parameters -- if they have symbols they should be owned by
sym
- body
the template statements without primary constructor and value parameter fields.
- Definition Classes
- Trees
- implicit val ClassDefTag: ClassTag[ClassDef]
- Definition Classes
- Trees
- implicit val ClassInfoTypeTag: ClassTag[ClassInfoType]
- Definition Classes
- Types
- implicit val ClassSymbolTag: ClassTag[ClassSymbol]
- Definition Classes
- Symbols
- final val ClazzTag: Int(12)
- Definition Classes
- Constants
- implicit val CompoundTypeTag: ClassTag[CompoundType]
- Definition Classes
- Types
- implicit val CompoundTypeTreeTag: ClassTag[CompoundTypeTree]
- Definition Classes
- Trees
- implicit val ConstantTag: ClassTag[Constant]
- Definition Classes
- Constants
- implicit val ConstantTypeTag: ClassTag[ConstantType]
- Definition Classes
- Types
- val CyclicInheritance: java.lang.Throwable
- Definition Classes
- BaseTypeSeqs
- implicit val DefDefTag: ClassTag[DefDef]
- Definition Classes
- Trees
- implicit val DefTreeTag: ClassTag[DefTree]
- Definition Classes
- Trees
- final val DoubleTag: Int(9)
- Definition Classes
- Constants
- def EmptyPackageClass: ClassSymbol
- Definition Classes
- Global
- lazy val EmptyTreeTypeSubstituter: TreeTypeSubstituter
- Definition Classes
- Trees
- final val EnumTag: Int(13)
- Definition Classes
- Constants
- implicit val ExistentialTypeTag: ClassTag[ExistentialType]
- Definition Classes
- Types
- implicit val ExistentialTypeTreeTag: ClassTag[ExistentialTypeTree]
- Definition Classes
- Trees
- def FlagOps(mask: Long): SymbolOps
- Definition Classes
- Symbols
- implicit val FlagSetTag: ClassTag[FlagSet]
- Definition Classes
- FlagSets
- final val FloatTag: Int(8)
- Definition Classes
- Constants
- implicit val FreeTermSymbolTag: ClassTag[FreeTermSymbol]
- Definition Classes
- Symbols
- implicit val FreeTypeSymbolTag: ClassTag[FreeTypeSymbol]
- Definition Classes
- Symbols
- implicit val FunctionTag: ClassTag[Function]
- Definition Classes
- Trees
- implicit val GenericApplyTag: ClassTag[GenericApply]
- Definition Classes
- Trees
- val GlbFailure: java.lang.Throwable
- Definition Classes
- GlbLubs
- def Ident(sym: Symbol): Ident
- Definition Classes
- Trees → Trees
- def Ident(name: String): Ident
- Definition Classes
- Trees → Trees
- implicit val IdentTag: ClassTag[Ident]
- Definition Classes
- Trees
- implicit val IfTag: ClassTag[If]
- Definition Classes
- Trees
- implicit val ImplDefTag: ClassTag[ImplDef]
- Definition Classes
- Trees
- implicit val ImportSelectorTag: ClassTag[ImportSelector]
- Definition Classes
- Trees
- implicit val ImportTag: ClassTag[Import]
- Definition Classes
- Trees
- final val IntTag: Int(6)
- Definition Classes
- Constants
- implicit val JavaArgumentTag: ClassTag[ClassfileAnnotArg]
- Definition Classes
- AnnotationInfos
- final val JustParsed: Int(-1)
The status value of a unit that has not yet been typechecked
The status value of a unit that has not yet been typechecked
- Definition Classes
- RichCompilationUnits
- implicit val LabelDefTag: ClassTag[LabelDef]
- Definition Classes
- Trees
- implicit val LiteralTag: ClassTag[Literal]
- Definition Classes
- Trees
- final val LongTag: Int(7)
- Definition Classes
- Constants
- implicit val MatchTag: ClassTag[Match]
- Definition Classes
- Trees
- implicit val MemberDefTag: ClassTag[MemberDef]
- Definition Classes
- Trees
- implicit val MemberScopeTag: ClassTag[MemberScope]
- Definition Classes
- Scopes
- implicit val MethodSymbolTag: ClassTag[MethodSymbol]
- Definition Classes
- Symbols
- implicit val MethodTypeTag: ClassTag[MethodType]
- Definition Classes
- Types
- implicit val MirrorTag: ClassTag[Mirror]
- Definition Classes
- Global → ImplicitTags
- def Modifiers(flags: FlagSet): Modifiers
- Definition Classes
- Trees
- def Modifiers(flags: FlagSet, privateWithin: Name): Modifiers
- Definition Classes
- Trees
- implicit val ModifiersTag: ClassTag[Modifiers]
- Definition Classes
- Trees
- implicit val ModuleDefTag: ClassTag[ModuleDef]
- Definition Classes
- Trees
- implicit val ModuleSymbolTag: ClassTag[ModuleSymbol]
- Definition Classes
- Symbols
- implicit val NameTag: ClassTag[Name]
- Definition Classes
- Names
- implicit val NameTreeTag: ClassTag[NameTree]
- Definition Classes
- Trees
- implicit val NamedArgTag: ClassTag[NamedArg]
- Definition Classes
- Trees
- def New(sym: Symbol, args: Tree*): Tree
- Definition Classes
- Trees → Trees
- def New(tpe: Type, argss: List[List[Tree]]): Tree
- Definition Classes
- Trees
- def New(tpe: Type, args: Tree*): Tree
- Definition Classes
- Trees → Trees
- def New(tpt: Tree, argss: List[List[Tree]]): Tree
- Definition Classes
- Trees → Trees
- def NewFromConstructor(constructor: Symbol, args: Tree*): Apply
- Definition Classes
- Trees
- implicit val NewTag: ClassTag[New]
- Definition Classes
- Trees
- lazy val NoContext: (analyzer)#NoContext.type
- Definition Classes
- ContextTrees
- val NoFlags: FlagSet
- Definition Classes
- FlagSets → FlagSets
- val NoKindErrors: KindErrors
- Definition Classes
- Kinds
- lazy val NoMods: Modifiers
- Definition Classes
- Trees
- final val NoPeriod: Int(0)
- Definition Classes
- SymbolTable
- val NoPosition: reflect.internal.util.NoPosition.type
- Definition Classes
- Positions → Positions
- final val NoRunId: Int(0)
- Definition Classes
- SymbolTable
- lazy val NoSymbol: NoSymbol
- Definition Classes
- Symbols → Symbols
- final val NoTag: Int(0)
- Definition Classes
- Constants
- final val NotLoaded: Int(-2)
The status value of a unit that has not yet been loaded
The status value of a unit that has not yet been loaded
- Definition Classes
- RichCompilationUnits
- final val NullTag: Int(11)
- Definition Classes
- Constants
- implicit val NullaryMethodTypeTag: ClassTag[NullaryMethodType]
- Definition Classes
- Types
- implicit val PackageDefTag: ClassTag[PackageDef]
- Definition Classes
- Trees
- final val PartiallyChecked: Int(0)
The status value of a unit that has been partially typechecked
The status value of a unit that has been partially typechecked
- Definition Classes
- RichCompilationUnits
- def PerRunReporting: PerRunReporting
- Attributes
- protected
- Definition Classes
- Reporting → Reporting
- implicit val PolyTypeTag: ClassTag[PolyType]
- Definition Classes
- Types
- implicit val PositionTag: ClassTag[Position]
- Definition Classes
- Positions
- def PrimarySuperCall(argss: List[List[Tree]]): Tree
Factory method for a primary constructor super call
super.<init>(args_1)...(args_n)
Factory method for a primary constructor super call
super.<init>(args_1)...(args_n)
- Definition Classes
- Trees
- implicit val RefTreeTag: ClassTag[RefTree]
- Definition Classes
- Trees
- implicit val ReferenceToBoxedTag: ClassTag[ReferenceToBoxed]
- Definition Classes
- Trees
- implicit val RefinedTypeTag: ClassTag[RefinedType]
- Definition Classes
- Types
- implicit val ReturnTag: ClassTag[Return]
- Definition Classes
- Trees
- def RootClass: ClassSymbol
- Definition Classes
- Global
- implicit val RuntimeClassTag: ClassTag[RuntimeClass]
- Definition Classes
- Global → ImplicitTags
- implicit val ScopeTag: ClassTag[Scope]
- Definition Classes
- Scopes
- def Select(qualifier: Tree, sym: Symbol): Select
- Definition Classes
- Trees → Trees
- def Select(qualifier: Tree, name: String): Select
- Definition Classes
- Trees → Trees
- implicit val SelectFromTypeTreeTag: ClassTag[SelectFromTypeTree]
- Definition Classes
- Trees
- implicit val SelectTag: ClassTag[Select]
- Definition Classes
- Trees
- final val ShortTag: Int(4)
- Definition Classes
- Constants
- implicit val SingleTypeTag: ClassTag[SingleType]
- Definition Classes
- Types
- implicit val SingletonTypeTag: ClassTag[SingletonType]
- Definition Classes
- Types
- implicit val SingletonTypeTreeTag: ClassTag[SingletonTypeTree]
- Definition Classes
- Trees
- implicit val StarTag: ClassTag[Star]
- Definition Classes
- Trees
- final val StringTag: Int(10)
- Definition Classes
- Constants
- def Super(sym: Symbol, mix: TypeName): Tree
- Definition Classes
- Trees → Trees
- def SuperSelect(clazz: Symbol, sym: Symbol): Tree
- Definition Classes
- Trees
- implicit val SuperTag: ClassTag[Super]
- Definition Classes
- Trees
- implicit val SuperTypeTag: ClassTag[SuperType]
- Definition Classes
- Types
- implicit val SymTreeTag: ClassTag[SymTree]
- Definition Classes
- Trees
- implicit val SymbolTag: ClassTag[Symbol]
- Definition Classes
- Symbols
- def Template(sym: Symbol, body: List[Tree]): Template
- Definition Classes
- Trees
- implicit val TemplateTag: ClassTag[Template]
- Definition Classes
- Trees
- implicit val TermNameTag: ClassTag[TermName]
- Definition Classes
- Names
- implicit val TermSymbolTag: ClassTag[TermSymbol]
- Definition Classes
- Symbols
- implicit val TermTreeTag: ClassTag[TermTree]
- Definition Classes
- Trees
- def This(sym: Symbol): Tree
- Definition Classes
- Trees → Trees
- implicit val ThisTag: ClassTag[This]
- Definition Classes
- Trees
- implicit val ThisTypeTag: ClassTag[ThisType]
- Definition Classes
- Types
- def Throw(tpe: Type, args: Tree*): Throw
- Definition Classes
- Trees → Trees
- implicit val ThrowTag: ClassTag[Throw]
- Definition Classes
- Trees
- implicit val TreeCopierTag: ClassTag[TreeCopier]
- Definition Classes
- Trees
- implicit val TreeTag: ClassTag[Tree]
- Definition Classes
- Trees
- def Try(body: Tree, cases: (Tree, Tree)*): Try
- Definition Classes
- Trees → Trees
- implicit val TryTag: ClassTag[Try]
- Definition Classes
- Trees
- implicit val TypTreeTag: ClassTag[TypTree]
- Definition Classes
- Trees
- implicit val TypeApplyTag: ClassTag[TypeApply]
- Definition Classes
- Trees
- implicit val TypeBoundsTag: ClassTag[TypeBounds]
- Definition Classes
- Types
- def TypeBoundsTree(sym: Symbol): TypeBoundsTree
- Definition Classes
- Trees
- def TypeBoundsTree(bounds: TypeBounds): TypeBoundsTree
- Definition Classes
- Trees
- implicit val TypeBoundsTreeTag: ClassTag[TypeBoundsTree]
- Definition Classes
- Trees
- implicit val TypeDefTag: ClassTag[TypeDef]
- Definition Classes
- Trees
- implicit val TypeNameTag: ClassTag[TypeName]
- Definition Classes
- Names
- implicit val TypeRefTag: ClassTag[TypeRef]
- Definition Classes
- Types
- implicit val TypeSymbolTag: ClassTag[TypeSymbol]
- Definition Classes
- Symbols
- implicit val TypeTagg: ClassTag[Type]
- Definition Classes
- Types
- def TypeTree(tp: Type): TypeTree
- Definition Classes
- Trees → Trees
- implicit val TypeTreeTag: ClassTag[TypeTree]
- Definition Classes
- Trees
- implicit val TypedTag: ClassTag[Typed]
- Definition Classes
- Trees
- implicit val UnApplyTag: ClassTag[UnApply]
- Definition Classes
- Trees
- final val UnitTag: Int(1)
- Definition Classes
- Constants
- implicit val ValDefTag: ClassTag[ValDef]
- Definition Classes
- Trees
- implicit val ValOrDefDefTag: ClassTag[ValOrDefDef]
- Definition Classes
- Trees
- def abort(msg: String): Nothing
- Definition Classes
- Reporting
- implicit def abstractFile: Pickler[AbstractFile]
- Definition Classes
- Picklers
- implicit def action: Pickler[() => Unit]
- Definition Classes
- Picklers
- def adaptAnnotations(tree: Tree, mode: reflect.internal.Mode, pt: Type): Tree
- Definition Classes
- AnnotationCheckers
- def adaptBoundsToAnnotations(bounds: List[TypeBounds], tparams: List[Symbol], targs: List[Type]): List[TypeBounds]
- Definition Classes
- AnnotationCheckers
- def adaptTypeOfReturn(tree: Tree, pt: Type, default: => Type): Type
- Definition Classes
- AnnotationCheckers
- def addAnnotationChecker(checker: AnnotationChecker): Unit
- Definition Classes
- AnnotationCheckers
- def addAnnotations(tree: Tree, tpe: Type): Type
- Definition Classes
- AnnotationCheckers
- def addContext(contexts: Contexts, context: Context, cpos: Position): Unit
Insert a context with non-transparent position
cpos
at correct position into a buffer of context trees.Insert a context with non-transparent position
cpos
at correct position into a buffer of context trees.- Definition Classes
- ContextTrees
- def addContext(contexts: Contexts, context: Context): Unit
Insert a context at correct position into a buffer of context trees.
Insert a context at correct position into a buffer of context trees. If the
context
has a transparent position, add it multiple times at the positions of all its solid descendant trees.- Definition Classes
- ContextTrees
- implicit def addFlagOps(left: FlagSet): FlagOps
- Definition Classes
- FlagSets → FlagSets
- def addMember(thistp: Type, tp: Type, sym: Symbol, depth: Depth): Unit
- Definition Classes
- Types
- def addMember(thistp: Type, tp: Type, sym: Symbol): Unit
- Definition Classes
- Types
- implicit def addOnTypeError[T](x: => T): OnTypeError[T]
- def addSerializable(ps: Type*): List[Type]
- Definition Classes
- Types
- def addToPhasesSet(sub: SubComponent, descr: String): Unit
- Attributes
- protected
- Definition Classes
- Global
- def afterEachPhase[T](op: => T): List[(Phase, T)]
Returns List of (phase, value) pairs, including only those where the value compares unequal to the previous phase's value.
Returns List of (phase, value) pairs, including only those where the value compares unequal to the previous phase's value.
- Definition Classes
- Global
- final def allNames(): Iterator[TermName]
- Definition Classes
- Names
- var allSources: List[SourceFile]
A list giving all files to be typechecked in the order they should be checked.
A list giving all files to be typechecked in the order they should be checked.
- Attributes
- protected
- lazy val analyzer: InteractiveAnalyzer { val global: Global.this.type }
- def annotatedType(annots: List[AnnotationInfo], underlying: Type): Type
- Definition Classes
- Types
- def annotationToTree(ann: Annotation): Tree
- Attributes
- protected[scala]
- Definition Classes
- AnnotationInfos → Annotations
- def annotationsConform(tp1: Type, tp2: Type): Boolean
- Definition Classes
- AnnotationCheckers
- def annotationsGlb(tpe: Type, ts: List[Type]): Type
- Definition Classes
- AnnotationCheckers
- def annotationsLub(tpe: Type, ts: List[Type]): Type
- Definition Classes
- AnnotationCheckers
- def appliedType(tyconSym: Symbol, args: Type*): Type
- Definition Classes
- Types → Types
- def appliedType(tyconSym: Symbol, args: List[Type]): Type
- Definition Classes
- Types → Types
- def appliedType(tycon: Type, args: Type*): Type
- Definition Classes
- Types → Types
- def appliedType(tycon: Type, args: List[Type]): Type
- Definition Classes
- Types → Types
- def arrayToRepeated(tp: Type): Type
- Definition Classes
- SymbolTable
- def asCompactDebugString(t: Tree): String
- Definition Classes
- Printers
- def asCompactString(t: Tree): String
- Definition Classes
- Printers
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asString(t: Tree): String
- Definition Classes
- Printers
- def ask[A](op: () => A): A
Asks for a computation to be done quickly on the presentation compiler thread
Asks for a computation to be done quickly on the presentation compiler thread
- Definition Classes
- CompilerControl
- def askDocComment(sym: Symbol, source: SourceFile, site: Symbol, fragments: List[(Symbol, SourceFile)], response: Response[(String, String, Position)]): Unit
Sets sync var
response
to doc comment information for a given symbol.Sets sync var
response
to doc comment information for a given symbol.- sym
The symbol whose doc comment should be retrieved (might come from a classfile)
- source
The source file that's supposed to contain the definition
- site
The symbol where 'sym' is observed
- fragments
All symbols that can contribute to the generated documentation together with their source files.
- response
A response that will be set to the following: If
source
contains a definition of a given symbol that has a doc comment, the (expanded, raw, position) triplet for a comment, otherwise ("", "", NoPosition). Note: This operation does not automatically load sources that are not yet loaded.
- Definition Classes
- CompilerControl
- implicit def askDocCommentItem: CondPickler[AskDocCommentItem]
- Definition Classes
- Picklers
- def askFilesDeleted(sources: List[SourceFile], response: Response[Unit]): Unit
Removes source files and toplevel symbols, and issues a new typer run.
Removes source files and toplevel symbols, and issues a new typer run. Returns () to syncvar
response
on completion.- Definition Classes
- CompilerControl
- def askForResponse[A](op: () => A): Response[A]
Asks for a computation to be done on presentation compiler thread, returning a response with the result or an exception
Asks for a computation to be done on presentation compiler thread, returning a response with the result or an exception
- Definition Classes
- CompilerControl
- def askLinkPos(sym: Symbol, source: SourceFile, response: Response[Position]): Unit
Sets sync var
response
to the position of the definition of the given link in the given sourcefile.Sets sync var
response
to the position of the definition of the given link in the given sourcefile.- sym
The symbol referenced by the link (might come from a classfile)
- source
The source file that's supposed to contain the definition
- response
A response that will be set to the following: If
source
contains a definition that is referenced by the given link the position of that definition, otherwise NoPosition. Note: This operation does not automatically loadsource
. Ifsource
is unloaded, it stays that way.
- Definition Classes
- CompilerControl
- implicit def askLinkPosItem: CondPickler[AskLinkPosItem]
- Definition Classes
- Picklers
- final def askLoadedTyped(source: SourceFile, response: Response[Tree]): Unit
- Definition Classes
- CompilerControl
- def askLoadedTyped(source: SourceFile, keepLoaded: Boolean, response: Response[Tree]): Unit
If source is not yet loaded, loads it, and starts a new run, otherwise continues with current pass.
If source is not yet loaded, loads it, and starts a new run, otherwise continues with current pass. Waits until source is fully type checked and returns body in response.
- source
The source file that needs to be fully typed.
- keepLoaded
Whether to keep that file in the PC if it was not loaded before. If the file is already loaded, this flag is ignored.
- response
The response, which is set to the fully attributed tree of
source
. If the unit corresponding tosource
has been removed in the meantime the a NoSuchUnitError is raised in the response.
- Definition Classes
- CompilerControl
- implicit def askLoadedTypedItem: CondPickler[AskLoadedTypedItem]
- Definition Classes
- Picklers
- def askParsedEntered(source: SourceFile, keepLoaded: Boolean, response: Response[Tree]): Unit
Set sync var
response
to the parse tree ofsource
with all top-level symbols entered.Set sync var
response
to the parse tree ofsource
with all top-level symbols entered.- source
The source file to be analyzed
- keepLoaded
If set to
true
, source file will be kept as a loaded unit afterwards. If keepLoaded isfalse
the operation is run at low priority, only after everything is brought up to date in a regular type checker run.- response
The response.
- Definition Classes
- CompilerControl
- implicit def askParsedEnteredItem: CondPickler[AskParsedEnteredItem]
- Definition Classes
- Picklers
- def askReload(sources: List[SourceFile], response: Response[Unit]): Unit
Makes sure a set of compilation units is loaded and parsed.
Makes sure a set of compilation units is loaded and parsed. Returns () to syncvar
response
on completion. Afterwards a new background compiler run is started with the given sources at the head of the list of to-be-compiled sources.- Definition Classes
- CompilerControl
- def askReset(): Unit
Cancels current compiler run and start a fresh one where everything will be re-typechecked (but not re-loaded).
Cancels current compiler run and start a fresh one where everything will be re-typechecked (but not re-loaded).
- Definition Classes
- CompilerControl
- def askScopeCompletion(pos: Position, response: Response[List[Member]]): Unit
Sets sync var
response
to list of members that are visible as members of the scope enclosingpos
.Sets sync var
response
to list of members that are visible as members of the scope enclosingpos
.- Definition Classes
- CompilerControl
- Note
Pre-condition: source is loaded
- implicit def askScopeCompletionItem: CondPickler[AskScopeCompletionItem]
- Definition Classes
- Picklers
- def askShutdown(): Unit
Tells the compile server to shutdown, and not to restart again
Tells the compile server to shutdown, and not to restart again
- Definition Classes
- CompilerControl
- def askStructure(keepSrcLoaded: Boolean)(source: SourceFile, response: Response[Tree]): Unit
If source if not yet loaded, get an outline view with askParseEntered.
If source if not yet loaded, get an outline view with askParseEntered. If source is loaded, wait for it to be typechecked. In both cases, set response to parsed (and possibly typechecked) tree.
- keepSrcLoaded
If set to
true
, source file will be kept as a loaded unit afterwards.
- Definition Classes
- CompilerControl
- def askToDoFirst(source: SourceFile): Unit
Asks to do unit corresponding to given source file on present and subsequent type checking passes.
Asks to do unit corresponding to given source file on present and subsequent type checking passes. If the file is in the 'crashedFiles' ignore list it is removed and typechecked normally.
- Definition Classes
- CompilerControl
- implicit def askToDoFirstItem: CondPickler[AskToDoFirstItem]
- Definition Classes
- Picklers
- def askTypeAt(pos: Position, response: Response[Tree]): Unit
Sets sync var
response
to the smallest fully attributed tree that encloses positionpos
.Sets sync var
response
to the smallest fully attributed tree that encloses positionpos
. Note: Unlike for most other ask... operations, the source file belonging topos
needs not be loaded.- Definition Classes
- CompilerControl
- implicit def askTypeAtItem: CondPickler[AskTypeAtItem]
- Definition Classes
- Picklers
- def askTypeCompletion(pos: Position, response: Response[List[Member]]): Unit
Sets sync var
response
to list of members that are visible as members of the tree enclosingpos
, possibly reachable by an implicit.Sets sync var
response
to list of members that are visible as members of the tree enclosingpos
, possibly reachable by an implicit.- Definition Classes
- CompilerControl
- Note
Pre-condition: source is loaded
- implicit def askTypeCompletionItem: CondPickler[AskTypeCompletionItem]
- Definition Classes
- Picklers
- implicit def askTypeItem: CondPickler[AskTypeItem]
- Definition Classes
- Picklers
- final def assert(assertion: Boolean, message: => Any): Unit
- Definition Classes
- SymbolTable
- Annotations
- @inline()
- def assertCorrectThread(): Unit
Check that the currently executing thread is the presentation compiler thread.
Check that the currently executing thread is the presentation compiler thread.
Compiler initialization may happen on a different thread (signalled by globalPhase being NoPhase)
- Definition Classes
- Global → SymbolTable
- Annotations
- @elidable()
- final def atPhaseStack: List[reflect.internal.Phase]
- Definition Classes
- SymbolTable
- def atPhaseStackMessage: String
- Definition Classes
- SymbolTable
- def atPos[T <: Tree](pos: Position)(tree: T): T
- Definition Classes
- Positions → Positions
- def backquotedPath(t: Tree): String
- Definition Classes
- Printers
- def baseTypeSingletonSeq(tp: Type): BaseTypeSeq
- Definition Classes
- BaseTypeSeqs
- def basetypeRecursions: Int
- Definition Classes
- Types
- def basetypeRecursions_=(value: Int): Unit
- Definition Classes
- Types
- final def bitSetByPredicate[A](xs: List[A])(pred: (A) => Boolean): BitSet
- Definition Classes
- Collections
- def brutallyResetAttrs(x: Tree, leaveAlone: (Tree) => Boolean = null): Tree
- Definition Classes
- Trees
- See also
ResetAttrs
- val build: ReificationSupportImpl
- Definition Classes
- ReificationSupport
- def canAdaptAnnotations(tree: Tree, mode: reflect.internal.Mode, pt: Type): Boolean
- Definition Classes
- AnnotationCheckers
- def captureVariable(vble: Symbol): Unit
- Definition Classes
- CapturedVariables
- def capturedVariableType(vble: Symbol, tpe: Type, erasedTypes: Boolean): Type
- Definition Classes
- CapturedVariables
- def capturedVariableType(vble: Symbol): Type
- Definition Classes
- CapturedVariables
- def changeNonLocalOwners(tree: Tree, newowner: Symbol): Unit
- Definition Classes
- Trees
- def checkForMoreWork(pos: Position): Unit
- Attributes
- protected
- def checkKindBounds0(tparams: List[Symbol], targs: List[Type], pre: Type, owner: Symbol, explainErrors: Boolean): List[(Type, Symbol, KindErrors)]
- Definition Classes
- Kinds
- def checkNoResponsesOutstanding(): Unit
- def classPath: ClassPath
- Definition Classes
- Global
- def clearDocComments(): Unit
- Definition Classes
- DocComments
- def clearIgnoredFiles(): Unit
Flush the buffer of sources that are ignored during background compilation.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def cloneSymbols(syms: List[Symbol]): List[Symbol]
- Definition Classes
- Symbols
- def cloneSymbolsAndModify(syms: List[Symbol], infoFn: (Type) => Type): List[Symbol]
- Definition Classes
- Symbols
- def cloneSymbolsAtOwner(syms: List[Symbol], owner: Symbol): List[Symbol]
- Definition Classes
- Symbols
- def cloneSymbolsAtOwnerAndModify(syms: List[Symbol], owner: Symbol, infoFn: (Type) => Type): List[Symbol]
- Definition Classes
- Symbols
- def close(): Unit
- Definition Classes
- Global → Closeable → AutoCloseable
- final lazy val closeableRegistry: CloseableRegistry
- Definition Classes
- Global
- final def closestEnclMethod(from: Symbol): Symbol
- Definition Classes
- Symbols
- Annotations
- @tailrec()
- final def collectFirst[A, B](as: List[A])(pf: PartialFunction[A, B]): Option[B]
- Definition Classes
- Collections
- final def collectMap2[A, B, C](xs1: List[A], xs2: List[B])(p: (A, B) => Boolean): Map[A, B]
- Definition Classes
- Collections
- def commonOwner(tps: List[Type]): Symbol
- Attributes
- protected[reflect.internal]
- Definition Classes
- CommonOwners
- def commonOwner(t: Type): Symbol
- Attributes
- protected[reflect.internal]
- Definition Classes
- CommonOwners
- def commonOwnerMap: CommonOwnerMap
- Attributes
- protected
- Definition Classes
- CommonOwners
- final def compareLengths(xs1: List[_], xs2: List[_]): Int
- Definition Classes
- Collections
- Annotations
- @tailrec()
- final def completionsAt(pos: Position): CompletionResult
- def compoundBaseTypeSeq(tp: Type): BaseTypeSeq
- Definition Classes
- BaseTypeSeqs
- def computeBaseClasses(tpe: Type): List[Symbol]
- Attributes
- protected
- Definition Classes
- Types
- def computeInternalPhases(): Unit
Add the internal compiler phases to the phases set.
Add the internal compiler phases to the phases set. This implementation creates a description map at the same time.
- Attributes
- protected
- Definition Classes
- Global
- def computePhaseAssembly(): List[SubComponent]
Called by Global#computePhaseDescriptors to compute phase order.
Called by Global#computePhaseDescriptors to compute phase order.
The phases to assemble are provided by
phasesSet
, which must contain aninitial
phase. If no phase isterminal
, thenglobal.terminal
is added.- Definition Classes
- PhaseAssembly
- def computePhaseDescriptors: List[SubComponent]
- Attributes
- protected
- Definition Classes
- Global
- def computePlatformPhases(): Unit
- Attributes
- protected
- Definition Classes
- Global
- def computePluginPhases(): Unit
Extract all phases supplied by plugins and add them to the phasesSet.
Extract all phases supplied by plugins and add them to the phasesSet.
- Attributes
- protected
- Definition Classes
- Plugins
- See also
phasesSet
- def connectModuleToClass(m: ModuleSymbol, moduleClass: ClassSymbol): m.type
- Definition Classes
- Symbols
- def containsExistential(tpe: Type): Boolean
- Definition Classes
- Types
- def cookedDocComment(sym: Symbol, docStr: String = ""): String
The raw doc comment of symbol
sym
, minus usecase and define sections, augmented by missing sections of an inherited doc comment.The raw doc comment of symbol
sym
, minus usecase and define sections, augmented by missing sections of an inherited doc comment. If a symbol does not have a doc comment but some overridden version of it does, the doc comment of the overridden version is copied instead.- Definition Classes
- DocComments
- val cookedDocComments: HashMap[Symbol, String]
- Definition Classes
- DocComments
- def copyClassDef(tree: Tree)(mods: Modifiers, name: Name, tparams: List[TypeDef], impl: Template): ClassDef
- Definition Classes
- Trees
- def copyDefDef(tree: Tree)(mods: Modifiers, name: Name, tparams: List[TypeDef], vparamss: List[List[ValDef]], tpt: Tree, rhs: Tree): DefDef
- Definition Classes
- Trees
- def copyMethodType(tp: Type, params: List[Symbol], restpe: Type): Type
- Definition Classes
- Types
- def copyModuleDef(tree: Tree)(mods: Modifiers, name: Name, impl: Template): ModuleDef
- Definition Classes
- Trees
- def copyRefinedType(original: RefinedType, parents: List[Type], decls: Scope): Type
- Definition Classes
- Types
- def copyTypeDef(tree: Tree)(mods: Modifiers, name: Name, tparams: List[TypeDef], rhs: Tree): TypeDef
- Definition Classes
- Trees
- def copyTypeRef(tp: Type, pre: Type, sym: Symbol, args: List[Type]): Type
- Definition Classes
- Types
- def copyValDef(tree: Tree)(mods: Modifiers, name: Name, tpt: Tree, rhs: Tree): ValDef
- Definition Classes
- Trees
- final def corresponds3[A, B, C](xs1: List[A], xs2: List[B], xs3: List[C])(f: (A, B, C) => Boolean): Boolean
- Definition Classes
- Collections
- Annotations
- @tailrec()
- def createFromClonedSymbols[T](syms: List[Symbol], tpe: Type)(creator: (List[Symbol], Type) => T): T
- Definition Classes
- Symbols
- def createFromClonedSymbolsAtOwner[T](syms: List[Symbol], owner: Symbol, tpe: Type)(creator: (List[Symbol], Type) => T): T
- Definition Classes
- Symbols
- def createJavadoc: Boolean
- Definition Classes
- Global
- def currentFreshNameCreator: FreshNameCreator
- Definition Classes
- Global → FreshNames
- final def currentPeriod: Period
- Definition Classes
- SymbolTable
- def currentRun: Run
The currently active run
- def currentRunId: Int
The id of the currently active run
The id of the currently active run
- Definition Classes
- Global → SymbolTable
- def currentRunProfilerAfterCompletion(root: Symbol, associatedFile: AbstractFile): Unit
- def currentRunProfilerBeforeCompletion(root: Symbol, associatedFile: AbstractFile): Unit
- var currentSettings: Settings
- Definition Classes
- Global
- def currentSource: SourceFile
- Definition Classes
- Global
- def currentUnit: CompilationUnit
- Definition Classes
- Global
- val debugIDE: Boolean
- final def debugLog(msg: => String): Unit
Print msg only when debugIDE is true.
Print msg only when debugIDE is true.
- Annotations
- @inline()
- def debugStack(t: Throwable): Unit
- Definition Classes
- SymbolTable
- def debugString(tp: Type): String
- Definition Classes
- TypeDebugging
- final def debuglog(msg: => String): Unit
- Definition Classes
- Global → SymbolTable
- Annotations
- @inline()
- def decodedSymName(tree: Tree, name: Name): String
- Definition Classes
- Printers
- def defaultThrowable[T <: Throwable]: CondPickler[T]
- Definition Classes
- Picklers
- def defineBaseClassesOfCompoundType(tpe: CompoundType): Unit
- Attributes
- protected
- Definition Classes
- Types
- def defineBaseTypeSeqOfCompoundType(tpe: CompoundType): Unit
- Attributes
- protected
- Definition Classes
- Types
- def defineBaseTypeSeqOfTypeRef(tpe: TypeRef): Unit
- Attributes
- protected
- Definition Classes
- Types
- def defineNormalized(tr: TypeRef): Unit
- Attributes
- protected
- Definition Classes
- Types
- def defineOriginalOwner(sym: Symbol, owner: Symbol): Unit
- Definition Classes
- Global → Symbols
- def defineParentsOfTypeRef(tpe: TypeRef): Unit
- Attributes
- protected
- Definition Classes
- Types
- def defineUnderlyingOfSingleType(tpe: SingleType): Unit
- Attributes
- protected
- Definition Classes
- Types
- val deletedTopLevelSyms: LinkedHashSet[Symbol]
The top level classes and objects no longer seen in the presentation compiler
- def delta(f: AbstractFile, cs: Array[Char]): Diff
- Definition Classes
- Picklers
- def demandNewCompilerRun(): Unit
- def deriveCaseDef(cdef: Tree)(applyToBody: (Tree) => Tree): CaseDef
- Definition Classes
- Trees
- def deriveClassDef(cdef: Tree)(applyToImpl: (Template) => Template): ClassDef
- Definition Classes
- Trees
- def deriveDefDef(ddef: Tree)(applyToRhs: (Tree) => Tree): DefDef
- Definition Classes
- Trees
- def deriveFreshSkolems(tparams: List[Symbol]): List[Symbol]
- Definition Classes
- ExistentialsAndSkolems
- def deriveFunction(func: Tree)(applyToRhs: (Tree) => Tree): Function
- Definition Classes
- Trees
- def deriveLabelDef(ldef: Tree)(applyToRhs: (Tree) => Tree): LabelDef
- Definition Classes
- Trees
- def deriveModuleDef(mdef: Tree)(applyToImpl: (Template) => Template): ModuleDef
- Definition Classes
- Trees
- def deriveSymbols(syms: List[Symbol], symFn: (Symbol) => Symbol): List[Symbol]
- Definition Classes
- Symbols
- def deriveSymbols2[A](syms: List[Symbol], as: List[A], symFn: (Symbol, A) => Symbol): List[Symbol]
- Definition Classes
- Symbols
- def deriveTemplate(templ: Tree)(applyToBody: (List[Tree]) => List[Tree]): Template
- Definition Classes
- Trees
- def deriveType(syms: List[Symbol], symFn: (Symbol) => Symbol)(tpe: Type): Type
- Definition Classes
- Symbols
- def deriveType2[A](syms: List[Symbol], as: List[A], symFn: (Symbol, A) => Symbol)(tpe: Type): Type
- Definition Classes
- Symbols
- def deriveTypeWithWildcards(syms: List[Symbol])(tpe: Type): Type
- Definition Classes
- Symbols
- def deriveValDef(vdef: Tree)(applyToRhs: (Tree) => Tree): ValDef
- Definition Classes
- Trees
- final def devWarning(pos: Position, msg: => String): Unit
- Definition Classes
- Global
- Annotations
- @inline()
- final def devWarning(msg: => String): Unit
This is for WARNINGS which should reach the ears of scala developers whenever they occur, but are not useful for normal users.
This is for WARNINGS which should reach the ears of scala developers whenever they occur, but are not useful for normal users. They should be precise, explanatory, and infrequent. Please don't use this as a logging mechanism. !!! is prefixed to all messages issued via this route to make them visually distinct.
- Definition Classes
- Global → SymbolTable
- Annotations
- @inline()
- final def devWarningDumpStack(msg: => String, maxFrames: Int): Unit
- Definition Classes
- SymbolTable
- Annotations
- @inline()
- final def devWarningIf(cond: => Boolean)(msg: => String): Unit
- Definition Classes
- SymbolTable
- Annotations
- @inline()
- final def distinctBy[A, B](xs: List[A])(f: (A) => B): List[A]
- Definition Classes
- Collections
- def doLocateContext(pos: Position): Context
Returns the smallest context that contains given
pos
, throws FatalError if none exists.Returns the smallest context that contains given
pos
, throws FatalError if none exists.- Definition Classes
- CompilerControl
- def docCommentPos(sym: Symbol): Position
The position of the raw doc comment of symbol
sym
, or NoPosition if missing If a symbol does not have a doc comment but some overridden version of it does, the position of the doc comment of the overridden version is returned instead.The position of the raw doc comment of symbol
sym
, or NoPosition if missing If a symbol does not have a doc comment but some overridden version of it does, the position of the doc comment of the overridden version is returned instead.- Definition Classes
- DocComments
- val docComments: WeakHashMap[Symbol, DocComment]
The raw doc comment map
The raw doc comment map
In IDE, background compilation runs get interrupted by reloading new sourcefiles. This is weak to avoid memleaks due to the doc of their cached symbols (e.g. in baseTypeSeq) between periodic doc reloads.
- Definition Classes
- DocComments
- def duplicateAndKeepPositions(tree: Tree): Tree
- Definition Classes
- Trees
- def echoPhaseSummary(ph: Phase): Unit
- Definition Classes
- Global
- def elapsedMessage(msg: String, startNs: Long): String
- Attributes
- protected
- Definition Classes
- SymbolTable
- def elementExtract(container: Symbol, tp: Type): Type
- Definition Classes
- Types
- def elementExtractOption(container: Symbol, tp: Type): Option[Type]
- Definition Classes
- Types
- def elementTest(container: Symbol, tp: Type)(f: (Type) => Boolean): Boolean
- Definition Classes
- Types
- def elementTransform(container: Symbol, tp: Type)(f: (Type) => Type): Type
- Definition Classes
- Types
- def elimAnonymousClass(t: Type): Type
- Definition Classes
- Types
- implicit def emptyAction: CondPickler[EmptyAction]
- Definition Classes
- Picklers
- def enableIgnoredFile(file: AbstractFile): Unit
Remove a crashed file from the ignore buffer.
Remove a crashed file from the ignore buffer. Background compilation will take it into account and errors will be reported against it.
- def encode(str: String): TermName
- Definition Classes
- StdNames
- def ensureNonOverlapping(tree: Tree, others: List[Tree], focus: Boolean): Unit
- Definition Classes
- Positions
- def ensureNonOverlapping(tree: Tree, others: List[Tree]): Unit
- Definition Classes
- Positions
- def ensuring(cond: (Global) => Boolean, msg: => Any): Global
- def ensuring(cond: (Global) => Boolean): Global
- def ensuring(cond: Boolean, msg: => Any): Global
- def ensuring(cond: Boolean): Global
- final def enteringDelambdafy[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def enteringErasure[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def enteringExplicitOuter[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def enteringFlatten[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def enteringJVM[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def enteringMixin[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def enteringPhase[T](ph: reflect.internal.Phase)(op: => T): T
- Definition Classes
- SymbolTable
- Annotations
- @inline()
- final def enteringPhaseNotLaterThan[T](target: reflect.internal.Phase)(op: => T): T
- Definition Classes
- SymbolTable
- Annotations
- @inline()
- final def enteringPhaseWithName[T](phaseName: String)(body: => T): T
- Definition Classes
- SymbolTable
- final def enteringPickler[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def enteringPrevPhase[T](op: => T): T
- Definition Classes
- SymbolTable
- Annotations
- @inline()
- final def enteringSpecialize[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def enteringTyper[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def enteringUncurry[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def erasurePhase: Phase
- Definition Classes
- Global → SymbolTable
- def existentialAbstraction(tparams: List[Symbol], tpe0: Type, flipVariance: Boolean): Type
- Definition Classes
- Types
- final def existentialTransform[T](rawSyms: List[Symbol], tp: Type, rawOwner: Symbol)(creator: (List[Symbol], Type) => T): T
- Definition Classes
- ExistentialsAndSkolems
- def existentialsInType(tpe: Type): List[Symbol]
- Definition Classes
- Types
- def existingSymbols(syms: List[Symbol]): List[Symbol]
- Definition Classes
- Symbols
- final def exists2[A, B](xs1: List[A], xs2: List[B])(f: (A, B) => Boolean): Boolean
- Definition Classes
- Collections
- final def exists3[A, B, C](xs1: List[A], xs2: List[B], xs3: List[C])(f: (A, B, C) => Boolean): Boolean
- Definition Classes
- Collections
- final def exitingDelambdafy[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def exitingErasure[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def exitingExplicitOuter[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def exitingFlatten[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def exitingMixin[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def exitingPhase[T](ph: reflect.internal.Phase)(op: => T): T
- Definition Classes
- SymbolTable
- Annotations
- @inline()
- final def exitingPickler[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def exitingPostErasure[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def exitingRefchecks[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def exitingSpecialize[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def exitingTyper[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- final def exitingUncurry[T](op: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- def expandInheritdoc(parent: String, child: String, sym: Symbol): String
Expand inheritdoc tags
Expand inheritdoc tags
- for the main comment we transform the inheritdoc into the super variable, and the variable expansion can expand it further
- for the param, tparam and throws sections we must replace comments on the spot
This is done separately, for two reasons: 1. It takes longer to run compared to merge 2. The inheritdoc annotation should not be used very often, as building the comment from pieces severely impacts performance
- parent
The source (or parent) comment
- child
The child (overriding member or usecase) comment
- sym
The child symbol
- returns
The child comment with the inheritdoc sections expanded
- Definition Classes
- DocComments
- def expandVariables(initialStr: String, sym: Symbol, site: Symbol): String
Expand variable occurrences in string
str
, until a fix point is reached or an expandLimit is exceeded.Expand variable occurrences in string
str
, until a fix point is reached or an expandLimit is exceeded.- initialStr
The string to be expanded
- sym
The symbol for which doc comments are generated
- site
The class for which doc comments are generated
- returns
Expanded string
- Attributes
- protected
- Definition Classes
- DocComments
- def expandedDocComment(sym: Symbol, site: Symbol, docStr: String = ""): String
The cooked doc comment of symbol
sym
after variable expansion, or "" if missing.The cooked doc comment of symbol
sym
after variable expansion, or "" if missing.- sym
The symbol for which doc comment is returned
- site
The class for which doc comments are generated
- Definition Classes
- DocComments
- Exceptions thrown
ExpansionLimitExceeded
when more than 10 successive expansions of the same string are done, which is interpreted as a recursive variable definition.
- def explain[T](op: String, p: (Type, T) => Boolean, tp1: Type, arg2: T): Boolean
- Attributes
- protected
- Definition Classes
- Types
- def explainTypes(op: (Type, Type) => Any, found: Type, required: Type): Unit
- Definition Classes
- Types
- def explainTypes(found: Type, required: Type): Unit
- Definition Classes
- Types
- def explicitlyUnit(tree: Tree): Boolean
- Definition Classes
- StdAttachments
- def extendCompilerClassPath(urls: URL*): Unit
Extend classpath of
platform
and rescan updated packages.Extend classpath of
platform
and rescan updated packages.- Definition Classes
- Global
- def extensionMethInfo(currentOwner: Symbol, extensionMeth: Symbol, origInfo: Type, clazz: Symbol): Type
- Definition Classes
- Types
- def fillDocComment(sym: Symbol, comment: DocComment): Unit
- Definition Classes
- DocComments
- final def fillList[T](n: Int)(t: T): List[T]
- Definition Classes
- Collections
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findMacroClassLoader(): ClassLoader
Obtains a
ClassLoader
instance used for macro expansion.Obtains a
ClassLoader
instance used for macro expansion.By default a new
ScalaClassLoader
is created using the classpath from global and the classloader of self as parent.Mirrors with runtime definitions (e.g. Repl) need to adjust this method.
- Definition Classes
- Plugins
- def findMemberFromRoot(fullName: Name): Symbol
- Definition Classes
- Global
- final def findOrElse[A](xs: IterableOnce[A])(p: (A) => Boolean)(orElse: => A): A
- Definition Classes
- Collections
- final def findPhaseWithName(phaseName: String): reflect.internal.Phase
- Definition Classes
- SymbolTable
- def findPluginClassLoader(classpath: Seq[Path]): ClassLoader
Locate or create the classloader to load a compiler plugin with
classpath
.Locate or create the classloader to load a compiler plugin with
classpath
.Subclasses may override to customise the behaviour. The returned classloader must return the first from plugin descriptor from
classpath
whengetResource("scalac-plugin.xml")
is called.- Attributes
- protected
- Definition Classes
- Plugins
- final def findSymbol(xs: IterableOnce[Symbol])(p: (Symbol) => Boolean): Symbol
- Definition Classes
- SymbolTable
- Annotations
- @inline()
- final def flatCollect[A, B](elems: List[A])(pf: PartialFunction[A, Iterable[B]]): List[B]
- Definition Classes
- Collections
- final def flatMap2[A, B, C](xs1: List[A], xs2: List[B])(f: (A, B) => List[C]): List[C]
- Definition Classes
- Collections
- final def flattensToEmpty(xss: Seq[Seq[_]]): Boolean
- Definition Classes
- Collections
- Annotations
- @tailrec()
- final def focusInPlace(t: Tree): t.type
- Definition Classes
- Trees
- final def foldLeft2[A1, A2, B](xs1: List[A1], xs2: List[A2])(z0: B)(f: (B, A1, A2) => B): B
- Definition Classes
- Collections
- final def forall3[A, B, C](xs1: List[A], xs2: List[B], xs3: List[C])(f: (A, B, C) => Boolean): Boolean
- Definition Classes
- Collections
- def forceSymbolsUsedByParser(): Unit
- Attributes
- protected
- final def foreach2[A, B](xs1: List[A], xs2: List[B])(f: (A, B) => Unit): Unit
- Definition Classes
- Collections
- final def foreach3[A, B, C](xs1: List[A], xs2: List[B], xs3: List[C])(f: (A, B, C) => Unit): Unit
- Definition Classes
- Collections
- def foreachParamss(sym: Symbol)(f: (Symbol) => Unit): Unit
- Definition Classes
- Symbols
- final def foreachWithIndex[A](xs: List[A])(f: (A, Int) => Unit): Unit
- Definition Classes
- Collections
- def freshExistentialName(suffix: String, id: Int): TypeName
- Attributes
- protected
- Definition Classes
- Symbols
- lazy val freshRunReq: CondPickler[FreshRunReq]
- Definition Classes
- Picklers
- def freshTermName(prefix: String)(implicit creator: FreshNameCreator): TermName
- Definition Classes
- FreshNames
- def freshTypeName(prefix: String)(implicit creator: FreshNameCreator): TypeName
- Definition Classes
- FreshNames
- def genPolyType(params: List[Symbol], tpe: Type): Type
- Definition Classes
- Types
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCurrentSymbolIdCount: Int
- Definition Classes
- Symbols
- def getOrCreateUnitOf(source: SourceFile): RichCompilationUnit
The compilation unit corresponding to a source file if it does not yet exist create a new one atomically Note: We want to remove this.
The compilation unit corresponding to a source file if it does not yet exist create a new one atomically Note: We want to remove this.
- Attributes
- protected[interactive]
- var getParsedEnteredResponses: ResponseMap
A map that associates with each abstract file the set of responses that ware waiting (via build) for the unit associated with the abstract file to be parsed and entered
A map that associates with each abstract file the set of responses that ware waiting (via build) for the unit associated with the abstract file to be parsed and entered
- Attributes
- protected
- def getSourceFile(name: String): SourceFile
- Definition Classes
- Global
- def getSourceFile(f: AbstractFile): BatchSourceFile
- Definition Classes
- Global
- def getUnit(s: SourceFile): Option[RichCompilationUnit]
Work through toBeRemoved list to remove any units.
Work through toBeRemoved list to remove any units. Then return optionally unit associated with given source.
- Attributes
- protected[interactive]
- def getUnitOf(s: SourceFile): Option[RichCompilationUnit]
Return the compilation unit attached to a source file, or None if source is not loaded.
Return the compilation unit attached to a source file, or None if source is not loaded.
- Definition Classes
- CompilerControl
- def glb(ts: List[Type], depth: Depth): Type
- Attributes
- protected[reflect.internal]
- Definition Classes
- GlbLubs
- def glb(ts: List[Type]): Type
- Definition Classes
- GlbLubs
- def glbNorm(ts0: List[Type], depth: Depth): Type
- Attributes
- protected
- Definition Classes
- GlbLubs
- def glbResults: HashMap[(Depth, List[Type]), Type]
- Definition Classes
- GlbLubs
- def globalError(pos: Position, msg: String): Unit
- Definition Classes
- Reporting
- Annotations
- @deprecatedOverriding()
- def globalError(msg: String): Unit
- Definition Classes
- Reporting
- Annotations
- @deprecatedOverriding()
- val globalFreshNameCreator: FreshNameCreator
- Definition Classes
- FreshNames
- var globalPhase: Phase
- Definition Classes
- Global
- final def hasLength(xs: List[_], len: Int): Boolean
- Definition Classes
- Collections
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def howManyUniqueTypes: Int
- Definition Classes
- Types
- val ids: Int
- Attributes
- protected
- Definition Classes
- Symbols
- final def ifDebug(body: => Unit): Unit
- Definition Classes
- Global
- Annotations
- @inline()
- def importableMembers(pre: Type): Scope
- Definition Classes
- Types
- def indent: String
- Attributes
- protected
- Definition Classes
- Types
- def indent_=(value: String): Unit
- Attributes
- protected
- Definition Classes
- Types
- var infoTransformers: InfoTransformer
- Definition Classes
- SymbolTable
- def inform(pos: Position, msg: String): Unit
- Definition Classes
- Reporting
- Annotations
- @deprecatedOverriding()
- def inform(msg: String): Unit
- Definition Classes
- Reporting
- Annotations
- @deprecatedOverriding()
- final def informIDE(msg: => String): Unit
Inform with msg only when verboseIDE is true.
Inform with msg only when verboseIDE is true.
- Annotations
- @inline()
- def informProgress(msg: String): Unit
- Definition Classes
- SymbolTable
- def informTime(msg: String, startNs: Long): Unit
- Definition Classes
- SymbolTable
- final def informingProgress[T](msg: => String)(fn: => T): T
- Definition Classes
- SymbolTable
- Annotations
- @inline()
- def inheritsJavaVarArgsMethod(clazz: Symbol): Boolean
- Definition Classes
- Types
- lazy val internal: Internal
- Definition Classes
- Global → Internals → Internals
- implicit def interruptReq: Pickler[InterruptReq]
- Definition Classes
- Picklers
- def intersectionType(tps: List[Type]): Type
- Definition Classes
- Types
- def intersectionType(tps: List[Type], owner: Symbol): Type
- Definition Classes
- Types
- def intersectionTypeForLazyBaseType(tps: List[Type]): Type
- Definition Classes
- Types
- def intersectionWitness: WeakHashMap[List[Type], WeakReference[Type]]
- Definition Classes
- Types
- def invalidateCaches(t: Type, updatedSyms: Set[Symbol]): Unit
- Definition Classes
- Types
- def invalidateClassPathEntries(paths: String*): Unit
Invalidates packages that contain classes defined in a classpath entry, and rescans that entry.
Invalidates packages that contain classes defined in a classpath entry, and rescans that entry.
First, the classpath entry referred to by one of the
paths
is rescanned, so that any new files or changes in subpackages are picked up. Second, any packages for which one of the following conditions is met is invalidated:- the classpath entry contained during the last compilation run now contains classfiles that represent a member in the package;
- the classpath entry now contains classfiles that represent a member in the package;
- the set of subpackages has changed.
The invalidated packages are reset in their entirety; all member classes and member packages are re-accessed using the new classpath.
System packages that the compiler needs to access as part of standard definitions are not invalidated. A system package is: Any package rooted in "scala", with the exception of packages rooted in "scala.tools".
- paths
Fully-qualified names that refer to directories or jar files that are entries on the classpath.
- Definition Classes
- Global
- def invalidateTreeTpeCaches(tree: Tree, updatedSyms: Set[Symbol]): Unit
- Definition Classes
- Types
- final def isAtPhaseAfter(p: reflect.internal.Phase): Boolean
- Definition Classes
- SymbolTable
- def isBefore(phase: Phase): Boolean
- Definition Classes
- Global
- def isBeforeErasure: Boolean
- Definition Classes
- Global
- def isBoundedGeneric(tp: Type): Boolean
- Definition Classes
- Types
- def isCompilerUniverse: Boolean
- Definition Classes
- Global → SymbolTable
- def isConstantType(tp: Type): Boolean
- Definition Classes
- Types
- final def isDeveloper: Boolean
- Definition Classes
- SymbolTable
- Annotations
- @inline()
- def isDifferentType(tp1: Type, tp2: Type): Boolean
- Definition Classes
- TypeComparers
- def isDifferentTypeConstructor(tp1: Type, tp2: Type): Boolean
- Definition Classes
- TypeComparers
- final def isEligibleForPrefixUnification(tp: Type): Boolean
- Definition Classes
- Types
- Annotations
- @tailrec()
- def isErrorOrWildcard(tp: Type): Boolean
- Definition Classes
- Types
- final def isExistentialType(tp: Type): Boolean
- Definition Classes
- Types
- Annotations
- @tailrec()
- def isGlobalInitialized: Boolean
- Definition Classes
- Global
- def isHKSubType(tp1: Type, tp2: Type, depth: Depth): Boolean
- Definition Classes
- TypeComparers
- def isImplicitMethodType(tp: Type): Boolean
- Definition Classes
- Types
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isIntersectionTypeForLazyBaseType(tp: RefinedType): Boolean
- Definition Classes
- Types
- def isJavaVarargsAncestor(clazz: Symbol): Boolean
- Definition Classes
- Types
- def isNonRefinementClassType(tpe: Type): Boolean
- Definition Classes
- Types
- def isNumericSubType(tp1: Type, tp2: Type): Boolean
- Definition Classes
- TypeComparers
- def isOutOfDate: Boolean
- def isPast(phase: Phase): Boolean
- Definition Classes
- Global
- def isPastTyper: Boolean
- Definition Classes
- Global → SymbolTable
- def isPopulated(tp1: Type, tp2: Type): Boolean
- Definition Classes
- Types
- def isPossiblePrefix(clazz: Symbol): Boolean
- Definition Classes
- TypeMaps
- def isRawIfWithoutArgs(sym: Symbol): Boolean
- Definition Classes
- Types
- def isRawParameter(sym: Symbol): Boolean
- Definition Classes
- ExistentialsAndSkolems
- def isRawType(tp: Type): Boolean
- Definition Classes
- Types
- def isSameSymbolTypes(syms1: List[Symbol], syms2: List[Symbol]): Boolean
- Definition Classes
- Types
- def isSameType(tp1: Type, tp2: Type): Boolean
- Definition Classes
- TypeComparers
- def isSameType2(tp1: Type, tp2: Type): Boolean
- Definition Classes
- TypeComparers
- def isSameTypes(tps1: List[Type], tps2: List[Type]): Boolean
- Definition Classes
- Types
- def isSingleType(tp: Type): Boolean
- Definition Classes
- Types
- def isSubArgs(tps1: List[Type], tps2: List[Type], tparams: List[Symbol], depth: Depth): Boolean
- Definition Classes
- Types
- def isSubType(tp1: Type, tp2: Type, depth: Depth): Boolean
- Definition Classes
- TypeComparers
- def isSymbolLockTracingEnabled: Boolean
- Definition Classes
- Global → SymbolTable
- def isTreeSymbolPickled(tree: Tree): Boolean
- Definition Classes
- Translations
- def isTreeSymbolPickled(code: Int): Boolean
- Definition Classes
- Translations
- def isUnboundedGeneric(tp: Type): Boolean
- Definition Classes
- Types
- def isUseableAsTypeArg(tp: Type): Boolean
- Definition Classes
- Types
- final def isUseableAsTypeArgs(tps: List[Type]): Boolean
- Definition Classes
- Types
- Annotations
- @tailrec()
- final def isValid(period: Period): Boolean
- Definition Classes
- SymbolTable
- final def isValidForBaseClasses(period: Period): Boolean
- Definition Classes
- SymbolTable
- def isWeakSubType(tp1: Type, tp2: Type): Boolean
- Definition Classes
- TypeComparers
- def isWithinBounds(pre: Type, owner: Symbol, tparams: List[Symbol], targs: List[Type]): Boolean
- Definition Classes
- Types
- val javanme: JavaKeywords
- Definition Classes
- StdNames
- var keepPhaseStack: Boolean
- Definition Classes
- SymbolTable
- def kindsConform(tparams: List[Symbol], targs: List[Type], pre: Type, owner: Symbol): Boolean
- Definition Classes
- Kinds
- var lastSeenContext: (analyzer)#Context
Let's share a lot more about why we crash all over the place.
Let's share a lot more about why we crash all over the place. People will be very grateful.
- Attributes
- protected
- Definition Classes
- Global
- var lastSeenSourceFile: SourceFile
There are common error conditions where when the exception hits here, currentRun.currentUnit is null.
There are common error conditions where when the exception hits here, currentRun.currentUnit is null. This robs us of the knowledge of what file was being compiled when it broke. Since I really really want to know, this hack.
- Attributes
- protected
- Definition Classes
- Global
- final def linkedMapFrom[A, A1 >: A, B](xs: List[A])(f: (A) => B): LinkedHashMap[A1, B]
- Definition Classes
- Collections
- def loadPlugins(): List[Plugin]
Load all available plugins.
Load all available plugins. Skips plugins that either have the same name as another one, or which define a phase name that another one does.
- Attributes
- protected
- Definition Classes
- Plugins
- def loadRoughPluginsList(): List[Plugin]
Load a rough list of the plugins.
Load a rough list of the plugins. For speed, it does not instantiate a compiler run. Therefore it cannot test for same-named phases or other problems that are filtered from the final list of plugins.
- Attributes
- protected
- Definition Classes
- Plugins
- lazy val loaders: SymbolLoadersInInteractive
Symbol loaders in the IDE parse all source files loaded from a package for top-level idents.
- def locateContext(contexts: Contexts, pos: Position): Option[Context]
Returns the most precise context possible for the given
pos
.Returns the most precise context possible for the given
pos
.It looks for the finest ContextTree containing
pos
, and then look inside this ContextTree for a child ContextTree located immediately beforepos
. If such a child exists, returns its context, otherwise returns the context of the parent ContextTree.This is required to always return a context which contains the all the imports declared up to
pos
(see scala/bug#7280 for a test case).Can return None if
pos
is before any valid Scala code.- Definition Classes
- ContextTrees
- def locateContext(pos: Position): Option[Context]
Locates smallest context that encloses position as an optional value.
Locates smallest context that encloses position as an optional value.
- Definition Classes
- CompilerControl
- def locateContextTree(contexts: Contexts, pos: Position): Option[ContextTree]
Returns the ContextTree containing
pos
, or the ContextTree positioned just beforepos
, or None ifpos
is located before all ContextTrees.Returns the ContextTree containing
pos
, or the ContextTree positioned just beforepos
, or None ifpos
is located before all ContextTrees.- Definition Classes
- ContextTrees
- def locateTree(pos: Position): Tree
Locate smallest tree that encloses position
Locate smallest tree that encloses position
- Definition Classes
- CompilerControl
- Note
Pre-condition: Position must be loaded
- def lockedCount: Int
- Definition Classes
- Symbols
- def lockedCount_=(i: Int): Unit
- Definition Classes
- Symbols
- final def log(msg: => AnyRef): Unit
- Definition Classes
- Global → SymbolTable
- Annotations
- @inline()
- val log: LogReplay
- def logError(msg: String, t: Throwable): Unit
- Definition Classes
- Global
- final def lookupTypeName(cs: Array[Char]): TypeName
- Definition Classes
- Names
- final def lookupVariable(vble: String, site: Symbol): Option[String]
Lookup definition of variable.
Lookup definition of variable.
- vble
The variable for which a definition is searched
- site
The class for which doc comments are generated
- Definition Classes
- DocComments
- Annotations
- @tailrec()
- implicit def lowPriorityNameOrdering[T <: Name]: Ordering[T]
- Definition Classes
- SymbolTable
- def lub(ts0: List[Type], depth: Depth): Type
- Attributes
- protected[reflect.internal]
- Definition Classes
- GlbLubs
- def lub(ts: List[Type]): Type
- Definition Classes
- GlbLubs
- def lubDepth(ts: List[Type]): Depth
- Definition Classes
- Types
- def lubList(ts: List[Type], depth: Depth): List[Type]
- Definition Classes
- GlbLubs
- def lubResults: HashMap[(Depth, List[Type]), Type]
- Definition Classes
- GlbLubs
- def makeNoSymbol: NoSymbol
- Attributes
- protected
- Definition Classes
- Symbols
- final def map2[A, B, C](xs1: List[A], xs2: List[B])(f: (A, B) => C): List[C]
- Definition Classes
- Collections
- final def map2Conserve[A <: AnyRef, B](xs: List[A], ys: List[B])(f: (A, B) => A): List[A]
- Definition Classes
- Collections
- final def map3[A, B, C, D](xs1: List[A], xs2: List[B], xs3: List[C])(f: (A, B, C) => D): List[D]
- Definition Classes
- Collections
- final def mapFilter2[A, B, C](itA: Iterator[A], itB: Iterator[B])(f: (A, B) => Option[C]): Iterator[C]
- Definition Classes
- Collections
- final def mapFrom[A, A1 >: A, B](xs: List[A])(f: (A) => B): Map[A1, B]
- Definition Classes
- Collections
- final def mapFromArray[A, B](arr: Array[A])(f: (A) => B): List[B]
- Definition Classes
- Collections
- final def mapList[A, B](as: List[A])(f: (A) => B): List[B]
- Definition Classes
- Collections
- def mapParamss[T](sym: Symbol)(f: (Symbol) => T): List[List[T]]
- Definition Classes
- Symbols
- final def mapToArray[A, B](as: List[A], arr: Array[B], i: Int)(f: (A) => B): Unit
- Definition Classes
- Collections
- final def mapToArray[A, B](xs: List[A])(f: (A) => B)(implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- Collections
- final def mapWithIndex[A, B](xs: List[A])(f: (A, Int) => B): List[B]
- Definition Classes
- Collections
- final def markAllCompleted(sym1: Symbol, sym2: Symbol): Unit
- Definition Classes
- Symbols
- final def markAllCompleted(sym: Symbol): Unit
- Definition Classes
- Symbols
- final def markFlagsCompleted(sym1: Symbol, sym2: Symbol)(mask: Long): Unit
- Definition Classes
- Symbols
- final def markFlagsCompleted(sym: Symbol)(mask: Long): Unit
- Definition Classes
- Symbols
- final def matchesType(tp1: Type, tp2: Type, alwaysMatchSimple: Boolean): Boolean
- Definition Classes
- Types
- def matchingParams(syms1: List[Symbol], syms2: List[Symbol]): Boolean
- Attributes
- protected[reflect.internal]
- Definition Classes
- Types
- final val maxToStringRecursions: Int(50)
- Definition Classes
- TypeToStrings
- def merge(src: String, dst: String, sym: Symbol, copyFirstPara: Boolean = false): String
Merge elements of doccomment
src
into doc commentdst
for symbolsym
.Merge elements of doccomment
src
into doc commentdst
for symbolsym
. In detail:- If
copyFirstPara
is true, copy first paragraph 2. For all parameters ofsym
if there is no @param section indst
for that parameter name, but there is one onsrc
, copy that section. 3. If there is no @return section indst
but there is one insrc
, copy it.
- Definition Classes
- DocComments
- If
- def mergePrefixAndArgs(tps0: List[Type], variance: reflect.internal.Variance, depth: Depth): Type
- Definition Classes
- Types
- final def mexists[A](xss: List[List[A]])(p: (A) => Boolean): Boolean
- Definition Classes
- Collections
- final def mfind[A](xss: List[List[A]])(p: (A) => Boolean): Option[A]
- Definition Classes
- Collections
- final def mforall[A](xss: List[List[A]])(p: (A) => Boolean): Boolean
- Definition Classes
- Collections
- final def mforeach[A](xss: Iterable[Iterable[A]])(f: (A) => Unit): Unit
- Definition Classes
- Collections
- final def mforeach[A](xss: List[List[A]])(f: (A) => Unit): Unit
- Definition Classes
- Collections
- var minRunId: Int
- Attributes
- protected[interactive]
- def mirrorThatLoaded(sym: Symbol): Mirror
Returns the mirror that loaded given symbol
Returns the mirror that loaded given symbol
- Definition Classes
- Global → SymbolTable
- val missingAliasException: MissingAliasControl
- Definition Classes
- Types
- def missingHook(owner: Symbol, name: Name): Symbol
- Definition Classes
- SymbolTable
- def mkImporter(from0: Universe): Importer { val from: from0.type }
- Definition Classes
- Importers
- final def mmap[A, B](xss: List[List[A]])(f: (A) => B): collection.immutable.List[collection.immutable.List[B]]
- Definition Classes
- Collections
- def moveToFront(fs: List[SourceFile]): Unit
Move list of files to front of allSources
- final val nameDebug: Boolean(false)
- Definition Classes
- Names
- implicit lazy val namePickler: Pickler[Name]
- Definition Classes
- Picklers
- final def nameTableSize: Int
- Definition Classes
- Names
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nestedMemberType(sym: Symbol, pre: Type, owner: Symbol): Type
- Definition Classes
- Types
- def newBaseTypeSeq(parents: List[Type], elems: Array[Type]): BaseTypeSeq
- Attributes
- protected
- Definition Classes
- BaseTypeSeqs
- def newCodePrinter(writer: PrintWriter, tree: Tree, printRootPkg: Boolean): InternalTreePrinter
- Definition Classes
- Printers → Printers
- def newCompactTreePrinter(writer: PrintWriter): CompactTreePrinter
- Definition Classes
- Printers
- def newCompilationUnit(code: String, filename: String = "<console>"): CompilationUnit
- Definition Classes
- Global
- def newDefDef(sym: Symbol, rhs: Tree)(mods: Modifiers, name: TermName, tparams: List[TypeDef], vparamss: List[List[ValDef]], tpt: Tree): DefDef
- Definition Classes
- Trees
- def newDefDefAt(pos: Position)(sym: Symbol, rhs: Tree)(mods: Modifiers, name: TermName, tparams: List[TypeDef], vparamss: List[List[ValDef]], tpt: Tree): DefDef
- Definition Classes
- Trees
- final def newExistentialType(quantified: List[Symbol], underlying: Type): Type
- Definition Classes
- Types
- Annotations
- @tailrec()
- def newFreeTermSymbol(name: TermName, value: => Any, flags: Long, origin: String): FreeTermSymbol
- Definition Classes
- Symbols
- def newFreeTypeSymbol(name: TypeName, flags: Long, origin: String): FreeTypeSymbol
- Definition Classes
- Symbols
- def newJavaUnitParser(unit: CompilationUnit): (syntaxAnalyzer)#JavaUnitParser
- Definition Classes
- Global
- def newLazyTreeCopier: TreeCopier
- Definition Classes
- Trees → Trees
- def newMappedBaseTypeSeq(orig: BaseTypeSeq, f: (Type) => Type): MappedBaseTypeSeq
- Attributes
- protected
- Definition Classes
- BaseTypeSeqs
- final def newNestedScope(outer: Scope): Scope
- Definition Classes
- Scopes
- def newPackageScope(pkgClass: Symbol): Scope
- Definition Classes
- Scopes
- def newRawTreePrinter(writer: PrintWriter): RawTreePrinter
- Definition Classes
- Printers → Printers
- def newScope: Scope
- Definition Classes
- Scopes
- def newScopeWith(elems: Symbol*): Scope
- Definition Classes
- Scopes
- def newSourceFile(code: String, filename: String = "<console>"): BatchSourceFile
- Definition Classes
- Global
- def newStandardTreePrinter(writer: PrintWriter): AstTreePrinter
- Definition Classes
- Printers
- def newStrictTreeCopier: TreeCopier
- Definition Classes
- Trees → Trees
- def newStubSymbol(owner: Symbol, name: Name, missingMessage: String): Symbol
- Definition Classes
- Global → Symbols
- final def newTermName(bs: Array[Byte], offset: Int, len: Int): TermName
- Definition Classes
- Names
- def newTermName(s: String): TermName
- Definition Classes
- Names → Names
- Annotations
- @deprecatedOverriding()
- final def newTermName(cs: Array[Char], offset: Int, len0: Int, cachedString: String): TermName
- Definition Classes
- Names
- final def newTermName(cs: Array[Char]): TermName
- Definition Classes
- Names
- final def newTermName(cs: Array[Char], offset: Int, len: Int): TermName
- Definition Classes
- Names
- final def newTermNameCached(s: String): TermName
- Definition Classes
- Names
- def newTreePrinter(): AstTreePrinter
- Definition Classes
- Printers → Printers
- def newTreePrinter(stream: OutputStream): AstTreePrinter
- Definition Classes
- Printers → Printers
- def newTreePrinter(writer: PrintWriter): AstTreePrinter
- Definition Classes
- Printers → Printers → Printers
- def newTypeDef(sym: Symbol, rhs: Tree)(mods: Modifiers, name: TypeName, tparams: List[TypeDef]): TypeDef
- Definition Classes
- Trees
- final def newTypeName(bs: Array[Byte], offset: Int, len: Int): TypeName
- Definition Classes
- Names
- final def newTypeName(cs: Array[Char], offset: Int, len: Int): TypeName
- Definition Classes
- Names
- def newTypeName(s: String): TypeName
- Definition Classes
- Names → Names
- Annotations
- @deprecatedOverriding()
- final def newTypeName(cs: Array[Char], offset: Int, len: Int, cachedString: String): TypeName
- Definition Classes
- Names
- final def newTypeName(cs: Array[Char]): TypeName
- Definition Classes
- Names
- final def newTypeNameCached(s: String): TypeName
- Definition Classes
- Names
- def newTyperRun(): Unit
- def newUnitParser(code: String, filename: String = "<console>"): (syntaxAnalyzer)#UnitParser
- Definition Classes
- Global
- def newUnitParser(unit: CompilationUnit): (syntaxAnalyzer)#UnitParser
- Definition Classes
- Global
- def newUnitScanner(unit: CompilationUnit): (syntaxAnalyzer)#UnitScanner
- Definition Classes
- Global
- def newValDef(sym: Symbol, rhs: Tree)(mods: Modifiers, name: TermName, tpt: Tree): ValDef
- Definition Classes
- Trees
- var nextFrom: Array[InfoTransformer]
- Definition Classes
- SymbolTable
- def nextId(): Int
- Attributes
- protected
- Definition Classes
- Symbols
- lazy val noPosition: CondPickler[reflect.internal.util.NoPosition.type]
- Definition Classes
- Picklers
- val nodeToString: (Tree) => String
- Definition Classes
- Global
- def nonTrivialMembers(clazz: Symbol): Scope
- Definition Classes
- Types
- final def normalizePlus(tp: Type): Type
- Definition Classes
- Types
- Annotations
- @tailrec()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def numericLub(ts: List[Type]): Type
- Definition Classes
- GlbLubs
- lazy val offsetPosition: CondPickler[Position]
- Definition Classes
- Picklers
- def onCompilerThread: Boolean
- Definition Classes
- CompilerControl
- def onUnitOf[T](source: SourceFile)(op: (RichCompilationUnit) => T): T
Run operation
op
on a compilation unit associated with givensource
.Run operation
op
on a compilation unit associated with givensource
. If source has a loaded compilation unit, this one is passed toop
. Otherwise a new compilation unit is created, but not added to the set of loaded units.- Definition Classes
- CompilerControl
- def openPackageModule(pkgClass: Symbol, force: Boolean): Unit
- def openPackageModule(container: Symbol, dest: Symbol): Unit
- Definition Classes
- SymbolTable
- def optimizerClassPath(base: ClassPath): ClassPath
- Definition Classes
- Global
- def overloadedType(pre: Type, alternatives: List[Symbol]): Type
- Definition Classes
- Types
- final def packSymbols(hidden: List[Symbol], tp: Type, rawOwner: Symbol): Type
- Definition Classes
- ExistentialsAndSkolems
- def paramString(tp: Type): String
- Definition Classes
- TypeDebugging
- def parseTree(source: SourceFile): Tree
Returns parse tree for source
source
.Returns parse tree for source
source
. No symbols are entered. Syntax errors are reported.This method is thread-safe and as such can safely run outside of the presentation compiler thread.
- Definition Classes
- CompilerControl
- final def partitionConserve[A](as: List[A])(p: (A) => Boolean): (List[A], List[A])
- Definition Classes
- Collections
- final def partitionInto[A](xs: List[A], pred: (A) => Boolean, ayes: ListBuffer[A], nays: ListBuffer[A]): Unit
- Definition Classes
- Collections
- def patch(f: AbstractFile, d: Diff): Array[Char]
- Definition Classes
- Picklers
- def pendingBaseTypes: HashSet[Type]
- Definition Classes
- Types
- def pendingSubTypes: HashSet[SubTypePair]
- Definition Classes
- TypeComparers
- final def period(rid: RunId, pid: Int): Period
- Definition Classes
- SymbolTable
- final def phase: reflect.internal.Phase
- Definition Classes
- SymbolTable
- def phaseDescriptions: String
A description of the phases that will run in this configuration, or all if -Vdebug.
A description of the phases that will run in this configuration, or all if -Vdebug.
- Definition Classes
- Global
- lazy val phaseDescriptors: List[SubComponent]
- Definition Classes
- Global
- def phaseFlagDescriptions: String
Summary of the per-phase values of nextFlags and newFlags, shown under -Vphases -Vdebug.
Summary of the per-phase values of nextFlags and newFlags, shown under -Vphases -Vdebug.
- Definition Classes
- Global
- final def phaseId(period: Period): Int
- Definition Classes
- SymbolTable
- lazy val phaseNames: collection.immutable.List[String]
The names of the phases.
The names of the phases.
- Definition Classes
- Global
- final def phaseOf(period: Period): reflect.internal.Phase
- Definition Classes
- SymbolTable
- final val phaseWithId: Array[reflect.internal.Phase]
- Definition Classes
- SymbolTable
- final def phase_=(p: reflect.internal.Phase): Unit
- Definition Classes
- SymbolTable
- lazy val phasesDescMap: Map[SubComponent, String]
- Attributes
- protected
- Definition Classes
- Global
- lazy val phasesSet: HashSet[SubComponent]
- Attributes
- protected
- Definition Classes
- Global
- def picklerPhase: Phase
- Definition Classes
- Global → SymbolTable
- def picklerSubTag(tree: Tree): Int
- Definition Classes
- Translations
- final def picklerTag(tpe: Type): Int
- Definition Classes
- Translations
- Annotations
- @tailrec()
- def picklerTag(sym: Symbol): Int
- Definition Classes
- Translations
- final def picklerTag(ref: AnyRef): Int
- Definition Classes
- Translations
- lazy val platform: ThisPlatform
- Definition Classes
- Global
- def pluginDescriptions: String
A description of all the plugins that are loaded
A description of all the plugins that are loaded
- Definition Classes
- Plugins
- def pluginOptionsHelp: String
Summary of the options for all loaded plugins
Summary of the options for all loaded plugins
- Definition Classes
- Plugins
- lazy val plugins: List[Plugin]
- Definition Classes
- Plugins
- final def popPhase(ph: reflect.internal.Phase): Unit
- Definition Classes
- SymbolTable
- lazy val posAssigner: PosAssigner
- Attributes
- protected[this]
- Definition Classes
- Positions → Positions
- implicit lazy val position: Pickler[Position]
- Definition Classes
- Picklers
- def printAllUnits(): Unit
- Definition Classes
- Global
- var printTypings: Boolean
Switch to turn on detailed type logs
Switch to turn on detailed type logs
- Definition Classes
- Global
- def propagateCyclicReferences: Boolean
- Definition Classes
- Global
- def propagatePackageBoundary(jflags: JavaAccFlags, syms: Symbol*): Unit
- Definition Classes
- PrivateWithin
- def propagatePackageBoundary(m: java.lang.reflect.Member, syms: Symbol*): Unit
- Definition Classes
- PrivateWithin
- def propagatePackageBoundary(c: Class[_], syms: Symbol*): Unit
- Definition Classes
- PrivateWithin
- final def pushPhase(ph: reflect.internal.Phase): reflect.internal.Phase
- Definition Classes
- SymbolTable
- def quotedName(name: String): String
- Definition Classes
- Printers
- def quotedName(name: Name): String
- Definition Classes
- Printers
- def quotedName(name: Name, decode: Boolean): String
- Definition Classes
- Printers
- def rangePos(source: SourceFile, start: Int, point: Int, end: Int): Position
- Definition Classes
- Positions
- lazy val rangePosition: CondPickler[Position]
- Definition Classes
- Picklers
- def rawDocComment(sym: Symbol): String
The raw doc comment of symbol
sym
, as it appears in the source text, "" if missing.The raw doc comment of symbol
sym
, as it appears in the source text, "" if missing.- Definition Classes
- DocComments
- def rawToExistential: TypeMap
- Definition Classes
- TypeMaps
- def recentlyDeleted(): List[Symbol]
Returns the top level classes and objects that were deleted in the editor since last time recentlyDeleted() was called.
Returns the top level classes and objects that were deleted in the editor since last time recentlyDeleted() was called.
- Definition Classes
- CompilerControl
- def recursionTable: Map[Symbol, Int]
- Definition Classes
- Symbols
- def recursionTable_=(value: Map[Symbol, Int]): Unit
- Definition Classes
- Symbols
- def referenceCapturedVariable(vble: Symbol): Tree
- Definition Classes
- CapturedVariables
- def refinedType(parents: List[Type], owner: Symbol): Type
- Definition Classes
- Types
- def refinedType(parents: List[Type], owner: Symbol, decls: Scope, pos: Position): Type
- Definition Classes
- Types
- def registerContext(c: Context): Unit
Called from typechecker every time a context is created.
- def registerTopLevelSym(sym: Symbol): Unit
Called from typechecker every time a top-level class or object is entered.
- macro def reify[T](expr: T): Expr[T]
- Definition Classes
- Universe
- implicit def reloadItem: CondPickler[ReloadItem]
- Definition Classes
- Picklers
- def removeAllAnnotationCheckers(): Unit
- Definition Classes
- AnnotationCheckers
- def removeUnitOf(s: SourceFile): Option[RichCompilationUnit]
Removes the CompilationUnit corresponding to the given SourceFile from consideration for recompilation.
Removes the CompilationUnit corresponding to the given SourceFile from consideration for recompilation.
- Definition Classes
- CompilerControl
- def render(what: Any, mkPrinter: (PrintWriter) => Global.TreePrinter, printTypes: BooleanFlag, printIds: BooleanFlag, printOwners: BooleanFlag, printKinds: BooleanFlag, printMirrors: BooleanFlag, printPositions: BooleanFlag): String
- Attributes
- protected
- Definition Classes
- Printers
- def repackExistential(tp: Type): Type
- Definition Classes
- Types
- def replaceInheritDocToInheritdoc(docStr: String): String
- Definition Classes
- DocComments
- def reportThrowable(t: Throwable): Unit
- Definition Classes
- Global
- def reporter: FilteringReporter
- Definition Classes
- Global → Reporting
- def reporter_=(newReporter: Reporter): Unit
- Definition Classes
- Global
- final def require(requirement: Boolean, message: => Any): Unit
- Definition Classes
- SymbolTable
- Annotations
- @inline()
- def resetAttrs(x: Tree): Tree
- Definition Classes
- Trees
- See also
ResetAttrs
- def respond[T](result: Response[T])(op: => T): Unit
- def respondGradually[T](response: Response[T])(op: => LazyList[T]): Unit
- lazy val rootMirror: Mirror
- Definition Classes
- Global → Mirrors
- lazy val roughPluginsList: List[Plugin]
- Attributes
- protected
- Definition Classes
- Plugins
- final def runId(period: Period): RunId
- Definition Classes
- SymbolTable
- def runReporting: PerRunReporting
- Definition Classes
- Global
- final def sameElementsEquals(thiss: List[AnyRef], that: List[AnyRef]): Boolean
- Definition Classes
- Collections
- final def sameLength(xs1: List[_], xs2: List[_]): Boolean
- Definition Classes
- Collections
- def sameWeakLubAsLub(tps: List[Type]): Boolean
- Definition Classes
- GlbLubs
- def saveOriginalOwner(sym: Symbol): Unit
- Attributes
- protected
- Definition Classes
- Symbols
- val scheduler: WorkScheduler
The scheduler by which client and compiler communicate Must be initialized before starting compilerRunner
The scheduler by which client and compiler communicate Must be initialized before starting compilerRunner
- Attributes
- protected[interactive]
- Definition Classes
- CompilerControl
- Annotations
- @volatile()
- def scopeTransform(owner: Symbol)(op: => Scope): Scope
- Definition Classes
- Scopes
- final def sequenceOpt[A](as: List[Option[A]]): Option[List[A]]
- Definition Classes
- Collections
- def setPackageAccessBoundary(sym: Symbol): Symbol
- Definition Classes
- PrivateWithin
- def settings: Settings
- val shorthands: Set[String]
- Definition Classes
- Types
- def shouldLogAtThisPhase: Boolean
- Definition Classes
- Global → SymbolTable
- def show(position: Position): String
- Definition Classes
- Printers → Printers
- def show(flags: FlagSet): String
- Definition Classes
- Printers → Printers
- def show(name: Name): String
- Definition Classes
- Printers → Printers
- def show(any: Any, printTypes: BooleanFlag, printIds: BooleanFlag, printOwners: BooleanFlag, printKinds: BooleanFlag, printMirrors: BooleanFlag, printPositions: BooleanFlag): String
- Definition Classes
- Printers
- def showCode(tree: Tree, printTypes: BooleanFlag, printIds: BooleanFlag, printOwners: BooleanFlag, printPositions: BooleanFlag, printRootPkg: Boolean): String
- Definition Classes
- Printers
- def showDecl(sym: Symbol): String
- Definition Classes
- Printers → Printers
- def showDef(fullName: Name, declsOnly: Boolean, ph: Phase): Unit
We resolve the class/object ambiguity by passing a type/term name.
We resolve the class/object ambiguity by passing a type/term name.
- Definition Classes
- Global
- def showRaw(position: Position): String
- Definition Classes
- Printers
- def showRaw(flags: FlagSet): String
- Definition Classes
- Printers
- def showRaw(name: Name): String
- Definition Classes
- Printers
- def showRaw(any: Any, printTypes: BooleanFlag, printIds: BooleanFlag, printOwners: BooleanFlag, printKinds: BooleanFlag, printMirrors: BooleanFlag, printPositions: BooleanFlag): String
- Definition Classes
- Printers
- lazy val shutdownReq: CondPickler[ShutdownReq.type]
- Definition Classes
- Picklers
- def signalDone(context: Context, old: Tree, result: Tree): Unit
Called from typechecker, which signals hereby that a node has been completely typechecked.
Called from typechecker, which signals hereby that a node has been completely typechecked. If the node includes unit.targetPos, abandons run and returns newly attributed tree. Otherwise, if there's some higher priority work to be done, also abandons run with a FreshRunReq.
- context
The context that typechecked the node
- old
The original node
- result
The transformed node
- def signalParseProgress(pos: Position): Unit
Called from parser, which signals hereby that a method definition has been parsed.
- def signalParsedDocComment(comment: String, pos: Position): Unit
Called by ScaladocAnalyzer when a doc comment has been parsed.
Called by ScaladocAnalyzer when a doc comment has been parsed.
- Definition Classes
- Global
- def singleType(pre: Type, sym: Symbol): Type
- Definition Classes
- Types
- def singletonBounds(hi: Type): TypeBounds
- Definition Classes
- Types
- def skipPrefixOf(pre: Type, clazz: Symbol): Boolean
- Attributes
- protected[reflect.internal]
- Definition Classes
- TypeMaps
- def skolemizationLevel: Int
- Definition Classes
- Types
- def skolemizationLevel_=(value: Int): Unit
- Definition Classes
- Types
- def slowButSafeEnteringPhase[T](ph: reflect.internal.Phase)(op: => T): T
- Definition Classes
- SymbolTable
- def slowButSafeEnteringPhaseNotLaterThan[T](target: reflect.internal.Phase)(op: => T): T
- Definition Classes
- SymbolTable
- lazy val sn: SymbolNames
- Definition Classes
- StdNames
- def solve(tvars: List[TypeVar], tparams: List[Symbol], getVariance: Extractor[Symbol], upper: Boolean, depth: Depth): Boolean
- Definition Classes
- TypeConstraints
- implicit lazy val sourceFile: Pickler[SourceFile]
- Definition Classes
- Picklers
- def spanningTypes(ts: List[Type]): List[Type]
- Definition Classes
- GlbLubs
- def specializesSym(preLo: Type, symLo: Symbol, preHi: Type, symHi: Symbol, depth: Depth): Boolean
- Attributes
- protected[reflect.internal]
- Definition Classes
- Types
- def specializesSym(tp: Type, sym: Symbol, depth: Depth): Boolean
- Definition Classes
- Types
- def stabilizedType(tree: Tree): Type
- final def stripExistentialsAndTypeVars(ts: List[Type], expandLazyBaseType: Boolean): (List[Type], List[Symbol])
- Definition Classes
- Types
- def subsametypeRecursions: Int
- Definition Classes
- TypeComparers
- def subsametypeRecursions_=(value: Int): Unit
- Definition Classes
- TypeComparers
- final def sumSize(xss: List[List[_]], acc: Int): Int
- Definition Classes
- Collections
- Annotations
- @tailrec()
- def superComment(sym: Symbol): Option[String]
The cooked doc comment of an overridden symbol
The cooked doc comment of an overridden symbol
- Attributes
- protected
- Definition Classes
- DocComments
- def supplementErrorMessage(errorMessage: String): String
- Definition Classes
- Reporting
- def supplementTyperState(errorMessage: String): String
Don't want to introduce new errors trying to report errors, so swallow exceptions.
Don't want to introduce new errors trying to report errors, so swallow exceptions.
- Definition Classes
- Global → Reporting
- final def suspendingTypeVars[T](tvs: List[TypeVar])(op: => T): T
- Definition Classes
- Types
- Annotations
- @inline()
- def symName(tree: Tree, name: Name): String
- Definition Classes
- Printers
- implicit lazy val symPickler: Pickler[Symbol]
- Definition Classes
- Picklers
- def symbolOf[T](implicit arg0: WeakTypeTag[T]): TypeSymbol
- Definition Classes
- Symbols
- def syncTopLevelSyms(unit: RichCompilationUnit): Unit
Update deleted and current top-level symbols sets
- def synchronizeNames: Boolean
- Attributes
- protected
- Definition Classes
- Global → Names
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- lazy val syntaxAnalyzer: SyntaxAnalyzer { ... /* 2 definitions in type refinement */ }
- Definition Classes
- Global
- lazy val termNames: nme.type
- Definition Classes
- StdNames
- implicit lazy val throwable: Pickler[Throwable]
- Definition Classes
- Picklers
- def throwableAsString(t: Throwable): String
- Definition Classes
- Global → SymbolTable
- def throwableAsString(t: Throwable, maxFrames: Int): String
- Definition Classes
- SymbolTable
- val toBeRemoved: HashSet[AbstractFile]
A set containing all those files that need to be removed Units are removed by getUnit, typically once a unit is finished compiled.
A set containing all those files that need to be removed Units are removed by getUnit, typically once a unit is finished compiled.
- Attributes
- protected
- val toBeRemovedAfterRun: HashSet[AbstractFile]
A set containing all those files that need to be removed after a full background compiler run
A set containing all those files that need to be removed after a full background compiler run
- Attributes
- protected
- def toString(): String
- Definition Classes
- AnyRef → Any
- def toStringRecursions: Int
- Definition Classes
- TypeToStrings
- def toStringRecursions_=(value: Int): Unit
- Definition Classes
- TypeToStrings
- def toStringSubjects: HashSet[Type]
- Definition Classes
- TypeToStrings
- final val traceSymbolActivity: Boolean
- Definition Classes
- SymbolTable
- def transformedType(tpe: Type): Type forSome {val _1: PostErasure { val global: Global.this.type }}
- Definition Classes
- Transforms
- def transformedType(sym: Symbol): Type forSome {val stabilizer$1: PostErasure { val global: Global.this.type }}
- Definition Classes
- Transforms
- lazy val transparentPosition: CondPickler[Position]
- Definition Classes
- Picklers
- def transparentShallowTransform(container: Symbol, tp: Type)(f: (Type) => Type): Type
- Definition Classes
- Types
- final def transposeSafe[A](ass: List[List[A]]): Option[List[List[A]]]
- Definition Classes
- Collections
- final def traverseOpt[A, B](as: List[A])(f: (A) => Option[B]): Option[List[B]]
- Definition Classes
- Collections
- val treeBrowser: Global.treeBrowsers.SwingBrowser
- Definition Classes
- Global
- lazy val treeBuild: TreeGen
- Definition Classes
- Internals
- lazy val treeBuilder: TreeBuilder { val global: Global.this.type }
A spare instance of TreeBuilder left for backwards compatibility.
A spare instance of TreeBuilder left for backwards compatibility.
- Definition Classes
- Global
- val treeCopy: TreeCopier
- Definition Classes
- Trees
- def treeLine(t: Tree): String
- Attributes
- protected
- Definition Classes
- Trees
- def treeStatus(t: Tree, enclosingTree: Tree): String
- Attributes
- protected
- Definition Classes
- Trees
- def treeSymStatus(t: Tree): String
- Attributes
- protected
- Definition Classes
- Trees
- def treeToAnnotation(tree: Tree): Annotation
- Attributes
- protected[scala]
- Definition Classes
- AnnotationInfos → Annotations
- def treeToString(tree: Tree): String
- Attributes
- protected
- Definition Classes
- Printers
- final def typeDepth(tp: Type): Depth
- Definition Classes
- Types
- def typeFun(tps: List[Symbol], body: Type): Type
- Definition Classes
- Types
- lazy val typeNames: tpnme.type
- Definition Classes
- StdNames
- def typeOf[T](implicit ttag: TypeTag[T]): Type
- Definition Classes
- TypeTags
- def typeParamsString(tp: Type): String
- Definition Classes
- TypeDebugging
- def typeParamsToExistentials(clazz: Symbol): List[Symbol]
- Definition Classes
- Types
- def typeParamsToExistentials(clazz: Symbol, tparams: List[Symbol]): List[Symbol]
- Definition Classes
- Types
- final def typeRef(pre: Type, sym: Symbol, args: List[Type]): Type
- Definition Classes
- Types
- Annotations
- @tailrec()
- def typeTag[T](implicit ttag: TypeTag[T]): TypeTag[T]
- Definition Classes
- TypeTags
- def typeToString(tpe: Type): String
- Attributes
- protected
- Definition Classes
- TypeToStrings
- def typeTreeSymbol(tree: TypeTree): Symbol
- Attributes
- protected
- Definition Classes
- Trees
- def typeVarsInType(tp: Type): List[TypeVar]
- Definition Classes
- Types
- final def uncheckedBounds(tp: Type): Type
- Definition Classes
- Types
- lazy val undetBaseTypeSeq: BaseTypeSeq
- Definition Classes
- BaseTypeSeqs
- def undoLog: UndoLog
- Definition Classes
- TypeConstraints
- def unique[T <: Type](tp: T): T
- Attributes
- protected
- Definition Classes
- Types
- val unitOfFile: Map[AbstractFile, RichCompilationUnit]
A map of all loaded files to the rich compilation units that correspond to them.
- def useCases(sym: Symbol, site: Symbol): List[(Symbol, String, Position)]
The list of use cases of doc comment of symbol
sym
seen as a member of classsite
.The list of use cases of doc comment of symbol
sym
seen as a member of classsite
. Each use case consists of a synthetic symbol (which is entered nowhere else), of an expanded doc comment string, and of its position.- sym
The symbol for which use cases are returned
- site
The class for which doc comments are generated
- Definition Classes
- DocComments
- Exceptions thrown
ExpansionLimitExceeded
when more than 10 successive expansions of the same string are done, which is interpreted as a recursive variable definition.
- val useOffsetPositions: Boolean
- def validateClassInfo(tp: ClassInfoType): Unit
- Definition Classes
- Types
- def validatePositions(tree: Tree): Unit
- Definition Classes
- Positions
- final def varianceInType(tp: Type, considerUnchecked: Boolean)(tparam: Symbol): reflect.internal.Variance
- Definition Classes
- Variances
- final def varianceInTypes(tps: List[Type])(tparam: Symbol): reflect.internal.Variance
- Definition Classes
- Variances
- val verboseIDE: Boolean
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val waitLoadedTypeResponses: ResponseMap
A map that associates with each abstract file the set of responses that are waiting (via waitLoadedTyped) for the unit associated with the abstract file to be loaded and completely typechecked.
A map that associates with each abstract file the set of responses that are waiting (via waitLoadedTyped) for the unit associated with the abstract file to be loaded and completely typechecked.
- Attributes
- protected
- final def warningFreshNameCreator: FreshNameCreator
Creates a
FreshNameCreator
that reports an error if it is used during the typer phaseCreates a
FreshNameCreator
that reports an error if it is used during the typer phase- Definition Classes
- CompilationUnits
- def weakLub(tps: List[Type]): Type
- Definition Classes
- GlbLubs
- def weakTypeOf[T](implicit attag: WeakTypeTag[T]): Type
- Definition Classes
- TypeTags
- def weakTypeTag[T](implicit attag: WeakTypeTag[T]): WeakTypeTag[T]
- Definition Classes
- TypeTags
- def withInfoLevel[T](infolevel: ast.NodePrinters.InfoLevel.Value)(op: => T): T
- Definition Classes
- Global
- final def withPropagateCyclicReferences[T](t: => T): T
- Definition Classes
- Global
- Annotations
- @inline()
- def withTypesExplained[A](op: => A): A
- Definition Classes
- Types
- implicit def workEvent: Pickler[WorkEvent]
- Definition Classes
- Picklers
- def wrappingIntoTerm(tree0: Tree)(op: (Tree) => Tree): Tree
- Definition Classes
- Trees
- def wrappingPos(trees: List[Tree]): Position
- Definition Classes
- Positions → Positions
- def wrappingPos(default: Position, trees: List[Tree], focus: Boolean): Position
- Definition Classes
- Positions
- def wrappingPos(default: Position, trees: List[Tree]): Position
- Definition Classes
- Positions → Positions
- def xprintTree(treePrinter: InternalTreePrinter, tree: Tree): Unit
- Definition Classes
- Printers → Printers
- def xtransform(transformer: Global.Transformer, tree: Tree): Tree
- Attributes
- protected
- Definition Classes
- Trees → Trees
- object Alternative extends reflect.internal.SymbolTable.AlternativeExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object Annotated extends reflect.internal.SymbolTable.AnnotatedExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object AnnotatedType extends reflect.internal.SymbolTable.AnnotatedTypeExtractor with java.io.Serializable
- Definition Classes
- Types → Types
- object AnnotationInfo
- Definition Classes
- AnnotationInfos
- object AppliedTypeTree extends reflect.internal.SymbolTable.AppliedTypeTreeExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object Apply extends reflect.internal.SymbolTable.ApplyExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object ApproximateDependentMap extends reflect.internal.SymbolTable.TypeMap
- Definition Classes
- TypeMaps
- object Assign extends reflect.internal.SymbolTable.AssignExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- case object AutoApplicationAttachment extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- case object BackquotedIdentifierAttachment extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object Bind extends reflect.internal.SymbolTable.BindExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object Block extends reflect.internal.SymbolTable.BlockExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object BooleanFlag extends java.io.Serializable
- Definition Classes
- Printers
- case object BooleanParameterType extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object BoundedWildcardType extends reflect.internal.SymbolTable.BoundedWildcardTypeExtractor with java.io.Serializable
- Definition Classes
- Types → Types
- case object CaseApplyInheritAccess extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object CaseDef extends reflect.internal.SymbolTable.CaseDefExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object ClassDef extends reflect.internal.SymbolTable.ClassDefExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object ClassInfoType extends reflect.internal.SymbolTable.ClassInfoTypeExtractor with java.io.Serializable
- Definition Classes
- Types → Types
- object CompletionResult
- object CompoundType
- Definition Classes
- Types
- object CompoundTypeTree extends reflect.internal.SymbolTable.CompoundTypeTreeExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object ConsoleWriter extends Writer
- Definition Classes
- Printers
- object Constant extends reflect.internal.SymbolTable.ConstantExtractor with java.io.Serializable
- Definition Classes
- Constants → Constants
- object ConstantType extends reflect.internal.SymbolTable.ConstantTypeExtractor
- Definition Classes
- Types → Types
- case object ConstructorNeedsFence extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object CyclicReference extends java.io.Serializable
- Definition Classes
- Symbols
- object DefDef extends reflect.internal.SymbolTable.DefDefExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- case object DelambdafyTarget extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- case object DiscardedExpr extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- case object DiscardedValue extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- case object DottyEnumSingleton extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object EmptyScope extends reflect.internal.SymbolTable.Scope
- Definition Classes
- Scopes
- case object EmptyTree extends reflect.internal.SymbolTable.Tree with reflect.internal.SymbolTable.TermTree with reflect.internal.SymbolTable.CannotHaveAttrs with Product with Serializable
- Definition Classes
- Trees → Trees
- object ErasedValueType extends java.io.Serializable
- Definition Classes
- Types
- case object ErrorType extends reflect.internal.SymbolTable.Type with Product with Serializable
- Definition Classes
- Types
- object ExistentialType extends reflect.internal.SymbolTable.ExistentialTypeExtractor with java.io.Serializable
- Definition Classes
- Types → Types
- object ExistentialTypeTree extends reflect.internal.SymbolTable.ExistentialTypeTreeExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object Expr extends java.io.Serializable
- Definition Classes
- Exprs
- case object FieldTypeInferred extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object Flag extends reflect.internal.SymbolTable.FlagValues
- Definition Classes
- FlagSets → FlagSets
- object FoldableConstantType extends java.io.Serializable
- Definition Classes
- Types
- case object ForAttachment extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object Function extends reflect.internal.SymbolTable.FunctionExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object GenPolyType
- Definition Classes
- Types
- object Ident extends reflect.internal.SymbolTable.IdentExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object If extends reflect.internal.SymbolTable.IfExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object Import extends reflect.internal.SymbolTable.ImportExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object ImportSelector extends reflect.internal.SymbolTable.ImportSelectorExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- case object InfixAttachment extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- case object InlineCallsiteAttachment extends reflect.internal.SymbolTable.InlineAnnotatedAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- case object InterpolatedString extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object Kind
- Definition Classes
- Kinds
- object LabelDef extends reflect.internal.SymbolTable.LabelDefExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object Liftable extends reflect.api.Universe.StandardLiftableInstances
- Definition Classes
- Liftables
- object Literal extends reflect.internal.SymbolTable.LiteralExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object LiteralType extends java.io.Serializable
- Definition Classes
- Types
- case object LookupNotFound extends reflect.internal.SymbolTable.NameLookup with Product with Serializable
- Definition Classes
- Scopes
- object Match extends reflect.internal.SymbolTable.MatchExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object MethodType extends reflect.internal.SymbolTable.MethodTypeExtractor with java.io.Serializable
- Definition Classes
- Types → Types
- object MethodValue
- Definition Classes
- Trees
- object Modifiers extends reflect.internal.SymbolTable.ModifiersExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object ModuleDef extends reflect.internal.SymbolTable.ModuleDefExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- case object MultiDefAttachment extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- case object MultiargInfixAttachment extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object NamedArg extends reflect.internal.SymbolTable.NamedArgExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object New extends reflect.internal.SymbolTable.NewExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- case object NoInlineCallsiteAttachment extends reflect.internal.SymbolTable.InlineAnnotatedAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- case object NoPrefix extends reflect.internal.SymbolTable.Type with Product with Serializable
- Definition Classes
- Types → Types
- case object NoType extends reflect.internal.SymbolTable.Type with Product with Serializable
- Definition Classes
- Types → Types
- case object NoWarnAttachment extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object NullaryMethodType extends reflect.internal.SymbolTable.NullaryMethodTypeExtractor with java.io.Serializable
- Definition Classes
- Types → Types
- case object NullaryOverrideAdapted extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- case object OuterArgCanBeElided extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object PackageDef extends reflect.internal.SymbolTable.PackageDefExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- case object PatVarDefAttachment extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object PolyType extends reflect.internal.SymbolTable.PolyTypeExtractor with java.io.Serializable
- Definition Classes
- Types → Types
- case object PostfixAttachment extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object RefTree extends reflect.internal.SymbolTable.RefTreeExtractor
- Definition Classes
- Trees → Trees
- object ReferenceToBoxed extends reflect.internal.SymbolTable.ReferenceToBoxedExtractor with java.io.Serializable
- Definition Classes
- Trees
- object RefinedType extends reflect.internal.SymbolTable.RefinedTypeExtractor with java.io.Serializable
- Definition Classes
- Types → Types
- object Return extends reflect.internal.SymbolTable.ReturnExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- case object RootSelection extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object Scope
- Definition Classes
- Scopes
- object Select extends reflect.internal.SymbolTable.SelectExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object SelectFromTypeTree extends reflect.internal.SymbolTable.SelectFromTypeTreeExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object SingleType extends reflect.internal.SymbolTable.SingleTypeExtractor with java.io.Serializable
- Definition Classes
- Types → Types
- object SingletonTypeTree extends reflect.internal.SymbolTable.SingletonTypeTreeExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object Star extends reflect.internal.SymbolTable.StarExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object StaticallyAnnotatedType
- Definition Classes
- Types
- object SubstSymMap
- Definition Classes
- TypeMaps
- object Super extends reflect.internal.SymbolTable.SuperExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object SuperType extends reflect.internal.SymbolTable.SuperTypeExtractor with java.io.Serializable
- Definition Classes
- Types → Types
- case object SyntheticUnitAttachment extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object Template extends reflect.internal.SymbolTable.TemplateExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object TermName extends reflect.internal.Names.TermNameExtractor
- Definition Classes
- Names → Names
- object This extends reflect.internal.SymbolTable.ThisExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object ThisType extends reflect.internal.SymbolTable.ThisTypeExtractor with java.io.Serializable
- Definition Classes
- Types → Types
- object Throw extends reflect.internal.SymbolTable.ThrowExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object ThrownException
- Definition Classes
- AnnotationInfos
- object Try extends reflect.internal.SymbolTable.TryExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object TypeApply extends reflect.internal.SymbolTable.TypeApplyExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object TypeBounds extends reflect.internal.SymbolTable.TypeBoundsExtractor with java.io.Serializable
- Definition Classes
- Types → Types
- object TypeBoundsTree extends reflect.internal.SymbolTable.TypeBoundsTreeExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object TypeConKind
- Definition Classes
- Kinds
- object TypeDef extends reflect.internal.SymbolTable.TypeDefExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object TypeName extends reflect.internal.Names.TypeNameExtractor
- Definition Classes
- Names → Names
- object TypeRef extends reflect.internal.SymbolTable.TypeRefExtractor with java.io.Serializable
- Definition Classes
- Types → Types
- object TypeTag extends java.io.Serializable
- Definition Classes
- TypeTags
- object TypeTree extends reflect.internal.SymbolTable.TypeTreeExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object TypeVar extends java.io.Serializable
- Definition Classes
- Types
- object Typed extends reflect.internal.SymbolTable.TypedExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- case object TypedExpectingUnitAttachment extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object UnApply extends reflect.internal.SymbolTable.UnApplyExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object UnmappableAnnotation extends reflect.internal.SymbolTable.CompleteAnnotationInfo
- Definition Classes
- AnnotationInfos
- case object UnnamedArg extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- case object UseInvokeSpecial extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object ValDef extends reflect.internal.SymbolTable.ValDefExtractor with java.io.Serializable
- Definition Classes
- Trees → Trees
- object ValOrDefDef
- Definition Classes
- Trees
- case object VirtualStringContext extends reflect.internal.SymbolTable.PlainAttachment with Product with Serializable
- Definition Classes
- StdAttachments
- object WeakTypeTag extends java.io.Serializable
- Definition Classes
- TypeTags
- case object WildcardType extends reflect.internal.SymbolTable.ProtoType with Product with Serializable
- Definition Classes
- Types → Types
- object abstractTypesToBounds extends reflect.internal.SymbolTable.TypeMap
- Definition Classes
- TypeMaps
- object adaptToNewRunMap extends reflect.internal.SymbolTable.TypeMap
- Definition Classes
- TypeMaps
- object definitions extends reflect.internal.SymbolTable.DefinitionsClass
- Definition Classes
- Definitions → StandardDefinitions
- object dropIllegalStarTypes extends reflect.internal.SymbolTable.TypeMap
- Definition Classes
- TypeMaps
- object dropSingletonType extends reflect.internal.SymbolTable.TypeMap
- Definition Classes
- TypeMaps
- object duplicateAndResetPos extends reflect.internal.SymbolTable.Transformer
- Definition Classes
- Trees
- object inferKind
- Definition Classes
- Kinds
- object nme extends reflect.internal.SymbolTable.TermNames
- Definition Classes
- StdNames
- object noPrint extends (reflect.internal.SymbolTable.Tree) => Boolean
- Definition Classes
- TypeDebugging
- object noSelfType extends reflect.internal.SymbolTable.ValDef with reflect.internal.SymbolTable.CannotHaveAttrs
- Definition Classes
- Trees → Trees
- object pendingSuperCall extends reflect.internal.SymbolTable.Apply with reflect.internal.SymbolTable.CannotHaveAttrs
- Definition Classes
- Trees → Trees
- object perRunCaches
- Definition Classes
- SymbolTable
- object tpnme extends reflect.internal.SymbolTable.TypeNames
- Definition Classes
- StdNames
- object traceSymbols extends TraceSymbolActivity
- Definition Classes
- SymbolTable
- object typeDebug extends AnsiColor
- Definition Classes
- TypeDebugging
- object unwrapToClass extends reflect.internal.SymbolTable.ClassUnwrapper
- Definition Classes
- Types
- object unwrapToStableClass extends reflect.internal.SymbolTable.ClassUnwrapper
- Definition Classes
- Types
- object unwrapWrapperTypes extends reflect.internal.SymbolTable.TypeUnwrapper
- Definition Classes
- Types
- object wildcardExtrapolation extends reflect.internal.SymbolTable.VariancedTypeMap
- Definition Classes
- TypeMaps
Deprecated Value Members
- def askDocComment(sym: Symbol, site: Symbol, source: SourceFile, response: Response[(String, String, Position)]): Unit
- Definition Classes
- CompilerControl
- Annotations
- @deprecated
- Deprecated
(Since version 2.10.2) Use method that accepts fragments
- def askType(source: SourceFile, forceReload: Boolean, response: Response[Tree]): Unit
Sets sync var
response
to the fully attributed & typechecked tree contained insource
.Sets sync var
response
to the fully attributed & typechecked tree contained insource
.- Definition Classes
- CompilerControl
- Annotations
- @deprecated
- Deprecated
(Since version 2.10.1) Use
askLoadedTyped
instead to avoid race conditions in the typechecker- Note
Pre-condition:
,source
needs to be loaded.Deprecated because of race conditions in the typechecker when the background compiler is interrupted while typing the same
source
.- See also
scala/bug#6578
- final def assert(assertion: Boolean): Unit
- Definition Classes
- SymbolTable
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.5) consider supplying an explanatory message
- final def atPhase[T](ph: reflect.internal.Phase)(op: => T): T
- Definition Classes
- SymbolTable
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.10.0) use enteringPhase
- def chrs: Array[Char]
- Definition Classes
- Names
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.9) Don't access name table contents directly.
- def chrs_=(cs: Array[Char]): Unit
- Definition Classes
- Names
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.9) Don't access name table contents directly.
- lazy val compat: Compat
- Definition Classes
- Internals → Internals
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) compatibility with Scala 2.10 EOL
- lazy val emptyValDef: noSelfType.type
- Definition Classes
- Trees → Trees
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use
noSelfType
instead
- def error(msg: String): Unit
- Definition Classes
- Reporting
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.4) use
globalError
instead
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Global toStringFormat[Global] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def freshExistentialName(suffix: String): TypeName
- Attributes
- protected
- Definition Classes
- Symbols
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.1) Use overload that accepts an id
- def isRaw(sym: Symbol, args: List[Type]): Boolean
- Definition Classes
- Types
- Annotations
- @deprecated
- Deprecated
(Since version 2.10.1) use isRawType
- def itransform(transformer: Global.Transformer, tree: Tree): Tree
- Attributes
- protected
- Definition Classes
- Trees → Trees
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.3) Use Tree#transform instead
- def itraverse(traverser: Traverser, tree: Tree): Unit
- Attributes
- protected
- Definition Classes
- Trees → Trees
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.3) Use Tree#traverse instead
- def logThrowable(t: Throwable): Unit
- Definition Classes
- Global
- Annotations
- @deprecated
- Deprecated
(Since version 2.10.1) Renamed to reportThrowable
- final def newAsSeenFromMap(pre: Type, clazz: Symbol): AsSeenFromMap
- Definition Classes
- TypeMaps
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.0) use new AsSeenFromMap instead
- def nextExistentialId(): Int
- Attributes
- protected
- Definition Classes
- Symbols
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.1) Global existential IDs no longer used
- def polyType(params: List[Symbol], tpe: Type): Type
- Definition Classes
- Types
- Annotations
- @deprecated
- Deprecated
(Since version 2.10.0) use genPolyType(...) instead
- final def require(requirement: Boolean): Unit
- Definition Classes
- SymbolTable
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.5) consider supplying an explanatory message
- def stringToTermName(s: String): TermName
- Definition Classes
- Names
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use
TermName(s)
instead
- def stringToTypeName(s: String): TypeName
- Definition Classes
- Names
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use
TypeName(s)
instead
- def warning(pos: Position, msg: String): Unit
- Definition Classes
- Reporting
- Annotations
- @deprecatedOverriding() @deprecated
- Deprecated
(Since version 2.13.4) Use
runReporting.warning
instead
- def warning(msg: String): Unit
- Definition Classes
- Reporting
- Annotations
- @deprecatedOverriding() @deprecated
- Deprecated
(Since version 2.13.4) Use
runReporting.warning
instead
- def xtraverse(traverser: Traverser, tree: Tree): Unit
- Attributes
- protected
- Definition Classes
- Trees
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.3) Use Tree#traverse instead
- def →[B](y: B): (Global, B)
- Implicit
- This member is added by an implicit conversion from Global toArrowAssoc[Global] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
The Scala compiler and reflection APIs.