MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / start_token

Method start_token

sql/sql_lex.h:1968–1977  ·  view source on GitHub ↗

Mark the stream position as the start of a new token. */

Source from the content-addressed store, hash-verified

1966
1967 /** Mark the stream position as the start of a new token. */
1968 void start_token()
1969 {
1970 m_tok_start_prev= m_tok_start;
1971 m_tok_start= m_ptr;
1972 m_tok_end= m_ptr;
1973
1974 m_cpp_tok_start_prev= m_cpp_tok_start;
1975 m_cpp_tok_start= m_cpp_ptr;
1976 m_cpp_tok_end= m_cpp_ptr;
1977 }
1978
1979 /**
1980 Adjust the starting position of the current token.

Callers 1

lex_one_tokenFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected