Home
last modified time | relevance | path

Searched refs:TokenSource (Results 1 – 7 of 7) sorted by relevance

/plugin/combo/vendor/antlr/antlr4-php-runtime/src/
H A DCommonToken.php99 if ($source !== null && !$source->a instanceof TokenSource) {
115 if ($tokenSource instanceof TokenSource) {
261 public function getTokenSource() : ?TokenSource
265 if ($source !== null && !$source instanceof TokenSource) {
H A DCommonTokenStream.php50 * @param TokenSource $tokenSource The token source.
53 public function __construct(TokenSource $tokenSource, int $channel = Token::DEFAULT_CHANNEL)
H A DBufferedTokenStream.php11 * {@see TokenSource} on-demand, and places the tokens in a buffer to provide
23 * The {@see TokenSource} from which tokens for this stream are fetched.
25 * @var TokenSource
74 public function __construct(TokenSource $tokenSource)
79 public function getTokenSource() : TokenSource
273 public function setTokenSource(TokenSource $tokenSource) : void
H A DTokenSource.php8 * A source of tokens must provide a sequence of tokens via {@see TokenSource::nextToken()}
22 interface TokenSource interface
H A DToken.php100 * Gets the {@see TokenSource} which created this token.
102 public function getTokenSource() : ?TokenSource;
H A DTokenStream.php40 * Gets the underlying {@see TokenSource} which provides tokens for this stream.
42 public function getTokenSource() : TokenSource;
H A DLexer.php18 abstract class Lexer extends Recognizer implements TokenSource
32 /** @var Pair Pair<TokenSource, CharStream> */