Пример #1
0
 /* Record an end block -- not all scope implementations can handle them */
 @Override
 public void recordEndBlock(IRClosure endBlockClosure) {
   if (endBlocks == null) endBlocks = new ArrayList<IRClosure>();
   endBlockClosure.setBeginEndBlock();
   endBlocks.add(endBlockClosure);
 }
Пример #2
0
 /* Record a begin block -- not all scope implementations can handle them */
 @Override
 public void recordBeginBlock(IRClosure beginBlockClosure) {
   if (beginBlocks == null) beginBlocks = new ArrayList<IRClosure>();
   beginBlockClosure.setBeginEndBlock();
   beginBlocks.add(beginBlockClosure);
 }