-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional Parser Functionality (#84)
* Add data, watch documentation features * Add auto-type detecting column for data, computed from store column for computer * Use babel types function for node type checking * Fix data documentation to also work when data is method * Revert "Fix data documentation to also work when data is method" This reverts commit 53c3b7e. * Fix data documentation to also work when data is method * Add type columns for computed and watch * Add support for data defined with an arrow function * Add store detection for computed arrow function * Add unit tests, remove argumentsDesc from ComputedResult * Add type checking for normal JS function * Refractor ObjectMethod data check to processData * Add local running documentation * Add example for documenting component * Update vue-template-loader library to fix template root comment issues * tslint fixes, examples folder added * readme additions of samples and developer workflows
- Loading branch information
1 parent
68df228
commit 3a2eb78
Showing
18 changed files
with
845 additions
and
21 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
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
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
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
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
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,29 @@ | ||
<template> | ||
<div></div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
computed: { | ||
/** | ||
* @vuese | ||
* Returns filtered paths | ||
* @type String | ||
*/ | ||
normalComputedValue() { | ||
return "this might be a string".split('').reverse('').join('') | ||
}, | ||
/** | ||
* @vuese | ||
* Returns filtered paths | ||
* @type Array | ||
*/ | ||
storeValue() { | ||
return this.$store.state.pathsFiltered; | ||
}, | ||
undocumentedComputed() { | ||
return true | ||
} | ||
} | ||
} | ||
</script> |
Oops, something went wrong.