1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-27 04:14:44 +01:00
PHP-Parser/lib/PhpParser
Nikita Popov 588e6a4d4c Add string kinds and doc string labels
Scalar\String_ and Scalar\Encapsed now have an additional "kind"
attribute, which may be one of:

 * String_::KIND_SINGLE_QUOTED
 * String_::KIND_DOUBLE_QUOTED
 * String_::KIND_NOWDOC
 * String_::KIND_HEREDOC

Additionally, if the string kind is one of the latter two, an
attribute "docLabel" is provided, which contains the doc string
label (STR in <<<STR) that was originally used.

The pretty printer will try to take the original kind of the string,
as well as the used doc string label into account.
2016-04-07 12:09:00 +09:00
..
Builder Doc comment tweaks 2016-02-20 17:06:09 +01:00
Comment Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
Lexer Move token constants into separate class 2015-06-13 18:39:55 +02:00
Node Add string kinds and doc string labels 2016-04-07 12:09:00 +09:00
NodeVisitor Switch NameResolver resolve methods to be immutable 2015-07-12 23:56:57 +02:00
Parser Add string kinds and doc string labels 2016-04-07 12:09:00 +09:00
PrettyPrinter Add string kinds and doc string labels 2016-04-07 12:09:00 +09:00
Serializer Strict type compliance 2015-03-24 11:19:17 +01:00
Unserializer Strict type compliance 2015-03-24 11:19:17 +01:00
Autoloader.php Drop support for PHP 7 aliases 2015-05-02 22:21:12 +02:00
Builder.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
BuilderAbstract.php Rename nodes for compat with PHP 7 2015-03-20 21:49:38 +01:00
BuilderFactory.php Add "use" builder 2015-03-10 16:05:55 +01:00
Comment.php Fix comment reformatting for some cases 2016-04-07 11:47:40 +09:00
Error.php Add column info to EOF errors 2015-04-27 15:37:41 +02:00
Lexer.php Another fix for B"" handling 2016-04-04 22:07:50 +09:00
Node.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
NodeAbstract.php Drop {@inheritDoc} 2015-06-12 20:37:43 +02:00
NodeDumper.php Add dumpComments option to NodeDumper 2016-03-09 19:48:36 +01:00
NodeTraverser.php Add sanity check for leaveNode() return value 2016-03-27 14:52:15 +02:00
NodeTraverserInterface.php Add NodeTraverser::DONT_TRAVERSE_CHILDREN support 2015-01-11 22:13:58 +01:00
NodeVisitor.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
NodeVisitorAbstract.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
Parser.php Fix issue #227 2015-09-19 22:05:23 +08:00
ParserAbstract.php Fix nop statement comment assignment 2016-04-05 19:19:15 +09:00
ParserFactory.php Various docs fixes 2015-07-14 21:11:54 +02:00
PrettyPrinterAbstract.php Add string kinds and doc string labels 2016-04-07 12:09:00 +09:00
Serializer.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
Unserializer.php Strict type compliance 2015-03-24 11:19:17 +01:00