src/View/Twig/TwigTranspiler.php
/**
	 * Compiles all statements in the string.
	 *
	 * @param string $value
	 * @return string
	 */
Compiles all statements in the string.
@param string $value
@return string
Compiles all statements in the string . @param string $value @return string
public function compileStatements($value) {
		return preg_replace_callback(
			'/\B@(@?\w+(?:::\w+)?)([ \t]*)(\( ( (?>[^()]+) | (?3) )* \)[;]*)?/x', function ($match) {
				return $this->compileStatement($match);
			}, $value
		);
	}
public function compileStatements ( $ value ) { return preg_replace_callback ( '/\B@(@?\w+(?:::\w+)?)([ \t]*)(\( ( (?>[^()]+) | (?3) )* \)[;]*)?/x' , function ( $ match ) { return $ this -> compileStatement ( $ match ) ; } , $ value ) ; }
Compiles all statements in the string.
Compiles all statements in the string .