Interface: Reference<T>
compiler.Reference
A reference to an identifier that stores a value or function.
This is a wrapper interface for KipperReferenceable that provides a more convenient way to access the identifier's metadata and reference expression.
Since
0.8.0
Type parameters
| Name | Type |
|---|---|
T |
extends KipperReferenceable = KipperReferenceable |
Table of contents
Properties
Properties
refTarget
• Readonly refTarget: T
The target that this reference points to.
Since
0.8.0
Defined in
kipper/core/src/compiler/analysis/reference.ts:21
srcExpr
• Readonly srcExpr: Expression<ExpressionSemantics, ExpressionTypeSemantics, CompilableASTNode<SemanticData, TypeData>>
The expression which created the reference to refTarget.
Since
0.8.0
Defined in
kipper/core/src/compiler/analysis/reference.ts:26