Uses of Record Class
org.ek9lang.compiler.ir.support.DebugInfo
Packages that use DebugInfo
Package
Description
JVM Bytecode Generation - Transforms EK9 IR into JVM bytecode.
JVM Backend Support Utilities - Extracted utilities for bytecode generation.
IR Data Structures - Metadata and detail classes for IR instructions.
IR Instruction Classes - The instruction set for EK9 intermediate representation.
IR Support Utilities - Helper classes for IR generation and processing.
Synthetic operator and method generation for EK9.
Support classes for synthetic operator IR generation.
-
Uses of DebugInfo in org.ek9lang.compiler.backend.jvm
Methods in org.ek9lang.compiler.backend.jvm with parameters of type DebugInfoModifier and TypeMethodDescriptionvoidSmapGenerator.addMapping(DebugInfo debugInfo, int outputLineNumber) Add debug information from an IR instruction to the SMAP.protected voidAbstractAsmGenerator.generateDebugInfo(DebugInfo debugInfo) Generate debug line number from EK9 debug info if available. -
Uses of DebugInfo in org.ek9lang.compiler.backend.jvm.support
Methods in org.ek9lang.compiler.backend.jvm.support with parameters of type DebugInfoModifier and TypeMethodDescriptionvoidDebugInfoGenerator.generateDebugInfo(org.objectweb.asm.MethodVisitor mv, DebugInfo debugInfo) Generate debug line number from EK9 debug info if available. -
Uses of DebugInfo in org.ek9lang.compiler.ir.data
Methods in org.ek9lang.compiler.ir.data that return DebugInfoModifier and TypeMethodDescriptionControlFlowChainDetails.debugInfo()Returns the value of thedebugInforecord component.EnumIteratorImplDetails.debugInfo()Returns the value of thedebugInforecord component.LogicalDetails.debugInfo()Returns the value of thedebugInforecord component.Methods in org.ek9lang.compiler.ir.data with parameters of type DebugInfoModifier and TypeMethodDescriptionstatic ControlFlowChainDetailsControlFlowChainDetails.createComparisonCoalescing(String result, List<ConditionCaseDetails> conditionChain, List<IRInstr> defaultBodyEvaluation, String defaultResult, DebugInfo debugInfo, String scopeId, String chainType) Create details for comparison coalescing operators (<?, >?, <=?, >=?).static ControlFlowChainDetailsControlFlowChainDetails.createDoWhileExpression(String result, ReturnVariableDetails returnDetails, List<ConditionCaseDetails> conditionChain, DebugInfo debugInfo, String scopeId) Create details for a do-while expression (result <- do { body } while condition).static ControlFlowChainDetailsControlFlowChainDetails.createDoWhileLoopUnified(GuardVariableDetails guardDetails, ReturnVariableDetails returnDetails, List<ConditionCaseDetails> conditionChain, DebugInfo debugInfo, String scopeId) Unified factory for do-while loops - automatically selects expression or statement form.static ControlFlowChainDetailsControlFlowChainDetails.createDoWhileLoopWithGuards(GuardVariableDetails guardDetails, List<ConditionCaseDetails> conditionChain, DebugInfo debugInfo, String scopeId) Create details for a do-while loop with guard variables (statement form).static ControlFlowChainDetailsControlFlowChainDetails.createElvisCoalescing(String result, List<ConditionCaseDetails> conditionChain, List<IRInstr> defaultBodyEvaluation, String defaultResult, DebugInfo debugInfo, String scopeId) Create details for an Elvis Coalescing operator (:?).static ControlFlowChainDetailsControlFlowChainDetails.createForInExpression(String result, ReturnVariableDetails returnDetails, List<ConditionCaseDetails> conditionChain, DebugInfo debugInfo, String scopeId) Create details for a for-in expression (result <- for item in collection).static ControlFlowChainDetailsControlFlowChainDetails.createForRangeExpression(String result, ReturnVariableDetails returnDetails, List<ConditionCaseDetails> conditionChain, DebugInfo debugInfo, String scopeId) Create details for a for-range expression (result <- for i in start ..< end).static ControlFlowChainDetailsControlFlowChainDetails.createIfElse(String result, List<ConditionCaseDetails> conditionChain, List<IRInstr> defaultBodyEvaluation, String defaultResult, DebugInfo debugInfo, String scopeId) Create details for an if/else statement.static ControlFlowChainDetailsControlFlowChainDetails.createIfElseWithGuards(String result, GuardVariableDetails guardDetails, List<ConditionCaseDetails> conditionChain, List<IRInstr> defaultBodyEvaluation, String defaultResult, DebugInfo debugInfo, String scopeId) Create details for an if/else statement with guard variables.static ControlFlowChainDetailsControlFlowChainDetails.createNullCoalescing(String result, List<ConditionCaseDetails> conditionChain, List<IRInstr> defaultBodyEvaluation, String defaultResult, DebugInfo debugInfo, String scopeId) Create details for a Null Coalescing operator (??).static ControlFlowChainDetailsControlFlowChainDetails.createQuestionOperator(String result, List<ConditionCaseDetails> conditionChain, List<IRInstr> defaultBodyEvaluation, String defaultResult, DebugInfo debugInfo, String scopeId) Create details for a Question operator (?).static ControlFlowChainDetailsControlFlowChainDetails.createSwitchExpression(String result, EvaluationVariableDetails evaluationDetails, ReturnVariableDetails returnDetails, List<ConditionCaseDetails> conditionChain, List<IRInstr> defaultBodyEvaluation, String defaultResult, DebugInfo debugInfo, String scopeId) Create details for a switch expression (result <- switch expr).static ControlFlowChainDetailsControlFlowChainDetails.createSwitchWithGuards(String result, GuardVariableDetails guardDetails, String evaluationVariable, String evaluationVariableType, String returnVariable, String returnVariableType, List<IRInstr> returnVariableSetup, List<ConditionCaseDetails> conditionChain, List<IRInstr> defaultBodyEvaluation, String defaultResult, DebugInfo debugInfo, String scopeId) Create details for a switch statement with guard variable support.static ControlFlowChainDetailsControlFlowChainDetails.createTernaryOperator(String result, List<ConditionCaseDetails> conditionChain, List<IRInstr> defaultBodyEvaluation, String defaultResult, DebugInfo debugInfo, String scopeId) Create details for a Ternary operator (condition <- thenValue : elseValue).static ControlFlowChainDetailsControlFlowChainDetails.createTryCatchExpression(String result, ReturnVariableDetails returnDetails, TryBlockDetails tryBlockDetails, List<ConditionCaseDetails> catchHandlers, List<IRInstr> finallyBlockEvaluation, DebugInfo debugInfo, String scopeId) Create details for a try-catch expression (result <- try { expr } catch { handler }).static ControlFlowChainDetailsControlFlowChainDetails.createTryCatchFinally(String result, GuardVariableDetails guardDetails, ReturnVariableDetails returnDetails, TryBlockDetails tryBlockDetails, List<ConditionCaseDetails> catchHandlers, List<IRInstr> finallyBlockEvaluation, DebugInfo debugInfo, String scopeId) Create details for a try/catch/finally construct.static ControlFlowChainDetailsControlFlowChainDetails.createWhileExpression(String result, ReturnVariableDetails returnDetails, List<ConditionCaseDetails> conditionChain, DebugInfo debugInfo, String scopeId) Create details for a while expression (result <- while condition).static ControlFlowChainDetailsControlFlowChainDetails.createWhileLoop(List<ConditionCaseDetails> conditionChain, DebugInfo debugInfo, String scopeId) Create details for a while loop (statement form).static ControlFlowChainDetailsControlFlowChainDetails.createWhileLoopUnified(GuardVariableDetails guardDetails, ReturnVariableDetails returnDetails, List<ConditionCaseDetails> conditionChain, DebugInfo debugInfo, String scopeId) Unified factory for while loops - automatically selects expression or statement form.static ControlFlowChainDetailsControlFlowChainDetails.createWhileLoopWithGuards(GuardVariableDetails guardDetails, List<ConditionCaseDetails> conditionChain, DebugInfo debugInfo, String scopeId) Create details for a while loop with guard variables (statement form).Constructors in org.ek9lang.compiler.ir.data with parameters of type DebugInfoModifierConstructorDescriptionControlFlowChainDetails(String result, String chainType, GuardVariableDetails guardDetails, EvaluationVariableDetails evaluationDetails, ReturnVariableDetails returnDetails, List<ConditionCaseDetails> conditionChain, DefaultCaseDetails defaultDetails, TryBlockDetails tryBlockDetails, List<IRInstr> finallyBlockEvaluation, DebugInfo debugInfo, String scopeId) Creates an instance of aControlFlowChainDetailsrecord class.EnumIteratorImplDetails(String enumTypeName, String superTypeName, List<String> enumValues, String resultVariable, DebugInfo debugInfo) Create enum iterator implementation details.LogicalDetails(String result, OperandEvaluation leftEvaluation, ConditionalEvaluation conditionalEvaluation, OperandEvaluation rightEvaluation, OperandEvaluation resultEvaluation, DebugInfo debugInfo, String scopeId) Creates an instance of aLogicalDetailsrecord class. -
Uses of DebugInfo in org.ek9lang.compiler.ir.instructions
Methods in org.ek9lang.compiler.ir.instructions that return DebugInfoModifier and TypeMethodDescriptionField.getDebugInfo()Get debug information for this field.OperationInstr.getDebugInfo()Methods in org.ek9lang.compiler.ir.instructions that return types with arguments of type DebugInfoModifier and TypeMethodDescriptionIRInstr.getDebugInfo()Get debug information for this instruction.Methods in org.ek9lang.compiler.ir.instructions with parameters of type DebugInfoModifier and TypeMethodDescriptionstatic AssertThrowsInstrAssertThrowsInstr.assertDoesNotThrow(List<IRInstr> bodyInstructions, String message, String scopeId, DebugInfo debugInfo) Create ASSERT_DOES_NOT_THROW instruction.static AssertThrowsInstrAssertThrowsInstr.assertThrows(String result, String expectedType, List<IRInstr> bodyInstructions, String message, String scopeId, DebugInfo debugInfo) Create ASSERT_THROWS instruction.static BranchInstrBranchInstr.assertValue(String condition, String message, DebugInfo debugInfo) Create assert instruction with message and debug info: ASSERT condition, message.static BranchInstrBranchInstr.assertValue(String condition, DebugInfo debugInfo) Create assert instruction with debug info: ASSERT condition.static BranchInstrCreate unconditional branch: BRANCH target_label.static BranchInstrBranchInstr.branchIfFalse(String condition, String targetLabel, DebugInfo debugInfo) Create conditional branch if false: BRANCH_FALSE condition, target_label.static BranchInstrBranchInstr.branchIfTrue(String condition, String targetLabel, DebugInfo debugInfo) Create conditional branch if true: BRANCH_TRUE condition, target_label.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.callStatic(String result, DebugInfo debugInfo, CallDetails callDetails) Create static method call with complete type information: CALL_STATIC result = Type.method(args...)static CastInstrCreate instruction to cast source to target type and store in result.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 CoverageFinalizeInstrCreate a coverage finalize instruction with explicit output path.static CoverageFinalizeInstrCreate a coverage finalize instruction with default output path.static ForRangePolymorphicInstrForRangePolymorphicInstr.forRangePolymorphic(List<IRInstr> initializationInstructions, ForRangePolymorphicInstr.DispatchCases dispatchCases, ForRangePolymorphicInstr.LoopMetadata metadata, List<IRInstr> bodyInstructions, ForRangePolymorphicInstr.ScopeMetadata scopeMetadata, DebugInfo debugInfo) Create a polymorphic for-range loop instruction.static MemoryInstrMemoryInstr.functionInstance(String result, String functionType, DebugInfo debugInfo) Create FUNCTION_INSTANCE instruction with debug info: FUNCTION_INSTANCE result = FunctionType.static CastInstrCastInstr.instanceOf(String result, String source, String targetType, DebugInfo debugInfo) Create instruction to check if source is instance of target type.static StringInterpolationInstrStringInterpolationInstr.interpolate(String result, List<IRInstr> setupInstructions, List<StringInterpolationPart> parts, String scopeId, DebugInfo debugInfo) Create a string interpolation instruction.static MemoryInstrCreate IS_NULL instruction with debug info: IS_NULL result = operand.static LabelInstrCreate label instruction with debug info: LABEL label_name.static MemoryInstrCreate LOAD instruction with debug info: LOAD dest = source_location.static MemoryInstrMemoryInstr.loadConstant(String result, String constantName, String moduleName, String typeName, DebugInfo debugInfo) Create LOAD_CONSTANT instruction: load from module constant storage.static MemoryInstrMemoryInstr.loadField(String destination, String objectVar, String fieldName, String ownerType, String fieldType, DebugInfo debugInfo) Create LOAD_FIELD instruction: load field value from object.static MemoryInstrMemoryInstr.loadStaticField(String result, String fieldName, String ownerType, String fieldType, DebugInfo debugInfo) Create LOAD_STATIC_FIELD instruction: load static field from class.static LiteralInstrLiteralInstr.objectFromLiteral(String result, String literalValue, String literalType, DebugInfo debugInfo) Create instruction to load a literal value as an EK9 object.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 PrimitiveLiteralInstrLiteralInstr.primitiveFromLiteral(String result, String literalValue, String primitiveType, DebugInfo debugInfo) Create instruction to load a literal value as a primitive (int, boolean, java.lang.String).static CoverageProbeInstrCoverageProbeInstr.probe(CoverageProbeDetails probeDetails, DebugInfo debugInfo) Create a coverage probe instruction.static MemoryInstrCreate REFERENCE instruction with debug info: REFERENCE variable_name, type_info.static CoverageRegisterInstrCoverageRegisterInstr.register(CoverageModuleDetails moduleDetails, DebugInfo debugInfo) Create a coverage register instruction.static ScopeInstrstatic MemoryInstrCreate RELEASE instruction with debug info: RELEASE object, decrement ARC.static BranchInstrBranchInstr.requireValue(String condition, String message, DebugInfo debugInfo) Create require instruction with message and debug info: REQUIRE condition, message.static BranchInstrBranchInstr.requireValue(String condition, DebugInfo debugInfo) Create require instruction with debug info: REQUIRE condition.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 SanitizeInstrCreate instruction to sanitize a string and store in destination.static FieldField.staticField(ISymbol symbol, String name, String typeName, DebugInfo debugInfo) Factory method for creating a static field (e.g., enum constants).static MemoryInstrCreate STORE instruction with debug info: STORE dest_location = source.static MemoryInstrMemoryInstr.storeField(String objectVar, String fieldName, String ownerType, String fieldType, String value, DebugInfo debugInfo) Create STORE_FIELD instruction: store value into object field.static MemoryInstrMemoryInstr.storeStaticField(String fieldName, String ownerType, String fieldType, String value, DebugInfo debugInfo) Create STORE_STATIC_FIELD instruction: store value into static field.static ThrowInstrThrowInstr.throwException(String exceptionVariable, String exceptionType, DebugInfo debugInfo) Create throw instruction with exception object variable, type, and debug info.Constructors in org.ek9lang.compiler.ir.instructions with parameters of type DebugInfoModifierConstructorDescriptionCreate a new instance Field IR node.Create instruction with result and debug information.OperationInstr(ISymbol symbol, DebugInfo debugInfo) (package private)PrimitiveLiteralInstr(String result, String literalValue, String primitiveType, DebugInfo debugInfo) ProgramEntryPointInstr(List<ProgramDetails> availablePrograms, DebugInfo debugInfo) Create program entry point instruction with complete program metadata. -
Uses of DebugInfo in org.ek9lang.compiler.ir.support
Methods in org.ek9lang.compiler.ir.support that return DebugInfoModifier and TypeMethodDescriptionstatic DebugInfoDebugInfo.from(CompilableSource compilableSource, IToken token) Create DebugInfo from an ISymbol's source token.static DebugInfoCreate DebugInfo with just file and position (no original text). -
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.IRGenerationContext.createDebugInfoAlways(org.antlr.v4.runtime.Token token) Create debug info ALWAYS, regardless of debug mode flag.IRGenerationContext.createDebugInfoAlways(org.antlr.v4.runtime.tree.ParseTree ctx) Create debug info ALWAYS from a parse context, regardless of debug mode flag.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.voidIRInstructionBuilder.callThisMethod(String targetTypeName, String methodName, String targetVariable, DebugInfo debugInfo) Create a method call on 'this' object with specific debug info.CoverageProbePlacer.createBranchFalseProbe(DebugInfo debugInfo) Create a branch-false (else) probe instruction.CoverageProbePlacer.createBranchTrueProbe(DebugInfo debugInfo) Create a branch-true (if/then) probe instruction.CoverageProbePlacer.createCatchBlockProbe(String exceptionType, DebugInfo debugInfo) Create a catch block probe instruction.CoverageProbePlacer.createCoverageFinalization(DebugInfo debugInfo) Create a coverage finalization instruction.CoverageProbePlacer.createFinallyBlockProbe(DebugInfo debugInfo) Create a finally block probe instruction.CoverageProbePlacer.createFunctionEntryProbe(DebugInfo debugInfo) Create a function entry probe instruction.CoverageProbePlacer.createLoopBodyProbe(DebugInfo debugInfo) Create a loop body probe instruction.CoverageProbePlacer.createModuleRegistration(DebugInfo debugInfo) Create a module registration instruction.CoverageProbePlacer.createStatementProbe(DebugInfo debugInfo) Create a statement probe instruction.CoverageProbePlacer.createSwitchCaseProbe(String caseLabel, DebugInfo debugInfo) Create a switch case probe instruction.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.static IRStackFrameIRStackFrame.full(String scopeId, DebugInfo debugInfo, IRFrameType frameType, boolean hasLeftHandSide, Object contextData) Create a full frame with all parameters.voidIRInstructionBuilder.returnValue(String variableName, DebugInfo debugInfo) 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.generator
Methods in org.ek9lang.compiler.phase7.generator that return DebugInfoModifier and TypeMethodDescriptionReturningParamProcessor.createDebugInfo(EK9Parser.ReturningParamContext ctx) Create debug info from the returningParam context.GuardedScopeOrchestrator.OrchestratorContext.debugInfo()Returns the value of thedebugInforecord component.Methods in org.ek9lang.compiler.phase7.generator with parameters of type DebugInfoModifier and TypeMethodDescriptionGenerate ARC-safe assignment instructions for a branch result.ExpressionResultAssigner.assignIfNeeded(String returnVariable, String branchResult, DebugInfo debugInfo) Conditionally generate assignment instructions.AbstractAssertExprGenerator.buildAssertionBody(EK9Parser.ExpressionContext exprCtx, DebugInfo debugInfo) Build the assertion body with proper scope management.protected VariableDetailsAbstractGenerator.createTempVariable(DebugInfo debugInfo) Create a temporary variable with associated debug info.GuardedConditionEvaluator.evaluate(EK9Parser.ExpressionContext conditionExpr, EK9Parser.PreFlowStatementContext preFlowStmt, VariableDetails conditionResult, String scopeId, DebugInfo debugInfo) Evaluates a condition expression that may have guard variables.GuardedConditionEvaluator.evaluateGuardOnlyForVariable(ISymbol guardSymbol, String variableName, VariableDetails conditionResult, String scopeId, DebugInfo debugInfo) Evaluates guard only for a pre-resolved variable (used by WHILE/DO-WHILE for entry check).ControlFlowChainGenerator.generateGuardedAssignment(ISymbol lhsSymbol, List<IRInstr> assignmentEvaluation, String assignmentResult, DebugInfo debugInfo) Generate SWITCH_CHAIN_BLOCK for guarded assignment (:=?).ControlFlowChainGenerator.generateQuestionOperatorForVariable(ISymbol variableSymbol, String resultVariable, DebugInfo debugInfo) Generate SWITCH_CHAIN_BLOCK for Question operator applied to a variable.LoopGuardHelper.wrapBodyWithGuardEntryCheck(GuardVariableDetails guardDetails, List<IRInstr> bodyInstructions, String guardScopeId, DebugInfo debugInfo) Wrap body instructions in an IF_ELSE_IF that checks the guard entry condition.LoopGuardHelper.wrapChainWithGuardEntryCheck(GuardVariableDetails guardDetails, ControlFlowChainDetails chainDetails, String guardScopeId, DebugInfo debugInfo) Wrap a ControlFlowChainDetails (loop or try) in an IF_ELSE_IF that checks the guard entry condition.LoopGuardHelper.wrapExpressionFormWithGuardEntryCheck(GuardVariableDetails guardDetails, List<IRInstr> returnVariableSetup, List<IRInstr> bodyInstructionsWithoutRtn, String guardScopeId, DebugInfo debugInfo) Wrap body instructions in an IF_ELSE_IF for EXPRESSION FORM with return variable.Method parameters in org.ek9lang.compiler.phase7.generator with type arguments of type DebugInfoModifier and TypeMethodDescriptionprotected voidAbstractGenerator.addCoverageProbe(org.antlr.v4.runtime.tree.ParseTree ctx, List<IRInstr> instructions, Function<DebugInfo, IRInstr> probeFactory) Add a coverage probe instruction if coverage instrumentation is enabled.Constructors in org.ek9lang.compiler.phase7.generator with parameters of type DebugInfoModifierConstructorDescriptionOrchestratorContext(GuardVariableDetails guardDetails, ReturnVariableDetails returnDetails, String outerScopeId, DebugInfo debugInfo) Creates an instance of aOrchestratorContextrecord class. -
Uses of DebugInfo in org.ek9lang.compiler.phase7.support
Methods in org.ek9lang.compiler.phase7.support that return DebugInfoModifier and TypeMethodDescriptionBinaryOperatorParams.debugInfo()Returns the value of thedebugInforecord component.BooleanExtractionParams.debugInfo()Returns the value of thedebugInforecord component.ComparisonParams.debugInfo()Returns the value of thedebugInforecord component.DirectionCheckParams.debugInfo()Returns the value of thedebugInforecord component.IncrementParams.debugInfo()Returns the value of thedebugInforecord component.LiteralParams.debugInfo()Returns the value of thedebugInforecord component.PromotionParams.debugInfo()Returns the value of thedebugInforecord component.UnaryOperatorParams.debugInfo()Returns the value of thedebugInforecord component.VariableDetails.debugInfo()Returns the value of thedebugInforecord component.Methods in org.ek9lang.compiler.phase7.support with parameters of type DebugInfoModifier and TypeMethodDescriptionScopedInstructionExecutor.execute(Supplier<List<IRInstr>> instructionGenerator, DebugInfo debugInfo) Execute instructions within temporary scope.Constructors in org.ek9lang.compiler.phase7.support with parameters of type DebugInfoModifierConstructorDescriptionBinaryOperatorParams(String leftOperand, String rightOperand, String operator, ISymbol leftType, ISymbol rightType, ISymbol resultType, String resultTemp, String scopeId, DebugInfo debugInfo) Creates an instance of aBinaryOperatorParamsrecord class.BooleanExtractionParams(String booleanObjectVar, String resultTemp, DebugInfo debugInfo) Creates an instance of aBooleanExtractionParamsrecord class.ComparisonParams(String leftOperand, String rightOperand, String operator, ISymbol leftType, ISymbol rightType, ISymbol booleanType, String booleanObjectTemp, String primitiveBooleanTemp, String scopeId, DebugInfo debugInfo) Creates an instance of aComparisonParamsrecord class.DirectionCheckParams(String directionTemp, String comparisonOperator, String zeroTemp, String booleanObjectTemp, String primitiveBooleanTemp, ISymbol integerType, ISymbol booleanType, String scopeId, DebugInfo debugInfo) Creates an instance of aDirectionCheckParamsrecord class.IncrementParams(String counterVar, String operator, ISymbol counterType, String scopeId, DebugInfo debugInfo) Creates an instance of aIncrementParamsrecord class.LiteralParams(String tempName, String literalValue, ISymbol literalType, DebugInfo debugInfo) Creates an instance of aLiteralParamsrecord class.PromotionParams(ISymbol sourceType, String sourceVariable, DebugInfo debugInfo) Creates an instance of aPromotionParamsrecord class.UnaryOperatorParams(String operand, String operator, ISymbol operandType, ISymbol resultType, String resultTemp, String scopeId, DebugInfo debugInfo) Creates an instance of aUnaryOperatorParamsrecord class.VariableDetails(String resultVariable, DebugInfo debugInfo) Creates an instance of aVariableDetailsrecord class. -
Uses of DebugInfo in org.ek9lang.compiler.phase7.synthesis
Methods in org.ek9lang.compiler.phase7.synthesis that return DebugInfoModifier and TypeMethodDescriptionprotected DebugInfoAbstractSyntheticGenerator.createDebugInfo(ISymbol symbol) Create debug info from a symbol's source token.Methods in org.ek9lang.compiler.phase7.synthesis with parameters of type DebugInfoModifier and TypeMethodDescriptionAbstractSyntheticGenerator.generateAnyFieldSetGuard(AggregateSymbol aggregateSymbol, String aggregateTypeName, DebugInfo debugInfo, String returnUnsetLabel, String scopeId) Generate guard that returns UNSET if no fields are set (ANY field set semantics).AbstractSyntheticGenerator.generateBooleanReturnBlock(boolean value, String returnVarName, DebugInfo debugInfo, String scopeId) Generate a return block that returns a specific boolean value (true or false).AbstractSyntheticGenerator.generateConstructorCall(String resultVar, String typeName, String argument, String parameterType, DebugInfo debugInfo, String scopeId) Generate a constructor call with a single argument to create a new instance.AbstractSyntheticGenerator.generateConstructorCall(String resultVar, String typeName, DebugInfo debugInfo, String scopeId) Generate a constructor call to create a new instance.AbstractSyntheticGenerator.generateConstructorCallWithArgs(String resultVar, String typeName, List<String> arguments, List<String> parameterTypes, DebugInfo debugInfo, String scopeId) Generate a constructor call with arguments to create a new instance.AbstractSyntheticGenerator.generateFieldLoad(String targetVar, String objectVar, String fieldName, String ownerTypeName, String fieldTypeName, DebugInfo debugInfo, String scopeId) Generate field load instruction with memory management using explicit LOAD_FIELD.AbstractSyntheticGenerator.generateFieldSetStatusCheck(String otherParamName, String aggregateTypeName, DebugInfo debugInfo, String scopeId, String returnUnsetLabel) Generate field set status comparison check.AbstractSyntheticGenerator.generateIsSetGuard(String variableName, String typeName, DebugInfo debugInfo, String unsetLabel, String scopeId) Generate isSet guard check for a variable with branch to unset return.AbstractSyntheticGenerator.generateMethodCall(String resultVar, String targetVar, String targetType, String methodName, String argument, String parameterType, String returnType, DebugInfo debugInfo, String scopeId) Generate a single-argument method call with result storage and memory management.AbstractSyntheticGenerator.generateMethodCall(String resultVar, String targetVar, String targetType, String methodName, String returnType, DebugInfo debugInfo, String scopeId) Generate a no-argument method call with result storage and memory management.AbstractSyntheticGenerator.generateMethodCall(String resultVar, String targetVar, String targetType, String methodName, List<String> arguments, List<String> parameterTypes, String returnType, DebugInfo debugInfo, String scopeId) Generate a method call on a variable with result storage and memory management.AbstractSyntheticGenerator.generateMethodCall(String resultVar, String targetVar, String targetType, String methodName, List<String> arguments, List<String> parameterTypes, String returnType, DebugInfo debugInfo, String scopeId, boolean isTraitCall) Generate a method call on a variable with result storage and memory management.AbstractSyntheticGenerator.generateResultReturnBlock(String labelName, String returnVarName, DebugInfo debugInfo, String scopeId) Generate a result return block that returns whatever is in the return variable.AbstractSyntheticGenerator.generateStringLiteralLoad(String resultVar, String literalValue, DebugInfo debugInfo, String scopeId) Generate a string literal load with memory management.AbstractSyntheticGenerator.generateThisIsSetGuard(String aggregateTypeName, DebugInfo debugInfo, String unsetLabel, String scopeId) Generate isSet guard check for 'this' with branch to unset return.AbstractSyntheticGenerator.generateUnsetReturnBlock(String returnTypeName, String returnVarName, DebugInfo debugInfo, String scopeId) Generate the return_unset basic block that returns an unset value.AbstractSyntheticGenerator.generateUnsetReturnBlockWithLabel(String labelName, String returnTypeName, String returnVarName, DebugInfo debugInfo, String scopeId) Generate unset return block at a specific label. -
Uses of DebugInfo in org.ek9lang.compiler.phase7.synthesis.support
Methods in org.ek9lang.compiler.phase7.synthesis.support that return DebugInfoModifier and TypeMethodDescriptionSynthesisScope.debugInfo()Returns the value of thedebugInforecord component.Methods in org.ek9lang.compiler.phase7.synthesis.support with parameters of type DebugInfoModifier and TypeMethodDescriptionReturnBlockHelper.generateBooleanReturn(String labelName, boolean value, String returnVarName, DebugInfo debugInfo, String scopeId) Generate a return block that returns a boolean value (true or false).ReturnBlockHelper.generateIntegerReturn(String labelName, int value, String returnVarName, DebugInfo debugInfo, String scopeId) Generate a return block that returns an integer literal value.ReturnBlockHelper.generateUnsetReturn(String labelName, String returnTypeName, String returnVarName, DebugInfo debugInfo, String scopeId) Generate a return block that returns an unset value of the given type.ReturnBlockHelper.generateValueReturn(String labelName, String returnVarName, DebugInfo debugInfo, String scopeId) Generate a return block that returns the value already in the return variable.Constructors in org.ek9lang.compiler.phase7.synthesis.support with parameters of type DebugInfoModifierConstructorDescriptionSynthesisScope(DebugInfo debugInfo, String scopeId) Validate that scopeId is not null.