(n *parser.Create_virtual_table_stmtContext)
| 128 | } |
| 129 | |
| 130 | func (c *cc) convertCreate_virtual_table_stmtContext(n *parser.Create_virtual_table_stmtContext) ast.Node { |
| 131 | switch moduleName := n.Module_name().GetText(); moduleName { |
| 132 | case "fts5": |
| 133 | // https://www.sqlite.org/fts5.html |
| 134 | return c.convertCreate_virtual_table_fts5(n) |
| 135 | default: |
| 136 | return todo( |
| 137 | fmt.Sprintf("create_virtual_table. unsupported module name: %q", moduleName), |
| 138 | n, |
| 139 | ) |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | func (c *cc) convertCreate_virtual_table_fts5(n *parser.Create_virtual_table_stmtContext) ast.Node { |
| 144 | stmt := &ast.CreateTableStmt{ |
no test coverage detected