Home
last modified time | relevance | path

Searched defs:tokens (Results 1 – 17 of 17) sorted by relevance

/PHP-Parser/lib/PhpParser/Lexer/TokenEmulator/
H A DKeywordEmulator.php16 protected function isKeywordContext(array $tokens, int $pos): bool {
25 public function emulate(string $code, array $tokens): array {
38 private function getPreviousNonSpaceToken(array $tokens, int $start): ?Token {
50 public function reverseEmulate(string $code, array $tokens): array {
H A DAsymmetricVisibilityTokenEmulator.php19 public function emulate(string $code, array $tokens): array {
44 public function reverseEmulate(string $code, array $tokens): array {
72 protected function isKeywordContext(array $tokens, int $pos): bool {
82 private function getPreviousNonSpaceToken(array $tokens, int $start): ?Token {
H A DNullsafeTokenEmulator.php17 public function emulate(string $code, array $tokens): array {
56 public function reverseEmulate(string $code, array $tokens): array {
H A DExplicitOctalEmulator.php17 public function emulate(string $code, array $tokens): array {
41 public function reverseEmulate(string $code, array $tokens): array {
H A DAttributeEmulator.php17 public function emulate(string $code, array $tokens): array {
34 public function reverseEmulate(string $code, array $tokens): array {
H A DTokenEmulator.php18 abstract public function emulate(string $code, array $tokens): array;
24 abstract public function reverseEmulate(string $code, array $tokens): array;
H A DReverseEmulator.php26 public function emulate(string $code, array $tokens): array {
30 public function reverseEmulate(string $code, array $tokens): array {
H A DEnumTokenEmulator.php20 protected function isKeywordContext(array $tokens, int $pos): bool {
H A DReadonlyTokenEmulator.php20 protected function isKeywordContext(array $tokens, int $pos): bool {
H A DReadonlyFunctionTokenEmulator.php27 public function reverseEmulate(string $code, array $tokens): array {
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DCommentAnnotatingVisitor.php14 private array $tokens; variable in PhpParser\\NodeVisitor\\CommentAnnotatingVisitor
23 public function __construct(array $tokens) {
/PHP-Parser/tools/fuzzing/
H A Dtarget.php39 private $tokens; variable in AnonymousClass0557d2a90100
42 public function setTokens(array $tokens): void {
/PHP-Parser/lib/PhpParser/
H A DLexer.php69 protected function postprocessTokens(array &$tokens, ErrorHandler $errorHandler): void {
H A DParserAbstract.php134 protected array $tokens; variable in PhpParser\\ParserAbstract
/PHP-Parser/lib/PhpParser/Internal/
H A DTokenStream.php14 private array $tokens; variable in PhpParser\\Internal\\TokenStream
23 public function __construct(array $tokens, int $tabWidth) {
/PHP-Parser/lib/PhpParser/Lexer/
H A DEmulative.php125 private function fixupTokens(array $tokens): array {
/PHP-Parser/test/PhpParser/Lexer/
H A DEmulativeTest.php121 private function assertSameTokens(array $expectedTokens, array $tokens): void {

Completed in 16 milliseconds