/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/types/specifying_members/property_signatures/ |
D | property_signatures.ts | 26 …t fname: { fristName: string, middleName?: string, lastName: string; } = { fristName: "NARC", last… variable 27 let f2name: { fristName: string, middleName?: string, lastName: string; } = { variable 30 lastName: "Newton", 32 function fullName(name: { fristName: string, middleName?: string, lastName: string; }): string { 34 return name.fristName + " " + name.middleName + " " + name.lastName; 36 return name.fristName + " " + name.lastName;
|
/third_party/typescript/tests/baselines/reference/ |
D | checkObjectDefineProperty.types | 16 x.lastName; 17 >x.lastName : string 19 >lastName : string 57 x.lastName = "should fail"; 58 >x.lastName = "should fail" : "should fail" 59 >x.lastName : any 61 >lastName : any 114 Object.defineProperty(x, "lastName", { value: "Smith", writable: false }); 115 >Object.defineProperty(x, "lastName", { value: "Smith", writable: false }) : typeof x 120 >"lastName" : "lastName" [all …]
|
D | checkObjectDefineProperty.errors.txt | 1 tests/cases/conformance/jsdoc/validate.ts(14,3): error TS2540: Cannot assign to 'lastName' because … 12 x.lastName; 21 x.lastName = "should fail"; 23 !!! error TS2540: Cannot assign to 'lastName' because it is a read-only property. 38 Object.defineProperty(x, "lastName", { value: "Smith", writable: false }); 67 …const expected = /** @type {{name: string, readonly middleInit: string, readonly lastName: string,…
|
D | checkObjectDefineProperty.symbols | 16 x.lastName; 17 >x.lastName : Symbol(x.lastName, Decl(index.js, 2, 55)) 19 >lastName : Symbol(x.lastName, Decl(index.js, 2, 55)) 51 x.lastName = "should fail"; 52 >x.lastName : Symbol(x.lastName, Decl(index.js, 2, 55)) 54 >lastName : Symbol(x.lastName, Decl(index.js, 2, 55)) 92 Object.defineProperty(x, "lastName", { value: "Smith", writable: false }); 97 >"lastName" : Symbol(x.lastName, Decl(index.js, 2, 55)) 179 const expected = /** @type {{name: string, readonly middleInit: string, readonly lastName: string, …
|
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-func-props/ |
D | arkts-no-func-props-4-error.ets | 17 function formatName(firstName: string, lastName: string): string { 18 return `${lastName}, ${firstName}`; 21 formatName.fullName = (firstName: string, lastName: string): string => { 22 return `${firstName} ${lastName}`; 25 formatName.getInitials = (firstName: string, lastName: string): string => { 27 const lastInitial = lastName.charAt(0).toUpperCase();
|
D | arkts-no-func-props-4-ok.ets | 18 static formatName(firstName: string, lastName: string): string { 19 return `${lastName}, ${firstName}`; 21 static fullName = (firstName: string, lastName: string): string => { 22 return `${firstName} ${lastName}`; 24 static getInitials = (firstName: string, lastName: string): string => { 26 const lastInitial = lastName.charAt(0).toUpperCase();
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/ |
D | CustomFormatterPersonTest.java | 31 final String lastName; field in CustomFormatterPersonTest.Person 33 public Person(String title, String firstName, String lastName) { in Person() argument 36 this.lastName = lastName; in Person() 41 …eturn "Person {title='" + title + "', firstName='" + firstName + "', lastName='" + lastName + "'}"; in toString() 74 result = person.title + " " + person.firstName + " " + person.lastName; in format() 78 ? person.firstName + " " + person.lastName in format() 84 ? person.title + " " + person.lastName in format()
|
/third_party/jerryscript/tests/jerry/ |
D | object-literal.js | 17 lastName:"Doe", property 26 assert (person.lastName === "Doe"); 43 john.lastName = "Doe"; 48 assert (person.lastName === john.lastName);
|
/third_party/typescript/tests/arkTSTest/testcase/arkts-identifiers-as-prop-names/ |
D | arkts-identifiers-as-prop-names-8-error.ets | 22 const lastName = Symbol("lastName"); 25 [lastName]: "Doe", 29 console.log(person[lastName]); // output: Doe
|
/third_party/typescript/tests/cases/conformance/jsdoc/ |
D | checkObjectDefineProperty.ts | 56 x.lastName; 65 x.lastName = "should fail";
|
/third_party/typescript/tests/baselines/reference/tsbuild/noEmitOnError/ |
D | syntax-errors.js | 25 lastName: 'sdsd' property 106 lastName: 'sdsd' property 145 lastName: 'sdsd' property
|
D | syntax-errors-with-incremental.js | 25 lastName: 'sdsd' property 159 lastName: 'sdsd' property 198 lastName: 'sdsd' property
|
/third_party/typescript/tests/baselines/reference/tsc/incremental/ |
D | with-noEmitOnError-syntax-errors.js | 25 lastName: 'sdsd' property 189 lastName: 'sdsd' property 222 lastName: 'sdsd' property
|
/third_party/typescript/tests/projects/noEmitOnError/src/ |
D | main.ts | 3 lastName: 'sdsd'
|
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-umd/arkts-no-umd-4-ok/ |
D | arkts-no-umd-4-ok.ts | 20 lastName: string; property
|
/third_party/icu/icu4c/source/tools/gencnval/ |
D | gencnval.c | 857 const char *lastName; in resolveAliases() local 865 lastName = GET_ALIAS_STR(knownAliases[0]); in resolveAliases() 869 if (ucnv_compareNames(lastName, GET_ALIAS_STR(knownAliases[idx])) == 0) { in resolveAliases() 879 lastName, in resolveAliases() 892 lastName, in resolveAliases() 909 lastName = GET_ALIAS_STR(knownAliases[idx]); in resolveAliases()
|
/third_party/skia/third_party/externals/icu/source/tools/gencnval/ |
D | gencnval.c | 856 const char *lastName; in resolveAliases() local 864 lastName = GET_ALIAS_STR(knownAliases[0]); in resolveAliases() 868 if (ucnv_compareNames(lastName, GET_ALIAS_STR(knownAliases[idx])) == 0) { in resolveAliases() 878 lastName, in resolveAliases() 891 lastName, in resolveAliases() 908 lastName = GET_ALIAS_STR(knownAliases[idx]); in resolveAliases()
|
/third_party/typescript/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/ |
D | with-noEmitOnError.js | 10 lastName: 'sdsd' property 136 lastName: 'sdsd' property 200 lastName: 'sdsd' property
|
D | with-noEmitOnError-with-incremental.js | 10 lastName: 'sdsd' property 213 lastName: 'sdsd' property 336 lastName: 'sdsd' property
|
/third_party/typescript/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/ |
D | with-noEmitOnError-with-incremental.js | 10 lastName: 'sdsd' property 212 lastName: 'sdsd' property 334 lastName: 'sdsd' property
|
D | with-noEmitOnError.js | 10 lastName: 'sdsd' property 136 lastName: 'sdsd' property 200 lastName: 'sdsd' property
|
/third_party/typescript/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/ |
D | with-noEmitOnError-with-incremental.js | 10 lastName: 'sdsd' property 211 lastName: 'sdsd' property 326 lastName: 'sdsd' property
|
D | with-noEmitOnError.js | 10 lastName: 'sdsd' property 136 lastName: 'sdsd' property 194 lastName: 'sdsd' property
|
/third_party/typescript/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/ |
D | with-noEmitOnError.js | 10 lastName: 'sdsd' property 136 lastName: 'sdsd' property 194 lastName: 'sdsd' property
|
/third_party/typescript/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/ |
D | with-noEmitOnError-with-incremental.js | 10 lastName: 'sdsd' property 211 lastName: 'sdsd' property 326 lastName: 'sdsd' property
|