openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

DslString.class.php (326B)


      1 <?php
      2 
      3 namespace dsl\ast;
      4 
      5 class DslString implements DslStatement
      6 {
      7 	private $string;
      8 
      9 	/**
     10 	 * DslString constructor.
     11 	 * @param $string
     12 	 */
     13 	public function __construct($string)
     14 	{
     15 		$this->string = $string;
     16 	}
     17 
     18 
     19 	public function execute( & $context ) {
     20 
     21 		return $this->string;
     22 	}
     23 
     24 	public function parse($tokens)
     25 	{
     26 	}
     27 }