MCPcopy Create free account
hub / github.com/WeaveMindAI/weft / default

Method default

crates/weft-core/src/node.rs:114–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 pub line: usize,
113 pub column: usize,
114 #[serde(default, rename = "endLine")]
115 pub end_line: usize,
116 #[serde(default, rename = "endColumn")]
117 pub end_column: usize,
118 pub severity: Severity,
119 pub message: String,
120 #[serde(default, skip_serializing_if = "Option::is_none")]
121 pub code: Option<String>,
122 /// The file the span's coordinates live in, when it is NOT the
123 /// source that was compiled: an `@include` splices another file's
124 /// nodes into the project with their own line numbers, and without
125 /// this a finding on an included node points a reader (and the
126 /// editor's click-to-jump) at the wrong file. None = the compiled
127 /// source itself.
128 #[serde(default, skip_serializing_if = "Option::is_none")]
129 pub file: Option<String>,
130}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected