MutableAstNodeIndex

MutableAstNodeIndex

interface MutableAstNodeIndex

Mutable variant of AstNodeIndex.

Note: Not thread-safe.

Methods

plusAssign

abstract operator fun plusAssign(node: T)

Parameters

Name Description
node: T

ReturnValue

Name Description
Unit

set

abstract operator fun set(identifier: Identifier?, node: T)

Parameters

Name Description
identifier: Identifier?
node: T

ReturnValue

Name Description
Unit

prepend

abstract fun prepend(identifier: Identifier?, node: T): MutableAstNodeIndex<T>

Parameters

Name Description
identifier: Identifier?
node: T

ReturnValue

Name Description
MutableAstNodeIndex<T>

prepend

abstract fun prepend(node: T): MutableAstNodeIndex<T>

Parameters

Name Description
node: T

ReturnValue

Name Description
MutableAstNodeIndex<T>