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.createEnumCase(String caseScopeId, String enumConstant, int enumOrdinal, List<IRInstr> conditionEvaluation, String conditionResult, String primitiveCondition, List<IRInstr> bodyEvaluation, String bodyResult) Create a condition case for enum constant comparison (switch enum cases).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.createGuardCondition(String caseScopeId, List<IRInstr> guardUpdates, String bodyScopeId, List<IRInstr> conditionEvaluation, String conditionResult, String primitiveCondition, List<IRInstr> bodyEvaluation, String bodyResult) Create a condition case for guard conditions (if/switch with guards).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.createDoWhileLoop(List<ConditionCaseDetails> conditionChain, DebugInfo debugInfo, String scopeId) Create details for a do-while loop (statement form).static ControlFlowChainDetailsControlFlowChainDetails.createForRangeLoop(List<ConditionCaseDetails> conditionChain, DebugInfo debugInfo, String scopeId) Create details for a for-range loop (statement form).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.createQuestionOperator(String result, List<ConditionCaseDetails> conditionChain, List<IRInstr> defaultBodyEvaluation, String defaultResult, DebugInfo debugInfo, String scopeId) Create details for a Question operator (?).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, 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.