Sha256: 0da25734b1ff0d2711a1c605a58b934bb50822bc186cd6abc0f57ac5803da22e
Contents?: true
Size: 606 Bytes
Versions: 10
Compression:
Stored size: 606 Bytes
Contents
<?php namespace CoffeeScript; class yy_Comment extends yy_Base { function constructor() { list($comment) = args(func_get_args(), 1); $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($options = NULL) { return TRUE; } function make_return($res = NULL) { return $this; } } ?>
Version data entries
10 entries across 10 versions & 1 rubygems