File dsl/ast/DslStatement.class.php
Last commit: Mon Jun 6 14:06:46 2022 +0200 Jan Dankert First commit after fetching from upstream repo.
1 <?php 2 3 namespace dsl\ast; 4 5 use dsl\DslToken; 6 7 interface DslStatement 8 { 9 /** 10 * Parses a list of tokens. 11 * @param $tokens DslToken[] List of tokens 12 */ 13 public function parse( $tokens ); 14 15 16 /** 17 * Executes this statement. 18 * 19 * @param $context array Context of execution. 20 * @return mixed 21 */ 22 public function execute( & $context ); 23 24 }
Downloaddsl/ast/DslStatement.class.php
History Mon, 6 Jun 2022 14:06:46 +0200 Jan Dankert First commit after fetching from upstream repo.