hotspot/src/share/vm/adlc/forms.hpp
changeset 2150 0d91d17158cc
parent 2129 e810a33b5c67
child 5547 f4b087cbb361
equal deleted inserted replaced
2149:3d362637b307 2150:0d91d17158cc
   340   int   count() const;
   340   int   count() const;
   341 
   341 
   342   void  reset();                   // Reset iteration
   342   void  reset();                   // Reset iteration
   343   const char *iter();              // after reset(), first element : else next
   343   const char *iter();              // after reset(), first element : else next
   344   const char *current();           // return current element in iteration.
   344   const char *current();           // return current element in iteration.
       
   345   const char *peek(int skip = 1);  // returns element + skip in iteration if there is one
   345 
   346 
   346   bool  current_is_signal();       // Return 'true' if current entry is signal
   347   bool  current_is_signal();       // Return 'true' if current entry is signal
   347   bool  is_signal(const char *entry); // Return true if entry is a signal
   348   bool  is_signal(const char *entry); // Return true if entry is a signal
   348 
   349 
   349   bool  search(const char *);      // Search for a name in the list
   350   bool  search(const char *);      // Search for a name in the list