private function checkIfTokenIsAllowedInParent($parent, array $token)
    {
        if ($parent[Mustache_Tokenizer::TYPE] === Mustache_Tokenizer::T_PARENT) {
            throw new Mustache_Exception_SyntaxException('Illegal content in < parent tag', $token);
        }
    }
private function checkIfTokenIsAllowedInParent($parent, array $token)
    {
        if ($parent[Mustache_Tokenizer::TYPE] === Mustache_Tokenizer::T_PARENT) {
            throw new Mustache_Exception_SyntaxException('Illegal content in < parent tag', $token);
        }
    }
private function checkIfTokenIsAllowedInParent ( $ parent , array $ token ) { if ( $ parent [ Mustache_Tokenizer :: TYPE ] === Mustache_Tokenizer :: T_PARENT ) { throw new Mustache_Exception_SyntaxException ( 'Illegal content in < parent tag' , $ token ) ; } }
Check whether a token is allowed inside a parent tag.

@throws Mustache_Exception_SyntaxException if an invalid token is found inside a parent tag

@param array|null $parent
@param array      $token
Check whether a token is allowed inside a parent tag .