Class SwitchStatementOrError

All Implemented Interfaces:
Consumer<EK9Parser.SwitchStatementExpressionContext>

final class SwitchStatementOrError extends PossibleExpressionConstruct implements Consumer<EK9Parser.SwitchStatementExpressionContext>
Deals with checking if all paths through switch/case/default (return) result in variables meeting criteria. If they do then the outer variable meta-data can also be marked as also meeting the criteria. Initially, this was just were variables initialised. But now the introduction of CodeFlowAnalyzers means that several forms of symbol analysis can take place.