accessModifierBlock_add_declaration.xsl
Weaving Rule that adds a declaration to a class
- srcML element:
src:private, src:protected, src:public - advice type:
add - codeModifier type:
declaration
This template is used as by class_add_declaration.xsl. It is not intended to use directly from an aspect.
CVS Id:
Author:
ibirrer
Copyright:
2004, P&P Software GmbH
Match Templates Summary
src:private[ax:advice[@type='add' and position() = 1]/ax:codeModifier[@type='declaration']] | src:protected[ax:advice[@type='add' and position() = 1]/ax:codeModifier[@type='declaration']] | src:public[ax:advice[@type='add' and position() = 1]/ax:codeModifier[@type='declaration']] (mode: weaving) - source
Adds a declaration to an access modifier block
Match Templates Detail
src:private[ax:advice[@type='add' and position() = 1]/ax:codeModifier[@type='declaration']] | src:protected[ax:advice[@type='add' and position() = 1]/ax:codeModifier[@type='declaration']] | src:public[ax:advice[@type='add' and position() = 1]/ax:codeModifier[@type='declaration']] (mode: weaving) - source
Adds a declaration to an access modifier block