axc.xsl

Includes

AspectX Compiler
CVS Id:
axc.xsl 138 2005-07-27 09:14:07Z ibirrer
Author:
ibirrer
Copyright:
2005, P&P Software GmbH

Match Templates Summary

Main Root template
/ (mode: compiler) - source
Builds the general structure of the locator stylesheet.
* (mode: pointcutXPath) - source
If an unsupported element is encountered, the program aborts and outputs an errror message
ax:and (mode: pointcutXPath) - source
Template rule for and
ax:description | text() (mode: pointcutXPath) - source
Empty template to exclude description and text elements from the XPath creation for pointcuts
ax:not (mode: pointcutXPath) - source
Template rule for not
ax:or (mode: pointcutXPath) - source
Template rule for or
element: ax:pointcut parent: none constraint: yes (not empty)
element: ax:pointcut parent: yes constraint: yes (not empty)
A reference to a pointcut is resolved to the corresponding pointcut
A reference to a pointcut is resolved to the corresponding pointcut
* (mode: replaceDollarVariables) - source
Standard template for replacing dollar variables
ax:description (mode: replaceDollarVariables) - source
Removing description elements completely
ax:text/text() (mode: replaceDollarVariables) - source
Replaces variables used in codeModifiers (format: ${VariableName})with the <xsl:value-of .../> equivalent.
ax:xsl (mode: replaceDollarVariables) - source
Removing xsl elements
* (mode: resolveIncludes) - source
Default copy template to resolve Includes in aspects
ax:include (mode: resolveIncludes) - source
Resolve includes
Add apspect attribute to named pointcut elements and pointcutRef elements
node() (mode: variableDeclarations) - source
Do not do anything, as there are maybe no variable declaration for a particular srcML element

Match Templates Detail

Main Root template
/ (mode: compiler) - source
Builds the general structure of the locator stylesheet.
* (mode: pointcutXPath) - source
If an unsupported element is encountered, the program aborts and outputs an errror message
ax:and (mode: pointcutXPath) - source
Template rule for and
ax:description | text() (mode: pointcutXPath) - source
Empty template to exclude description and text elements from the XPath creation for pointcuts
ax:not (mode: pointcutXPath) - source
Template rule for not
ax:or (mode: pointcutXPath) - source
Template rule for or
element: ax:pointcut parent: none constraint: yes (not empty)
element: ax:pointcut parent: yes constraint: yes (not empty)
A reference to a pointcut is resolved to the corresponding pointcut
This pointcut is then again applied to the templates taking a pointcut to generate the XPath expression.
A reference to a pointcut is resolved to the corresponding pointcut
This pointcut is then again applied to the templates taking a pointcut to generate the XPath expression. In this case the parent element is a restriction and therefore the type of the pointcut needs to be output.
* (mode: replaceDollarVariables) - source
Standard template for replacing dollar variables
ax:description (mode: replaceDollarVariables) - source
Removing description elements completely
ax:text/text() (mode: replaceDollarVariables) - source
Replaces variables used in codeModifiers (format: ${VariableName})with the <xsl:value-of .../> equivalent.
ax:xsl (mode: replaceDollarVariables) - source
Removing xsl elements
children of xsl elements are processed further.
* (mode: resolveIncludes) - source
Default copy template to resolve Includes in aspects
ax:include (mode: resolveIncludes) - source
Resolve includes
Replaces include elements by all contents (pointcuts, advices) of the aspect it refers to.
Add apspect attribute to named pointcut elements and pointcutRef elements
If an aspect attribute already exists it is not replaces.
node() (mode: variableDeclarations) - source
Do not do anything, as there are maybe no variable declaration for a particular srcML element