[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/lessphp/Tree/ -> Javascript.php (source)

   1  <?php
   2  
   3  /**
   4   * Javascript
   5   *
   6   * @package Less
   7   * @subpackage tree
   8   */
   9  class Less_Tree_Javascript extends Less_Tree{
  10  
  11      public $type = 'Javascript';
  12      public $escaped;
  13      public $expression;
  14      public $index;
  15  
  16      /**
  17       * @param boolean $index
  18       * @param boolean $escaped
  19       */
  20  	public function __construct($string, $index, $escaped){
  21          $this->escaped = $escaped;
  22          $this->expression = $string;
  23          $this->index = $index;
  24      }
  25  
  26  	public function compile(){
  27          return new Less_Tree_Anonymous('/* Sorry, can not do JavaScript evaluation in PHP... :( */');
  28      }
  29  
  30  }


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1