Lines Matching refs:op
291 $op = substr( $expression, $index, 1 );
296 if ( '-' === $op && ! $expecting_operator ) {
300 } elseif ( '_' === $op ) {
305 } elseif ( ( in_array( $op, $ops, true ) || $ex ) && $expecting_operator ) {
309 $op = '*';
314 …t() ) && in_array( $o2, $ops, true ) && ( $ops_r[ $op ] ? $ops_p[ $op ] < $ops_p[ $o2 ] : $ops_p[ …
319 $stack->push( $op ); // Finally put OUR operator onto the stack.
324 } elseif ( ')' === $op && $expecting_operator ) {
374 } elseif ( ',' === $op && $expecting_operator ) {
396 } elseif ( '(' === $op && ! $expecting_operator ) {
423 } elseif ( ')' === $op ) {
455 } elseif ( in_array( $op, $ops, true ) && ! $expecting_operator ) {
456 return $this->raise_error( 'unexpected_operator', $op );
465 if ( in_array( $op, $ops, true ) ) {
466 return $this->raise_error( 'operator_lacks_operand', $op );
480 while ( ! is_null( $op = $stack->pop() ) ) {
481 if ( '(' === $op ) {
485 $output[] = $op;