DeDupeableAstNode
interface DeDupeableAstNode
Methods
deDupe
abstract fun deDupe(): T
Returns a canonical variant of the AstNode, if one exists - to avoid unnecessary objects on the heap.
ReturnValue
Name | Description |
---|---|
T
|
Represents an AstNode type for which there may be a canonical variant available.