Files
ystavakylaecard/sparks/assets/1.5.1/libraries/coffeescript/yy/Comment.php
Ismo Vuorinen 7e73994e40 Sparks: Assets, 1.5.1
http://getsparks.org/packages/assets/versions/HEAD/show

Creates our minified and combined .js and .css files
2013-07-11 07:46:29 +03:00

38 lines
540 B
PHP
Executable File

<?php
namespace CoffeeScript;
class yy_Comment extends yy_Base
{
function constructor($comment)
{
$this->comment = $comment;
return $this;
}
function compile_node($options, $level = NULL)
{
$code = '/*'.multident($this->comment, $this->tab)."\n{$this->tab}*/\n";
if ($level === LEVEL_TOP || $options['level'] === LEVEL_TOP)
{
$code = $options['indent'].$code;
}
return $code;
}
function is_statement()
{
return TRUE;
}
function make_return()
{
return $this;
}
}
?>