Example #1
0
 public static boolean createRootRule_Condition_6759767305208033198(
     final CreateRootRuleContext _context) {
   return ListSequence.fromList(
               SModelOperations.nodes(
                   _context.getInputModel(),
                   MetaAdapterFactory.getConcept(
                       0x982eb8df2c964bd7L,
                       0x996311712ea622e5L,
                       0x7c8b08a50a39c6c3L,
                       "jetbrains.mps.lang.resources.structure.IconExpression")))
           .isNotEmpty()
       || ListSequence.fromList(
               SModelOperations.nodes(
                   _context.getInputModel(),
                   MetaAdapterFactory.getConcept(
                       0x982eb8df2c964bd7L,
                       0x996311712ea622e5L,
                       0x52fb86deea79455eL,
                       "jetbrains.mps.lang.resources.structure.IconResourceExpression")))
           .isNotEmpty();
 }
Example #2
0
 public static boolean createRootRule_Condition_1202245164352(
     final CreateRootRuleContext _context) {
   return QueriesUtil.isTest1(_context.getInputModel());
 }
Example #3
0
 public static boolean createRootRule_Condition_7923290658387314702(
     final IOperationContext operationContext, final CreateRootRuleContext _context) {
   return LanguageAspect.BEHAVIOR.is(_context.getOriginalInputModel());
 }
Example #4
0
 public static boolean createRootRule_Condition_2056529430201935245(
     final IOperationContext operationContext, final CreateRootRuleContext _context) {
   return LanguageAspect.BEHAVIOR.is(_context.getOriginalInputModel());
 }