         classdef = module.exports.parseClassdef(text)
 
         if classdef.type == "class"
-
             # Start the class
             buffer += "#{classdef.fullname} = (function() {\n"
 

            methods: [],
            extends: null,
            type: "class",
            varName : null,
            path: null
        }

        fullname = string.split(":")[0]

        def.fullname = fullname

        if (fullname.toLowerCase() == "r")
            lines = string.split("\n")
            i = 0
            while i < lines.length
                line = {}
                line.varName = string.split(":")[1]
                path = string.split(":")[2]
                line.path = ((path != null) ? path : line.varName);
                if typeof path != "undefined" && path.length > 0
                    line.path = path
                else
                    line.path = line.varName

                def.requireLines.push(line)
            def.type = "require"
            console.log lines

            return def

