class Rouge::Lexers::Coffeescript

def self.analyze_text(text)

def self.analyze_text(text)
  return 1 if text.shebang? 'coffee'
end

def self.builtins

def self.builtins
  @builtins ||= Set.new %w(
    Array Boolean Date Error Function Math netscape Number Object
    Packages RegExp String sun decodeURI decodeURIComponent
    encodeURI encodeURIComponent eval isFinite isNaN parseFloat
    parseInt document window
  )
end

def self.constants

def self.constants
  @constants ||= Set.new %w(
    true false yes no on off null NaN Infinity undefined
  )
end

def self.keywords

def self.keywords
  @keywords ||= Set.new %w(
    for in of while break return continue switch when then if else
    throw try catch finally new delete typeof instanceof super
    extends this class by
  )
end