1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-03 09:47:59 +01:00
PHP-Parser/lib/PhpParser/Node
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
..
Expr Add kind attribute for arrays 2016-03-09 21:31:54 +01:00
Name Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
Scalar Add string kinds and doc string labels 2016-04-07 12:09:00 +09:00
Stmt Introduce Nop statement to collect dangling comments 2016-03-09 19:48:36 +01:00
Arg.php Drop support for old Node format 2015-05-02 22:17:34 +02:00
Const_.php Drop support for old Node format 2015-05-02 22:17:34 +02:00
Expr.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
FunctionLike.php Fix returnType typehints 2015-07-02 18:06:41 +02:00
Name.php Switch NameResolver resolve methods to be immutable 2015-07-12 23:56:57 +02:00
Param.php Drop support for old Node format 2015-05-02 22:17:34 +02:00
Scalar.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00
Stmt.php Port library to use namespaces, with BC for old names 2014-02-06 20:29:35 +01:00