src/CoffeeScript/Init.php
static function load($root = NULL)
  {
    if ($root === NULL)
    {
      $root = realpath(dirname(__FILE__));
    }

    $files = array(
      'Compiler',
      'Error',
      'Helpers',
      'Lexer',
      'Nodes',
      'Parser',
      'Rewriter',
      'Scope',
      'SyntaxError',
      'Value',

      'yy/Base',  // load the base class first
      'yy/While', // For extends While

      'yy/Access',
      'yy/Arr',
      'yy/Assign',
      'yy/Block',
      'yy/Call',
      'yy/Class',
      'yy/Closure',
      'yy/Code',
      'yy/Comment',
      'yy/Existence',
      'yy/Extends',
      'yy/For',
      'yy/If',
      'yy/In',
      'yy/Index',
      'yy/Literal',
      'yy/Obj',
      'yy/Op',
      'yy/Param',
      'yy/Parens',
      'yy/Range',
      'yy/Return',
      'yy/Slice',
      'yy/Splat',
      'yy/Switch',
      'yy/Throw',
      'yy/Try',
      'yy/Value',
    );

    foreach ($files as $file)
    {
      require_once "$root/$file.php";
    }
  }
static function load($root = NULL)
  {
    if ($root === NULL)
    {
      $root = realpath(dirname(__FILE__));
    }

    $files = array(
      'Compiler',
      'Error',
      'Helpers',
      'Lexer',
      'Nodes',
      'Parser',
      'Rewriter',
      'Scope',
      'SyntaxError',
      'Value',

      'yy/Base',  // load the base class first
      'yy/While', // For extends While

      'yy/Access',
      'yy/Arr',
      'yy/Assign',
      'yy/Block',
      'yy/Call',
      'yy/Class',
      'yy/Closure',
      'yy/Code',
      'yy/Comment',
      'yy/Existence',
      'yy/Extends',
      'yy/For',
      'yy/If',
      'yy/In',
      'yy/Index',
      'yy/Literal',
      'yy/Obj',
      'yy/Op',
      'yy/Param',
      'yy/Parens',
      'yy/Range',
      'yy/Return',
      'yy/Slice',
      'yy/Splat',
      'yy/Switch',
      'yy/Throw',
      'yy/Try',
      'yy/Value',
    );

    foreach ($files as $file)
    {
      require_once "$root/$file.php";
    }
  }
static function load ( $ root = NULL ) { if ( $ root === NULL ) { $ root = realpath ( dirname ( __FILE__ ) ) ; } $ files = array ( 'Compiler' , 'Error' , 'Helpers' , 'Lexer' , 'Nodes' , 'Parser' , 'Rewriter' , 'Scope' , 'SyntaxError' , 'Value' , 'yy/Base' , // load the base class first 'yy/While' , // For extends While 'yy/Access' , 'yy/Arr' , 'yy/Assign' , 'yy/Block' , 'yy/Call' , 'yy/Class' , 'yy/Closure' , 'yy/Code' , 'yy/Comment' , 'yy/Existence' , 'yy/Extends' , 'yy/For' , 'yy/If' , 'yy/In' , 'yy/Index' , 'yy/Literal' , 'yy/Obj' , 'yy/Op' , 'yy/Param' , 'yy/Parens' , 'yy/Range' , 'yy/Return' , 'yy/Slice' , 'yy/Splat' , 'yy/Switch' , 'yy/Throw' , 'yy/Try' , 'yy/Value' , ) ; foreach ( $ files as $ file ) { require_once "$root/$file.php" ; } }
This function may be used in lieu of an autoloader.
This function may be used in lieu of an autoloader .