Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 13-Jan-2021 | - | ||||
bin/ | H | 03-May-2022 | - | 181 | 161 | |
Makefile | H A D | 13-Jan-2021 | 1.7 KiB | 79 | 60 | |
README | H A D | 13-Jan-2021 | 604 | 19 | 12 | |
ast.hpp | H A D | 13-Jan-2021 | 1.4 KiB | 54 | 43 | |
astnode.hpp | H A D | 13-Jan-2021 | 2.1 KiB | 107 | 81 | |
build-xhpast.php | H A D | 03-May-2022 | 192 | 10 | 6 | |
parser.y | H A D | 13-Jan-2021 | 60.2 KiB | 2,791 | 2,506 | |
parser.yacc.cpp | H A D | 13-Jan-2021 | 289.3 KiB | 7,688 | 6,651 | |
parser.yacc.hpp | H A D | 13-Jan-2021 | 8.4 KiB | 337 | 289 | |
parser_nodes.php | H A D | 03-May-2022 | 3.7 KiB | 128 | 122 | |
scanner.l | H A D | 13-Jan-2021 | 11.4 KiB | 489 | 433 | |
scanner.lex.cpp | H A D | 13-Jan-2021 | 1.7 MiB | 26,972 | 23,932 | |
scanner.lex.hpp | H A D | 13-Jan-2021 | 8.5 KiB | 354 | 214 | |
xhpast.cpp | H A D | 13-Jan-2021 | 2.7 KiB | 125 | 100 |
README
1= Building = 2 3Normally, you can build `xhpast` by running `make`, which will create a binary 4in this directory: 5 6 xhpast/ $ make 7 8You can run `make install` to copy that binary to the right place in libphutil 9so that libphutil, Phabricator, Diviner, etc., can use xhpast. 10 11If you are developing `xhpast`, you need to `make parser scanner xhpast` 12instead to regenerate the parser and scanner: 13 14 xhpast/ $ make parser scanner xhpast 15 16We ship the generated parser and scanner and do not rebuild them by default to 17prevent users from needing to install flex and bison and fiddle around with 18flex versions. 19