<aspect xmlns:src="http://www.sdml.info/srcML/src" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://control.ee.ethz.ch/XWeaver/AspectX" xsi:schemaLocation="http://control.ee.ethz.ch/XWeaver/AspectX ../../../../src/xsd/aspectX.xsd" name="AddSingleLineAtBeginAndEnd">
  
<description>
      This aspect tests 
<code>block_begin_codeFragment</code> 
      and 
<code>block_begin_codeFragment</code> weaving rules by 
      inserting one line comment at the beginning and another 
      one line comment at the end of a 
<code>block</code>. Thus the block
      in the base code will be surrounded by inserted comments. 
      This aspect is an alternative to 
<code>AddSingleLineAtAround</code>.
      
<author>I. Birrer</author>
      
<see>AddSingleLineAtAround</see>
  
</description>
  
<advice type="end" name="addSingleLineAtEnd">
        
<description>Adds a single line comment at the end of a block.</description> 
        
<pointcut type="src:block" />
    
<codeModifier type="codeFragment"><text>/** BEGIN: Inserted by aspect: AddSingleLineAtBeginAndEnd **/</text></codeModifier>
  
</advice>
  
<advice type="begin" name="addSingleLineAtBegin">
        
<description>Adds a single line comment at the beginning of a block.</description> 
    
<pointcut type="src:block" />
    
<codeModifier type="codeFragment"><text>/** END:   Inserted by aspect: AddSingleLineAtBeginAndEnd **/</text></codeModifier>
  
</advice>
</aspect>






































v