MCPcopy Create free account
hub / github.com/araddon/qlbridge / tv

Function tv

lex/lexer_test.go:28–30  ·  view source on GitHub ↗
(t TokenType, v string)

Source from the content-addressed store, hash-verified

26}
27
28func tv(t TokenType, v string) Token {
29 return Token{T: t, V: v}
30}
31
32func token(lexString string, runLex StateFn) Token {
33 l := NewSqlLexer(lexString)

Callers 15

TestLexSqlDescribeFunction · 0.70
TestLexSqlShowFunction · 0.70
TestLexSqlCreateFunction · 0.70
TestLexSqlDropFunction · 0.70
TestLexSqlSelectFunction · 0.70
TestLexExpressionsFunction · 0.70
TestLexCommentTypesFunction · 0.70
TestLexSqlIdentitiesFunction · 0.70
TestWithDialectFunction · 0.70
TestWhereClausesFunction · 0.70
TestLexSqlPreparedStmtFunction · 0.70
TestLexGroupByFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected