Class IsSetPresentOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.OperatorTest
org.ek9lang.compiler.phase3.IsSetPresentOrError
- 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 RuleSupport
errorListener, symbolsAndScopes -
Constructor Summary
ConstructorsConstructorDescriptionIsSetPresentOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Modifier and TypeMethodDescriptionprotected MethodSymbolSearchgetMethodSymbolSearch(ISymbol symbolType) booleanMethods inherited from class OperatorTest
getSymbolType, isOperatorPresentMethods inherited from class TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbolMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiPredicate
and, negate, or
-
Constructor Details
-
IsSetPresentOrError
IsSetPresentOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
test
- Specified by:
testin interfaceBiPredicate<IToken,ISymbol> - Overrides:
testin classOperatorTest
-
getMethodSymbolSearch
- Specified by:
getMethodSymbolSearchin classOperatorTest
-