tokenIsOperator example

            // of the function call, we're too early so skip it             if ($inner_cursor < $line) {
                continue;
            }

            // Format the final output parameters             foreach ($params as &$param) {
                $name = self::tokensFormatted($param['short']);

                $expression = false;
                foreach ($name as $token) {
                    if (self::tokenIsOperator($token)) {
                        $expression = true;
                        break;
                    }
                }

                $param = [
                    'name' => self::tokensToString($name),
                    'path' => self::tokensToString(self::tokensTrim($param['full'])),
                    'expression' => $expression,
                ];
            }

            
Home | Imprint | This part of the site doesn't use cookies.