Lines Matching full:input
33 * Lexer original input string.
37 private $input; variable in Doctrine\\Common\\Lexer\\AbstractLexer
43 * - 'value' : the string value of the token in the input string
44 * - 'type' : the type of the token (identifier, numeric, string, input
46 * - 'position' : the position of the token in the input string
53 * Current lexer position in input string.
67 * The next token in the input.
81 * Sets the input data to be tokenized.
83 * The Lexer is immediately reset and the new input tokenized.
84 * Any unprocessed tokens from any previous input are lost.
86 * @param string $input The input to be tokenized.
90 public function setInput($input) argument
92 $this->input = $input;
96 $this->scan($input);
123 * Resets the lexer position on the input to the given position.
135 * Retrieve the original lexer's input until a given position.
143 return substr($this->input, 0, $position);
171 * Moves to the next token in the input string.
186 * Tells the lexer to skip input tokens until it sees a token with the given value.
239 * Scans the input string for tokens.
241 * @param string $input A query string.
245 protected function scan($input) argument
259 $matches = preg_split($regex, $input, -1, $flags);