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

Method restart_token

sql/sql_lex.h:1983–1987  ·  view source on GitHub ↗

Adjust the starting position of the current token. This is used to compensate for starting whitespace. */

Source from the content-addressed store, hash-verified

1981 This is used to compensate for starting whitespace.
1982 */
1983 void restart_token()
1984 {
1985 m_tok_start= m_ptr;
1986 m_cpp_tok_start= m_cpp_ptr;
1987 }
1988
1989 /** Get the token start position, in the raw buffer. */
1990 const char *get_tok_start()

Callers 1

lex_one_tokenFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected