Object
# File rubygems/request_set/lockfile/tokenizer.rb, line 40 def empty? @tokens.empty? end
# File rubygems/request_set/lockfile/tokenizer.rb, line 20 def make_parser(set, platforms) Gem::RequestSet::Lockfile::Parser.new self, set, platforms, @filename end
# File rubygems/request_set/lockfile/tokenizer.rb, line 48 def next_token @tokens.shift end
# File rubygems/request_set/lockfile/tokenizer.rb, line 53 def peek @tokens.first || EOF end
# File rubygems/request_set/lockfile/tokenizer.rb, line 28 def skip(type) @tokens.shift while not @tokens.empty? and peek.type == type end