(declaration *ast.Node)
| 803 | } |
| 804 | |
| 805 | func isDeclarationReadonly(declaration *ast.Node) bool { |
| 806 | return ast.GetCombinedModifierFlags(declaration)&ast.ModifierFlagsReadonly != 0 && !ast.IsParameterPropertyDeclaration(declaration, declaration.Parent) |
| 807 | } |
| 808 | |
| 809 | // orderedSetMapThreshold is the size at which an orderedSet materializes its dedup map. |
| 810 | // Below this, contains() scans the values slice. |
no test coverage detected