Package org.ek9lang.compiler.phase5
Class AssignmentStatementOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase5.AssignmentStatementOrError
- All Implemented Interfaces:
Consumer<EK9Parser.AssignmentStatementContext>
final class AssignmentStatementOrError
extends TypedSymbolAccess
implements Consumer<EK9Parser.AssignmentStatementContext>
Check the assignment to a variable can be a single assignment or a deep copy type assignment.
The initialised status of the variable may be modified and will be checked as appropriate.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionAssignmentStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Can be other things besides identifier, only really focussed on locals and return variables for this.Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
AssignmentStatementOrError
AssignmentStatementOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
Can be other things besides identifier, only really focussed on locals and return variables for this. primaryReference | identifier | objectAccessExpression- Specified by:
accept
in interfaceConsumer<EK9Parser.AssignmentStatementContext>
-