Lines Matching refs:token
19 * of text from the input after the lexer creates a token (e.g. the
22 * {@see UnsupportedOperationException}). Explicitly setting the token text
27 * overhead of copying text for every token unless explicitly requested.
50 * This token factory does not explicitly copy token text when constructing
70 $token = new CommonToken($type, $source, $channel, $start, $stop);
72 $token->setLine($line);
73 $token->setCharPositionInLine($column);
76 $token->setText($text);
82 $token->setText($source->b->getText($start, $stop));
85 return $token;
90 $token = new CommonToken($type);
92 $token->setText($text);
94 return $token;