Package org.ek9lang.compiler.phase5
package org.ek9lang.compiler.phase5
-
ClassDescriptionExtracts the guard variable if there is a guard expression.A bit of a catch 22, need to issue errors and the like when traversing an identifier in some circumstances.Used as a base for a range of constructs that can be expressions.At this point all templates should be present and all symbols resolved.Designed to do additional logic checks once everything has been resolved.Check the assignment to a variable can be a single assignment or a deep copy type assignment.Deals with handling any returning values in a dynamic function.Deals with handling any returning values in a dynamic function.Checks the for structure via the code analysers.Typically checks any returning values to see if they have now been initialised on a function.Checks on a guard expression and marks the identifier variable as initialised.Given an identifier, this consumer checks if it is a property of some aggregate.Deals with checking if all paths through if/else/else-if/else result in variables meeting criteria.Typically checks any returning values to see if they have now been initialised on a method.Typically checks any returning values to see if they have now been initialised on an operator.Typically checks any returning values to see if they have now been initialised on a service operation.Deals with checking if all paths through switch/case/default (return) result in variables meeting criteria.Checks the try/catch/finally structure via the code analysers.Accepts a variable only declaration and ensures the variable is recorded if appropriate, for transient flow checks.Checks the while statement via the code analysers.