Add line numbers to file paths in the website editor structure docs (#3130)

* added the line number to existing path

* Update JS parser to use line numbers

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Mohd Mohsin
2026-02-15 23:59:27 +00:00
committed by GitHub
co-authored by Keavon Chambers
parent 82f7dc7062
commit b697cc8131
7 changed files with 51 additions and 14 deletions
+3 -2
View File
@@ -49,11 +49,11 @@ pub trait HierarchicalTree {
fn build_message_tree() -> DebugMessageTree;
fn message_handler_data_str() -> MessageData {
MessageData::new(String::new(), Vec::new(), "")
MessageData::new(String::new(), Vec::new(), "", 0)
}
fn message_handler_str() -> MessageData {
MessageData::new(String::new(), Vec::new(), "")
MessageData::new(String::new(), Vec::new(), "", 0)
}
fn path() -> &'static str {
@@ -64,5 +64,6 @@ pub trait HierarchicalTree {
pub trait ExtractField {
fn field_types() -> Vec<(String, usize)>;
fn path() -> &'static str;
fn line_number() -> usize;
fn print_field_types();
}