mediawiki-extensions-AbuseF.../includes/Parser
Daimona Eaytoy b2dc2c4dd8 Refactor ParserStatus
ParserStatus is now more lightweight, and doesn't know about "result"
and "from cache". Instead, it has an isValid() method which is merely a
shorthand for checking whether getException() is null.

Introduce a child class, RuleCheckerStatus, which knows about result and
cache and can be (un)serialized.

This removes the ambiguity of the $result field, and helps the
transition to a new RuleChecker class.

Change-Id: I0dac7ab4febbfdabe72596631db630411d967ab5
2021-09-17 11:25:54 +00:00
..
Exception Add a static analyzer for the filter language 2021-08-31 03:28:24 +02:00
AbuseFilterTokenizer.php More cleanup for parser-related classes 2021-09-10 12:50:20 +00:00
AFPData.php Move parser exceptions to specific namespace and rename them 2021-08-29 23:38:31 +00:00
AFPParserState.php Move parser classes to a dedicated namespace 2020-12-09 01:30:20 +00:00
AFPSyntaxTree.php Rename AbuseFilterCachingParser -> FilterEvaluator 2021-09-08 13:40:47 +02:00
AFPToken.php Move parser classes to a dedicated namespace 2020-12-09 01:30:20 +00:00
AFPTreeNode.php Add a static analyzer for the filter language 2021-08-31 03:28:24 +02:00
AFPTreeParser.php More cleanup for parser-related classes 2021-09-10 12:50:20 +00:00
FilterEvaluator.php Refactor ParserStatus 2021-09-17 11:25:54 +00:00
ParserStatus.php Refactor ParserStatus 2021-09-17 11:25:54 +00:00
RuleCheckerFactory.php More cleanup for parser-related classes 2021-09-10 12:50:20 +00:00
RuleCheckerStatus.php Refactor ParserStatus 2021-09-17 11:25:54 +00:00
SyntaxChecker.php Rename AbuseFilterCachingParser -> FilterEvaluator 2021-09-08 13:40:47 +02:00