Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 33) sorted by relevance

12

/ide/tools/previewer/automock/mock-generate/src/declaration-node/
DconstructorDeclaration.ts28 const paramElement = value.name;
29 let name = '';
33 name = paramElement.escapedText.toString();
35 name = sourceFile.text.substring(paramElement.pos, paramElement.end).trimStart().trimEnd();
46 name: name,
56 name: string, property
DmethodDeclaration.ts31 name: '',
44 functionName.name = getPropertyName(methodNode.name, sourceFile);
45 if (isComputedPropertyName(methodNode.name)) {
46 functionName.expressionKind = methodNode.name.expression.kind;
49 functionName.kind = methodNode.name.kind;
76 name: string, property
DclassDeclaration.ts40 const className = classNode.name === undefined ? '' : classNode.name.escapedText.toString();
60 if (classMethod.get(methodEntity.functionName.name) !== undefined) {
61 classMethod.get(methodEntity.functionName.name)?.push(methodEntity);
65 classMethod.set(methodEntity.functionName.name, methodArray);
DfunctionDeclaration.ts30 …functionName = funcNode.name?.escapedText === undefined ? 'undefind' : funcNode.name.escapedText.t…
DcallSignatureDeclaration.ts33 if (callSignatureNode.name !== undefined) {
34 functionName = getPropertyName(callSignatureNode.name, sourceFile);
DenumDeclaration.ts26 const enumName = node.name.escapedText.toString();
35 const enumValueName = getPropertyName(value.name, sourceFile);
DvariableStatementResolve.ts32 if (isIdentifier(value.name)) {
33 statementName = value.name.escapedText.toString();
DmoduleDeclaration.ts40 if (isIdentifier(moduleNode.name)) {
41 moduleName = moduleNode.name.escapedText.toString();
43 …moduleName = sourceFile.text.substring(moduleNode.name.pos, moduleNode.name.end).trimStart().trimE…
DmethodSignatureDeclaration.ts33 functionName = getPropertyName(methodSignatureNode.name, sourceFile);
DtypeParameterDeclaration.ts26 const typeParameterName = typeParameterNode.name.escapedText.toString();
DpropertySignatureDeclaration.ts30 propertyName = getPropertyName(node.name, sourceFile);
/ide/tools/previewer/util/linux/
DKeyboardHelper.cpp21 std::string name; in GetKeyStateByKeyName() local
23 name = "Caps Lock"; in GetKeyStateByKeyName()
25 name = "Num Lock"; in GetKeyStateByKeyName()
31 Atom capsLock = XInternAtom(display, name.c_str(), False); in GetKeyStateByKeyName()
/ide/tools/previewer/automock/mock-generate/src/generate/
DgenerateCommonMethod.ts33 if (methodEntity.functionName.name === 'Symbol.iterator') {
34 methodBody += `this[${methodEntity.functionName.name}] = function(...args) {`;
35 methodBody += getWarnConsole(rootName, methodEntity.functionName.name);
40 methodBody += `this.${methodEntity.functionName.name} = function(...args) {`;
41 methodBody += getWarnConsole(rootName, methodEntity.functionName.name);
51 if (methodEntity.functionName.name === 'getApplicationContext') {
DgenerateStaticFunction.ts33 methodBody += `${methodEntity.functionName.name}: function(...args) {`;
35 …CharacterToUppercase(staticMethod.className)}.${methodEntity.functionName.name} = function(...args…
38 methodBody += getWarnConsole(rootName, methodEntity.functionName.name);
39 if (methodEntity.functionName.name === 'Symbol.iterator') {
DgenerateModuleDeclaration.ts167 exportString += `${value.name}: ${value.name},\n`;
232 exportString += `${value.name}: ${value.name},\n`;
250 exportElements.push({ name: firstCharacterToUppercase(value.className), type: 'class' });
256 exportElements.push({ name: value.interfaceName, type: 'interface' });
262 exportElements.push({ name: value.enumName, type: 'enum' });
268 exportElements.push({ name: value.moduleName, type: 'module' });
274 exportElements.push({ name: value.typeAliasName, type: 'type' });
282 name: string property
/ide/tools/previewer/automock/mock-generate/src/common/
DcommonUtils.ts81 if (node.name !== undefined) {
82 allClassSet.add(node.name.escapedText.toString());
90 if (value.name !== undefined) {
91 allClassSet.add(firstCharacterToUppercase(value.name?.escapedText.toString()));
142 if (isIdentifier(parameter.name)) {
143 … paramName = parameter.name.escapedText === undefined ? '' : parameter.name.escapedText.toString();
145 const start = parameter.name.pos === undefined ? 0 : parameter.name.pos;
146 const end = parameter.name.end === undefined ? 0 : parameter.name.end;
/ide/tools/previewer/jsapp/
DJsApp.cpp71 void JsApp::SetPipeName(const std::string& name) in SetPipeName() argument
73 pipeName = name; in SetPipeName()
101 void JsApp::SetBundleName(const string& name) in SetBundleName() argument
103 bundleName = name; in SetBundleName()
104 FileSystem::SetBundleName(name); in SetBundleName()
DJsApp.h35 void SetPipeName(const std::string& name);
37 void SetBundleName(const std::string& name);
/ide/tools/previewer/util/unix/
DLocalSocket.cpp33 bool LocalSocket::ConnectToServer(string name, OpenMode openMode, TransMode transMode) in ConnectToServer() argument
39 std::size_t length = name.copy(un.sun_path, name.size()); in ConnectToServer()
/ide/tools/previewer/
DREADME_zh.md1 # 预览器组件<a name="ZH-CN_TOPIC_0000001076213355"></a>
7 **图 1** 预览器组件架构<a name="fig2606133765017"></a>
/ide/tools/previewer/cli/
DCommandLineInterface.cpp38 void CommandLineInterface::InitPipe(const string name) in InitPipe() argument
50 if (!socket->ConnectToServer(socket->GetCommandPipeName(name), LocalSocket::READ_WRITE)) { in InitPipe()
173 CommandLine::CommandType CommandLineInterface::GetCommandType(string name) const in GetCommandType()
176 if (name == "set") { in GetCommandType()
178 } else if (name == "get") { in GetCommandType()
180 } else if (name == "action") { in GetCommandType()
/ide/tools/previewer/util/windows/
DLocalSocket.cpp25 bool LocalSocket::ConnectToServer(string name, LocalSocket::OpenMode openMode, TransMode transMode) in ConnectToServer() argument
27 wstring tempName = wstring(name.begin(), name.end()); in ConnectToServer()
/ide/tools/previewer/util/
DFileSystem.cpp90 void FileSystem::SetBundleName(string name) in SetBundleName() argument
92 bundleName = name; in SetBundleName()
DTraceTool.cpp35 string name = GetTracePipeName(); in InitPipe() local
36 if (!socket->ConnectToServer(socket->GetTracePipeName(name), LocalSocket::READ_WRITE)) { in InitPipe()
DFileSystem.h30 static void SetBundleName(std::string name);

12