mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 10:15:24 +00:00
b2dc2c4dd8
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 |
||
---|---|---|
.. | ||
Exception | ||
AbuseFilterTokenizer.php | ||
AFPData.php | ||
AFPParserState.php | ||
AFPSyntaxTree.php | ||
AFPToken.php | ||
AFPTreeNode.php | ||
AFPTreeParser.php | ||
FilterEvaluator.php | ||
ParserStatus.php | ||
RuleCheckerFactory.php | ||
RuleCheckerStatus.php | ||
SyntaxChecker.php |