Uses of Record Class
org.ek9lang.compiler.ir.DebugInfo
Packages that use DebugInfo
Package
Description
-
Uses of DebugInfo in org.ek9lang.compiler.ir
Methods in org.ek9lang.compiler.ir that return DebugInfoModifier and TypeMethodDescriptionstatic DebugInfoDebugInfo.from(CompilableSource compilableSource, IToken token) Create DebugInfo from an ISymbol's source token.Field.getDebugInfo()Get debug information for this field.Operation.getDebugInfo()static DebugInfoCreate 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 BranchInstrBranchInstr.assertValue(String condition, DebugInfo debugInfo) Create assert instruction with debug info: ASSERT condition.static CallInstrCallInstr.call(String result, DebugInfo debugInfo, CallDetails callDetails) Create method call with complete type information from resolved symbols: CALL result = object.method(args...)static CallInstrCallInstr.callDispatcher(String result, DebugInfo debugInfo, CallDetails callDetails) Create dispatcher method call with complete type information: CALL_DISPATCHER result = object.dispatcherMethod(args...)static CallInstrCallInstr.callStatic(String result, DebugInfo debugInfo, CallDetails callDetails) Create static method call with complete type information: CALL_STATIC result = Type.method(args...)static CallInstrCallInstr.callVirtual(String result, DebugInfo debugInfo, CallDetails callDetails) Create virtual method call with complete type information: CALL_VIRTUAL result = object.method(args...)static CallInstrCallInstr.constructor(String result, DebugInfo debugInfo, CallDetails callDetails) Create constructor call with complete type information: CALL result = Type.<init>(args...)static ScopeInstrCreate scope enter instruction with debug info: SCOPE_ENTER scope_id.static ScopeInstrCreate scope exit instruction with debug info: SCOPE_EXIT scope_id.static MemoryInstrMemoryInstr.functionInstance(String result, String functionType, DebugInfo debugInfo) Create FUNCTION_INSTANCE instruction with debug info: FUNCTION_INSTANCE result = FunctionType.static MemoryInstrCreate IS_NULL instruction with debug info: IS_NULL result = operand.static LabelInstrCreate label instruction with debug info: LABEL label_name.static LiteralInstrCreate instruction to load any literal value.static MemoryInstrCreate LOAD instruction with debug info: LOAD dest = source_location.static CallInstrCallInstr.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 MemoryInstrCreate REFERENCE instruction with debug info: REFERENCE variable_name, type_info.static MemoryInstrCreate RELEASE instruction with debug info: RELEASE object, decrement ARC.static MemoryInstrCreate RETAIN instruction with debug info: RETAIN object, i.e.static BranchInstrBranchInstr.returnValue(String value, DebugInfo debugInfo) Create return with value and debug info: RETURN value.static BranchInstrBranchInstr.returnVoid(DebugInfo debugInfo) Create return with no value and debug info: RETURN.static MemoryInstrCreate 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.generation
Classes in org.ek9lang.compiler.phase7.generation that implement interfaces with type arguments of type DebugInfoModifier and TypeClassDescriptionfinal classCreates the debug information for the symbol provided.Methods in org.ek9lang.compiler.phase7.generation that return DebugInfoModifier and TypeMethodDescriptionIRGenerationContext.createDebugInfo(org.antlr.v4.runtime.Token token) Create debug info from an ANTLR token.IRGenerationContext.createDebugInfo(org.antlr.v4.runtime.tree.ParseTree ctx) Create debug info from a parse context.IRGenerationContext.createDebugInfo(Ek9Token token) Create debug info from a token.IRGenerationContext.createDebugInfo(IToken token) Create debug info from an EK9 IToken.IRInstructionBuilder.createDebugInfo(org.antlr.v4.runtime.Token token) Create debug info from an ANTLR token.IRInstructionBuilder.createDebugInfo(org.antlr.v4.runtime.tree.ParseTree ctx) IRInstructionBuilder.createDebugInfo(Ek9Token token) Create debug info from a token.IRInstructionBuilder.createDebugInfo(IToken token) Create debug info from an EK9 IToken.IRStackFrame.debugInfo()Returns the value of thedebugInforecord component.Methods in org.ek9lang.compiler.phase7.generation that return types with arguments of type DebugInfoModifier and TypeMethodDescriptionIRGenerationContext.currentDebugInfo()Get current debug info from the stack.IRGenerationStack.currentDebugInfo()Get current debug info from the top frame.Methods in org.ek9lang.compiler.phase7.generation with parameters of type DebugInfoModifier and TypeMethodDescriptionstatic IRStackFrameIRStackFrame.basic(String scopeId, DebugInfo debugInfo, IRFrameType frameType) Create a basic frame with just scope and debug info.voidIRGenerationContext.enterMethodScope(String scopeId, DebugInfo debugInfo, IRFrameType frameType) Enter a method/function scope with fresh IRContext for counter isolation.voidIRGenerationContext.enterScope(String scopeId, DebugInfo debugInfo, IRFrameType frameType) Enter a new IR scope context.voidIRGenerationContext.enterScope(String scopeId, DebugInfo debugInfo, IRFrameType frameType, boolean hasLeftHandSide) Enter a new IR scope with left-hand side indication.voidIRGenerationContext.enterScope(String scopeId, DebugInfo debugInfo, IRFrameType frameType, boolean hasLeftHandSide, Object contextData) Enter a new IR scope with full parameters.voidIRGenerationContext.enterScope(String scopeId, DebugInfo debugInfo, IRFrameType frameType, Object contextData) Enter a new IR scope with context data.static IRStackFrameIRStackFrame.full(String scopeId, DebugInfo debugInfo, IRFrameType frameType, boolean hasLeftHandSide, Object contextData) Create a full frame with all parameters.static IRStackFrameIRStackFrame.withContext(String scopeId, DebugInfo debugInfo, IRFrameType frameType, Object contextData) Create a frame with additional context data.static IRStackFrameIRStackFrame.withLeftHandSide(String scopeId, DebugInfo debugInfo, IRFrameType frameType, boolean hasLeftHandSide) Create a frame with left-hand side indication.Constructors in org.ek9lang.compiler.phase7.generation with parameters of type DebugInfoModifierConstructorDescriptionIRStackFrame(String scopeId, DebugInfo debugInfo, IRFrameType frameType, boolean hasLeftHandSide, Object contextData) Creates an instance of aIRStackFramerecord class. -
Uses of DebugInfo in org.ek9lang.compiler.phase7.support
Methods in org.ek9lang.compiler.phase7.support that return DebugInfoModifier and TypeMethodDescriptionBasicDetails.debugInfo()Returns the value of thedebugInforecord component.Constructors in org.ek9lang.compiler.phase7.support with parameters of type DebugInfoModifierConstructorDescriptionBasicDetails(String scopeId, DebugInfo debugInfo) Creates an instance of aBasicDetailsrecord class.