tan  0.0.1
tanlang::SourceSpan Class Reference

A span of source code tokens, inclusive on both ends. More...

#include <source_file.h>

Public Member Functions

 SourceSpan (const SourceFile *src, uint32_t line, uint32_t col)
 
 SourceSpan (const SourceFile *src, uint32_t start_line, uint32_t start_col, uint32_t end_line, uint32_t end_col)
 
 SourceSpan (const SrcLoc &start, const SrcLoc &end)
 
SourceFilesrc () const
 
const SrcLocstart () const
 
const SrcLocend () const
 

Detailed Description

A span of source code tokens, inclusive on both ends.

Definition at line 96 of file source_file.h.


The documentation for this class was generated from the following files: