File modules/dsl/ast/DslString.class.php
Last commit: Sat May 28 18:00:13 2022 +0200 Jan Dankert New: DSL with a much better syntax parsing and support for assignments, conditions, ...
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 }
Downloadmodules/dsl/ast/DslString.class.php
History Sat, 28 May 2022 18:00:13 +0200 Jan Dankert New: DSL with a much better syntax parsing and support for assignments, conditions, ...