public function __construct()
 {
     if (!class_exists('ExtParserFunctions')) {
         throw new ParserFunctionsNotFoundException();
     }
     # FIXME: Strict Standards: Non-static method ExtParserFunctions::getExprParser() should not be called statically, assuming $this from incompatible context in MathStatFunctions.php on line 34
     $this->exprParser = ExtParserFunctions::getExprParser();
 }
 public function expr($expression = null)
 {
     $this->checkType('mw.ext.ParserFunctions.expr', 1, $expression, 'string');
     try {
         return array(ExtParserFunctions::getExprParser()->doExpression($expression));
     } catch (ExprError $e) {
         throw new Scribunto_LuaError($e->getMessage());
     }
 }