Class TempVariableSource
java.lang.Object
org.ek9lang.compiler.backend.jvm.support.TempVariableSource
Represents the source of a temp variable for stack-oriented code generation.
Tracks whether a temp variable was created from:
- Loading another variable
- A literal value
- A constructor call
- A method call
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of source for a temp variable. -
Constructor Summary
ConstructorsConstructorDescriptionTempVariableSource(String sourceVariable) Create source tracking for a variable load.TempVariableSource(String literalValue, String literalType) Create source tracking for a literal value. -
Method Summary
-
Constructor Details
-
TempVariableSource
Create source tracking for a variable load. -
TempVariableSource
-
-
Method Details
-
getType
-
getSourceVariable
-
getLiteralValue
-
getLiteralType
-