Interface: BuiltInReference<T>
compiler.BuiltInReference
A reference to an identifier that stores some sort of value.
This is a wrapper interface for KipperReferenceable that provides a more convenient way to access the identifier's metadata and reference expression.
Since
0.12.0
Type parameters
Name | Type | Description |
---|---|---|
T |
extends KipperReferenceable = KipperReferenceable |
The type of the reference target. |
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/semantics/reference.ts:22
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/semantics/reference.ts:27