mediawiki-extensions-AbuseF.../includes/parser
Daimona Eaytoy 1abaff1aac Better handling of keywords and functions
Always run the keyword/function handler, even if there are DUNDEFINED
arguments, so that the handler can perform further validation on the
input and report any error to the user. However, replace DUNDEFINED with
DNULL before running the handler, to avoid special-casing DUNDEFINED in
every handler. If any argument was a DUNDEFINED, we will return
DUNDEFINED anyway.

Also centralize the keyword handling logic to a new method, like it
happens for functions.

Bug: T234339
Change-Id: I875cb77418a39790e91fe5867c49917bfe406ed4
2019-11-08 15:07:20 +01:00
..
AbuseFilterCachingParser.php Centralize the code for calling keywords 2019-11-08 15:02:17 +01:00
AbuseFilterParser.php Better handling of keywords and functions 2019-11-08 15:07:20 +01:00
AbuseFilterTokenizer.php Move parser tests back to /unit 2019-09-03 13:23:11 +00:00
AFPData.php build: Upgrade mediawiki-phan-config to 0.8.0 2019-10-09 19:12:51 +02:00
AFPException.php Move various classes to their own files 2016-12-17 11:40:10 -08:00
AFPParserState.php Revert "Revert "Add typehinting for every object-only parameter"" 2018-11-15 10:09:16 +01:00
AFPSyntaxTree.php Annotate the AST with var names before caching the AST 2019-09-13 19:43:50 +00:00
AFPToken.php Add doc for every class member 2019-03-17 11:40:24 +01:00
AFPTreeNode.php Annotate the AST with var names before caching the AST 2019-09-13 19:43:50 +00:00
AFPTreeParser.php build: Upgrade mediawiki-phan-config to 0.8.0 2019-10-09 19:12:51 +02:00
AFPUserVisibleException.php Explicitly forbid negative indexes in arrays 2019-11-08 05:55:56 +00:00