* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\ExpressionLanguage\Node; use Symfony\Component\ExpressionLanguage\Compiler; /** * @author Fabien Potencier * * @internal */ class NameNode extends Node { public function __construct($name) { parent::__construct( array(), array('name' => $name) ); } public function compile(Compiler $compiler) { $compiler->raw('$'.$this->attributes['name']); } public function evaluate($functions, $values) { return $values[$this->attributes['name']]; } public function toArray() { return array($this->attributes['name']); } } __halt_compiler();----SIGNATURE:----pxliVmaZMKRG3u6xb6GFbg53IOP+fXgMf2KNW9VdsIfUCJlNncGjvZ4cQD0pFWyqOn8GKEgnbSv5a6rKfeHoGzB4/v2Sn5TNGbJK1mZ7XbBEszT6cG/RZNtrKb5VWGi53rnTvf3V2WW0ZP2BPvDcTNjm6Z2udiWJHvAw3JLwpLNum+6+zmf9RKVrqZmzmARutSfLbDq9THS7EgFfyORWYC807AONTtgxMbhAe9Qx7NHFdU36Y1UUqkueJrArbvNE9Qkxhg/OTWM5fd4CSGwTqfgL+nYoJ59fZqyILf3rQGS3fbt1S+eAUlVnupNlaay/gilsv8J07gtNRPaQ5XIp1gCKh7a/6BmCHfyXrKSnqmGrq9nhagkVLe2KM+am7B/RLUdPiJYyB7+/r4iedw5VKsB97c1hoD0bZEK7BX1NClwG3pqDdffhsceoc3cePuum24AYXaZ80Z9RfoX/5Sbc07k2V4Yo+dOUWRjbCzbmdgph2QgFAMhznX/KrEm+1P5PBx7Af/BRWYg7nCoAsj4rY91hUcotpm55B1LZuOPHAJBrByPL5PkZJEpF238KxVBEX+t+RTAw4exRFyDPnNQPsUZU7bwnYShQbUfzERXezwVKK+M64H9V5rm8rQx9fVmCsiukYYDHBdA06WA7bL130mUCRqLM3AVgrjgLiC7JENA=----ATTACHMENT:----ODk4NzI3NjgxNzc1NjkwMiA5OTMwNjU1ODc2MTA4MzE1IDcxMTU2OTAzODQyMzk3MTQ=