コード例 #1
0
ファイル: MacroExpander.cs プロジェクト: yantrabuddhi/boo
 private static Statement ApplyMacroModifierToExpansion(MacroStatement node, Statement expansion)
 {
     if (node.Modifier == null)
     {
         return(expansion);
     }
     return(NormalizeStatementModifiers.CreateModifiedStatement(node.Modifier, expansion));
 }
コード例 #2
0
ファイル: ReturnValueVisitor.cs プロジェクト: kermina/Brail
 public ReturnValueVisitor()
 {
     normalizer = new NormalizeStatementModifiers();
     mie        = new MethodInvocationExpression
     {
         Target = AstUtil.CreateReferenceExpression("transform")
     };
 }