Phase 5: Editor und inkrementellen Compiler implementieren und archivieren
This commit is contained in:
@@ -7,14 +7,14 @@ pub struct SourceFile {
|
||||
pub path: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub struct SourceSegment {
|
||||
pub file: String,
|
||||
pub first_line: u32,
|
||||
pub text: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub struct SourceUnit {
|
||||
pub name: String,
|
||||
pub segments: Vec<SourceSegment>,
|
||||
|
||||
Reference in New Issue
Block a user