formatSelectExprQuoteAware formats a SelectExpr (used in function arguments) with quote awareness.
(expr parser.SelectExpr)
| 5153 | |
| 5154 | // formatSelectExprQuoteAware formats a SelectExpr (used in function arguments) with quote awareness. |
| 5155 | func (g *Generator) formatSelectExprQuoteAware(expr parser.SelectExpr) string { |
| 5156 | switch e := expr.(type) { |
| 5157 | case *parser.AliasedExpr: |
| 5158 | return g.formatExprQuoteAware(e.Expr) |
| 5159 | case *parser.StarExpr: |
| 5160 | return parser.String(e) |
| 5161 | default: |
| 5162 | return parser.String(expr) |
| 5163 | } |
| 5164 | } |
| 5165 | |
| 5166 | func areSameIdentityDefinition(identityA *Identity, identityB *Identity) bool { |
| 5167 | if identityA == nil && identityB == nil { |
no test coverage detected