LinkSource
trait LinkSource
An implementation trait for attachments. Clients should inherit from Container instead.
trait Container
class TypeVarBinder[T]
class DerivedTypeTree
class SetterParamTree
class TypeRefTree
class TermRefTree
class DerivedFromParamTree
class SingletonTypeTree[T]
class RefinedTypeTree[T]
class AppliedTypeTree[T]
class LambdaTypeTree[T]
class TermLambdaTypeTree[T]
class MatchTypeTree[T]
class ByNameTypeTree[T]
class TypeBoundsTree[T]
class GenericApply[T]
class InlineMatch[T]
trait PatternTree[T]
class Alternative[T]
class DenotingTree[T]
class SearchFailureIdent[T]
object EmptyTypeIdent
class SelectWithSig[T]
class NamedDefTree[T]
class ValOrDefDef[T]
class EmptyValDef[T]
trait ValOrTypeDef[T]
class ModuleDef
class DerivingTemplate
class ImportOrExport[T]
class PackageDef[T]
class TypedSplice
class Parens
class XMLBlock
class SeqLiteral[T]
class JavaSeqLiteral[T]
trait WithoutTypeOrPos[T]
class OpTree
class InfixOp
class PostfixOp
class PrefixOp
class Function
class FunctionWithMods
class WildcardFunction
class PolyFunction
class Tuple
class GenFrom
class GenAlias
class ExtMethods
class MacroTree
class ImportSelector
class DependentTypeTree
class Hole
Value members
Concrete methods
The list of all keys and values attached to this container.
The list of all keys and values attached to this container.
The attachment corresponding to key
.
The attachment corresponding to key
.
- Throws
- NoSuchElementException
if no attachment with key exists
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.
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.