Jump to content

Join point: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
{{PL-stub}}
follow order and name of article elements per MOS:SECTIONORDER
 
(22 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{Refimprove|date=August 2017}}
In [[computer science]], a '''join point''' is a point in the [[control flow]] of a [[computer program|program]]. In [[aspect-oriented programming]] a [[set (mathematics)|set]] of join points is described as a [[pointcut]]. A join point is where the main program and the [[Aspect (computer science)|aspect]] meet.
In [[computer science]], a '''join point''' is a point in the [[control flow]] of a [[computer program|program]] where the control flow can arrive via two different paths. In particular, it's a [[basic block]] that has more than one [[Glossary of graph theory terms#direct predecessor|predecessor]].<ref>{{Cite book|title=Engineering a compiler|last=Daniel)|first=Cooper, Keith D. (Keith|date=2012|publisher=Elsevier/Morgan Kaufmann|others=Torczon, Linda.|isbn=978-0120884780|edition=2nd|location=Amsterdam|pages=476|oclc=714113472}}</ref> In [[aspect-oriented programming]] a [[set (mathematics)|set]] of join points is called a [[pointcut]]. A join point is a specification of when, in the corresponding main program, the [[Aspect (computer science)|aspect]] code should be executed.


The join point is a point of execution in the base code where the [[Advice (programming)|advice]] specified in a corresponding [[pointcut]] is applied.
Conceptually, a join point exists where a precondition for a command in [[Hoare logic]] makes an [[assertion (computing)|assertion]] parametric upon the joint and several advice supplied by the different concerns at that point in a generalized abstract process, the unified thing composed from its concrete aspects being the pointcut.


== See also ==
{{PL-stub}}
*[[AspectJ]], an aspect-oriented extension for the [[Java (programming language)|Java]] [[programming language]]

==References==
{{Reflist}}

{{aosd}}


[[Category:Aspect-oriented software development]]
[[Category:Aspect-oriented software development]]
[[Category:Aspect-oriented programming]]
[[Category:Aspect-oriented programming]]
[[Category:Articles lacking sources (Erik9bot)]]
[[Category:Control flow]]
[[Category:Control flow]]


{{Prog-lang-stub}}

Latest revision as of 01:42, 7 July 2022

In computer science, a join point is a point in the control flow of a program where the control flow can arrive via two different paths. In particular, it's a basic block that has more than one predecessor.[1] In aspect-oriented programming a set of join points is called a pointcut. A join point is a specification of when, in the corresponding main program, the aspect code should be executed.

The join point is a point of execution in the base code where the advice specified in a corresponding pointcut is applied.

See also

[edit]

References

[edit]
  1. ^ Daniel), Cooper, Keith D. (Keith (2012). Engineering a compiler. Torczon, Linda. (2nd ed.). Amsterdam: Elsevier/Morgan Kaufmann. p. 476. ISBN 978-0120884780. OCLC 714113472.{{cite book}}: CS1 maint: multiple names: authors list (link)