<?php
-
/**
* @author Niklas Laxström, Tim Starling
*
*
* @var array
*/
- static $opTypes = array(
+ private static $opTypes = array(
'or' => 'bbb',
'and' => 'bbb',
'is' => 'nnb',
*
* @var array
*/
- static $typeSpecMap = array(
+ private static $typeSpecMap = array(
'b' => 'boolean',
'n' => 'number',
'r' => 'range',
/**
* Map for converting the new operators introduced in Rev 33 to the old forms
*/
- static $aliasMap = array(
+ private static $aliasMap = array(
'%' => 'mod',
'!=' => 'not-in',
'=' => 'in'
if ( !$right->isType( $rightType ) ) {
$newExpr->error( "invalid type for right operand: expected $rightType, got {$right->type}" );
}
+
return $newExpr;
}
}