Use proper naming for position/location #13
Labels
🗄 area/interface
This affects the public interface
💪 phase/solved
Post is done
🧑 semver/major
This is a change
🐛 type/bug
This is a problem
Currently,
location
andposition
is used interchangeably, while they differ.This confusion derives from
node.position
, which holds a location, and a location hasstart
andend
set to a position.I propose:
node.position
(aka “location”, “positional info”)node.position.start
,node.position.end
(as it refers to a point in a file)The text was updated successfully, but these errors were encountered: