@@ -0,0 +1,1131 @@
+/*%0A * This file is released under terms of BSD license%0A * See LICENSE file for more information%0A */%0Apackage cx2x.translator.transformation;%0A%0Aimport cx2x.translator.language.base.ClawLanguage;%0Aimport cx2x.translator.transformation.ClawTransformation;%0Aimport cx2x.xcodeml.transformation.Transformation;%0Aimport cx2x.xcodeml.transformation.Transformer;%0Aimport cx2x.xcodeml.xnode.XcodeProgram;%0A%0A/**%0A * Simple transformation for documentation example%0A */%0Apublic class MyFirstTransformation extends ClawTransformation %7B%0A%0A  // Constructor that received the analyzed pragma as argument%0A  public MyFirstTransformation(ClawLanguage directive) %7B%0A    super(directive);%0A  %7D%0A%0A  // The analyzis step%0A  public boolean analyze(XcodeProgram xcodeml, Transformer transformer) %7B%0A    return true;%0A  %7D%0A%0A  // The transformation step%0A  public void transform(XcodeProgram xcodeml, Transformer transformer,%0A                        Transformation other) throws Exception%0A  %7B%0A    _claw.delete();%0A  %7D%0A%0A  // Only used by dependent transformation%0A  public boolean canBeTransformedWith(Transformation other) %7B%0A    return false; // Independent transformation%0A  %7D%0A%7D%0A

Add simple example of transformation class