Skip to content

Stop calculation of positions by using position.LocToPos and position.PosToLoc #145

@laytan

Description

@laytan

Since latest version of php-parser the start and end column are given in the position.Position struct, this should be enough to check positions in most cases.
More performant, readable and robust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions