Uses of Record Class
org.ek9lang.compiler.ir.data.ConditionCaseDetails
Packages that use ConditionCaseDetails
Package
Description
-
Uses of ConditionCaseDetails in org.ek9lang.compiler.backend.jvm
Methods in org.ek9lang.compiler.backend.jvm with parameters of type ConditionCaseDetailsModifier and TypeMethodDescriptionprotected voidAbstractControlFlowAsmGenerator.processConditionCase(ConditionCaseDetails conditionCase, org.objectweb.asm.Label nextCaseLabel, org.objectweb.asm.Label endLabel, String resultVar) Process a condition case: evaluate condition, branch, execute body.protected voidAbstractControlFlowAsmGenerator.processConditionCaseWithoutLabelPlacement(ConditionCaseDetails conditionCase, org.objectweb.asm.Label nextCaseLabel, org.objectweb.asm.Label endLabel, String resultVar) Process a condition case WITHOUT placing the nextCaseLabel. -
Uses of ConditionCaseDetails in org.ek9lang.compiler.ir.data
Methods in org.ek9lang.compiler.ir.data that return ConditionCaseDetailsModifier and TypeMethodDescriptionstatic ConditionCaseDetailsConditionCaseDetails.createExceptionHandler(String catchScopeId, String exceptionType, String exceptionVariable, String catchBodyScopeId, List<IRInstr> catchBodyEvaluation, String catchBodyResult) Create a condition case for exception handlers (try/catch blocks).static ConditionCaseDetailsConditionCaseDetails.createExpression(String caseScopeId, List<IRInstr> conditionEvaluation, String conditionResult, String primitiveCondition, List<IRInstr> bodyEvaluation, String bodyResult) Create a condition case for general boolean expressions (if statements).static ConditionCaseDetailsConditionCaseDetails.createLiteral(String caseScopeId, List<IRInstr> conditionEvaluation, String conditionResult, String primitiveCondition, List<IRInstr> bodyEvaluation, String bodyResult) Create a condition case for literal value comparison (switch literal cases).static ConditionCaseDetailsConditionCaseDetails.createNullCheck(String caseScopeId, List<IRInstr> conditionEvaluation, String conditionResult, String primitiveCondition, List<IRInstr> bodyEvaluation, String bodyResult) Create a condition case for the Question operator null check.Methods in org.ek9lang.compiler.ir.data that return types with arguments of type ConditionCaseDetailsModifier and TypeMethodDescriptionControlFlowChainDetails.conditionChain()Returns the value of theconditionChainrecord component.Method parameters in org.ek9lang.compiler.ir.data with type arguments of type ConditionCaseDetailsModifier 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.createDoWhileLoop(List<ConditionCaseDetails> conditionChain, DebugInfo debugInfo, String scopeId) Create details for a do-while loop (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.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.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.createWhileLoop(List<ConditionCaseDetails> conditionChain, DebugInfo debugInfo, String scopeId) Create details for a while loop (statement form).Constructor parameters in org.ek9lang.compiler.ir.data with type arguments of type ConditionCaseDetailsModifierConstructorDescriptionControlFlowChainDetails(String result, String chainType, GuardVariableDetails guardDetails, EvaluationVariableDetails evaluationDetails, ReturnVariableDetails returnDetails, List<ConditionCaseDetails> conditionChain, DefaultCaseDetails defaultDetails, EnumOptimizationDetails enumOptimizationInfo, TryBlockDetails tryBlockDetails, List<IRInstr> finallyBlockEvaluation, DebugInfo debugInfo, String scopeId) Creates an instance of aControlFlowChainDetailsrecord class. -
Uses of ConditionCaseDetails in org.ek9lang.compiler.ir.instructions
Methods in org.ek9lang.compiler.ir.instructions that return types with arguments of type ConditionCaseDetailsModifier and TypeMethodDescriptionControlFlowChainInstr.getConditionChain()Get the sequential condition chain.