(expr ast.TableExpr)
| 867 | } |
| 868 | |
| 869 | func nodeLocStart(expr ast.TableExpr) int { |
| 870 | switch e := expr.(type) { |
| 871 | case *ast.TableRef: |
| 872 | return e.Loc.Start |
| 873 | case *ast.JoinClause: |
| 874 | return e.Loc.Start |
| 875 | case *ast.SubqueryExpr: |
| 876 | return e.Loc.Start |
| 877 | case *ast.JsonTableExpr: |
| 878 | return e.Loc.Start |
| 879 | } |
| 880 | return -1 |
| 881 | } |
| 882 | |
| 883 | func nodeLocEnd(expr ast.TableExpr) int { |
| 884 | switch e := expr.(type) { |
no outgoing calls
no test coverage detected