Skip to content

Commit 08ebc45

Browse files
committed
add: if statement support
1 parent e8c3a32 commit 08ebc45

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

packages/common/src/scopeSupportFacets/dart.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ import { ScopeSupportFacetLevel } from "./scopeSupportFacets.types";
44
// eslint-disable-next-line @typescript-eslint/no-unused-vars
55
const { supported, unsupported, notApplicable } = ScopeSupportFacetLevel;
66

7-
export const dartScopeSupport: LanguageScopeSupportFacetMap = {};
7+
export const dartScopeSupport: LanguageScopeSupportFacetMap = {
8+
// list: supported,
9+
// map: supported,
10+
ifStatement: supported,
11+
};

queries/dart.scm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
;;!! if () {}
3+
;;! ^^^^^^^^
4+
(if_statement) @ifStatement

0 commit comments

Comments
 (0)