 
 # CSS parser
 class Parser
-  constructor: (source, @options) ->
+  constructor: (source, @opts) ->
     @source = source.toString()
 
     @root    = new Root()

  trim: (string) ->
    string.replace(/^\s*/, '').replace(/\s*$/, '')

module.exports = (source, options = { }) ->
  parser = new Parser(source, options)
  parser.loop()
  parser.root

  # Helpers

  error: (message, line = @line, column = @column) ->
    throw new SyntexError(message, @source, line, column, @opts.file)

  move: ->
    @pos    += 1
