- All Superinterfaces:
Comparable<Lvar>,NestedParam,VarrefParam
- All Known Implementing Classes:
Lvar.Generated,Lvar.Original
public sealed interface Lvar
extends VarrefParam, NestedParam, Comparable<Lvar>
permits Lvar.Original, Lvar.Generated
Sym of a local var.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordSym generated during SSA-conversion.static final recordSym which is specified by the program.Nested classes/interfaces inherited from interface org.kink_lang.kink.internal.program.itree.NestedParam
NestedParam.Tuple -
Method Summary
-
Method Details
-
name
String name()Returns the name of the sym specified in the program.- Specified by:
namein interfaceVarrefParam- Returns:
- the name of the sym specified in the program.
-
sortKey
String sortKey()Key to order the LocalVar.- Returns:
- key to order the LocalVar.
-
compareTo
- Specified by:
compareToin interfaceComparable<Lvar>
-
lhsRepr
Description copied from interface:VarrefParamReturns the representation as an LHS.- Specified by:
lhsReprin interfaceNestedParam- Specified by:
lhsReprin interfaceVarrefParam- Returns:
- the representation as an LHS.
-