Package org.ek9lang.compiler.phase3
Class AssignmentStatementOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.AssignmentStatementOrError
- All Implemented Interfaces:
Consumer<EK9Parser.AssignmentStatementContext>
final class AssignmentStatementOrError
extends TypedSymbolAccess
implements Consumer<EK9Parser.AssignmentStatementContext>
Used in the full resolution phase to check assignments.
This is a little more complex than it looks. It is important to
check 'pure', incoming and returning arguments and also allowing certain operations when in a constructor
on an aggregate.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionAssignmentStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Check on validity of assignments. -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
AssignmentStatementOrError
AssignmentStatementOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Check on validity of assignments.
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.AssignmentStatementContext>
-