/** * Parses a TypoScript string. * * @param string $content The string to parse. * @return \Helmich\TypoScriptParser\Parser\AST\Statement[] The syntax tree. */ public function parseString($content) { $tokens = $this->tokenizer->tokenizeString($content); return $this->parseTokens($tokens); }