Home
last modified time | relevance | path

Searched refs:lastName (Results 1 – 25 of 43) sorted by relevance

12

/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/types/specifying_members/property_signatures/
Dproperty_signatures.ts26 …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/
DcheckObjectDefineProperty.types16 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 …]
DcheckObjectDefineProperty.errors.txt1 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,…
DcheckObjectDefineProperty.symbols16 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/
Darkts-no-func-props-4-error.ets17 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();
Darkts-no-func-props-4-ok.ets18 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/
DCustomFormatterPersonTest.java31 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/
Dobject-literal.js17 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/
Darkts-identifiers-as-prop-names-8-error.ets22 const lastName = Symbol("lastName");
25 [lastName]: "Doe",
29 console.log(person[lastName]); // output: Doe
/third_party/typescript/tests/cases/conformance/jsdoc/
DcheckObjectDefineProperty.ts56 x.lastName;
65 x.lastName = "should fail";
/third_party/typescript/tests/baselines/reference/tsbuild/noEmitOnError/
Dsyntax-errors.js25 lastName: 'sdsd' property
106 lastName: 'sdsd' property
145 lastName: 'sdsd' property
Dsyntax-errors-with-incremental.js25 lastName: 'sdsd' property
159 lastName: 'sdsd' property
198 lastName: 'sdsd' property
/third_party/typescript/tests/baselines/reference/tsc/incremental/
Dwith-noEmitOnError-syntax-errors.js25 lastName: 'sdsd' property
189 lastName: 'sdsd' property
222 lastName: 'sdsd' property
/third_party/typescript/tests/projects/noEmitOnError/src/
Dmain.ts3 lastName: 'sdsd'
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-umd/arkts-no-umd-4-ok/
Darkts-no-umd-4-ok.ts20 lastName: string; property
/third_party/icu/icu4c/source/tools/gencnval/
Dgencnval.c857 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/
Dgencnval.c856 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/
Dwith-noEmitOnError.js10 lastName: 'sdsd' property
136 lastName: 'sdsd' property
200 lastName: 'sdsd' property
Dwith-noEmitOnError-with-incremental.js10 lastName: 'sdsd' property
213 lastName: 'sdsd' property
336 lastName: 'sdsd' property
/third_party/typescript/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/
Dwith-noEmitOnError-with-incremental.js10 lastName: 'sdsd' property
212 lastName: 'sdsd' property
334 lastName: 'sdsd' property
Dwith-noEmitOnError.js10 lastName: 'sdsd' property
136 lastName: 'sdsd' property
200 lastName: 'sdsd' property
/third_party/typescript/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/
Dwith-noEmitOnError-with-incremental.js10 lastName: 'sdsd' property
211 lastName: 'sdsd' property
326 lastName: 'sdsd' property
Dwith-noEmitOnError.js10 lastName: 'sdsd' property
136 lastName: 'sdsd' property
194 lastName: 'sdsd' property
/third_party/typescript/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/
Dwith-noEmitOnError.js10 lastName: 'sdsd' property
136 lastName: 'sdsd' property
194 lastName: 'sdsd' property
/third_party/typescript/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/
Dwith-noEmitOnError-with-incremental.js10 lastName: 'sdsd' property
211 lastName: 'sdsd' property
326 lastName: 'sdsd' property

12