Menu

#95 Add origin tracking to AST source locations

V0.8.x
closed
5
2008-07-09
2008-07-09
No

Currently, every AST node carries a source location that records the portion of a string that corresponds to it. However, the origin of that string is lost, as the source location contains only textual position.

It would be very useful to have source location objects that also carry an origin. This could be used for instance for recording within an AST the handle to the database item from which it was created.

Discussion

  • Nicolas Beauger

    Nicolas Beauger - 2008-07-09
    • status: open --> closed
     
  • Nicolas Beauger

    Nicolas Beauger - 2008-07-09

    Logged In: YES
    user_id=2102738
    Originator: NO

    Implemented. Committed on 2008-07-09.

     

Log in to post a comment.