Lines Matching refs:other

32 Program::Program(Program &&other)
33 : allocator_(std::move(other.allocator_)),
34 binder_(other.binder_),
35 ast_(other.ast_),
36 sourceCode_(other.sourceCode_),
37 sourceFile_(other.sourceFile_),
38 recordName_(other.recordName_),
39 formatedRecordName_(other.formatedRecordName_),
40 kind_(other.kind_),
41 extension_(other.extension_),
42 lineIndex_(other.lineIndex_),
43 moduleRecord_(other.moduleRecord_),
44 typeModuleRecord_(other.typeModuleRecord_),
45 patchFixHelper_(other.patchFixHelper_),
46 isDtsFile_(other.isDtsFile_),
47 hasTLA_(other.hasTLA_),
48 isDebug_(other.isDebug_),
49 targetApiVersion_(other.targetApiVersion_),
50 useDefineSemantic_(other.useDefineSemantic_),
51 isShared_(other.isShared_),
52 targetApiSubVersion_(other.targetApiSubVersion_),
53 moduleRecordFieldName_(other.moduleRecordFieldName_)
55 other.binder_ = nullptr;
56 other.ast_ = nullptr;
57 other.moduleRecord_ = nullptr;
58 other.patchFixHelper_ = nullptr;
59 other.typeModuleRecord_ = nullptr;
62 Program &Program::operator=(Program &&other)
64 if (this == &other) {
67 allocator_ = std::move(other.allocator_);
68 binder_ = other.binder_;
69 ast_ = other.ast_;
70 sourceCode_ = other.sourceCode_;
71 sourceFile_ = other.sourceFile_;
72 kind_ = other.kind_;
73 extension_ = other.extension_;
74 lineIndex_ = other.lineIndex_;
75 isDtsFile_ = other.isDtsFile_;
76 hasTLA_ = other.hasTLA_;
77 isDebug_ = other.isDebug_;
78 targetApiVersion_ = other.targetApiVersion_;
79 useDefineSemantic_ = other.useDefineSemantic_;
80 isShared_ = other.isShared_;
81 targetApiSubVersion_ = other.targetApiSubVersion_;
82 moduleRecordFieldName_ = other.moduleRecordFieldName_;
84 other.ast_ = nullptr;
85 other.binder_ = nullptr;
86 other.moduleRecord_ = nullptr;
87 other.patchFixHelper_ = nullptr;
88 other.typeModuleRecord_ = nullptr;