This repository was archived by the owner on Dec 4, 2018. It is now read-only.
This repository was archived by the owner on Dec 4, 2018. It is now read-only.
Support node ranges and locations #89
Description
it would be very helpful if doctrine could support node ranges and locations. I imagine this would be the same infos that the Esprima parser provides, for example:
@param {Foo} one first param
parsed with options {loc:true, ranges:true}
would yield something like:
{
"description": "",
"tags": [
{
"title": "param",
"description": "first param",
"type": {
"type": "NameExpression",
"name": "Foo"
},
"name": "one",
"loc": {
"start": {
"line":1,
"column": 0
}
"end": {
"line": 1,
"column": 30
}
}
"range": [0, 30]
}
]
}