Method: PHPRB::Compiler::SimpleScanner#scan

Defined in:
lib/web/phprb.rb

#scanObject



163
164
165
166
167
168
169
170
# File 'lib/web/phprb.rb', line 163

def scan
	@src.each do |line|
	  line.split(SplitRegexp).each do |token|
	    next if token.empty?
	    yield(token)
	  end
	end
end