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