Uses of Class
org.ek9lang.antlr.EK9Parser.AssignmentStatementContext
Packages that use EK9Parser.AssignmentStatementContext
Package
Description
E - Initial Symbol definition by traversing the 'ANTLR' - 'AST'.
G - Full Symbol Resolution can now take place.
I - PRE Intermediate Representation generation checks.
Contains critical general components used in the
Ek9Compiler listeners.THE reading of a statement that stores the object in one of its OWN properties -
me: this,
next := this, this.owner :=? this - a property of the object's own type that refers back to it
(StoredProperty).-
Uses of EK9Parser.AssignmentStatementContext in org.ek9lang.antlr
Methods in org.ek9lang.antlr that return EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionEK9Parser.assignmentStatement()EK9Parser.PreFlowStatementContext.assignmentStatement()EK9Parser.StatementContext.assignmentStatement()Methods in org.ek9lang.antlr with parameters of type EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionvoidEK9BaseListener.enterAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) Enter a parse tree produced byEK9Parser.assignmentStatement().voidEK9Listener.enterAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) Enter a parse tree produced byEK9Parser.assignmentStatement().voidEK9BaseListener.exitAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) Exit a parse tree produced byEK9Parser.assignmentStatement().voidEK9Listener.exitAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) Exit a parse tree produced byEK9Parser.assignmentStatement().EK9BaseVisitor.visitAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) Visit a parse tree produced byEK9Parser.assignmentStatement().EK9Visitor.visitAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) Visit a parse tree produced byEK9Parser.assignmentStatement(). -
Uses of EK9Parser.AssignmentStatementContext in org.ek9lang.compiler.phase1
Classes in org.ek9lang.compiler.phase1 that implement interfaces with type arguments of type EK9Parser.AssignmentStatementContextModifier and TypeClassDescription(package private) final classCheck an assignment again 'super' use and some operators against 'this' use.Methods in org.ek9lang.compiler.phase1 with parameters of type EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionvoidThisAndSuperAssignmentOrError.accept(EK9Parser.AssignmentStatementContext ctx) voidDefinitionListener.exitAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) (package private) voidRemovedCoalescingOperatorOrError.onAssignment(EK9Parser.AssignmentStatementContext ctx) The assignment form:x ??= yreports E01096 at the??=, naming:=?. -
Uses of EK9Parser.AssignmentStatementContext in org.ek9lang.compiler.phase3
Classes in org.ek9lang.compiler.phase3 that implement interfaces with type arguments of type EK9Parser.AssignmentStatementContextModifier and TypeClassDescription(package private) final classUsed in the full resolution phase to check assignments.(package private) final classA dynamic function never re-points a variable it captured (E08280).(package private) final classOutbound-encapsulation check: data inside aMutexLockmust be purely contained — the lock holds the only reference to its protected payload.Methods in org.ek9lang.compiler.phase3 with parameters of type EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionvoidAssignmentStatementOrError.accept(EK9Parser.AssignmentStatementContext ctx) voidCapturedVariableRepointedOrError.accept(EK9Parser.AssignmentStatementContext ctx) voidLockedItemExposureOrError.accept(EK9Parser.AssignmentStatementContext ctx) (package private) voidConstructorThisEscapeOrError.checkStore(EK9Parser.AssignmentStatementContext ctx) Inside a constructor, 'this' (or an alias, or a dynamic function/class capturing either) must not be STORED into another object: a property of another instance (p.parent: this), a collection another object holds or returns (p.kids += this,reg.members() += this), or another object's mutating operator (reg += this,others += this).voidExpressionsListener.exitAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) -
Uses of EK9Parser.AssignmentStatementContext in org.ek9lang.compiler.phase5
Classes in org.ek9lang.compiler.phase5 that implement interfaces with type arguments of type EK9Parser.AssignmentStatementContextModifier and TypeClassDescription(package private) final classTHE check of an assign-if-unset statement (:=?) whose outcome the value tracker has DECIDED - both outcomes, one class, one reading of the target (E08095 and E08097).(package private) final classCheck the assignment to a variable can be a single assignment or a deep copy type assignment.(package private) final classTHE assignment statement an identifier is the TARGET of - on its left-hand side, reached directly or through an object access (this.count: 1) - or empty.(package private) final classThe principal data-race check (slice 1, step 7): every mutation of shared state inside a function/method markedCONCURRENT_ENTRY_POINTmust occur inside aMutexLock.enter(...)callback.(package private) final classTheStoreSitea pointer assignment to an existing variable or property makes, if it makes one (:=,=,:,:=?, asRepointsTargetreads it, to a name or through an object access).Methods in org.ek9lang.compiler.phase5 that return types with arguments of type EK9Parser.AssignmentStatementContextMethods in org.ek9lang.compiler.phase5 with parameters of type EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionvoidAssignIfUnsetDecidedOrError.accept(EK9Parser.AssignmentStatementContext ctx) voidAssignmentStatementOrError.accept(EK9Parser.AssignmentStatementContext ctx) Can be other things besides identifier, only really focussed on locals and return variables for this.(package private) voidCloseableErasedByStoreOrError.accept(EK9Parser.AssignmentStatementContext ctx) A pointer assignment to an existing variable or property (by name or through an object access).(package private) voidCloseableSlotStoreOrError.accept(EK9Parser.AssignmentStatementContext ctx) A pointer assignment to a variable or property.voidSharedStateMutationOutsideLockOrError.accept(EK9Parser.AssignmentStatementContext ctx) StoreSiteOfAssignment.apply(EK9Parser.AssignmentStatementContext ctx) (package private) voidMutatedOnlyVariables.Collector.assignment(EK9Parser.AssignmentStatementContext ctx) A pointer assignment to the innermost callable's returning variable is a source of what it returns.voidAssignmentStatementOrError.assignmentCompleted(EK9Parser.AssignmentStatementContext ctx) The assignment statement has been evaluated: a simple assignment has now initialised its variable.voidIdentifierAsPropertyOrError.assignmentCompleted(EK9Parser.AssignmentStatementContext ctx) The assignment statement has been evaluated: the properties it set are now safe for the rest of this flow.(package private) voidOperatorKeepsValueUnsetOrError.assignmentCompleted(EK9Parser.AssignmentStatementContext ctx) The right-hand side of an assignment statement has been walked: a target kept unset is reported if it is still known unset (a call in the right-hand side that may have changed it leaves it unknown, and silent).voidDataRaceCheckListener.enterAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) voidLockAnalysisListener.enterAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) voidPreIRListener.enterAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) voidDataRaceCheckListener.exitAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) voidOrderingResultSources.exitAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) voidPreIRListener.exitAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) (package private) booleanOperatorKeepsValueUnsetOrError.keepsTargetUnset(EK9Parser.AssignmentStatementContext ctx, ISymbol target) An assignment statementx += y(any in-place operator but a store): true when its target is UNSET and the operator keeps it unset - the target then stays UNSET and the finding is made once the right-hand side has been walked (OperatorKeepsValueUnsetOrError.assignmentCompleted(EK9Parser.AssignmentStatementContext)). -
Uses of EK9Parser.AssignmentStatementContext in org.ek9lang.compiler.phase7.generator
Classes in org.ek9lang.compiler.phase7.generator that implement interfaces with type arguments of type EK9Parser.AssignmentStatementContextModifier and TypeClassDescriptionfinal classProcess assignment statement: variable = expression Uses RELEASE-then-RETAIN pattern for memory-safe assignments.Methods in org.ek9lang.compiler.phase7.generator with parameters of type EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionAssignmentStmtGenerator.apply(EK9Parser.AssignmentStatementContext ctx) -
Uses of EK9Parser.AssignmentStatementContext in org.ek9lang.compiler.support
Classes in org.ek9lang.compiler.support that implement interfaces with type arguments of type EK9Parser.AssignmentStatementContextModifier and TypeClassDescriptionfinal classTrue when the assignment statement RE-POINTS its target at the object the right-hand side evaluates to (a pointer assignment::=,=,:,:=?, asOperationIsAssignmentdefines it), rather than handing that object to an operator of the object the target already refers to (MutatesInPlace).Methods in org.ek9lang.compiler.support with parameters of type EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionReferenceAssignmentOf.from(EK9Parser.AssignmentStatementContext ctx, SymbolsAndScopes symbolsAndScopes) The reference an assignment statement creates, if it creates one.booleanMutatesInPlace.test(EK9Parser.AssignmentStatementContext ctx) The same question of an assignment statement's operator.booleanRepointsTarget.test(EK9Parser.AssignmentStatementContext ctx) -
Uses of EK9Parser.AssignmentStatementContext in org.ek9lang.compiler.support.selfreference
Classes in org.ek9lang.compiler.support.selfreference that implement interfaces with type arguments of type EK9Parser.AssignmentStatementContextModifier and TypeClassDescription(package private) final classEvery assignment statement under a node, in source order - not counting code that runs later (a dynamic function's body, a dynamic class's methods).final classThe capture-assignment statement (CapturedInto) in which this 'this' is captured: it is the whole expression of one entry of the capture list of the dynamic function or class that is the statement's whole right-hand side.final classThe property of this object that the assignment statement gives a dynamic function or class capturing 'this' itself (child :=? (owner: this) with trait of Child as class ...), if it does - the parent link.(package private) final classThe property of this object an assignment statement assigns (me: ...orthis.me: ...), if any.final classThe property of this object that the assignment statement re-points at 'this', if it does.Methods in org.ek9lang.compiler.support.selfreference that return EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionCaptureAssignment.statement()Returns the value of thestatementrecord component.Methods in org.ek9lang.compiler.support.selfreference that return types with arguments of type EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionCaptureAssignmentOf.apply(EK9Parser.PrimaryReferenceContext ctx) Methods in org.ek9lang.compiler.support.selfreference with parameters of type EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionCapturedInto.apply(EK9Parser.AssignmentStatementContext ctx) OwnPropertyTarget.apply(EK9Parser.AssignmentStatementContext ctx) StoredProperty.apply(EK9Parser.AssignmentStatementContext ctx) booleanCaptureAssignment.isAfter(EK9Parser.AssignmentStatementContext other) True when this statement comes after the other one: it starts after the other ends.Method parameters in org.ek9lang.compiler.support.selfreference with type arguments of type EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionvoidAssignmentStatementsIn.accept(org.antlr.v4.runtime.tree.ParseTree node, Consumer<EK9Parser.AssignmentStatementContext> consumer) Constructors in org.ek9lang.compiler.support.selfreference with parameters of type EK9Parser.AssignmentStatementContextModifierConstructorDescriptionCaptureAssignment(EK9Parser.AssignmentStatementContext statement, ISymbol property) Creates an instance of aCaptureAssignmentrecord class.