Join point: Difference between revisions
Appearance
Content deleted Content added
m This is about control flow. |
follow order and name of article elements per MOS:SECTIONORDER |
||
(27 intermediate revisions by 24 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]] 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 there where [[Hoare logic]] places an [[assertion (computing)|assertion]]. |
|||
== See also == |
|||
⚫ | |||
*[[AspectJ]], an aspect-oriented extension for the [[Java (programming language)|Java]] [[programming language]] |
|||
==References== |
|||
{{Reflist}} |
|||
{{aosd}} |
|||
[[Category:Aspect-oriented software development]] |
|||
[[Category:Aspect-oriented programming]] |
[[Category:Aspect-oriented programming]] |
||
[[Category:Control flow]] |
[[Category:Control flow]] |
||
⚫ |
Latest revision as of 01:42, 7 July 2022
This article needs additional citations for verification. (August 2017) |
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]- AspectJ, an aspect-oriented extension for the Java programming language
References
[edit]