Package org.ek9lang.compiler.phase2
Class ValidPathParameterOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.phase2.ValidPathParameterOrError
- All Implemented Interfaces:
BiPredicate<ServiceOperationSymbol,
ISymbol>
final class ValidPathParameterOrError
extends RuleSupport
implements BiPredicate<ServiceOperationSymbol,ISymbol>
Checks the PATH value (if this is a path parameter) and ensures that the name appears in the path itself
on the operation.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionValidPathParameterOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
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
-
ValidPathParameterOrError
ValidPathParameterOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
test
- Specified by:
test
in interfaceBiPredicate<ServiceOperationSymbol,
ISymbol>
-