NoSymbol
Attributes
- Graph
-
- Supertypes
- Self type
-
NoSymbol.type
Members list
Type members
Inherited types
Attributes
- Inherited from:
- Symbol
Value members
Concrete methods
The compilation unit info (associated file, tasty versions, ...). Note that the returned CompilationUnitInfo might be from the top-level class containing this symbol instead of the directly enclosing class. Overridden in ClassSymbol
The compilation unit info (associated file, tasty versions, ...). Note that the returned CompilationUnitInfo might be from the top-level class containing this symbol instead of the directly enclosing class. Overridden in ClassSymbol
Attributes
- Definition Classes
Overridden in NoSymbol
Inherited methods
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
The source or class file from which this class or the class containing this symbol was generated, null if not applicable. Note that the returned classfile might be from the top-level class containing this symbol instead of the directly enclosing class.
The source or class file from which this class or the class containing this symbol was generated, null if not applicable. Note that the returned classfile might be from the top-level class containing this symbol instead of the directly enclosing class.
Attributes
- Inherited from:
- Symbol
The class file from which this class was generated, null if not applicable.
The class file from which this class was generated, null if not applicable.
Attributes
- Inherited from:
- Symbol
Copy a symbol, overriding selective fields. Note that coord
and compilationUnitInfo
will be set from the fields in owner
, not the fields in sym
.
Copy a symbol, overriding selective fields. Note that coord
and compilationUnitInfo
will be set from the fields in owner
, not the fields in sym
.
Attributes
- Inherited from:
- Symbol
The tree defining the symbol at pickler time, EmptyTree if none was retained
The tree defining the symbol at pickler time, EmptyTree if none was retained
Attributes
- Inherited from:
- Symbol
Set defining tree if this symbol retains its definition tree
The current denotation of this symbol
Remove symbol from scope of owning class
Remove symbol from scope of owning class after given phase
. Create a fresh denotation for its owner class if the class does not already have one that starts being valid after phase
.
Remove symbol from scope of owning class after given phase
. Create a fresh denotation for its owner class if the class does not already have one that starts being valid after phase
.
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- SrcPos
This symbol entered into owner's scope (owner must be a class).
Enter this symbol in its class owner after given phase
. Create a fresh denotation for its owner class if the class does not already have one that starts being valid after phase
.
Enter this symbol in its class owner after given phase
. Create a fresh denotation for its owner class if the class does not already have one that starts being valid after phase
.
Attributes
- Inherited from:
- Symbol
A fallback text representation, if the pattern matching in Printers does not have a case for this showable element
A fallback text representation, if the pattern matching in Printers does not have a case for this showable element
Attributes
- Inherited from:
- Showable
If this symbol satisfies predicate p
this symbol, otherwise NoSymbol
If this symbol satisfies predicate p
this symbol, otherwise NoSymbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- SrcPos
Calculates a hash code value for the object.
Calculates a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
. However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals
method.
Attributes
Does this symbol come from a currently compiled source file?
Is this symbol valid in the current run and has an associated file that is not a binary file. e.g. This will return true for symbols defined by the user in a prior run of the REPL, that are still valid.
Is this symbol valid in the current run and has an associated file that is not a binary file. e.g. This will return true for symbols defined by the user in a prior run of the REPL, that are still valid.
Attributes
- Inherited from:
- Symbol
Is the symbol a pattern bound symbol?
Test whether symbol is private. This conservatively returns false
if symbol does not yet have a denotation, or denotation is a class that is not yet read.
Test whether symbol is private. This conservatively returns false
if symbol does not yet have a denotation, or denotation is a class that is not yet read.
Attributes
- Inherited from:
- Symbol
Special cased here, because it may be used on naked symbols in substituters
Special cased here, because it may be used on naked symbols in substituters
Attributes
- Inherited from:
- Symbol
Is this the info of a type parameter? Will return false
for symbols that are not type parameters.
Is this the info of a type parameter? Will return false
for symbols that are not type parameters.
Attributes
- Inherited from:
- Symbol
Is symbol valid in current run?
The last known denotation of this symbol, without going through current
The last known denotation of this symbol, without going through current
Attributes
- Inherited from:
- Symbol
The current name of this symbol
This symbol, if it exists, otherwise the result of evaluating that
This symbol, if it exists, otherwise the result of evaluating that
Attributes
- Inherited from:
- Symbol
The original denotation of this symbol, without forcing anything
The info of the type parameter
The info of the type parameter as seen from a prefix type. For type parameter symbols, this is the memberInfo
as seen from prefix
. For type lambda parameters, it's the same as paramInfos
as asSeenFrom
has already been applied to the whole type lambda.
The info of the type parameter as seen from a prefix type. For type parameter symbols, this is the memberInfo
as seen from prefix
. For type lambda parameters, it's the same as paramInfos
as asSeenFrom
has already been applied to the whole type lambda.
Attributes
- Inherited from:
- Symbol
The parameter bounds, or the completer if the type parameter is an as-yet uncompleted symbol.
The parameter bounds, or the completer if the type parameter is an as-yet uncompleted symbol.
Attributes
- Inherited from:
- Symbol
The name of the type parameter
A type that refers to the parameter
The variance of the type parameter
The variance of the type parameter, as a number -1, 0, +1. Bivariant is mapped to 1, i.e. it is treated like Covariant.
The variance of the type parameter, as a number -1, 0, +1. Bivariant is mapped to 1, i.e. it is treated like Covariant.
Attributes
- Inherited from:
- ParamInfo
Does this symbol retain its definition tree? A good policy for this needs to balance costs and benefits, where costs are mainly memory leaks, in particular across runs.
Does this symbol retain its definition tree? A good policy for this needs to balance costs and benefits, where costs are mainly memory leaks, in particular across runs.
Attributes
- Inherited from:
- Symbol
The string representation of this showable element.
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
The string representation with each line after the first one indented by the given given margin (in spaces).
The string representation with each line after the first one indented by the given given margin (in spaces).
Attributes
- Inherited from:
- Showable
Attributes
- Inherited from:
- Symbol
The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.
The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.
Attributes
- Inherited from:
- Showable
The symbol's signature if it is completed or a method, NotAMethod otherwise.
The symbol's signature if it is completed or a method, NotAMethod otherwise.
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- Symbol
A symbol related to sym
that is defined in source code.
A symbol related to sym
that is defined in source code.
Attributes
- See also
-
enclosingSourceSymbols
- Inherited from:
- Symbol
The position of this symbol, or NoSpan if the symbol was not loaded from source or from TASTY. This is always a zero-extent position.
The position of this symbol, or NoSpan if the symbol was not loaded from source or from TASTY. This is always a zero-extent position.
Attributes
- Inherited from:
- Symbol
This positioned item, widened to SrcPos
. Used to make clear we only need the position, typically for error reporting.
This positioned item, widened to SrcPos
. Used to make clear we only need the position, typically for error reporting.
Attributes
- Inherited from:
- Symbol
Attributes
- Inherited from:
- SrcPos
A trap to avoid calling x.symbol on something that is already a symbol. This would be expanded to toDenot(x).symbol
which is guaraneteed to be the same as x
. With the given setup, all such calls will give implicit-not found errors
A trap to avoid calling x.symbol on something that is already a symbol. This would be expanded to toDenot(x).symbol
which is guaraneteed to be the same as x
. With the given setup, all such calls will give implicit-not found errors
Attributes
- Inherited from:
- Symbol
The info of the TASTy from which this symbol was loaded, None if not applicable.
The info of the TASTy from which this symbol was loaded, None if not applicable.
Attributes
- Inherited from:
- Symbol
The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.
The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.
Attributes
- Inherited from:
- Symbol