 
 path = require('path')
 
+isSpace = /\s/
+
 # CSS parser
 class Parser
   constructor: (source, @opts) ->

    @buffer = ''

  loop: ->
    while @pos < @source.length - 1
      @move()
      @nextLetter()
    @endFile()

    @source[@pos..@pos + string.length - 1] == string

  space: ->
    @letter == ' ' or @letter == "\n" or @letter.match(isSpace)

  init: (node) ->
    @current.push(node)
