AddFunctionComment_1 Aspect
[C-language Group]

This aspect is defined in file: ../../AspectXLib/c/quickSort/aspects/AddFunctionComment_1.ax

Aspect Description

Sample aspect program to modify a function comment. This aspect program defines a text fragment that can be added to the comment of a target function. The target function is defined by name and is equal to split. A related aspect program (AddFunctionComment_2) shows an alternative way to modify class comments.
Author:
I. Birrer
See also:
AddFunctionComment_2

Pointcuts

functiontargetFunction
 Points to the target function whose comment should be modified
commenttargetFunctionComment
 Points to the comment that must be modified

Advices

endaddFunctionComment
 Add a comment at the end of the comment of the target function

Pointcut Documentation

function targetFunction (source)
Points to the target function whose comment should be modified.
comment targetFunctionComment (source)
Points to the comment that must be modified. This comment is defined as the comment that is followed by the targetFunction pointcut.

Advice Documentation

end addFunctionComment (source)

Triplet: comment end comment

Add a comment at the end of the comment of the target function. The HTML tags in the comment are expressed using escape sequences. Aspect program AddFunctionComment_2 shows an alternative way to express the HTML tag.

Refers to global pointcut: comment targetFunctionComment