LinkSource
trait LinkSource
An implementation trait for attachments. Clients should inherit from Container instead.
trait Container
class XMLBlock
class DenotingTree[T]
class NamedDefTree[T]
class ValOrDefDef[T]
class EmptyValDef[T]
trait ValOrTypeDef[T]
class ModuleDef
class DerivingTemplate
class ImportOrExport[T]
class SearchFailureIdent[T]
object EmptyTypeIdent
class SelectWithSig[T]
class SingletonTypeTree[T]
class InferredTypeTree[T]
class DerivedTypeTree
class DerivedFromParamTree
class SetterParamTree
class TermRefTree
class TypeRefTree
trait PatternTree[T]
class Alternative[T]
class AppliedTypeTree[T]
class GenericApply[T]
class PackageDef[T]
class RefinedTypeTree[T]
class Parens
class TypedSplice
class SeqLiteral[T]
class JavaSeqLiteral[T]
class InlineMatch[T]
class ByNameTypeTree[T]
class LambdaTypeTree[T]
class MatchTypeTree[T]
class TermLambdaTypeTree[T]
class TypeBoundsTree[T]
trait WithoutTypeOrPos[T]
class DependentTypeTree
class ExtMethods
class Function
class FunctionWithMods
class WildcardFunction
class GenAlias
class GenFrom
class ImportSelector
class MacroTree
class OpTree
class InfixOp
class PostfixOp
class PrefixOp
class PolyFunction
class Tuple
Value members
Concrete methods
final
The list of all keys and values attached to this container.
The list of all keys and values attached to this container.
final
The attachment corresponding to key
.
The attachment corresponding to key
.
- Throws
- NoSuchElementException
if no attachment with key exists
final
The attachment corresponding to key
, or default
if no attachment with key
exists.
The attachment corresponding to key
, or default
if no attachment with key
exists.
final
Add attachment with given key
and value
.
Add attachment with given key
and value
.
- Returns
Optionally, the old attachment with given
key
if one existed before. The new attachment is added at the position of the old one, or at the end if no attachment with samekey
existed.