Guest User

Untitled

a guest
Apr 25th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #!/usr/bin/env ruby
  2. require "#{ENV['TM_SUPPORT_PATH']}/lib/escape"
  3. require ENV['TM_SUPPORT_PATH'] + "/lib/exit_codes"
  4.  
  5. class Lexer
  6. include Enumerable
  7. def initialize
  8. @label = nil
  9. @pattern = nil
  10. @handler = nil
  11. @input = nil
  12.  
  13. reset
  14.  
  15. yield self if block_given?
  16. end
Add Comment
Please, Sign In to add comment