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
This seems like a very neat library, but I am struggling with one thing. I want my AST nodes with have a Span that van point to the characters that resulting in that node:
struct Span {
begin: usize,
end: usize,
}
I assume I can use the pos() function to built this. However, I can't see how I would do this. Do you have any examples?
The text was updated successfully, but these errors were encountered:
This seems like a very neat library, but I am struggling with one thing. I want my AST nodes with have a Span that van point to the characters that resulting in that node:
I assume I can use the
pos()
function to built this. However, I can't see how I would do this. Do you have any examples?The text was updated successfully, but these errors were encountered: