Package org.ek9lang.compiler.phase3
Class OperatorTest
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.OperatorTest
- All Implemented Interfaces:
BiPredicate<IToken,
ISymbol>
- Direct Known Subclasses:
ComparatorPresentOrError
,DecrementPresentOrError
,HashCodePresentOrError
,IncrementPresentOrError
,IsSetPresentOrError
Provides a common set of operations for checking operators.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ModifierConstructorDescriptionprotected
OperatorTest
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract MethodSymbolSearch
getMethodSymbolSearch
(ISymbol symbolType) getSymbolType
(ISymbol symbol) protected boolean
boolean
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
-
OperatorTest
-
-
Method Details
-
getMethodSymbolSearch
-
getSymbolType
-
isOperatorPresent
-
test
- Specified by:
test
in interfaceBiPredicate<IToken,
ISymbol>
-