Skip to content

Commit

Permalink
add: if statement support
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyvesali committed Oct 27, 2024
1 parent e8c3a32 commit 08ebc45
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/common/src/scopeSupportFacets/dart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ import { ScopeSupportFacetLevel } from "./scopeSupportFacets.types";
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { supported, unsupported, notApplicable } = ScopeSupportFacetLevel;

export const dartScopeSupport: LanguageScopeSupportFacetMap = {};
export const dartScopeSupport: LanguageScopeSupportFacetMap = {
// list: supported,
// map: supported,
ifStatement: supported,
};
4 changes: 4 additions & 0 deletions queries/dart.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

;;!! if () {}
;;! ^^^^^^^^
(if_statement) @ifStatement

0 comments on commit 08ebc45

Please sign in to comment.