Пример #1
0
 /**
  * Tests if elements contained in a Stack <code>stack</code> is valid for the <code>XParamList
  * </code>. This method consumes the stack contents during matching operation. This mehtod is
  * supposed to be used internally by the Relaxer system.
  *
  * @param stack
  * @return boolean
  */
 public static boolean isMatchHungry(RStack stack) {
   RStack target = stack;
   boolean $match$ = false;
   Element element = stack.peekElement();
   IGlyphFactory factory = GlyphFactory.getFactory();
   Element child;
   while (true) {
     if (!XParamListParam.isMatchHungry(target)) {
       break;
     }
     $match$ = true;
   }
   return ($match$);
 }