Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env ruby
- require "#{ENV['TM_SUPPORT_PATH']}/lib/escape"
- require ENV['TM_SUPPORT_PATH'] + "/lib/exit_codes"
- class Lexer
- include Enumerable
- def initialize
- @label = nil
- @pattern = nil
- @handler = nil
- @input = nil
- reset
- yield self if block_given?
- end
Add Comment
Please, Sign In to add comment