Skip to content

Commit cfeb938

Browse files
committed
Update various ts parsers
1 parent ca2ab82 commit cfeb938

20 files changed

Lines changed: 259209 additions & 272022 deletions

src/checker.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl Checker for CppCode {
8484
impl Checker for CSharpCode {
8585
mk_checker!(is_comment, Comment);
8686
mk_checker!(is_string, StringLiteral);
87-
mk_checker!(is_call, CallExpression);
87+
mk_checker!(is_call, InvocationExpression);
8888
mk_checker!(
8989
is_func,
9090
MethodDeclaration,
@@ -232,7 +232,7 @@ impl Checker for TsxCode {
232232

233233
impl Checker for GoCode {
234234
mk_checker!(is_comment, Comment);
235-
mk_checker!(is_string, StringLiteral);
235+
mk_checker!(is_string, RawStringLiteral, InterpretedStringLiteral);
236236
mk_checker!(is_call, CallExpression);
237237
mk_checker!(is_func, FunctionDeclaration, MethodDeclaration, FuncLiteral);
238238
mk_checker!(

0 commit comments

Comments
 (0)