Lines Matching refs:input
52 * The input stream.
59 protected $input;
119 public function __construct(TokenStream $input)
125 $this->setInputStream($input);
131 if ($this->input !== null) {
132 $this->input->seek(0);
150 * Match current input symbol against `ttype`. If the symbol type matches,
167 * @throws RecognitionException If the current input symbol did not match
197 * Match current input symbol as a wildcard. If the symbol type matches
211 * @throws RecognitionException If the current input symbol did not match
288 * <em>deterministic</em>, i.e. for identical input the calls to listener
428 final public function setInputStream(IntStream $input) : void
430 if (!$input instanceof TokenStream) {
434 $this->setTokenStream($input);
439 return $this->input;
444 if ($this->input === null) {
448 return $this->input;
452 public function setTokenStream(TokenStream $input) : void
454 $this->input = null;
456 $this->input = $input;
460 * Match needs to return the current input symbol, which gets put
498 * E.g., given the following input with `A` being the current
818 * Computes the set of input symbols which could follow the current parser