mediawiki-extensions-AbuseF.../includes/parser
Daimona Eaytoy d515af0ae6 Add a new class for the CachingParser's AST
This allows a little bit more of abstraction: we can store other data in the
tree, without having to store it in a specific node (e.g. the variables map,
which is still unused). It also adds a few typehints, and specializes
the return value of eval'ing the AST: previously, it was the one of
evalNode, which wasn't guaranteed to be an AFPData. Now we have this
guarantee. Last but not least, we can now measure runtime metrics for
evalTree, which doesn't recurse.
Bonus: fix a check in the old parser, which used the wrong variable when
reporting outofbounds errors.

Change-Id: Iff806793b1d968e9bb6220f1459f3d0ac587c7da
2019-08-25 17:29:16 +00:00
..
AbuseFilterCachingParser.php Add a new class for the CachingParser's AST 2019-08-25 17:29:16 +00:00
AbuseFilterParser.php Add a new class for the CachingParser's AST 2019-08-25 17:29:16 +00:00
AbuseFilterTokenizer.php Move non-decimal numbers deprecation logging 2019-08-03 16:57:24 +00:00
AFPData.php Make some other AFPData methods non-static 2019-08-12 14:40:51 +02:00
AFPException.php
AFPParserState.php Revert "Revert "Add typehinting for every object-only parameter"" 2018-11-15 10:09:16 +01:00
AFPSyntaxTree.php Add a new class for the CachingParser's AST 2019-08-25 17:29:16 +00:00
AFPToken.php Add doc for every class member 2019-03-17 11:40:24 +01:00
AFPTreeNode.php Allow if without else 2019-08-20 19:36:14 +00:00
AFPTreeParser.php Add a new class for the CachingParser's AST 2019-08-25 17:29:16 +00:00
AFPUserVisibleException.php Ban variable variables 2019-08-11 01:47:35 +00:00