modernizing / lemonj

A CSS/LESS/SCSS analysis, bad smell check and auto-refactor tools. 一个面向 CSS/LESS/SCSS 的分析、坏味道检查和自动化重构工具。
MIT License
140 stars 8 forks source link

我在尝试分析一个项目的时候得到报错 #3

Closed 2234839 closed 4 years ago

2234839 commented 4 years ago

错误日志如下,另外感觉这些日志没有提供足够的信息,我看起来完全不知道该怎么办, 该项目为 vue 项目,与 css 相关的文件主要有 .scss 与 .css 以及 .vue 后缀的

❯ lemonj analysis src      
line 8:2 extraneous input '-' expecting {InterpolationStart, '}', '>', '~', ':', '@', '&', '#', '::', '+', '*', '@import', '@media', Identifier}
line 9:2 extraneous input '-' expecting {InterpolationStart, '}', '>', '~', ':', '@', '&', '#', '::', '+', '*', '@import', '@media', Identifier}
line 13:14 no viable alternative at input 'height:var(-'
line 13:14 mismatched input '-' expecting {'...', ')', '@'}
line 36:8 no viable alternative at input '.nav-li::'
line 61:11 no viable alternative at input '.nav-title::'
line 73:10 no viable alternative at input '.nav-name::'
line 85:10 no viable alternative at input '.nav-name::'
line 97:10 no viable alternative at input '.nav-name::'
line 118:11 missing ':' at 'show'
line 118:16 mismatched input '{' expecting {InterpolationStart, ';', ',', '@', '+', '*', '/', '-', '%', UrlStart, Identifier, 
StringLiteral, Number, Color, InterpolationStartAfter, IdentifierAfter}
line 120:26 mismatched input '-50' expecting {'...', ')', '@'}
line 123:26 mismatched input '40' expecting {'...', ')', '@'}
line 126:26 mismatched input '0' expecting {'...', ')', '@'}
line 130:19 missing ':' at 'show'
line 130:24 mismatched input '{' expecting {InterpolationStart, '(', '[', '>', '~', ':', ',', '&', '#', '::', '+', '*', Identifier}
line 132:26 mismatched input '-50' expecting {'...', ')', '@'}
line 135:26 mismatched input '40' expecting {'...', ')', '@'}
line 138:26 mismatched input '0' expecting {'...', ')', '@'}
line 175:2 extraneous input '-' expecting {InterpolationStart, '}', '>', '~', ':', '@', '&', '#', '::', '+', '*', '@import', '@media', Identifier}
line 176:2 extraneous input '-' expecting {InterpolationStart, '}', '>', '~', ':', '@', '&', '#', '::', '+', '*', '@import', '@media', Identifier}
line 176:11 mismatched input '-' expecting {'...', ')', '@'}
line 177:11 mismatched input '-' expecting {'...', ')', '@'}
line 181:13 mismatched input '-' expecting {'...', ')', '@'}
line 182:14 mismatched input '-' expecting {'...', ')', '@'}
line 183:20 mismatched input 'var' expecting {'...', ')', '@'}
line 183:24 mismatched input '-' expecting {'...', ')', '@'}
line 184:20 mismatched input '-' expecting {'...', ')', '@'}
line 184:35 mismatched input '-' expecting {'...', ')', '@'}
line 185:18 mismatched input '-' expecting {'...', ')', '@'}
line 185:33 mismatched input '-' expecting {'...', ')', '@'}
line 191:2 extraneous input '-' expecting {InterpolationStart, '}', '>', '~', ':', '@', '&', '#', '::', '+', '*', '@import', '@media', Identifier}
line 192:2 extraneous input '-' expecting {InterpolationStart, '}', '>', '~', ':', '@', '&', '#', '::', '+', '*', '@import', '@media', Identifier}
line 193:2 extraneous input '-' expecting {InterpolationStart, '}', '>', '~', ':', '@', '&', '#', '::', '+', '*', '@import', '@media', Identifier}
line 196:44 no viable alternative at input 'border-color:transparenttransparentvar(-'
line 196:44 mismatched input '-' expecting {'...', ')', '@'}
line 198:24 mismatched input '-' expecting {'...', ')', '@'}
line 198:33 mismatched input '-' expecting {'...', ')', '@'}
line 199:21 mismatched input '180' expecting {'...', ')', '@'}
line 199:41 mismatched input '0' expecting {'...', ')', '@'}
line 199:51 mismatched input '-1' expecting {'...', ')', '@'}
line 199:60 mismatched input '-' expecting {'...', ')', '@'}
line 199:81 mismatched input '0' expecting {'...', ')', '@'}
line 199:94 mismatched input 'var' expecting {'...', ')', '@'}
line 199:98 mismatched input '-' expecting {'...', ')', '@'}
line 1:11 missing ':' at 'cuIcon-spin'
line 1:23 mismatched input '{' expecting {InterpolationStart, ';', ',', '@', '+', '*', '/', '-', '%', UrlStart, Identifier, StringLiteral, Number, Color, InterpolationStartAfter, IdentifierAfter}
line 3:28 extraneous input '0' expecting {'...', ')', '@'}
line 3:30 mismatched input ';' expecting {'{', 'when'}
line 4:20 extraneous input '0' expecting {'...', ')', '@'}
line 4:22 mismatched input ';' expecting {'{', 'when'}
line 7:28 mismatched input '359' expecting {'...', ')', '@'}
line 8:20 mismatched input '359' expecting {'...', ')', '@'}
line 133:6 token recognition error at: '['
line 133:14 token recognition error at: ']'
line 138:6 token recognition error at: '['
line 138:14 token recognition error at: ']'
line 178:6 token recognition error at: '['
line 178:14 token recognition error at: ']'
line 192:34 token recognition error at: '*'
line 192:35 token recognition error at: '='
line 192:36 token recognition error at: '"'
line 192:40 token recognition error at: '"'
line 192:41 token recognition error at: ']'
line 193:35 token recognition error at: '*'
line 193:36 token recognition error at: '='
line 193:37 token recognition error at: '"'
line 193:41 token recognition error at: '"'
line 193:42 token recognition error at: ']'
line 243:11 token recognition error at: '['
line 243:19 token recognition error at: ']'
line 280:11 token recognition error at: '['
line 280:19 token recognition error at: ']'
line 286:10 token recognition error at: '['
line 286:18 token recognition error at: ']'
line 287:12 token recognition error at: '['
line 287:20 token recognition error at: ']'
line 288:9 token recognition error at: '['
line 288:17 token recognition error at: ']'
line 297:13 token recognition error at: '['
line 297:21 token recognition error at: ']'
line 298:15 token recognition error at: '['
line 298:23 token recognition error at: ']'
line 299:12 token recognition error at: '['
line 299:20 token recognition error at: ']'
line 308:13 token recognition error at: '['
line 308:21 token recognition error at: ']'
line 309:15 token recognition error at: '['
line 309:23 token recognition error at: ']'
line 310:12 token recognition error at: '['
line 310:20 token recognition error at: ']'
line 319:12 token recognition error at: '['
line 319:20 token recognition error at: ']'
line 320:14 token recognition error at: '['
line 320:22 token recognition error at: ']'
line 321:11 token recognition error at: '['
line 321:19 token recognition error at: ']'
line 330:12 token recognition error at: '['
line 330:20 token recognition error at: ']'
line 331:6 token recognition error at: '['
line 331:14 token recognition error at: ']'
line 332:14 token recognition error at: '['
line 332:22 token recognition error at: ']'
line 333:8 token recognition error at: '['
line 333:16 token recognition error at: ']'
line 334:11 token recognition error at: '['
line 334:19 token recognition error at: ']'
line 335:5 token recognition error at: '['
line 335:13 token recognition error at: ']'
line 348:11 token recognition error at: '['
line 348:19 token recognition error at: ']'
line 349:13 token recognition error at: '['
line 349:21 token recognition error at: ']'
line 350:10 token recognition error at: '['
line 350:18 token recognition error at: ']'
line 359:11 token recognition error at: '['
line 359:19 token recognition error at: ']'
line 360:13 token recognition error at: '['
line 360:21 token recognition error at: ']'
line 361:10 token recognition error at: '['
line 361:18 token recognition error at: ']'
line 370:13 token recognition error at: '['
line 370:21 token recognition error at: ']'
line 371:15 token recognition error at: '['
line 371:23 token recognition error at: ']'
line 372:12 token recognition error at: '['
line 372:20 token recognition error at: ']'
line 381:12 token recognition error at: '['
line 381:20 token recognition error at: ']'
line 382:14 token recognition error at: '['
line 382:22 token recognition error at: ']'
line 383:11 token recognition error at: '['
line 383:19 token recognition error at: ']'
line 392:11 token recognition error at: '['
line 392:19 token recognition error at: ']'
line 393:13 token recognition error at: '['
line 393:21 token recognition error at: ']'
line 394:10 token recognition error at: '['
line 394:18 token recognition error at: ']'
line 403:12 token recognition error at: '['
line 403:20 token recognition error at: ']'
line 404:14 token recognition error at: '['
line 404:22 token recognition error at: ']'
line 405:11 token recognition error at: '['
line 405:19 token recognition error at: ']'
line 414:11 token recognition error at: '['
line 414:19 token recognition error at: ']'
line 415:13 token recognition error at: '['
line 415:21 token recognition error at: ']'
line 416:10 token recognition error at: '['
line 416:18 token recognition error at: ']'
line 425:11 token recognition error at: '['
line 425:19 token recognition error at: ']'
line 426:13 token recognition error at: '['
line 426:21 token recognition error at: ']'
line 427:10 token recognition error at: '['
line 427:18 token recognition error at: ']'
line 436:12 token recognition error at: '['
line 436:20 token recognition error at: ']'
line 437:14 token recognition error at: '['
line 437:22 token recognition error at: ']'
line 438:11 token recognition error at: '['
line 438:19 token recognition error at: ']'
line 447:12 token recognition error at: '['
line 447:20 token recognition error at: ']'
line 448:14 token recognition error at: '['
line 448:22 token recognition error at: ']'
line 449:11 token recognition error at: '['
line 449:19 token recognition error at: ']'
line 574:7 token recognition error at: '['
line 574:13 token recognition error at: '*'
line 574:14 token recognition error at: '='
line 574:15 token recognition error at: '"'
line 574:21 token recognition error at: '"'
line 574:22 token recognition error at: ']'
line 654:18 token recognition error at: '*'
line 654:19 token recognition error at: '='
line 654:20 token recognition error at: '"'
line 654:24 token recognition error at: '"'
line 654:25 token recognition error at: ']'
line 658:7 token recognition error at: '['
line 658:13 token recognition error at: '*'
line 658:14 token recognition error at: '='
line 658:15 token recognition error at: '"'
line 658:20 token recognition error at: '"'
line 658:21 token recognition error at: ']'
line 662:7 token recognition error at: '['
line 662:13 token recognition error at: '*'
line 662:14 token recognition error at: '='
line 662:15 token recognition error at: '"'
line 662:20 token recognition error at: '"'
line 662:21 token recognition error at: ']'
line 679:13 token recognition error at: '['
line 679:19 token recognition error at: '*'
line 679:20 token recognition error at: '='
line 679:21 token recognition error at: '"'
line 679:26 token recognition error at: '"'
line 679:27 token recognition error at: ']'
line 683:7 token recognition error at: '['
line 683:13 token recognition error at: '*'
line 683:14 token recognition error at: '='
line 683:15 token recognition error at: '"'
line 683:21 token recognition error at: '"'
line 683:22 token recognition error at: ']'
line 687:7 token recognition error at: '['
line 687:13 token recognition error at: '*'
line 687:14 token recognition error at: '='
line 687:15 token recognition error at: '"'
line 687:19 token recognition error at: '"'
line 687:20 token recognition error at: ']'
line 739:7 token recognition error at: '['
line 739:16 token recognition error at: ']'
line 762:18 token recognition error at: '*'
line 762:19 token recognition error at: '='
line 762:20 token recognition error at: '"'
line 762:23 token recognition error at: '"'
line 762:24 token recognition error at: ']'
line 762:37 token recognition error at: '*'
line 762:38 token recognition error at: '='
line 762:39 token recognition error at: '"'
line 762:44 token recognition error at: '"'
line 762:45 token recognition error at: ']'
line 766:7 token recognition error at: '['
line 766:13 token recognition error at: '*'
line 766:14 token recognition error at: '='
line 766:15 token recognition error at: '"'
line 766:21 token recognition error at: '"'
line 766:22 token recognition error at: ']'
line 782:14 token recognition error at: '['
line 782:20 token recognition error at: '*'
line 782:21 token recognition error at: '='
line 782:22 token recognition error at: '"'
line 782:27 token recognition error at: '"'
line 782:28 token recognition error at: ']'
line 786:13 token recognition error at: '['
line 786:19 token recognition error at: '*'
line 786:20 token recognition error at: '='
line 786:21 token recognition error at: '"'
line 786:26 token recognition error at: '"'
line 786:27 token recognition error at: ']'
line 790:7 token recognition error at: '['
line 790:13 token recognition error at: '*'
line 790:14 token recognition error at: '='
line 790:15 token recognition error at: '"'
line 790:21 token recognition error at: '"'
line 790:22 token recognition error at: ']'
line 817:19 token recognition error at: '['
line 817:25 token recognition error at: '*'
line 817:26 token recognition error at: '='
line 817:27 token recognition error at: '"'
line 817:33 token recognition error at: '"'
line 817:34 token recognition error at: ']'
line 821:19 token recognition error at: '['
line 821:25 token recognition error at: '*'
line 821:26 token recognition error at: '='
line 821:27 token recognition error at: '"'
line 821:33 token recognition error at: '"'
line 821:34 token recognition error at: ']'
line 831:26 token recognition error at: '['
line 831:32 token recognition error at: '*'
line 831:33 token recognition error at: '='
line 831:34 token recognition error at: '"'
line 831:40 token recognition error at: '"'
line 831:41 token recognition error at: ']'
line 860:24 token recognition error at: '*'
line 860:25 token recognition error at: '='
line 860:26 token recognition error at: '"'
line 860:30 token recognition error at: '"'
line 860:31 token recognition error at: ']'
line 864:24 token recognition error at: '*'
line 864:25 token recognition error at: '='
line 864:26 token recognition error at: '"'
line 864:34 token recognition error at: '"'
line 864:35 token recognition error at: ']'
line 872:7 token recognition error at: '['
line 872:13 token recognition error at: '*'
line 872:14 token recognition error at: '='
line 872:15 token recognition error at: '"'
line 872:23 token recognition error at: '"'
line 872:24 token recognition error at: ']'
line 1094:26 token recognition error at: '*'
line 1094:27 token recognition error at: '='
line 1094:28 token recognition error at: '"'
line 1094:36 token recognition error at: '"'
line 1094:37 token recognition error at: ']'
line 1373:40 token recognition error at: '['
line 1373:46 token recognition error at: '*'
line 1373:47 token recognition error at: '='
line 1373:48 token recognition error at: '"'
line 1373:55 token recognition error at: '"'
line 1373:56 token recognition error at: ']'
line 1448:31 token recognition error at: '*'
line 1448:32 token recognition error at: '='
line 1448:33 token recognition error at: '"'
line 1448:40 token recognition error at: '"'
line 1448:41 token recognition error at: ']'
line 1518:33 token recognition error at: '['
line 1518:39 token recognition error at: '*'
line 1518:40 token recognition error at: '='
line 1518:41 token recognition error at: '"'
line 1518:45 token recognition error at: '"'
line 1518:46 token recognition error at: ']'
line 1536:30 token recognition error at: '['
line 1536:36 token recognition error at: '*'
line 1536:37 token recognition error at: '='
line 1536:38 token recognition error at: '"'
line 1536:42 token recognition error at: '"'
line 1536:43 token recognition error at: ']'
line 1548:30 token recognition error at: '['
line 1548:36 token recognition error at: '*'
line 1548:37 token recognition error at: '='
line 1548:38 token recognition error at: '"'
line 1548:44 token recognition error at: '"'
line 1548:45 token recognition error at: ']'
line 1582:34 token recognition error at: '['
line 1582:40 token recognition error at: '*'
line 1582:41 token recognition error at: '='
line 1582:42 token recognition error at: '"'
line 1582:50 token recognition error at: '"'
line 1582:51 token recognition error at: ']'
line 1591:22 token recognition error at: '['
line 1591:28 token recognition error at: '*'
line 1591:29 token recognition error at: '='
line 1591:30 token recognition error at: '"'
line 1591:38 token recognition error at: '"'
line 1591:39 token recognition error at: ']'
line 1592:22 token recognition error at: '['
line 1592:28 token recognition error at: '*'
line 1592:29 token recognition error at: '='
line 1592:30 token recognition error at: '"'
line 1592:38 token recognition error at: '"'
line 1592:39 token recognition error at: ']'
line 1596:22 token recognition error at: '['
line 1596:28 token recognition error at: '*'
line 1596:29 token recognition error at: '='
line 1596:30 token recognition error at: '"'
line 1596:38 token recognition error at: '"'
line 1596:39 token recognition error at: ']'
line 1596:47 token recognition error at: '['
line 1596:53 token recognition error at: '*'
line 1596:54 token recognition error at: '='
line 1596:55 token recognition error at: '"'
line 1596:63 token recognition error at: '"'
line 1596:64 token recognition error at: ']'
line 1665:27 token recognition error at: '*'
line 1665:28 token recognition error at: '='
line 1665:29 token recognition error at: '"'
line 1665:37 token recognition error at: '"'
line 1665:38 token recognition error at: ']'
line 1669:27 token recognition error at: '*'
line 1669:28 token recognition error at: '='
line 1669:29 token recognition error at: '"'
line 1669:37 token recognition error at: '"'
line 1669:38 token recognition error at: ']'
line 1730:40 token recognition error at: '*'
line 1730:41 token recognition error at: '='
line 1730:42 token recognition error at: '"'
line 1730:50 token recognition error at: '"'
line 1730:51 token recognition error at: ']'
line 1785:29 token recognition error at: '*'
line 1785:30 token recognition error at: '='
line 1785:31 token recognition error at: '"'
line 1785:39 token recognition error at: '"'
line 1785:40 token recognition error at: ']'
line 1859:28 token recognition error at: '*'
line 1859:29 token recognition error at: '='
line 1859:30 token recognition error at: '"'
line 1859:38 token recognition error at: '"'
line 1859:39 token recognition error at: ']'
line 1868:40 token recognition error at: '*'
line 1868:41 token recognition error at: '='
line 1868:42 token recognition error at: '"'
line 1868:50 token recognition error at: '"'
line 1868:51 token recognition error at: ']'
line 2003:34 token recognition error at: '*'
line 2003:35 token recognition error at: '='
line 2003:36 token recognition error at: '"'
line 2003:42 token recognition error at: '"'
line 2003:43 token recognition error at: ']'
line 2034:34 token recognition error at: '*'
line 2034:35 token recognition error at: '='
line 2034:36 token recognition error at: '"'
line 2034:44 token recognition error at: '"'
line 2034:45 token recognition error at: ']'
line 2038:23 token recognition error at: '['
line 2038:29 token recognition error at: '*'
line 2038:30 token recognition error at: '='
line 2038:31 token recognition error at: '"'
line 2038:39 token recognition error at: '"'
line 2038:40 token recognition error at: ']'
line 2055:45 token recognition error at: '*'
line 2055:46 token recognition error at: '='
line 2055:47 token recognition error at: '"'
line 2055:51 token recognition error at: '"'
line 2055:52 token recognition error at: ']'
line 2108:45 token recognition error at: '*'
line 2108:46 token recognition error at: '='
line 2108:47 token recognition error at: '"'
line 2108:51 token recognition error at: '"'
line 2108:52 token recognition error at: ']'
line 2165:45 token recognition error at: '*'
line 2165:46 token recognition error at: '='
line 2165:47 token recognition error at: '"'
line 2165:51 token recognition error at: '"'
line 2165:52 token recognition error at: ']'
line 2362:21 token recognition error at: '['
line 2362:27 token recognition error at: '*'
line 2362:28 token recognition error at: '='
line 2362:29 token recognition error at: '"'
line 2362:37 token recognition error at: '"'
line 2362:38 token recognition error at: ']'
line 2417:23 token recognition error at: '['
line 2417:32 token recognition error at: ']'
line 2418:23 token recognition error at: '['
line 2418:32 token recognition error at: ']'
line 2536:6 token recognition error at: '['
line 2536:12 token recognition error at: '*'
line 2536:13 token recognition error at: '='
line 2536:14 token recognition error at: '"'
line 2536:19 token recognition error at: '"'
line 2536:20 token recognition error at: ']'
line 2537:6 token recognition error at: '['
line 2537:12 token recognition error at: '*'
line 2537:13 token recognition error at: '='
line 2537:14 token recognition error at: '"'
line 2537:19 token recognition error at: '"'
line 2537:20 token recognition error at: ']'
line 2538:6 token recognition error at: '['
line 2538:12 token recognition error at: '*'
line 2538:13 token recognition error at: '='
line 2538:14 token recognition error at: '"'
line 2538:19 token recognition error at: '"'
line 2538:20 token recognition error at: ']'
line 2691:29 token recognition error at: '*'
line 2691:30 token recognition error at: '='
line 2691:31 token recognition error at: '"'
line 2691:37 token recognition error at: '"'
line 2691:38 token recognition error at: ']'
line 2695:25 token recognition error at: '*'
line 2695:26 token recognition error at: '='
line 2695:27 token recognition error at: '"'
line 2695:35 token recognition error at: '"'
line 2695:36 token recognition error at: ']'
line 2742:18 token recognition error at: '['
line 2742:24 token recognition error at: '*'
line 2742:25 token recognition error at: '='
line 2742:26 token recognition error at: '"'
line 2742:32 token recognition error at: '"'
line 2742:33 token recognition error at: ']'
line 2764:18 token recognition error at: '['
line 2764:24 token recognition error at: '*'
line 2764:25 token recognition error at: '='
line 2764:26 token recognition error at: '"'
line 2764:32 token recognition error at: '"'
line 2764:33 token recognition error at: ']'
line 2781:18 token recognition error at: '['
line 2781:24 token recognition error at: '*'
line 2781:25 token recognition error at: '='
line 2781:26 token recognition error at: '"'
line 2781:32 token recognition error at: '"'
line 2781:33 token recognition error at: ']'
line 2792:18 token recognition error at: '['
line 2792:24 token recognition error at: '*'
line 2792:25 token recognition error at: '='
line 2792:26 token recognition error at: '"'
line 2792:32 token recognition error at: '"'
line 2792:33 token recognition error at: ']'
line 2799:18 token recognition error at: '['
line 2799:24 token recognition error at: '*'
line 2799:25 token recognition error at: '='
line 2799:26 token recognition error at: '"'
line 2799:32 token recognition error at: '"'
line 2799:33 token recognition error at: ']'
line 2930:31 token recognition error at: '['
line 2930:37 token recognition error at: '*'
line 2930:38 token recognition error at: '='
line 2930:39 token recognition error at: '"'
line 2930:47 token recognition error at: '"'
line 2930:48 token recognition error at: ']'
line 3600:7 token recognition error at: '['
line 3600:13 token recognition error at: '*'
line 3600:14 token recognition error at: '='
line 3600:15 token recognition error at: '"'
line 3600:20 token recognition error at: '"'
line 3600:21 token recognition error at: ']'
line 3604:7 token recognition error at: '['
line 3604:13 token recognition error at: '*'
line 3604:14 token recognition error at: '='
line 3604:15 token recognition error at: '"'
line 3604:23 token recognition error at: '"'
line 3604:24 token recognition error at: ']'
line 3608:7 token recognition error at: '['
line 3608:13 token recognition error at: '*'
line 3608:14 token recognition error at: '='
line 3608:15 token recognition error at: '"'
line 3608:23 token recognition error at: '"'
line 3608:24 token recognition error at: ']'
line 3612:7 token recognition error at: '['
line 3612:13 token recognition error at: '*'
line 3612:14 token recognition error at: '='
line 3612:15 token recognition error at: '"'
line 3612:22 token recognition error at: '"'
line 3612:23 token recognition error at: ']'
line 3616:7 token recognition error at: '['
line 3616:13 token recognition error at: '*'
line 3616:14 token recognition error at: '='
line 3616:15 token recognition error at: '"'
line 3616:22 token recognition error at: '"'
line 3616:23 token recognition error at: ']'
line 3620:7 token recognition error at: '['
line 3620:13 token recognition error at: '*'
line 3620:14 token recognition error at: '='
line 3620:15 token recognition error at: '"'
line 3620:21 token recognition error at: '"'
line 3620:22 token recognition error at: ']'
line 3624:7 token recognition error at: '['
line 3624:13 token recognition error at: '*'
line 3624:14 token recognition error at: '='
line 3624:15 token recognition error at: '"'
line 3624:21 token recognition error at: '"'
line 3624:22 token recognition error at: ']'
line 3628:7 token recognition error at: '['
line 3628:13 token recognition error at: '*'
line 3628:14 token recognition error at: '='
line 3628:15 token recognition error at: '"'
line 3628:23 token recognition error at: '"'
line 3628:24 token recognition error at: ']'
line 3632:7 token recognition error at: '['
line 3632:13 token recognition error at: '*'
line 3632:14 token recognition error at: '='
line 3632:15 token recognition error at: '"'
line 3632:22 token recognition error at: '"'
line 3632:23 token recognition error at: ']'
line 3636:7 token recognition error at: '['
line 3636:13 token recognition error at: '*'
line 3636:14 token recognition error at: '='
line 3636:15 token recognition error at: '"'
line 3636:21 token recognition error at: '"'
line 3636:22 token recognition error at: ']'
line 3640:7 token recognition error at: '['
line 3640:13 token recognition error at: '*'
line 3640:14 token recognition error at: '='
line 3640:15 token recognition error at: '"'
line 3640:22 token recognition error at: '"'
line 3640:23 token recognition error at: ']'
line 3644:7 token recognition error at: '['
line 3644:13 token recognition error at: '*'
line 3644:14 token recognition error at: '='
line 3644:15 token recognition error at: '"'
line 3644:21 token recognition error at: '"'
line 3644:22 token recognition error at: ']'
line 3648:7 token recognition error at: '['
line 3648:13 token recognition error at: '*'
line 3648:14 token recognition error at: '='
line 3648:15 token recognition error at: '"'
line 3648:21 token recognition error at: '"'
line 3648:22 token recognition error at: ']'
line 3652:7 token recognition error at: '['
line 3652:13 token recognition error at: '*'
line 3652:14 token recognition error at: '='
line 3652:15 token recognition error at: '"'
line 3652:22 token recognition error at: '"'
line 3652:23 token recognition error at: ']'
line 3656:7 token recognition error at: '['
line 3656:13 token recognition error at: '*'
line 3656:14 token recognition error at: '='
line 3656:15 token recognition error at: '"'
line 3656:22 token recognition error at: '"'
line 3656:23 token recognition error at: ']'
line 3660:12 token recognition error at: '['
line 3660:18 token recognition error at: '*'
line 3660:19 token recognition error at: '='
line 3660:20 token recognition error at: '"'
line 3660:25 token recognition error at: '"'
line 3660:26 token recognition error at: ']'
line 3664:12 token recognition error at: '['
line 3664:18 token recognition error at: '*'
line 3664:19 token recognition error at: '='
line 3664:20 token recognition error at: '"'
line 3664:28 token recognition error at: '"'
line 3664:29 token recognition error at: ']'
line 3668:12 token recognition error at: '['
line 3668:18 token recognition error at: '*'
line 3668:19 token recognition error at: '='
line 3668:20 token recognition error at: '"'
line 3668:28 token recognition error at: '"'
line 3668:29 token recognition error at: ']'
line 3672:12 token recognition error at: '['
line 3672:18 token recognition error at: '*'
line 3672:19 token recognition error at: '='
line 3672:20 token recognition error at: '"'
line 3672:27 token recognition error at: '"'
line 3672:28 token recognition error at: ']'
line 3676:12 token recognition error at: '['
line 3676:18 token recognition error at: '*'
line 3676:19 token recognition error at: '='
line 3676:20 token recognition error at: '"'
line 3676:27 token recognition error at: '"'
line 3676:28 token recognition error at: ']'
line 3680:12 token recognition error at: '['
line 3680:18 token recognition error at: '*'
line 3680:19 token recognition error at: '='
line 3680:20 token recognition error at: '"'
line 3680:26 token recognition error at: '"'
line 3680:27 token recognition error at: ']'
line 3684:12 token recognition error at: '['
line 3684:18 token recognition error at: '*'
line 3684:19 token recognition error at: '='
line 3684:20 token recognition error at: '"'
line 3684:26 token recognition error at: '"'
line 3684:27 token recognition error at: ']'
line 3688:12 token recognition error at: '['
line 3688:18 token recognition error at: '*'
line 3688:19 token recognition error at: '='
line 3688:20 token recognition error at: '"'
line 3688:28 token recognition error at: '"'
line 3688:29 token recognition error at: ']'
line 3692:12 token recognition error at: '['
line 3692:18 token recognition error at: '*'
line 3692:19 token recognition error at: '='
line 3692:20 token recognition error at: '"'
line 3692:27 token recognition error at: '"'
line 3692:28 token recognition error at: ']'
line 3696:12 token recognition error at: '['
line 3696:18 token recognition error at: '*'
line 3696:19 token recognition error at: '='
line 3696:20 token recognition error at: '"'
line 3696:26 token recognition error at: '"'
line 3696:27 token recognition error at: ']'
line 3700:12 token recognition error at: '['
line 3700:18 token recognition error at: '*'
line 3700:19 token recognition error at: '='
line 3700:20 token recognition error at: '"'
line 3700:27 token recognition error at: '"'
line 3700:28 token recognition error at: ']'
line 3704:12 token recognition error at: '['
line 3704:18 token recognition error at: '*'
line 3704:19 token recognition error at: '='
line 3704:20 token recognition error at: '"'
line 3704:26 token recognition error at: '"'
line 3704:27 token recognition error at: ']'
line 3708:12 token recognition error at: '['
line 3708:18 token recognition error at: '*'
line 3708:19 token recognition error at: '='
line 3708:20 token recognition error at: '"'
line 3708:26 token recognition error at: '"'
line 3708:27 token recognition error at: ']'
line 3712:12 token recognition error at: '['
line 3712:18 token recognition error at: '*'
line 3712:19 token recognition error at: '='
line 3712:20 token recognition error at: '"'
line 3712:27 token recognition error at: '"'
line 3712:28 token recognition error at: ']'
line 61:14 no viable alternative at input 'image.loading::'
line 71:14 no viable alternative at input 'image.loading::'
line 105:7 no viable alternative at input 'switch::'
line 126:7 no viable alternative at input 'switch::'
line 133:16 no viable alternative at input 'switchchecked::'
line 138:16 no viable alternative at input 'switchchecked::'
line 145:6 no viable alternative at input 'radio::'
line 178:16 no viable alternative at input 'switchchecked::'
line 197:24 no viable alternative at input 'switch.wx-switch-input::'
line 211:48 no viable alternative at input 'switch.wx-switch-input.wx-switch-input-checked::'
line 223:31 no viable alternative at input 'switch.radius.wx-switch-input::'
line 232:24 no viable alternative at input 'switch.wx-switch-input::'
line 243:21 no viable alternative at input 'radio.radiochecked::'
line 266:12 no viable alternative at input '.switch-sex::'
line 270:12 no viable alternative at input '.switch-sex::'
line 482:7 no viable alternative at input '.solid::'
line 510:7 no viable alternative at input '.solid::'
line 514:11 no viable alternative at input '.solid-top::'
line 518:13 no viable alternative at input '.solid-right::'
line 522:14 no viable alternative at input '.solid-bottom::'
line 526:12 no viable alternative at input '.solid-left::'
line 530:8 no viable alternative at input '.solids::'
line 534:12 no viable alternative at input '.solids-top::'
line 538:14 no viable alternative at input '.solids-right::'
line 542:15 no viable alternative at input '.solids-bottom::'
line 546:13 no viable alternative at input '.solids-left::'
line 552:8 no viable alternative at input '.dashed::'
line 556:12 no viable alternative at input '.dashed-top::'
line 560:14 no viable alternative at input '.dashed-right::'
line 564:15 no viable alternative at input '.dashed-bottom::'
line 568:13 no viable alternative at input '.dashed-left::'
line 575:2 extraneous input '-' expecting {InterpolationStart, '}', '>', '~', ':', '@', '&', '#', '::', '+', '*', '@import', '@media', Identifier}
line 579:2 extraneous input '-' expecting {InterpolationStart, '}', '>', '~', ':', '@', '&', '#', '::', '+', '*', '@import', '@media', Identifier}
line 610:13 no viable alternative at input '.shadow-blur::'
line 650:8 no viable alternative at input '.cu-btn::'
line 662:23 no viable alternative at input '.cu-btnclassline::'
line 679:29 no viable alternative at input '.cu-btn.roundclassline::'
line 683:24 no viable alternative at input '.cu-btnclasslines::'
line 687:22 no viable alternative at input '.cu-btnclassbg-::'
line 720:20 no viable alternative at input '.cu-btn.shadow-blur::'
line 766:24 no viable alternative at input '.cu-tagclassline-::'
line 782:30 no viable alternative at input '.cu-tag.radiusclassline::'
line 786:29 no viable alternative at input '.cu-tag.roundclassline::'
line 817:47 no viable alternative at input '.cu-capsule.cu-tagclassline-:last-child::'
line 821:48 no viable alternative at input '.cu-capsule.cu-tagclassline-:first-child::'
line 830:38 no viable alternative at input '.cu-capsule.radius.cu-tag:last-child::'
line 842:37 no viable alternative at input '.cu-capsule.round.cu-tag:last-child::'
line 1011:11 missing ':' at 'progress-stripes'
line 1011:28 mismatched input '{' expecting {InterpolationStart, ';', ',', '@', '+', '*', '/', '-', '%', UrlStart, Identifier, StringLiteral, Number, Color, InterpolationStartAfter, IdentifierAfter}
C:\Users\llej\AppData\Roaming\npm\node_modules\lemonj\dist\cli.js:16770
      throw new RangeError("Terminal Node has no children.");
      ^

RangeError: Terminal Node has no children.
    at TerminalNode.getChild (C:\Users\llej\AppData\Roaming\npm\node_modules\lemonj\dist\cli.js:16770:13)
    at RefactorAnalysisListener.getOriginText (C:\Users\llej\AppData\Roaming\npm\node_modules\lemonj\dist\cli.js:31170:36)
    at RefactorAnalysisListener.append_issue (C:\Users\llej\AppData\Roaming\npm\node_modules\lemonj\dist\cli.js:31159:20)
    at RefactorAnalysisListener.enterProperty (C:\Users\llej\AppData\Roaming\npm\node_modules\lemonj\dist\cli.js:31073:22)
    at PropertyContext.enterRule (C:\Users\llej\AppData\Roaming\npm\node_modules\lemonj\dist\cli.js:30680:16)
    at ParseTreeWalker5.enterRule (C:\Users\llej\AppData\Roaming\npm\node_modules\lemonj\dist\cli.js:25840:11)
    at ParseTreeWalker5.walk (C:\Users\llej\AppData\Roaming\npm\node_modules\lemonj\dist\cli.js:25806:16)
    at refactorAnalysis (C:\Users\llej\AppData\Roaming\npm\node_modules\lemonj\dist\cli.js:31211:43)
    at C:\Users\llej\AppData\Roaming\npm\node_modules\lemonj\dist\cli.js:31241:18
    at C:\Users\llej\AppData\Roaming\npm\node_modules\lemonj\dist\cli.js:25909:48
phodal commented 4 years ago

语法分析出错了,能提供一下这个文件吗?

2234839 commented 4 years ago

语法分析出错了,能提供一下这个文件吗?

但看这个日志,我甚至都不知道是哪个文件的问题

2234839 commented 4 years ago

我去根据类名搜索一下试试

2234839 commented 4 years ago

根据类名猜测可能是这个文件 的问题 @phodal main.zip

phodal commented 4 years ago

应该是解析出错了

@keyframes progress-stripes {
  from {
    background-position: 72upx 0;
  }
  to {
    background-position: 0 0;
  }
}
2234839 commented 4 years ago

应该是解析出错了

@keyframes progress-stripes {
  from {
    background-position: 72upx 0;
  }
  to {
    background-position: 0 0;
  }
}

我刚刚试了一下如下的代码也会报错

.radio[checked]{
}

图片

.radio[checked]{
  color:red
}

图片

phodal commented 4 years ago

哈哈,有兴趣修一修吗?

2234839 commented 4 years ago

哈哈,有兴趣修一修吗?

很遗憾,我没有足够的时间了

phodal commented 4 years ago

原来是 UniApp 的,我就说为什么语法不一样。

2234839 commented 4 years ago

原来是 UniApp 的,我就说为什么语法不一样。

但这都是合法的 css ,我上面测试的那两段代码更是没有任何特殊性

phodal commented 4 years ago

嗯,晚上更新一下语法文件

LiuuY commented 4 years ago

在 v0.2.0 修复