Uses of Record Class
org.ek9lang.compiler.ir.DebugInfo
Packages that use DebugInfo
Package
Description
K - Intermediate Representation Generation.
-
Uses of DebugInfo in org.ek9lang.compiler.ir
Methods in org.ek9lang.compiler.ir that return DebugInfoModifier and TypeMethodDescriptionstatic DebugInfo
DebugInfo.from
(CompilableSource compilableSource, ISymbol symbol) Create DebugInfo from an ISymbol's source token.Field.getDebugInfo()
Get debug information for this field.Operation.getDebugInfo()
static DebugInfo
Create DebugInfo with just file and position (no original text).Methods in org.ek9lang.compiler.ir that return types with arguments of type DebugInfoModifier and TypeMethodDescriptionIRInstr.getDebugInfo()
Get debug information for this instruction.Methods in org.ek9lang.compiler.ir with parameters of type DebugInfoModifier and TypeMethodDescriptionstatic BranchInstr
BranchInstr.assertValue
(String condition, DebugInfo debugInfo) Create assert instruction with debug info: ASSERT condition.static BranchInstr
Create unconditional branch with debug info: BRANCH target_label.static BranchInstr
BranchInstr.branchFalse
(String condition, String targetLabel, DebugInfo debugInfo) Create conditional branch (false) with debug info: BRANCH_FALSE condition, target_label.static BranchInstr
BranchInstr.branchTrue
(String condition, String targetLabel, DebugInfo debugInfo) Create conditional branch (true) with debug info: BRANCH_TRUE condition, target_label.static CallInstr
CallInstr.call
(String result, DebugInfo debugInfo, CallDetails callDetails) Create method call with complete type information from resolved symbols: CALL result = object.method(args...)static CallInstr
CallInstr.callDispatcher
(String result, DebugInfo debugInfo, CallDetails callDetails) Create dispatcher method call with complete type information: CALL_DISPATCHER result = object.dispatcherMethod(args...)static CallInstr
CallInstr.callStatic
(String result, DebugInfo debugInfo, CallDetails callDetails) Create static method call with complete type information: CALL_STATIC result = Type.method(args...)static CallInstr
CallInstr.callVirtual
(String result, DebugInfo debugInfo, CallDetails callDetails) Create virtual method call with complete type information: CALL_VIRTUAL result = object.method(args...)static CallInstr
CallInstr.constructor
(String result, DebugInfo debugInfo, CallDetails callDetails) Create constructor call with complete type information: CALL result = Type.<init>(args...)static ScopeInstr
Create scope enter instruction with debug info: SCOPE_ENTER scope_id.static ScopeInstr
Create scope exit instruction with debug info: SCOPE_EXIT scope_id.static MemoryInstr
Create IS_NULL instruction with debug info: IS_NULL result = operand.static LiteralInstr
Create instruction to load any literal value.static MemoryInstr
Create LOAD instruction with debug info: LOAD dest = source_location.static CallInstr
CallInstr.operator
(String result, DebugInfo debugInfo, CallDetails callDetails) Create EK9 operator call with complete type information: CALL result = object._operatorMethod(args...) Common operators: _add, _sub, _eq, _lt, _addAss, _isSet, etc.static MemoryInstr
Create REFERENCE instruction with debug info: REFERENCE variable_name, type_info.static ScopeInstr
Create scope register instruction with debug info: SCOPE_REGISTER object, scope_id.static MemoryInstr
Create RELEASE instruction with debug info: RELEASE object, decrement ARC.static MemoryInstr
Create RETAIN instruction with debug info: RETAIN object, i.e.static BranchInstr
BranchInstr.returnValue
(String value, DebugInfo debugInfo) Create return with value and debug info: RETURN value.static BranchInstr
BranchInstr.returnVoid
(DebugInfo debugInfo) Create return with no value and debug info: RETURN.static MemoryInstr
Create STORE instruction with debug info: STORE dest_location = source.Constructors in org.ek9lang.compiler.ir with parameters of type DebugInfo -
Uses of DebugInfo in org.ek9lang.compiler.phase7
Classes in org.ek9lang.compiler.phase7 that implement interfaces with type arguments of type DebugInfoMethods in org.ek9lang.compiler.phase7 that return DebugInfo