/ide/tools/previewer/automock/mock-generate/src/declaration-node/ |
D | constructorDeclaration.ts | 28 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
|
D | methodDeclaration.ts | 31 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
|
D | classDeclaration.ts | 40 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);
|
D | functionDeclaration.ts | 30 …functionName = funcNode.name?.escapedText === undefined ? 'undefind' : funcNode.name.escapedText.t…
|
D | callSignatureDeclaration.ts | 33 if (callSignatureNode.name !== undefined) { 34 functionName = getPropertyName(callSignatureNode.name, sourceFile);
|
D | enumDeclaration.ts | 26 const enumName = node.name.escapedText.toString(); 35 const enumValueName = getPropertyName(value.name, sourceFile);
|
D | variableStatementResolve.ts | 32 if (isIdentifier(value.name)) { 33 statementName = value.name.escapedText.toString();
|
D | moduleDeclaration.ts | 40 if (isIdentifier(moduleNode.name)) { 41 moduleName = moduleNode.name.escapedText.toString(); 43 …moduleName = sourceFile.text.substring(moduleNode.name.pos, moduleNode.name.end).trimStart().trimE…
|
D | methodSignatureDeclaration.ts | 33 functionName = getPropertyName(methodSignatureNode.name, sourceFile);
|
D | typeParameterDeclaration.ts | 26 const typeParameterName = typeParameterNode.name.escapedText.toString();
|
D | propertySignatureDeclaration.ts | 30 propertyName = getPropertyName(node.name, sourceFile);
|
/ide/tools/previewer/util/linux/ |
D | KeyboardHelper.cpp | 21 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/ |
D | generateCommonMethod.ts | 33 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') {
|
D | generateStaticFunction.ts | 33 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') {
|
D | generateModuleDeclaration.ts | 167 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/ |
D | commonUtils.ts | 81 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/ |
D | JsApp.cpp | 71 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()
|
D | JsApp.h | 35 void SetPipeName(const std::string& name); 37 void SetBundleName(const std::string& name);
|
/ide/tools/previewer/util/unix/ |
D | LocalSocket.cpp | 33 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/ |
D | README_zh.md | 1 # 预览器组件<a name="ZH-CN_TOPIC_0000001076213355"></a> 7 **图 1** 预览器组件架构<a name="fig2606133765017"></a>
|
/ide/tools/previewer/cli/ |
D | CommandLineInterface.cpp | 38 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/ |
D | LocalSocket.cpp | 25 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/ |
D | FileSystem.cpp | 90 void FileSystem::SetBundleName(string name) in SetBundleName() argument 92 bundleName = name; in SetBundleName()
|
D | TraceTool.cpp | 35 string name = GetTracePipeName(); in InitPipe() local 36 if (!socket->ConnectToServer(socket->GetTracePipeName(name), LocalSocket::READ_WRITE)) { in InitPipe()
|
D | FileSystem.h | 30 static void SetBundleName(std::string name);
|