1 #ifndef __TAN_SRC_AST_SOURCE_TRACEABLE_H__
2 #define __TAN_SRC_AST_SOURCE_TRACEABLE_H__
4 #include "source_file/tokenized_source_file.h"
27 [[nodiscard]] uint32_t start()
const;
28 [[nodiscard]] uint32_t end()
const;
29 void set_start(uint32_t val);
30 void set_end(uint32_t val);
Represents the nodes that can be traced back to tokens in the source file.
Different from SourceSpan, TokenSpan operates on the token level.
Different from SourceFile, TokenizedSourceFile manages the tokenized text of a source file.