- All Superinterfaces:
NestedParam
,VarrefParam
- All Known Implementing Classes:
LocalVar.Generated
,LocalVar.Original
public sealed interface LocalVar
extends VarrefParam, NestedParam
permits LocalVar.Original, LocalVar.Generated
Sym of a local var.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
Sym generated during SSA-conversion.static final record
Sym which is specified by the program.Nested classes/interfaces inherited from interface org.kink_lang.kink.internal.program.itree.NestedParam
NestedParam.Tuple
-
Method Summary
Methods inherited from interface org.kink_lang.kink.internal.program.itree.NestedParam
lhsRepr
Methods inherited from interface org.kink_lang.kink.internal.program.itree.VarrefParam
lhsRepr
-
Method Details
-
name
String name()Returns the name of the sym specified in the program.- Specified by:
name
in interfaceVarrefParam
- Returns:
- the name of the sym specified in the program.
-