Home
last modified time | relevance | path

Searched refs:accessibility (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/third_party/typescript_eslint/packages/eslint-plugin/tests/rules/
Dexplicit-member-accessibility.test.ts19 accessibility: 'explicit',
33 accessibility: 'explicit',
47 accessibility: 'explicit',
61 accessibility: 'explicit',
75 accessibility: 'explicit',
89 accessibility: 'explicit',
103 accessibility: 'explicit',
149 options: [{ accessibility: 'explicit' }],
162 options: [{ accessibility: 'no-public' }],
178 options: [{ accessibility: 'no-public' }],
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/docs/rules/
Dexplicit-member-accessibility.md1 # Require explicit accessibility modifiers on class properties and methods (`explicit-member-access…
3 Leaving off accessibility modifier and making everything public can make
22 accessibility?: AccessibilityLevel;
34 accessibility: 'explicit',
46 "@typescript-eslint/explicit-member-accessibility": "off"
53 "@typescript-eslint/explicit-member-accessibility": ["error"]
60 ### `accessibility`
62 …ires no configuration and will enforce that every class member has an accessibility modifier. If y…
66 accessibility: 'explicit',
84 // No accessibility modifier
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dexplicit-member-accessibility.ts15 accessibility?: AccessibilityLevel; property
54 accessibility: accessibilityLevel,
78 defaultOptions: [{ accessibility: 'explicit' }],
81 const baseCheck: AccessibilityLevel = option.accessibility ?? 'explicit';
141 methodDefinition.accessibility === 'public'
150 } else if (check === 'explicit' && !methodDefinition.accessibility) {
213 classProperty.accessibility === 'public'
222 } else if (propCheck === 'explicit' && !classProperty.accessibility) {
256 if (!node.accessibility) {
262 if (node.accessibility === 'public' && node.readonly) {
Dmember-ordering.ts130 ['public', 'protected', 'private'].forEach(accessibility => {
132 all.push(`${accessibility}-${type}`); // e.g. `public-field`
137 const decoratedMemberType = `${accessibility}-decorated-${type}`;
154 all.push(`${accessibility}-${scope}-${type}`);
277 const accessibility = constant
278 'accessibility' in node && node.accessibility
279 ? node.accessibility
288 memberGroups.push(`${accessibility}-decorated-${type}`);
294 memberGroups.push(`${accessibility}-${scope}-${type}`);
298 memberGroups.push(`${accessibility}-${type}`);
Dno-empty-function.ts107 const { accessibility } = parent; constant
111 (accessibility === 'protected' && isAllowedProtectedConstructors) ||
113 (accessibility === 'private' && isAllowedPrivateConstructors) ||
/third_party/typescript/tests/baselines/reference/
DclassPropertyAsPrivate.errors.txt1 tests/cases/conformance/classes/members/accessibility/classPropertyAsPrivate.ts(3,17): error TS1056…
2 tests/cases/conformance/classes/members/accessibility/classPropertyAsPrivate.ts(4,17): error TS1056…
3 tests/cases/conformance/classes/members/accessibility/classPropertyAsPrivate.ts(8,24): error TS1056…
4 tests/cases/conformance/classes/members/accessibility/classPropertyAsPrivate.ts(9,24): error TS1056…
5 tests/cases/conformance/classes/members/accessibility/classPropertyAsPrivate.ts(15,3): error TS2341…
6 tests/cases/conformance/classes/members/accessibility/classPropertyAsPrivate.ts(16,3): error TS2341…
7 tests/cases/conformance/classes/members/accessibility/classPropertyAsPrivate.ts(17,3): error TS2341…
8 tests/cases/conformance/classes/members/accessibility/classPropertyAsPrivate.ts(18,3): error TS2341…
9 tests/cases/conformance/classes/members/accessibility/classPropertyAsPrivate.ts(20,3): error TS2341…
10 tests/cases/conformance/classes/members/accessibility/classPropertyAsPrivate.ts(21,3): error TS2341…
[all …]
DclassPropertyAsProtected.errors.txt1 tests/cases/conformance/classes/members/accessibility/classPropertyAsProtected.ts(3,19): error TS10…
2 tests/cases/conformance/classes/members/accessibility/classPropertyAsProtected.ts(4,19): error TS10…
3 tests/cases/conformance/classes/members/accessibility/classPropertyAsProtected.ts(8,26): error TS10…
4 tests/cases/conformance/classes/members/accessibility/classPropertyAsProtected.ts(9,26): error TS10…
5 tests/cases/conformance/classes/members/accessibility/classPropertyAsProtected.ts(15,3): error TS24…
6 tests/cases/conformance/classes/members/accessibility/classPropertyAsProtected.ts(16,3): error TS24…
7 tests/cases/conformance/classes/members/accessibility/classPropertyAsProtected.ts(17,3): error TS24…
8 tests/cases/conformance/classes/members/accessibility/classPropertyAsProtected.ts(18,3): error TS24…
9 tests/cases/conformance/classes/members/accessibility/classPropertyAsProtected.ts(20,3): error TS24…
10 tests/cases/conformance/classes/members/accessibility/classPropertyAsProtected.ts(21,3): error TS24…
[all …]
DprotectedInstanceMemberAccessibility.errors.txt1 tests/cases/conformance/classes/members/accessibility/protectedInstanceMemberAccessibility.ts(14,23…
2 tests/cases/conformance/classes/members/accessibility/protectedInstanceMemberAccessibility.ts(16,24…
3 tests/cases/conformance/classes/members/accessibility/protectedInstanceMemberAccessibility.ts(18,24…
4 tests/cases/conformance/classes/members/accessibility/protectedInstanceMemberAccessibility.ts(19,24…
5 tests/cases/conformance/classes/members/accessibility/protectedInstanceMemberAccessibility.ts(22,20…
6 tests/cases/conformance/classes/members/accessibility/protectedInstanceMemberAccessibility.ts(23,20…
7 tests/cases/conformance/classes/members/accessibility/protectedInstanceMemberAccessibility.ts(24,20…
8 tests/cases/conformance/classes/members/accessibility/protectedInstanceMemberAccessibility.ts(25,20…
9 tests/cases/conformance/classes/members/accessibility/protectedInstanceMemberAccessibility.ts(31,20…
10 tests/cases/conformance/classes/members/accessibility/protectedInstanceMemberAccessibility.ts(34,20…
[all …]
DprivateProtectedMembersAreNotAccessibleDestructuring.errors.txt1 tests/cases/conformance/classes/members/accessibility/privateProtectedMembersAreNotAccessibleDestru…
2 tests/cases/conformance/classes/members/accessibility/privateProtectedMembersAreNotAccessibleDestru…
3 tests/cases/conformance/classes/members/accessibility/privateProtectedMembersAreNotAccessibleDestru…
4 tests/cases/conformance/classes/members/accessibility/privateProtectedMembersAreNotAccessibleDestru…
5 tests/cases/conformance/classes/members/accessibility/privateProtectedMembersAreNotAccessibleDestru…
6 tests/cases/conformance/classes/members/accessibility/privateProtectedMembersAreNotAccessibleDestru…
7 tests/cases/conformance/classes/members/accessibility/privateProtectedMembersAreNotAccessibleDestru…
8 tests/cases/conformance/classes/members/accessibility/privateProtectedMembersAreNotAccessibleDestru…
9 tests/cases/conformance/classes/members/accessibility/privateProtectedMembersAreNotAccessibleDestru…
10 tests/cases/conformance/classes/members/accessibility/privateProtectedMembersAreNotAccessibleDestru…
[all …]
DprivateClassPropertyAccessibleWithinClass.errors.txt1 tests/cases/conformance/classes/members/accessibility/privateClassPropertyAccessibleWithinClass.ts(…
2 tests/cases/conformance/classes/members/accessibility/privateClassPropertyAccessibleWithinClass.ts(…
3 tests/cases/conformance/classes/members/accessibility/privateClassPropertyAccessibleWithinClass.ts(…
4 tests/cases/conformance/classes/members/accessibility/privateClassPropertyAccessibleWithinClass.ts(…
5 tests/cases/conformance/classes/members/accessibility/privateClassPropertyAccessibleWithinClass.ts(…
6 tests/cases/conformance/classes/members/accessibility/privateClassPropertyAccessibleWithinClass.ts(…
7 tests/cases/conformance/classes/members/accessibility/privateClassPropertyAccessibleWithinClass.ts(…
8 tests/cases/conformance/classes/members/accessibility/privateClassPropertyAccessibleWithinClass.ts(…
11 ==== tests/cases/conformance/classes/members/accessibility/privateClassPropertyAccessibleWithinClas…
DprotectedClassPropertyAccessibleWithinSubclass2.errors.txt1 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclas…
2 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclas…
3 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclas…
4 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclas…
5 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclas…
6 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclas…
7 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclas…
8 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclas…
9 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclas…
10 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclas…
[all …]
DprotectedClassPropertyAccessibleWithinNestedSubclass1.errors.txt1 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedS…
2 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedS…
3 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedS…
4 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedS…
5 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedS…
6 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedS…
7 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedS…
8 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedS…
9 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedS…
10 tests/cases/conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedS…
[all …]
DprivateNamesIncompatibleModifiers.errors.txt1 …ateNames/privateNamesIncompatibleModifiers.ts(2,5): error TS18010: An accessibility modifier canno…
2 …ateNames/privateNamesIncompatibleModifiers.ts(3,5): error TS18010: An accessibility modifier canno…
3 …ateNames/privateNamesIncompatibleModifiers.ts(4,5): error TS18010: An accessibility modifier canno…
12 !!! error TS18010: An accessibility modifier cannot be used with a private identifier.
15 !!! error TS18010: An accessibility modifier cannot be used with a private identifier.
18 !!! error TS18010: An accessibility modifier cannot be used with a private identifier.
DprivateInstanceMemberAccessibility.errors.txt1 tests/cases/conformance/classes/members/accessibility/privateInstanceMemberAccessibility.ts(5,7): e…
3 tests/cases/conformance/classes/members/accessibility/privateInstanceMemberAccessibility.ts(6,15): …
4 tests/cases/conformance/classes/members/accessibility/privateInstanceMemberAccessibility.ts(8,22): …
5 tests/cases/conformance/classes/members/accessibility/privateInstanceMemberAccessibility.ts(10,15):…
6 tests/cases/conformance/classes/members/accessibility/privateInstanceMemberAccessibility.ts(12,12):…
9 ==== tests/cases/conformance/classes/members/accessibility/privateInstanceMemberAccessibility.ts (5…
DclassPropertyIsPublicByDefault.errors.txt1 tests/cases/conformance/classes/members/accessibility/classPropertyIsPublicByDefault.ts(3,9): error…
2 tests/cases/conformance/classes/members/accessibility/classPropertyIsPublicByDefault.ts(4,9): error…
3 tests/cases/conformance/classes/members/accessibility/classPropertyIsPublicByDefault.ts(8,16): erro…
4 tests/cases/conformance/classes/members/accessibility/classPropertyIsPublicByDefault.ts(9,16): erro…
7 ==== tests/cases/conformance/classes/members/accessibility/classPropertyIsPublicByDefault.ts (4 err…
DindexSignatureWithAccessibilityModifier.errors.txt2 …odifier.ts(2,13): error TS1018: An index signature parameter cannot have an accessibility modifier.
4 …odifier.ts(6,13): error TS1018: An index signature parameter cannot have an accessibility modifier.
13 !!! error TS1018: An index signature parameter cannot have an accessibility modifier.
21 !!! error TS1018: An index signature parameter cannot have an accessibility modifier.
DprotectedStaticClassPropertyAccessibleWithinSubclass.errors.txt1 tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinS…
2 tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinS…
3 tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinS…
4 tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinS…
5 tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinS…
6 tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinS…
7 tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinS…
10 ==== tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWi…
DprivateStaticMemberAccessibility.errors.txt1 tests/cases/conformance/classes/members/accessibility/privateStaticMemberAccessibility.ts(6,23): er…
2 tests/cases/conformance/classes/members/accessibility/privateStaticMemberAccessibility.ts(7,23): er…
5 ==== tests/cases/conformance/classes/members/accessibility/privateStaticMemberAccessibility.ts (2 e…
DprotectedStaticClassPropertyAccessibleWithinSubclass2.errors.txt1 tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinS…
2 tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinS…
5 ==== tests/cases/conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWi…
DparserIndexSignature2.errors.txt2 …nature2.ts(2,11): error TS1018: An index signature parameter cannot have an accessibility modifier.
11 !!! error TS1018: An index signature parameter cannot have an accessibility modifier.
DprivateStaticNotAccessibleInClodule.errors.txt1 tests/cases/conformance/classes/members/accessibility/privateStaticNotAccessibleInClodule.ts(9,22):…
4 ==== tests/cases/conformance/classes/members/accessibility/privateStaticNotAccessibleInClodule.ts (…
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/semantics/
Daccessibility.dart7 /// Singleton for accessing accessibility announcements from the platform.
11 /// Attaches accessibility announcements coming from the 'flutter/accessibility'
28 /// Timer that times when the accessibility element should be removed from the
35 /// The duration the accessibility announcements stay on the DOM.
41 /// 'flutter/accessibility' to the assistive technologies.
48 /// It also has id 'accessibility-element' for testing purposes.
53 /// Decodes the message coming from the 'flutter/accessibility' channel.
75 liveRegion.setAttribute('id', 'accessibility-element');
/third_party/typescript/src/compiler/transformers/declarations/
Ddiagnostics.ts80 symbolAccessibilityResult.accessibility === SymbolAccessibility.CannotBeNamed ?
87 symbolAccessibilityResult.accessibility === SymbolAccessibility.CannotBeNamed ?
111 symbolAccessibilityResult.accessibility === SymbolAccessibility.CannotBeNamed ?
118 symbolAccessibilityResult.accessibility === SymbolAccessibility.CannotBeNamed ?
166 symbolAccessibilityResult.accessibility === SymbolAccessibility.CannotBeNamed ?
178 … symbolAccessibilityResult.accessibility === SymbolAccessibility.CannotBeNamed ?
185 … symbolAccessibilityResult.accessibility === SymbolAccessibility.CannotBeNamed ?
227 … symbolAccessibilityResult.accessibility === SymbolAccessibility.CannotBeNamed ?
234 … symbolAccessibilityResult.accessibility === SymbolAccessibility.CannotBeNamed ?
275 … symbolAccessibilityResult.accessibility === SymbolAccessibility.CannotBeNamed ?
[all …]
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/
Daccessibility_text_entry.mm31 // This method is required but not called by accessibility API for
37 // This method is required but not called by accessibility API for
43 // This method is required but not called by accessibility API for
56 // This method is required but not called by accessibility API for
65 // This method is required but not called by accessibility API for
72 // This method is required but not called by accessibility API for
79 // This method is required but not called by accessibility API for
87 // This method is required but not called by accessibility API for
95 // This method is required but not called by accessibility API for
113 // This method is required but not called by accessibility API for
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/semantics/
Dsemantics_service.dart13 /// Allows access to the platform's accessibility services.
16 /// accessibility bridge in Flutter's engine.
28 /// For example a camera application can use this method to make accessibility
32 await SystemChannels.accessibility.send(event.toMap());
41 await SystemChannels.accessibility.send(event.toMap());

12345678910>>...13