41 'not-within' =>
'nrb',
77 if ( isset( self::$aliasMap[
$name] ) ) {
93 $leftType = self::$typeSpecMap[$typeSpec[0]];
94 $rightType = self::$typeSpecMap[$typeSpec[1]];
95 $resultType = self::$typeSpecMap[$typeSpec[2]];
97 $start = min( $this->pos, $left->pos,
$right->pos );
98 $end = max( $this->end, $left->end,
$right->end );
102 "{$left->rpn} {$right->rpn} {$this->name}",
105 if ( !$left->isType( $leftType ) ) {
106 $newExpr->error(
"invalid type for left operand: expected $leftType, got {$left->type}" );
109 if ( !
$right->isType( $rightType ) ) {
110 $newExpr->error(
"invalid type for right operand: expected $rightType, got {$right->type}" );