enum LexerState
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Where MySQL's lexer resumes after a token that decides how the next one is read.

MySQL reads a word after . as an identifier even when it is a keyword, reads a host name after @, and reads the name after @@ as a keyword or identifier; only the ordinary start state skips whitespace first.

Cases§

case Start
case IdentifierSeparator
case IdentifierStart
case Hostname
case SystemVariable
case IdentifierOrKeyword

Test cases 11§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 10

Relations§

Constant reads 21
Type declarations 1