Skip to content

Use proper naming for position/location #13

Closed
@wooorm

Description

@wooorm

Currently, location and position is used interchangeably, while they differ.
This confusion derives from node.position, which holds a location, and a location has start and end set to a position.

I propose:

  • position for node.position (aka “location”, “positional info”)
  • point for node.position.start, node.position.end (as it refers to a point in a file)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions