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.-
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 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) 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 classDetects assign-if-unset statements (:=?) that can never apply (E08095).(package private) final classCheck the assignment to a variable can be a single assignment or a deep copy type assignment.(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.Methods in org.ek9lang.compiler.phase5 that return types with arguments of type EK9Parser.AssignmentStatementContextModifier and TypeMethodDescription(package private) static Optional<EK9Parser.AssignmentStatementContext> MakesIdentifierSubsequentAccessSafe.assignmentTargetOf(EK9Parser.IdentifierContext ctx) THE assignment statement this identifier is the TARGET of - on its left-hand side, reached directly or through an object access (this.count: 1) - or empty.Methods in org.ek9lang.compiler.phase5 with parameters of type EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionvoidAssignIfUnsetNeverAppliesOrError.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) (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.voidDataRaceCheckListener.enterAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) voidLockAnalysisListener.enterAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) voidPreIRListener.enterAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) voidDataRaceCheckListener.exitAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) voidPreIRListener.exitAssignmentStatement(EK9Parser.AssignmentStatementContext ctx) StoreSite.of(EK9Parser.AssignmentStatementContext ctx, SymbolsAndScopes symbolsAndScopes) The store a pointer assignment to an existing variable or property makes, if it makes one. -
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
Methods in org.ek9lang.compiler.support that return EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionSelfReferenceStore.CaptureAssignment.statement()Returns the value of thestatementrecord component.Methods in org.ek9lang.compiler.support that return types with arguments of type EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionSelfReferenceStore.captureAssignmentOf(EK9Parser.PrimaryReferenceContext ctx, SymbolsAndScopes symbolsAndScopes) The capture-assignment statement (SelfReferenceStore.capturedInto(EK9Parser.AssignmentStatementContext, SymbolsAndScopes)) 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.Methods in org.ek9lang.compiler.support with parameters of type EK9Parser.AssignmentStatementContextModifier and TypeMethodDescriptionSelfReferenceStore.capturedInto(EK9Parser.AssignmentStatementContext ctx, SymbolsAndScopes symbolsAndScopes) The 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.booleanSelfReferenceStore.CaptureAssignment.isAfter(EK9Parser.AssignmentStatementContext other) True when this statement comes after the other one: it starts after the other ends.static booleanReferenceAssignment.mutatesInPlace(EK9Parser.AssignmentStatementContext ctx) True when the assignment statement mutates, in place, the object its target refers to (+=,:=:,:~:, ...), rather than re-pointing the target.static Optional<ReferenceAssignment> ReferenceAssignment.of(EK9Parser.AssignmentStatementContext ctx, SymbolsAndScopes symbolsAndScopes) The reference an assignment statement creates, if it creates one.static booleanReferenceAssignment.repointsTarget(EK9Parser.AssignmentStatementContext ctx) True when the assignment statement RE-POINTS its target at the object the right-hand side evaluates to (a pointer assignment::=,=,:,:=?), rather than handing that object to an operator of the object the target already refers to.SelfReferenceStore.storedProperty(EK9Parser.AssignmentStatementContext ctx, SymbolsAndScopes symbolsAndScopes) The property of this object that the assignment statement re-points at 'this', if it does.Constructors in org.ek9lang.compiler.support with parameters of type EK9Parser.AssignmentStatementContextModifierConstructorDescriptionCaptureAssignment(EK9Parser.AssignmentStatementContext statement, ISymbol property) Creates an instance of aCaptureAssignmentrecord class.