Beispiel #1
0
 private static Statement ApplyMacroModifierToExpansion(MacroStatement node, Statement expansion)
 {
     if (node.Modifier == null)
     {
         return(expansion);
     }
     return(NormalizeStatementModifiers.CreateModifiedStatement(node.Modifier, expansion));
 }
Beispiel #2
0
 public ReturnValueVisitor()
 {
     normalizer = new NormalizeStatementModifiers();
     mie        = new MethodInvocationExpression
     {
         Target = AstUtil.CreateReferenceExpression("transform")
     };
 }