예제 #1
0
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0xf61473f9130f42f6L,
                       0xb98d6c438812c2f6L,
                       0x74f562a3a993fd3dL,
                       0x74f562a3a993fd44L,
                       "expected")));
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0xf61473f9130f42f6L,
                       0xb98d6c438812c2f6L,
                       0x74f562a3a993fd3dL,
                       0x74f562a3a993fd45L,
                       "actual")));
 }
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context.getBuilder().emitWrite(_context.getNode());
   _context
       .getBuilder()
       .build((SNode) SLinkOperations.getTarget(_context.getNode(), "body", true));
 }
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   if ((SLinkOperations.getTarget(_context.getNode(), "singletonValue", true) != null)) {
     _context
         .getBuilder()
         .build((SNode) SLinkOperations.getTarget(_context.getNode(), "singletonValue", true));
   }
 }
예제 #4
0
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .emitWrite(
           _context.getNode(),
           "r:00000000-0000-4000-0000-011c895902af(jetbrains.mps.lang.typesystem.dataFlow)/1207237771084");
 }
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   for (SNode part :
       ListSequence.fromList(
           SLinkOperations.getTargets(_context.getNode(), "commandPart", true))) {
     _context.getBuilder().build((SNode) part);
   }
   _context
       .getBuilder()
       .build((SNode) SLinkOperations.getTarget(_context.getNode(), "workingDirectory", true));
 }
 public void build(final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0xdaafa647f1f74b0bL,
                       0xb09669cd7c8408c0L,
                       0x1117648961dL,
                       0x11176490e08L,
                       "regexp")));
 }
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build((SNode) SLinkOperations.getTarget(_context.getNode(), "nodeExpression", true));
   _context.getBuilder().emitIfJump(_context.getBuilder().label(_context.getNode(), "end"));
   _context
       .getBuilder()
       .emitWrite(SLinkOperations.getTarget(_context.getNode(), "variable", true));
   _context
       .getBuilder()
       .build((SNode) SLinkOperations.getTarget(_context.getNode(), "body", true));
   _context.getBuilder().emitLabel("end");
 }
예제 #8
0
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0xb83431fe5c8f40bcL,
                       0x8a3665e25f4dd253L,
                       0x11f7f7ff1bdL,
                       0x1201f00bb34L,
                       "text")));
 }
예제 #9
0
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0x8388864671ce4f1cL,
                       0x9c53c54016f6ad4fL,
                       0x120c4c1050eL,
                       0x120c4c1332bL,
                       "fromElement")));
 }
예제 #10
0
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   for (SNode expression :
       ListSequence.fromList(
           SLinkOperations.getChildren(
               _context.getNode(),
               MetaAdapterFactory.getContainmentLink(
                   0xf3061a5392264cc5L,
                   0xa443f952ceaf5816L,
                   0x113e4952f12L,
                   0x113e4b36742L,
                   "dimensionExpression")))) {
     _context.getBuilder().build((SNode) expression);
   }
 }
예제 #11
0
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0xf3061a5392264cc5L,
                       0xa443f952ceaf5816L,
                       0x10ab8473cc5L,
                       0x10ab847b486L,
                       "creator")));
 }
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0x8388864671ce4f1cL,
                       0x9c53c54016f6ad4fL,
                       0x7818f71827244b5L,
                       0x7818f71827244b6L,
                       "argument")));
 }
 public void build(final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0x7866978ea0f04cc7L,
                       0x81bc4d213d9375e1L,
                       0x1a228da1357e4a44L,
                       0x1a228da1357e4a46L,
                       "nodeExpression")));
   _context
       .getBuilder()
       .emitIfJump(
           _context.getBuilder().label(_context.getNode(), "end"),
           "r:00000000-0000-4000-0000-011c895902fc(jetbrains.mps.lang.smodel.dataFlow)/1883223317721107123");
   _context
       .getBuilder()
       .emitWrite(
           SLinkOperations.getTarget(
               _context.getNode(),
               MetaAdapterFactory.getContainmentLink(
                   0x7866978ea0f04cc7L,
                   0x81bc4d213d9375e1L,
                   0x1a228da1357e4a44L,
                   0x1a228da1357e4a47L,
                   "variable")),
           "r:00000000-0000-4000-0000-011c895902fc(jetbrains.mps.lang.smodel.dataFlow)/1883223317721107127");
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0x7866978ea0f04cc7L,
                       0x81bc4d213d9375e1L,
                       0x1a228da1357e4a44L,
                       0x1a228da1357e4a45L,
                       "body")));
   _context.getBuilder().emitLabel("end");
 }
예제 #14
0
 public void build(final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0xdaafa647f1f74b0bL,
                       0xb09669cd7c8408c0L,
                       0x1119d8807a3L,
                       0x1119d883fbcL,
                       "expr")));
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0xdaafa647f1f74b0bL,
                       0xb09669cd7c8408c0L,
                       0x1117ecbc07aL,
                       0x1117ecc427cL,
                       "regexp")));
   _context
       .getBuilder()
       .emitIfJump(
           _context.getBuilder().label(_context.getNode(), "begin"),
           "r:f8e2b09f-b9d8-4076-a472-4264b3fb6a47(jetbrains.mps.baseLanguage.regexp.dataFlow)/1222881746254");
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0xdaafa647f1f74b0bL,
                       0xb09669cd7c8408c0L,
                       0x1119d8807a3L,
                       0x1119d8a3c40L,
                       "body")));
   _context.getBuilder().emitLabel("begin");
 }
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0x756e911c3f1f4a48L,
                       0xbdf5a2ceb91b723cL,
                       0xd244b712f910103L,
                       0xd244b712f910105L,
                       "expression")));
   _context
       .getBuilder()
       .emitRet(
           "r:470fa7be-e760-4359-9d80-fc3ff0249d52(jetbrains.mps.execution.settings.dataFlow)/946964771156067215");
 }
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build((SNode) SLinkOperations.getTarget(_context.getNode(), "datetime", true));
   for (SNode formatToken : SLinkOperations.getTargets(_context.getNode(), "formatToken", true)) {
     _context.getBuilder().build((SNode) formatToken);
   }
   if ((SLinkOperations.getTarget(_context.getNode(), "locale", false) != null)) {
     _context
         .getBuilder()
         .emitRead(
             SLinkOperations.getTarget(_context.getNode(), "locale", false),
             "r:42b790f6-0ce5-4628-9d36-011037949e80(jetbrains.mps.baseLanguage.dates.dataFlow)/194163770812053438");
   }
 }
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .emitNop(
           "r:00000000-0000-4000-0000-011c895902c2(jetbrains.mps.baseLanguage.dataFlow)/1206990208534");
   if ((SLinkOperations.getTarget(
           _context.getNode(),
           MetaAdapterFactory.getContainmentLink(
               0xf3061a5392264cc5L,
               0xa443f952ceaf5816L,
               0xf8c37a7f6eL,
               0xf8c37f506eL,
               "initializer"))
       != null)) {
     _context
         .getBuilder()
         .build(
             (SNode)
                 SLinkOperations.getTarget(
                     _context.getNode(),
                     MetaAdapterFactory.getContainmentLink(
                         0xf3061a5392264cc5L,
                         0xa443f952ceaf5816L,
                         0xf8c37a7f6eL,
                         0xf8c37f506eL,
                         "initializer")));
     _context
         .getBuilder()
         .emitWrite(
             _context.getNode(),
             SLinkOperations.getTarget(
                 _context.getNode(),
                 MetaAdapterFactory.getContainmentLink(
                     0xf3061a5392264cc5L,
                     0xa443f952ceaf5816L,
                     0xf8c37a7f6eL,
                     0xf8c37f506eL,
                     "initializer")),
             "r:00000000-0000-4000-0000-011c895902c2(jetbrains.mps.baseLanguage.dataFlow)/1206987180651");
   }
 }
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0x3ecd7c84cde345deL,
                       0x886c135ecc69b742L,
                       0x1fe4fcef62d0186cL,
                       0x1fe4fcef62d01870L,
                       "target")));
   _context
       .getBuilder()
       .build(
           (SNode)
               SLinkOperations.getTarget(
                   _context.getNode(),
                   MetaAdapterFactory.getContainmentLink(
                       0x3ecd7c84cde345deL,
                       0x886c135ecc69b742L,
                       0x1fe4fcef62d0186cL,
                       0x1fe4fcef62d01872L,
                       "project")));
   for (SNode parameter :
       ListSequence.fromList(
           SLinkOperations.getChildren(
               _context.getNode(),
               MetaAdapterFactory.getContainmentLink(
                   0x3ecd7c84cde345deL,
                   0x886c135ecc69b742L,
                   0x1fe4fcef62d0186cL,
                   0x1fe4fcef62d01871L,
                   "parameters")))) {
     _context.getBuilder().build((SNode) parameter);
   }
 }
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   List<SNode> methods =
       SNodeOperations.getNodeDescendants(
           _context.getNode(),
           MetaAdapterFactory.getConcept(
               0xf3061a5392264cc5L,
               0xa443f952ceaf5816L,
               0xf8cc56b1fcL,
               "jetbrains.mps.baseLanguage.structure.BaseMethodDeclaration"),
           false,
           new SAbstractConcept[] {});
   Set<SNode> vars = SetSequence.fromSet(new HashSet<SNode>());
   for (SNode method : methods) {
     SetSequence.fromSet(vars)
         .addSequence(
             SetSequence.fromSet(
                 StatementList_Behavior.call_getExternalVariablesDeclarations_1214501165480(
                     SLinkOperations.getTarget(
                         method,
                         MetaAdapterFactory.getContainmentLink(
                             0xf3061a5392264cc5L,
                             0xa443f952ceaf5816L,
                             0xf8cc56b1fcL,
                             0xf8cc56b1ffL,
                             "body")))));
   }
   for (SNode var : vars) {
     _context
         .getBuilder()
         .emitRead(
             var,
             "r:3e9b7681-85ee-48b2-91d2-9a45a96731b1(jetbrains.mps.baseLanguageInternal.dataFlow)/3421461530438560096");
   }
   for (SNode expr :
       SLinkOperations.getChildren(
           SLinkOperations.getTarget(
               _context.getNode(),
               MetaAdapterFactory.getContainmentLink(
                   0xdf345b11b8c74213L,
                   0xac6648d2a9b75d88L,
                   0x2f7b79225e746808L,
                   0x2f7b79225e74691fL,
                   "cls")),
           MetaAdapterFactory.getContainmentLink(
               0xdf345b11b8c74213L,
               0xac6648d2a9b75d88L,
               0x2f7b79225e746809L,
               0x2f7b79225e74680cL,
               "constructorArgument"))) {
     _context.getBuilder().build((SNode) expr);
   }
   for (SNode fieldDeclaration :
       ClassConcept_Behavior.call_fields_5292274854859383272(
           SLinkOperations.getTarget(
               _context.getNode(),
               MetaAdapterFactory.getContainmentLink(
                   0xdf345b11b8c74213L,
                   0xac6648d2a9b75d88L,
                   0x2f7b79225e746808L,
                   0x2f7b79225e74691fL,
                   "cls")))) {
     _context.getBuilder().build((SNode) fieldDeclaration);
   }
 }
예제 #20
0
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context.getBuilder().emitNop();
   _context
       .getBuilder()
       .build((SNode) SLinkOperations.getTarget(_context.getNode(), "condition", true));
   _context.getBuilder().emitIfJump(_context.getBuilder().label(_context.getNode(), "elseBranch"));
   _context
       .getBuilder()
       .build((SNode) SLinkOperations.getTarget(_context.getNode(), "trueBranch", true));
   _context.getBuilder().emitJump(_context.getBuilder().after(_context.getNode()));
   _context.getBuilder().emitLabel("elseBranch");
   _context
       .getBuilder()
       .build((SNode) SLinkOperations.getTarget(_context.getNode(), "falseBranch", true));
 }
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build((SNode) SLinkOperations.getTarget(_context.getNode(), "leftExpression", true));
   _context
       .getBuilder()
       .build((SNode) SLinkOperations.getTarget(_context.getNode(), "rightExpression", true));
   if ((SLinkOperations.getTarget(_context.getNode(), "errorString", true) != null)) {
     _context
         .getBuilder()
         .build((SNode) SLinkOperations.getTarget(_context.getNode(), "errorString", true));
   }
   if ((SLinkOperations.getTarget(_context.getNode(), "nodeToCheck", true) != null)) {
     _context
         .getBuilder()
         .build((SNode) SLinkOperations.getTarget(_context.getNode(), "nodeToCheck", true));
   }
   if (ListSequence.fromList(
           SLinkOperations.getTargets(_context.getNode(), "helginsIntention", true))
       .isNotEmpty()) {
     for (SNode intetntion :
         SLinkOperations.getTargets(_context.getNode(), "helginsIntention", true)) {
       _context.getBuilder().build((SNode) intetntion);
     }
   }
 }
 public void build(
     final IOperationContext operationContext, final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .build((SNode) SLinkOperations.getTarget(_context.getNode(), "argument", true));
 }
 public void build(final DataFlowBuilderContext _context) {
   _context
       .getBuilder()
       .emitNop(
           "r:812dd537-4bc6-4b23-8ff0-eed686398e8b(jetbrains.mps.lang.textGen.dataFlow)/1237483415840");
 }