mirror of
https://github.com/Ekokumppanit/ystavakylaecard.git
synced 2026-02-21 13:49:51 +00:00
Sparks: Assets, 1.5.1
http://getsparks.org/packages/assets/versions/HEAD/show Creates our minified and combined .js and .css files
This commit is contained in:
37
sparks/assets/1.5.1/libraries/coffeescript/yy/Throw.php
Executable file
37
sparks/assets/1.5.1/libraries/coffeescript/yy/Throw.php
Executable file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace CoffeeScript;
|
||||
|
||||
class yy_Throw extends yy_Base
|
||||
{
|
||||
public $children = array('expression');
|
||||
|
||||
function constructor($expression)
|
||||
{
|
||||
$this->expression = $expression;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
function compile_node($options = array())
|
||||
{
|
||||
return $this->tab.'throw '.$this->expression->compile($options).';';
|
||||
}
|
||||
|
||||
function is_statement()
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
function jumps()
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
function make_return()
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user