module CoffeeScript::Source

Defined in:

lib/coffee-script-source/src/coffee_script_source.cr
coffee_script.cr

Constant Summary

COMPILE_FUNCTION = " ;function compile(script, options) {\n try {\n return CoffeeScript.compile(script, options);\n } catch (err) {\n if (err instanceof SyntaxError && err.location) {\n throw new SyntaxError([\n err.filename || \"[stdin]\",\n err.location.first_line + 1,\n err.location.first_column + 1\n ].join(\":\") + \": \" + err.message)\n } else {\n throw err;\n }\n }\n }"

Class Method Summary

Class Method Detail

def self.contents #

[View source]
def self.context #

[View source]
def self.path #

[View source]
def self.path=(path : String) #

[View source]
def self.version #

[View source]