(symbol *Symbol)
| 70 | ) |
| 71 | |
| 72 | func SymbolName(symbol *Symbol) string { |
| 73 | if symbol.ValueDeclaration != nil && IsPrivateIdentifierClassElementDeclaration(symbol.ValueDeclaration) { |
| 74 | return symbol.ValueDeclaration.Name().Text() |
| 75 | } |
| 76 | return symbol.Name |
| 77 | } |
| 78 | |
| 79 | // EscapeAllInternalSymbolNames replaces internal symbol name markers ("\xFE") with "__". |
| 80 | func EscapeAllInternalSymbolNames(name string) string { |
no test coverage detected