Package org.ek9lang.compiler.phase3
Class CheckIsSet
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.OperatorCheck
org.ek9lang.compiler.phase3.CheckIsSet
- All Implemented Interfaces:
BiPredicate<IToken,
ISymbol>
Given a symbol, this check that the type that the symbol has can support the '?' operation.
This includes variable/expressions that have a type that is a function.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MethodSymbolSearch
getMethodSymbolSearch
(ISymbol symbolType) boolean
Methods inherited from class org.ek9lang.compiler.phase3.OperatorCheck
getSymbolType, isOperatorPresent
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Constructor Details
-
CheckIsSet
CheckIsSet(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
test
- Specified by:
test
in interfaceBiPredicate<IToken,
ISymbol> - Overrides:
test
in classOperatorCheck
-
getMethodSymbolSearch
- Specified by:
getMethodSymbolSearch
in classOperatorCheck
-