コード例 #1
0
 public static String call_getOutputPath_WithMacro_202934866059116697(
     SNode thisNode, Context context) {
   if ((SNodeOperations.getParent(thisNode) != null)
       && SNodeOperations.isInstanceOf(
           SNodeOperations.getParent(thisNode),
           "jetbrains.mps.build.structure.BuildLayout_Container")) {
     String parentChildrenTargetDir =
         BuildLayout_Container_Behavior.call_getChildrenOutputDir_WithMacro_4701820937132344011(
             SNodeOperations.cast(
                 SNodeOperations.getParent(thisNode),
                 "jetbrains.mps.build.structure.BuildLayout_Container"),
             context);
     return parentChildrenTargetDir
         + "/"
         + BuildString_Behavior.call_getText_4380385936562005550(
             SLinkOperations.getTarget(thisNode, "fileName", true), context.getMacros(thisNode));
   }
   return null;
 }
コード例 #2
0
 public static String call_getOutputPath_WithMacro_280273048052535414(
     SNode thisNode, Context context) {
   if ((SNodeOperations.getParent(thisNode) != null)
       && SNodeOperations.isInstanceOf(
           SNodeOperations.getParent(thisNode),
           "jetbrains.mps.build.structure.BuildLayout_Container")) {
     String parentChildrenTargetDir =
         BehaviorReflection.invokeVirtual(
             String.class,
             SNodeOperations.cast(
                 SNodeOperations.getParent(thisNode),
                 "jetbrains.mps.build.structure.BuildLayout_Container"),
             "virtual_getChildrenOutputDir_WithMacro_4701820937132344011",
             new Object[] {context});
     return parentChildrenTargetDir
         + "/"
         + BuildString_Behavior.call_getText_4380385936562005550(
             SLinkOperations.getTarget(
                 SLinkOperations.getTarget(thisNode, "plugin", false), "containerName", true),
             context.getMacros(thisNode));
   }
   return null;
 }