You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
Provide connivence accessors on SourceMap's for begin/end line/column #253
I am sure we can make a more intutive syntax for this, here's exerp from the Paw API Blueprint importer:
parseResult.errors.forEach((error)=>{conststart=error.attributes.get('sourceMap').get(0).get(0).get(0);constline=start.attributes.get('line');constcolumn=start.attributes.get('column');thrownewError(`${error.toValue()} on line ${line}:${column}`)});
I am sure we can make a more intutive syntax for this, here's exerp from the Paw API Blueprint importer: