tan
0.0.1
|
Different from SourceFile, TokenizedSourceFile manages the tokenized text of a source file. More...
#include <tokenized_source_file.h>
Public Member Functions | |
TokenizedSourceFile (str filename, vector< Token * > tokens) | |
Token * | get_token (uint32_t loc) const |
uint32_t | get_line (uint32_t loc) const |
uint32_t | get_col (uint32_t loc) const |
str | get_token_str (uint32_t loc) const |
Token * | get_last_token () const |
bool | is_eof (uint32_t loc) const |
str | get_filename () const |
str | get_src_location_str (uint32_t loc) const |
SourceFile * | src () const |
str | get_source_code (uint32_t start, uint32_t end) const |
Different from SourceFile, TokenizedSourceFile manages the tokenized text of a source file.
Definition at line 10 of file tokenized_source_file.h.