Class NoNameCollisionOrError
java.lang.Object
org.ek9lang.compiler.support.NoNameCollisionOrError
- All Implemented Interfaces:
BiPredicate<IScope,ISymbol>
Designed to check if variable name and method names collide with Type/Function names.
-
Constructor Summary
ConstructorsConstructorDescriptionNoNameCollisionOrError(ErrorListener errorListener, boolean useQualifiedName) -
Method Summary
Modifier and TypeMethodDescriptionbooleanerrorsIfResolved(IScope inScope, ISymbol symbol, SymbolSearch search, ErrorListener.SemanticClassification classificationError) If a symbol is resolved then this will emit an error.booleanCheck for exising symbol in the scope.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiPredicate
and, negate, or
-
Constructor Details
-
NoNameCollisionOrError
-
-
Method Details
-
test
-
errorsIfResolved
public boolean errorsIfResolved(IScope inScope, ISymbol symbol, SymbolSearch search, ErrorListener.SemanticClassification classificationError) If a symbol is resolved then this will emit an error.
-