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 RuleSupport
errorListener, symbolsAndScopes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOperatorTest(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract MethodSymbolSearchgetMethodSymbolSearch(ISymbol symbolType) getSymbolType(ISymbol symbol) protected booleanbooleanbooleanAstest(IToken, ISymbol), for a TYPE rather than a value of it - e.g.Methods inherited from class TypedSymbolAccess
emitTypeNotResolvedError, 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
-
OperatorTest
-
-
Method Details
-
getMethodSymbolSearch
-
getSymbolType
-
isOperatorPresent
-
testType
Astest(IToken, ISymbol), for a TYPE rather than a value of it - e.g. a stream stage that only knows the element type. -
test
-