Home | History | Annotate | Download | only in antlr3

Lines Matching refs:peek

90 === consume / look / peek
95 <tt>stream.peek(k = 1)</tt> is used to quickly retrieve the object of interest
103 look-ahead position specified by <tt>k</tt>. While <tt>peek</tt> provides the
111 <b>Note:</b> in most ANTLR runtime APIs for other languages, <tt>peek</tt> is
115 un-Ruby-like. Thus, I chose <tt>peek</tt> and <tt>look</tt> to represent a
116 quick-look (peek) and a full-fledged look-ahead operation (look). If this causes
176 # :method: peek( k = 1 )
180 abstract :peek
294 Then, all <tt>peek</tt>, <tt>look</tt>, and <tt>consume</tt> operations only
349 #peek method returns the integer character value at look-ahead position
409 # identical to #peek, except it returns the character value as a String
444 # identical to #peek, except it returns the character value as a String
497 def peek( k = 1 )
729 tokens will be filtered out by the #peek, #look, and #consume methods.
925 def peek( k = 1 )
930 # operates simillarly to #peek, but returns the full token object at look-ahead position +k+