هذه المكتبة عبارة عن أداة لتحليل كود مصدر PHP والتحليل الساكن تقوم بتحويل كود PHP الخام إلى رموز منفصلة وتمثيلات XML منظمة. تعمل كمسلسل (serializer) يحول تدفقات الرموز إلى تنسيق قابل للقراءة آلياً للتحليل البرمجي ومعالجة شجرة المصدر.
الميزات الرئيسية لـ theseer/tokenizer هي: PHP Code Analysis, XML Serialization, Static Code Analysis, Lexical Tokenizers, Source-to-XML Transformation, Token Serialization, PHP Parsers, PHP To XML Serializers.
تشمل البدائل مفتوحة المصدر لـ theseer/tokenizer: nikic/php-parser — PHP-Parser is a tool that converts PHP source code into an abstract syntax tree for static analysis and programmatic… martinblech/xmltodict — xmltodict is a Python library that provides bidirectional serialization between XML documents and dictionaries. It… leonidas-from-xiv/node-xml2js — This project is a Node.js library for bidirectional conversion between XML strings and JavaScript objects. It… felixfbecker/php-language-server — This project is a backend service that implements the Language Server Protocol to provide IDE-integrated intelligence… phpdocumentor/reflectioncommon — ReflectionCommon is a PHP reflection interface library and code analysis abstraction. It serves as a foundation for… friendsofphp/php-cs-fixer — PHP-CS-Fixer is a static analysis tool and code style linter designed to validate PHP code against predefined…
PHP-Parser is a tool that converts PHP source code into an abstract syntax tree for static analysis and programmatic manipulation. It functions as a parser, a code generator, and a static analysis framework. The project enables the programmatic construction of abstract syntax tree nodes through a fluent interface and provides the ability to transform these trees back into formatted source code. It includes a serializer that exports abstract syntax trees to JSON format and reconstructs them from strings. The toolset covers several capability areas, including namespace resolution, constant exp
xmltodict is a Python library that provides bidirectional serialization between XML documents and dictionaries. It functions as a parser that converts marked-up input into key-value pairs and a serialization utility that transforms dictionaries back into structured XML documents. The project includes an incremental stream processor that uses depth-based callbacks to handle large XML files while maintaining constant memory usage. It features a namespace manager for mapping prefixes and declarations, as well as a security sanitizer that blocks external entity expansion and validates element nam
This project is a Node.js library for bidirectional conversion between XML strings and JavaScript objects. It functions as an XML parser that transforms XML content into structured data and an XML serializer that generates formatted strings from JavaScript data objects. The toolkit includes a data transformer that applies custom processing functions to tags and attributes during the conversion process. It manages XML namespaces and supports the definition of custom root elements to maintain document structure during generation. The system handles XML data parsing, string generation, and name
This project is a backend service that implements the Language Server Protocol to provide IDE-integrated intelligence for PHP development. It functions as a static analysis tool that parses source code to enable advanced editor features, including autocompletion, symbol navigation, and definition resolution. The server distinguishes itself through its ability to operate within isolated containers and remote development environments. By utilizing a virtual file system abstraction and flexible communication protocols, it maintains project-wide symbol indexing and code analysis even when files a