Closed PappasBrent closed 1 year ago
Adds a static method to TokenRange for building token ranges from arbitrary tokens
TokenRange
@pgoodman Do you think I should make the return type an optional and return nullopt if begin > end ?
optional
nullopt
begin
end
@PappasBrent yes. And you should check that the underlying AST pointers of the two tokens match.
Adds a static method to
TokenRange
for building token ranges from arbitrary tokens