Home | History | Annotate | Download | only in antlr3

Lines Matching defs:each

54 ANTLR bundles all of this functionality into a number of Stream classes, each
764 # If a block is provided, each token harvested will be yielded and if the block
992 # yields each token in the stream (including off-channel tokens)
994 # #each accepts the same arguments as #tokens
996 def each( *args )
997 block_given? or return enum_for( :each, *args )
998 tokens( *args ).each { |token| yield( token ) }
1003 # yields each token in the stream with the given channel value
1015 # iterates through the token stream, yielding each on channel token along the way.
1017 # it was before #walk was called. While #each or #each_on_channel does not change