constructor_end_codeFragment.xsl

Weaving Rule that weaves a code fragment at the end of a constructor or destructor.

The only thing this rule does is copying the advices to the src:block element.

  • srcML element: src:constructor, src:destructor
  • advice type: end
  • codeModifier type: codeFragment

Example

See function_end_codeFragment.xsl.

Examples in AspectX Sample Library

CVS Id:
Author:
ibirrer
Copyright:
2004, P&P Software GmbH

Match Templates Summary

* (param: node-set advicesmode: weaving_constructor_end_codeFragment) - source
Default copy template
src:block (param: node-set advicesmode: weaving_constructor_end_codeFragment) - source
Template for the block

Match Templates Detail

* (param: node-set advicesmode: weaving_constructor_end_codeFragment) - source
Default copy template
Parameters:
node-set advices - Advices which should be copied to the src:block element.
src:block (param: node-set advicesmode: weaving_constructor_end_codeFragment) - source
Template for the block
Parameters:
node-set advices - Advices which should be copied to the src:block element.