forked from universal-ctags/ctags
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Related to universal-ctags#3435. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
- Loading branch information
Showing
4 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--sort=no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
foo input.js /^const embedded = { foo: 'bar' }$/;" p variable:embedded | ||
embedded input.js /^const embedded = { foo: 'bar' }$/;" v | ||
baz input.js /^ baz: 'fox',$/;" p variable:something | ||
something input.js /^const something = {$/;" v | ||
mapGetters input.js /^const mapGetters = function() {}$/;" f | ||
computed input.js /^const computed = {$/;" C | ||
fn input.js /^ fn: () => { \/* doing something *\/ },$/;" m variable:FNO | ||
FNO input.js /^const FNO = {$/;" v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// This test input is based on the comment submitted by AdrienGiboire in #3435 | ||
// | ||
|
||
const embedded = { foo: 'bar' } | ||
const something = { | ||
...embedded, | ||
baz: 'fox', | ||
} | ||
|
||
const mapGetters = function() {} | ||
const computed = { | ||
...mapGetters([ | ||
'getAsylumAssistant', | ||
'getModel', | ||
'getType', | ||
]), | ||
} | ||
|
||
const FNO = { | ||
fn: () => { /* doing something */ }, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters