History log of /PHP-Parser/test/code/parser/scalar/flexibleDocString.test (Results 1 – 8 of 8)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 80851163 23-Sep-2023 Nikita Popov

Assemble NodeDumper result in property

Append to a property instead of returning strings. This is
significantly faster when dumping large ASTs.

This also fixes an inconsistency

Assemble NodeDumper result in property

Append to a property instead of returning strings. This is
significantly faster when dumping large ASTs.

This also fixes an inconsistency where the indentation level for
strings and comments was off-by-one.

show more ...


# a44faa63 03-Sep-2022 Nikita Popov

Rename Scalar\Encapsed to Scalar\InterpolatedString


# f4ec6a1e 03-Sep-2022 Nikita Popov

Rename Scalar\EncapsedStringPart to InterpolatedStringPart

It is no longer an expression node, which unfortunately does
require a more awkward type for the Encaps node.


# 8be56afd 02-Sep-2022 Nikita Popov

Rename Expr\ArrayItem to ArrayItem

Array items are not expressions by themselves.


Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3, v4.2.2
# 8012faea 09-May-2019 Tomas Votruba

[PHP 7.4] Add array spread


Revision tags: v4.2.1, v4.2.0, v4.1.1, v4.1.0
# eebaa946 22-Sep-2018 Nikita Popov

Flexible doc strings: Fix some issues, add more tests


# 0ed9065b 21-Sep-2018 Nikita Popov

Flexible doc: Validate and strip indentation

If indentation is invalid, we strip on a best-effort basis.

The error position information is not great, but I don't want to
introdu

Flexible doc: Validate and strip indentation

If indentation is invalid, we strip on a best-effort basis.

The error position information is not great, but I don't want to
introduce sub-token error positioning at this point in time.

show more ...


Revision tags: v4.0.4, v4.0.3, v4.0.2
# 83766c8c 28-Apr-2018 Nikita Popov

Partial support for flexible heredoc/nowdoc

This only implements the token emulation part, it does not yet
handle the indentation stripping.

Emulating this feature on old PHP ve

Partial support for flexible heredoc/nowdoc

This only implements the token emulation part, it does not yet
handle the indentation stripping.

Emulating this feature on old PHP versions is really tough and is
not going to work perfectly, but hopefully this implementation is
"good enough".

show more ...