History log of /PHP-Parser/doc/component/Pretty_printing.markdown (Results 1 – 14 of 14)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e50c67b7 21-Sep-2024 Nikita Popov

Add basic support for tab indentation

Add a new "indent" option for the pretty printer, which can be
use to control the indentation width, or switch it to use tabs.

Tab width is

Add basic support for tab indentation

Add a new "indent" option for the pretty printer, which can be
use to control the indentation width, or switch it to use tabs.

Tab width is currenlty hardcoded to 4, but also shouldn't matter
much.

Possibly the formatting-preserving printer should auto-detect
the indentation in the future.

show more ...


# eabae1f7 01-Nov-2023 Sandro Gehri

Fix typo


# 3c52ea9b 17-Sep-2023 Nikita Popov

Document phpVersion effect on pretty printer


# 21ead390 17-Sep-2023 Nikita Popov

Update docs after lexer changes


# ba851243 13-Aug-2023 Nikita Popov

Replace startLexing() with tokenize()

For now Lexer::getTokens() still exists, but should probably be
removed.


# c48ee36f 09-Jul-2023 Nikita Popov

Allow passing visitors to NodeTraverser constructor


# 5b65f9fc 27-May-2023 Nikita Popov

Some documentation updates


# 7362f2b2 05-Sep-2022 Ondřej Mirtes

Fix pretty printing example


# 8d02d37e 04-Sep-2022 Nikita Popov

More docs updates


Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3, v4.2.2, v4.2.1, v4.2.0, v4.1.1, v4.1.0, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v3.1.5
# de347019 28-Feb-2018 Ryan Weaver

Proofreading the docs - very minor changes!


Revision tags: v4.0.0beta1
# e4505de3 27-Jan-2018 Nikita Popov

Move FAQ into component documentation


Revision tags: v3.1.4, v4.0.0alpha3, v3.1.3, v4.0.0alpha2, v3.1.2
# 7f92edf3 31-Oct-2017 Tomáš Votruba

Docs: add missing $stmts (#433)


Revision tags: v4.0.0alpha1
# eaee6687 03-Oct-2017 Nikita Popov

Tweaks


# f5f3b0d4 03-Oct-2017 Nikita Popov

Add name resolution, pretty printing component docs

The docs are receiving too little love...