original_string: 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);
          }
      }
code: 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);
          }
      }
code_tokens: 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 ) ; } }
docstring: 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
docstring_tokens: Check whether a token is allowed inside a parent tag .