• Home
  • Raw
  • Download

Lines Matching refs:log

157   let log: LogInfo[] = [];
162 log = log.concat(res);
166 checkUISyntax(filePath, allComponentNames, content, log);
170 return log;
175 const log: LogInfo[] = []; constant
194 checkDecorators(item.decorators, result, item.name, log, sourceFile, item);
197 addLog(LogType.WARN, message, item.getStart(), log, sourceFile);
201 addLog(LogType.ERROR, message, item.getStart(), log, sourceFile);
209 addLog(LogType.ERROR, message, item.getStart(), log, sourceFile);
223 !!projectConfig.checkEntry, log);
226 return log.length ? log : null;
230 fileName: string, isPreview: boolean, checkEntry: boolean, log: LogInfo[]): void {
232 log.push({
239 log.push({
247 log.push({
255 log.push({
284 …component: ts.Identifier, log: LogInfo[], sourceFile: ts.SourceFile, node: ts.StructDeclaration): …
293 checkEntryComponent(node, log, sourceFile);
314 addLog(LogType.WARN, message, pos, log, sourceFile);
319 addLog(LogType.WARN, message, component.pos, log, sourceFile);
324 addLog(LogType.ERROR, message, component.pos, log, sourceFile);
329 addLog(LogType.ERROR, message, component.pos, log, sourceFile);
333 function checkConcurrentDecorator(node: ts.FunctionDeclaration | ts.MethodDeclaration, log: LogInfo…
337 addLog(LogType.ERROR, message, node.decorators!.pos, log, sourceFile);
341 addLog(LogType.ERROR, message, node.decorators!.pos, log, sourceFile);
349 addLog(LogType.ERROR, message, node.decorators!.pos, log, sourceFile);
368 log: LogInfo[]): void {
371 visitAllNode(sourceFile, sourceFile, allComponentNames, log);
375 log: LogInfo[]) {
403 checkConcurrentDecorator(node, log, sourceFileNode);
406 …tChildren().forEach((item: ts.Node) => visitAllNode(item, sourceFileNode, allComponentNames, log));
413 log: LogInfo[]
416 checkNoChildComponent(node, sourceFileNode, log);
417 checkOneChildComponent(node, allComponentNames, sourceFileNode, log);
418 checkSpecificChildComponent(node, allComponentNames, sourceFileNode, log);
427 function checkNoChildComponent(node: ts.EtsComponentExpression, sourceFileNode: ts.SourceFile, log:…
436 addLog(LogType.ERROR, message, pos, log, sourceFileNode);
481 sourceFileNode: ts.SourceFile, log: LogInfo[]): void {
490 addLog(LogType.ERROR, message, pos, log, sourceFileNode);
594 sourceFileNode: ts.SourceFile, log: LogInfo[]): void {
602 addLog(LogType.ERROR, message, pos, log, sourceFileNode);
867 log: LogInfo[] property
872 const log: LogInfo[] = []; constant
881 log: log
1138 function checkEntryComponent(node: ts.StructDeclaration, log: LogInfo[], sourceFile: ts.SourceFile)…
1144 addLog(LogType.WARN, message, node.getStart(), log, sourceFile);