Home
last modified time | relevance | path

Searched refs:Person (Results 1 – 25 of 154) sorted by relevance

1234567

/third_party/typescript/tests/baselines/reference/
DcheckExportsObjectAssignPrototypeProperty.types4 import Person = require("./mod1");
5 >Person : typeof Person
7 const m1 = new Person("Name")
8 >m1 : Person
9 >new Person("Name") : Person
10 >Person : typeof Person
15 >m1 : Person
20 >m1 : Person
25 >m1 : Person
30 >m1 : Person
[all …]
DcheckExportsObjectAssignPrototypeProperty.symbols4 import Person = require("./mod1");
5 >Person : Symbol(Person, Decl(validator.ts, 0, 12))
7 const m1 = new Person("Name")
9 >Person : Symbol(Person, Decl(validator.ts, 0, 12))
12 >m1.thing : Symbol(Person.thing, Decl(mod1.js, 9, 2))
14 >thing : Symbol(Person.thing, Decl(mod1.js, 9, 2))
17 >m1.readonlyProp : Symbol(Person.readonlyProp, Decl(mod1.js, 10, 80))
19 >readonlyProp : Symbol(Person.readonlyProp, Decl(mod1.js, 10, 80))
22 >m1.rwAccessors : Symbol(Person.rwAccessors, Decl(mod1.js, 11, 93))
24 >rwAccessors : Symbol(Person.rwAccessors, Decl(mod1.js, 11, 93))
[all …]
DinferFromBindingPattern.types54 interface Person {
62 declare function selectJohn<K = Person>(props?: SelectProps<Person, K>): SelectResult<Person, K>;
63 >selectJohn : <K = Person>(props?: SelectProps<Person, K> | undefined) => SelectResult<Person, K>
64 >props : SelectProps<Person, K> | undefined
67 >person : Person
68 >selectJohn() : SelectResult<Person, Person>
69 >selectJohn : <K = Person>(props?: SelectProps<Person, K> | undefined) => SelectResult<Person, K>
72 >any : Person
73 >whatever : Person
74 >selectJohn() : SelectResult<Person, Person>
[all …]
DrequireEmitSemicolon.types12 public findPerson(id: number): P.Models.Person {
13 >findPerson : (id: number) => P.Models.Person
18 return new P.Models.Person("Rock");
19 >new P.Models.Person("Rock") : P.Models.Person
20 >P.Models.Person : typeof P.Models.Person
24 >Person : typeof P.Models.Person
33 export class Person {
34 >Person : Person
DspreadContextualTypedBindingPattern.symbols3 interface Person {
4 >Person : Symbol(Person, Decl(spreadContextualTypedBindingPattern.ts, 0, 0))
7 >naam : Symbol(Person.naam, Decl(spreadContextualTypedBindingPattern.ts, 1, 18))
10 >age : Symbol(Person.age, Decl(spreadContextualTypedBindingPattern.ts, 2, 15))
13 declare const bob: Person
15 >Person : Symbol(Person, Decl(spreadContextualTypedBindingPattern.ts, 0, 0))
17 declare const alice: Person
19 >Person : Symbol(Person, Decl(spreadContextualTypedBindingPattern.ts, 0, 0))
DrequireEmitSemicolon.js5 export class Person {
16 public findPerson(id: number): P.Models.Person {
17 return new P.Models.Person("Rock");
29 var Person = /** @class */ (function () { class
30 function Person(name) { class in anonymousFunctiona483cfb20100.anonymousFunctiona483cfb20200.Person
32 return Person;
34 Models.Person = Person;
48 return new P.Models.Person("Rock");
DlambdaPropSelf.symbols5 class Person {
6 >Person : Symbol(Person, Decl(lambdaPropSelf.ts, 0, 20))
9 >children : Symbol(Person.children, Decl(lambdaPropSelf.ts, 2, 14))
12 >name : Symbol(Person.name, Decl(lambdaPropSelf.ts, 5, 17))
16 >this.children : Symbol(Person.children, Decl(lambdaPropSelf.ts, 2, 14))
17 >this : Symbol(Person, Decl(lambdaPropSelf.ts, 0, 20))
18 >children : Symbol(Person.children, Decl(lambdaPropSelf.ts, 2, 14))
24 >addChild : Symbol(Person.addChild, Decl(lambdaPropSelf.ts, 7, 5))
26 >this.children : Symbol(Person.children, Decl(lambdaPropSelf.ts, 2, 14))
27 >this : Symbol(Person, Decl(lambdaPropSelf.ts, 0, 20))
[all …]
DrequireEmitSemicolon.symbols12 public findPerson(id: number): P.Models.Person {
17 >Person : Symbol(P.Models.Person, Decl(requireEmitSemicolon_0.ts, 0, 22))
19 return new P.Models.Person("Rock");
20 >P.Models.Person : Symbol(P.Models.Person, Decl(requireEmitSemicolon_0.ts, 0, 22))
24 >Person : Symbol(P.Models.Person, Decl(requireEmitSemicolon_0.ts, 0, 22))
32 export class Person {
33 >Person : Symbol(Person, Decl(requireEmitSemicolon_0.ts, 0, 22))
DrecursiveTypes1.symbols17 interface Person<U extends Person<U>> extends Entity<U> {
18 >Person : Symbol(Person, Decl(recursiveTypes1.ts, 3, 1))
20 >Person : Symbol(Person, Decl(recursiveTypes1.ts, 3, 1))
26 >n : Symbol(Person.n, Decl(recursiveTypes1.ts, 5, 57))
29 interface Customer extends Person<Customer> {
31 >Person : Symbol(Person, Decl(recursiveTypes1.ts, 3, 1))
DspreadContextualTypedBindingPattern.types3 interface Person {
11 declare const bob: Person
12 >bob : Person
14 declare const alice: Person
15 >alice : Person
22 >bob : Person
23 >alice : Person
DcheckExportsObjectAssignPrototypeProperty.errors.txt11 import Person = require("./mod1");
13 const m1 = new Person("Name")
49 function Person(name) {
52 Person.prototype.describe = function () {
53 return "Person called " + this.name;
55 Object.defineProperty(Person.prototype, "thing", { value: 42, writable: true });
56 Object.defineProperty(Person.prototype, "readonlyProp", { value: "Smith", writable: false });
57 …Object.defineProperty(Person.prototype, "rwAccessors", { get() { return 98122 }, set(_) { /*ignore…
58 Object.defineProperty(Person.prototype, "readonlyAccessor", { get() { return 21.75 } });
59 Object.defineProperty(Person.prototype, "setonlyAccessor", {
[all …]
DtypesOnlyExternalModuleStillHasInstance.symbols18 export interface Person {
19 >Person : Symbol(Person, Decl(foo_0.ts, 0, 0))
22 >name : Symbol(Person.name, Decl(foo_0.ts, 0, 25))
25 >age : Symbol(Person.age, Decl(foo_0.ts, 1, 14))
34 x: Person;
36 >Person : Symbol(Person, Decl(foo_0.ts, 0, 0))
DconstructorAsType.symbols2 var Person:new () => {name: string;} = function () {return {name:"joe"};};
3 >Person : Symbol(Person, Decl(constructorAsType.ts, 0, 3))
11 Person = Person2;
12 >Person : Symbol(Person, Decl(constructorAsType.ts, 0, 3))
DmetadataOfClassFromModule.js8 export class Person {
34 var Person = /** @class */ (function () { class
35 function Person() { class in anonymousFunction44f707e30100.Person
40 ], Person.prototype, "leftLeg", void 0);
41 return Person;
43 MyModule.Person = Person;
DconstructorAsType.types2 var Person:new () => {name: string;} = function () {return {name:"joe"};};
3 >Person : new () => { name: string;}
14 Person = Person2;
15 >Person = Person2 : new () => { name: string; }
16 >Person : new () => { name: string; }
/third_party/boost/libs/functional/test/
Dfunction_test.cpp133 class Person class
136 Person() {} in Person() function in Person
137 Person(const char *n) : name(n) {} in Person() function in Person
163 void do_set_name(Person *p, const std::string &name) in do_set_name()
168 void do_set_name_ref(Person &p, const std::string &name) in do_set_name_ref()
176 std::vector<Person> v1; in main()
182 const std::vector<Person> cv1(v1.begin(), v1.end()); in main()
190 Person person; in main()
191 Person &r = person; in main()
193 Person fred("Fred"); in main()
[all …]
/third_party/typescript/tests/cases/conformance/jsdoc/
DcheckExportsObjectAssignPrototypeProperty.ts10 function Person(name) { function
13 Person.prototype.describe = function () {
16 Object.defineProperty(Person.prototype, "thing", { value: 42, writable: true });
17 Object.defineProperty(Person.prototype, "readonlyProp", { value: "Smith", writable: false });
18 Object.defineProperty(Person.prototype, "rwAccessors", { get() { return 98122 }, set(_) { /*ignore*…
19 Object.defineProperty(Person.prototype, "readonlyAccessor", { get() { return 21.75 } });
20 Object.defineProperty(Person.prototype, "setonlyAccessor", {
26 module.exports = Person;
31 import Person = require("./mod1");
33 const m1 = new Person("Name")
/third_party/protobuf/csharp/src/AddressBook/
DAddressbook.cs41Person), global::Google.Protobuf.Examples.AddressBook.Person.Parser, new[]{ "Name", "Id", "Email",… in AddressbookReflection()
52 public sealed partial class Person : pb::IMessage<Person> class
57 …private static readonly pb::MessageParser<Person> _parser = new pb::MessageParser<Person>(() => ne…
60 public static pb::MessageParser<Person> Parser { get { return _parser; } }
73 public Person() { in Person() method in Google.Protobuf.Examples.AddressBook.Person
80 public Person(Person other) : this() { in Person() method in Google.Protobuf.Examples.AddressBook.Person
90 public Person Clone() { in Clone()
91 return new Person(this); in Clone()
132 …private static readonly pb::FieldCodec<global::Google.Protobuf.Examples.AddressBook.Person.Types.P…
133 …= pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNum…
[all …]
DAddPerson.cs43 private static Person PromptForAddress(TextReader input, TextWriter output) in PromptForAddress()
45 Person person = new Person(); in PromptForAddress()
69Person.Types.PhoneNumber phoneNumber = new Person.Types.PhoneNumber { Number = number }; in PromptForAddress()
76 phoneNumber.Type = Person.Types.PhoneType.Mobile; in PromptForAddress()
79 phoneNumber.Type = Person.Types.PhoneType.Home; in PromptForAddress()
82 phoneNumber.Type = Person.Types.PhoneType.Work; in PromptForAddress()
/third_party/protobuf/examples/
DAddPerson.java4 import com.example.tutorial.AddressBookProtos.Person;
15 static Person PromptForAddress(BufferedReader stdin, in PromptForAddress()
17 Person.Builder person = Person.newBuilder(); in PromptForAddress()
38 Person.PhoneNumber.Builder phoneNumber = in PromptForAddress()
39 Person.PhoneNumber.newBuilder().setNumber(number); in PromptForAddress()
44 phoneNumber.setType(Person.PhoneType.MOBILE); in PromptForAddress()
46 phoneNumber.setType(Person.PhoneType.HOME); in PromptForAddress()
48 phoneNumber.setType(Person.PhoneType.WORK); in PromptForAddress()
Dlist_people_test.go14 p := pb.Person{
25 want := `Person ID: 1234
37 in := pb.AddressBook{People: []*pb.Person{
76 want := strings.Split(`Person ID: 101
79 Person ID: 102
81 Person ID: 201
85 Person ID: 301
91 Person ID: 1001
/third_party/boost/libs/scope_exit/test/
Dworld_tpl_seq.cpp19 template<typename Person>
21 void add_person(Person const& a_person);
25 std::vector<Person> persons_;
29 template<typename Person>
30 void world<Person>::add_person(Person const& a_person) { in add_person()
Dworld_tpl.cpp24 template<typename Person>
26 void add_person(Person const& a_person);
30 std::vector<Person> persons_;
35 template<typename Person>
36 void world<Person>::add_person(Person const& a_person) { in add_person()
/third_party/boost/libs/hana/example/
Dadapt_adt.cpp25 struct Person { struct
26 explicit Person(std::string const& name, int age) in Person() function
38 BOOST_HANA_ADAPT_ADT(ns::Person, argument
39 (name, [](ns::Person const& p) { return p.get_name(); }), in __anon73285b8b0102()
40 (age, [](ns::Person const& p) { return p.get_age(); }) in __anon73285b8b0202()
44 auto names = hana::transform(hana::accessors<ns::Person>(), hana::first);
50 ns::Person john{"John", 30}, bob{"Bob", 40}; in main()
/third_party/boost/libs/hana/example/tutorial/
Dintrospection.adapt.cpp15 struct Person { struct
16 BOOST_HANA_DEFINE_STRUCT(Person,
26 Person john{"John", 30}; in main()
78 struct Person { struct
84 BOOST_HANA_ADAPT_STRUCT(not_my_namespace::Person, name, age); argument
90 struct Person { struct
96 BOOST_HANA_ADAPT_ADT(also_not_my_namespace::Person,

1234567