Package org.ek9lang.compiler.phase3
Class ThrowStatementOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.ThrowStatementOrError
- All Implemented Interfaces:
Consumer<EK9Parser.ThrowStatementContext>
final class ThrowStatementOrError
extends TypedSymbolAccess
implements Consumer<EK9Parser.ThrowStatementContext>
Checks that the throw statement actually throws and Exception type.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionThrowStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
ThrowStatementOrError
ThrowStatementOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.ThrowStatementContext>
-