function AbstractLexer::getCatchablePatterns
Lexical catchable patterns.
Return value
string[]
1 call to AbstractLexer::getCatchablePatterns()
- AbstractLexer::scan in vendor/
doctrine/ lexer/ src/ AbstractLexer.php - Scans the input string for tokens.
2 methods override AbstractLexer::getCatchablePatterns()
- DocLexer::getCatchablePatterns in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocLexer.php - Lexical catchable patterns.
- EmailLexer::getCatchablePatterns in vendor/
egulias/ email-validator/ src/ EmailLexer.php - Lexical catchable patterns.
File
-
vendor/
doctrine/ lexer/ src/ AbstractLexer.php, line 323
Class
- AbstractLexer
- Base class for writing simple lexers, i.e. for creating small DSLs.
Namespace
Doctrine\Common\LexerCode
protected abstract function getCatchablePatterns();