(i *oracle_element.Identifier)
| 430 | } |
| 431 | |
| 432 | func IdentifierToString(i *oracle_element.Identifier) string { |
| 433 | if i == nil { |
| 434 | return "" |
| 435 | } |
| 436 | if i.Typ == oracle_element.IdentifierTypeNonQuoted { |
| 437 | return strings.ToUpper(i.Value) |
| 438 | } else if i.Typ == oracle_element.IdentifierTypeQuoted { |
| 439 | return strings.TrimLeft(strings.TrimRight(i.Value, `"`), `"`) |
| 440 | } |
| 441 | return "" |
| 442 | } |
| 443 | |
| 444 | func HandlingForSpecialCharacters(i *oracle_element.Identifier) string { |
| 445 | return fmt.Sprintf("`%s`", IdentifierToString(i)) |
no outgoing calls
no test coverage detected