Package org.ek9lang.compiler.phase3
Class AssignmentOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.AssignmentOrError
- All Implemented Interfaces:
BiConsumer<IToken,
ISymbol>
Checks the assignments for operator : := = and :=? that's all.
Applies rules and emits error as appropriate.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionAssignmentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, boolean isDeclaration) -
Method Summary
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.BiConsumer
andThen
-
Constructor Details
-
AssignmentOrError
AssignmentOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, boolean isDeclaration)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceBiConsumer<IToken,
ISymbol>
-