1.0.1 • Published 2 years ago
nv-js-loc v1.0.1
nv-js-loc
- nv-js-loc
- code from @babel/parser location
- for copy/paste in nvlang
install
- npm install nv-js-loc
usage
METHODS
SourceLocation
getter/setter
loc.end loc.filename
loc.identifierName loc.start
getter
___dont_copy___ //always true
APIS
{
SourceLocation: [class SourceLocation extends Array] {
PROPS: [ 'start', 'end', 'filename', 'identifierName' ]
},
getLocationForPosition: [Function: getLocationForPosition]
}
LICENSE
- ISC
1.0.1
2 years ago