Home
last modified time | relevance | path

Searched refs:comment (Results 1 – 22 of 22) sorted by relevance

/interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/
DmodificationProcessor.ts20 LogReporter, IllegalTagsInfo, rawInfo, CheckLogResult, ModifyLogResult, comment
48 onVisitNode(node: comment.CommentNode): void {
54 … const newCommentInfos: comment.CommentInfo[] = node.commentInfos ? [...node.commentInfos] : [];
56 newCommentInfos?.forEach((commentInfo: comment.CommentInfo, index: number) => {
70 const curCommentInfo: comment.CommentInfo = newCommentInfos[item];
91 addInheritTags(node: comment.CommentNode, curNode: ts.Node, commentInfo: comment.CommentInfo,
92 …newCommentInfos: comment.CommentInfo[], deprecatedCheckResult: boolean, jsdocNumber: number): void…
114 addMissingTags(node: comment.CommentNode, curNode: ts.Node, curCommentInfo: comment.CommentInfo,
115 newCommentInfos: comment.CommentInfo[], missingTags: string[], jsdocNumber: number): void {
143 …modifyTagsOrder(curNode: ts.Node, curCommentInfo: comment.CommentInfo, newCommentInfos: comment.Co…
[all …]
Dtypedef.ts206 export namespace comment {
253 parsedComment: comment.ParsedComment | undefined;
412 tokenSource: Array<comment.CommentSource>;
421 comment: string; property
442 export namespace comment {
772 onTransformNode(node: comment.CommentNode): ts.Node | undefined;
780 onVisitNode(node: comment.CommentNode): void;
812 …(node: comment.CommentNode, commentInfo: comment.CommentInfo, tagName: string, context: Context | …
851 source: Array<comment.CommentSource>,
DcoreImpls.ts28 import { comment, Options, sourceParser, rawInfo } from './typedef';
134 …getCommentNode(node: ts.Node, parentNode: comment.CommentNode | undefined, sourceFile: ts.SourceFi…
135 …const leadingComments: comment.CommentInfo[] = CommentHelper.getNodeLeadingComments(node, sourceFi…
136 const currentCommentNode: comment.CommentNode = {
221 …function nodeVisitor(node: ts.Node, parentNode: comment.CommentNode | undefined, sourceFile: ts.So…
247 …private skipHandledComments(handledComments: Set<string>, commentNode: comment.CommentNode): void {
248 const unHandledComments: Array<comment.CommentInfo> = [];
290 static addComment(node: ts.Node, commentInfos: Array<comment.CommentInfo>): void {
316 static assembleComment(commentInfo: comment.CommentInfo): string {
330 …static setComment(node: ts.Node, commentInfos: Array<comment.CommentInfo>, commentKind?: number): …
[all …]
DasynchronousFunctionProcessor.ts22 ModifyLogResult, ProcessResult, comment
47 logReportProcess(node: MethodNodeType, comments: Array<comment.CommentInfo>): void {
74 …const nodeComments: Array<comment.CommentInfo> = CommentHelper.getNodeLeadingComments(cNode, cNode…
127 doc: Array<comment.CommentInfo>;
128 constructor(name: string, doc: Array<comment.CommentInfo>) {
DrawCodeProcessor.ts20 import type { comment } from './typedef';
35 onVisitNode(node: comment.CommentNode): void {
DoutputProcessor.ts23 import type { comment} from './typedef';
54 onVisitNode(node: comment.CommentNode): void {
DapiSplitProcessor.ts19 comment, Context, ISourceCodeProcessor, ModifyLogResult, ProcessResult, sourceParser,
43 onTransformNode(node: comment.CommentNode): ts.Node | undefined {
89 …const comments: Array<comment.CommentInfo> = CommentHelper.getNodeLeadingComments(node, node.getSo…
130 …const comments: Array<comment.CommentInfo> = CommentHelper.getNodeLeadingComments(node, node.getSo…
151 …const comments: Array<comment.CommentInfo> = CommentHelper.getNodeLeadingComments(node, node.getSo…
172 …const comments: Array<comment.CommentInfo> = CommentHelper.getNodeLeadingComments(node, node.getSo…
/interface/sdk-js/build-tools/api_check_plugin/src/
Dapi_check_plugin.js162 const comment = resultBody[i];
163 if (!(comment && comment.user && comment.user.id && comment.body)) {
166 const userId = String(comment.user.id);
167 if (userId === rules.ciId && /^代码有更新,重置PR验证状态$/.test(comment.body)) {
170 if (administrators.has(userId) && /^approve api check$/.test(comment.body)) {
Dcheck_legality.js108 function dealSpecialTag(comment, tagName) { argument
115 comment.tags.forEach(tag => {
147 comments.forEach((comment, index) => {
154 const dealSpecialTagResult = dealSpecialTag(comment, tagName);
197 function checkTagsQuantity(comment, index, errorLogs) { argument
200 comment.tags.forEach(tag => {
259 comments.forEach((comment, index) => {
262 checkInheritTag(comment, node, sourcefile, fileName, index);
264 comment.tags.forEach(tag => {
274 checkTagsQuantity(comment, index, errorLogs);
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/parser/
DJsDocProcessor.ts44 const comment: string = sourceFile.getFullText().slice(range.pos, range.end); constant
45 … const commentInfo: Comment.CommentInfo = CommentHelper.parseComment(comment, range.kind, true);
67 …static parseComment(comment: string, commentKind: ts.CommentKind, isLeading: boolean): Comment.Com…
70 text: comment,
82 let commentString: string = comment;
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/check/
Dcheck.py28 comment = api_info['comment']
30 process_comment(comment, file_doc_info, api_info))
Dcheck_doc.py334 def process_comment(comment: str, file_doc_info: FileDocInfo, api_info) -> list:
339 if comment == "none_comment":
342 … ['node', os.path.abspath(os.path.join(current_file, "comment_parser.js")), comment]) # 解析comment
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/parser/
Dparse_include.py244 def ast_to_dict(cursor, current_file, gn_path=None, comment=None, key=0): # 解析数据的整理 argument
261 if comment:
262 data["comment"] = comment
305 def preorder_travers_ast(cursor, total, comment, current_file, gn_path=None): # 获取属性 argument
306 ast_dict = ast_to_dict(cursor, current_file, gn_path, comment) # 获取节点属性
/interface/sdk-js/build-tools/api_check_plugin/src/check_jsdoc_value/
Dcheck_order.js139 function checkInheritTag(comment, node, sourcefile, fileName, JSocIndex) { argument
146 comment.tags.forEach(tag => {
Dcheck_rest_value.js149 comments.forEach(comment => {
150 comment.tags.forEach(tag => {
/interface/sdk-js/build-tools/dts_parser/
DREADME_zh.md29 | | | ├─comment.ts
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/diff/
Ddiff_processor_node.py644 def process_comment(comment: str):
649 if comment == "none_comment":
652 …['node', os.path.abspath(os.path.join(current_file, "../comment_parser.js")), comment]) # 解析comm…
/interface/sdk-js/api/
D@ohos.arkui.advanced.TreeView.d.ets505 * For details, see the comment description of NodeParam.
518 * For details, see the comment description of NodeParam.
/interface/sdk_c/third_party/zlib/
Dzlib.h124 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */ member
/interface/sdk_c/third_party/mindspore/
DLICENSE184 comment syntax for the file format. We also recommend that a
/interface/sdk-js/build-tools/api_check_plugin/plugin/
Ddictionaries.txt12031 comment
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/checker/config/
Ddictionaries.txt12031 comment