elpasync pushed a change to branch externals/phpinspect. from 3175d9a6ac Fix typo new 68c826243c Keep index synchronized with buffer state new 7c76cbcc54 Use rear pointer to append parsed tokens
Summary of changes: benchmarks/appendage.el | 31 ++ benchmarks/splay-tree.el | 21 +- phpinspect-bmap.el | 54 +++- phpinspect-buffer.el | 355 +++++++++++++++++++-- phpinspect-cache.el | 28 +- phpinspect-class.el | 130 ++++++-- phpinspect-completion.el | 2 + phpinspect-eldoc.el | 4 +- phpinspect-imports.el | 7 +- phpinspect-index.el | 104 +++--- phpinspect-meta.el | 56 +++- phpinspect-parse-context.el | 1 + phpinspect-parser.el | 264 ++------------- phpinspect-project.el | 21 +- phpinspect-serialize.el | 4 +- phpinspect-splayt.el | 120 ++++--- phpinspect-toc.el | 82 +++++ phpinspect-token-predicates.el | 250 +++++++++++++++ phpinspect-type.el | 9 + phpinspect-util.el | 11 + phpinspect-worker.el | 2 +- phpinspect.el | 18 -- test/fixtures/IncompleteClass.eld | 2 +- test/fixtures/IncompleteClassBlockedNamespace.eld | 2 +- .../fixtures/IncompleteClassMultipleNamespaces.eld | 2 +- test/fixtures/IndexClass1-indexed.eld | 2 +- test/fixtures/IndexClass1.eld | 2 +- test/fixtures/IndexClass2-indexed.eld | 2 +- test/fixtures/IndexClass2.eld | 2 +- test/fixtures/NamespacedClass.eld | 2 +- test/phpinspect-test-env.el | 41 +++ test/phpinspect-test.el | 38 +-- test/test-buffer.el | 186 ++++++++++- test/test-class.el | 69 ++++ test/test-edtrack.el | 2 + test/test-index.el | 9 + test/test-meta.el | 67 ++++ test/test-splayt.el | 9 + test/test-toc.el | 50 +++ 39 files changed, 1587 insertions(+), 474 deletions(-) create mode 100644 benchmarks/appendage.el create mode 100644 phpinspect-toc.el create mode 100644 phpinspect-token-predicates.el create mode 100644 test/phpinspect-test-env.el create mode 100644 test/test-meta.el create mode 100644 test/test-toc.el