File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
rocket-chatter-ingestion-server/src/process/prepare/processor/core Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 1+ export type TreeNodeSourceLocation = {
2+ start : {
3+ line : number
4+ column : number
5+ index : number
6+ }
7+ end : {
8+ line : number
9+ column : number
10+ index : number
11+ }
12+ }
13+
114export class TreeNode {
215 name : string = ""
316 type : string = ""
417 body : string = ""
518
19+ location : TreeNodeSourceLocation
620 sourceFileRelativePath : string
721
822 uses : {
@@ -14,12 +28,14 @@ export class TreeNode {
1428 name : string ,
1529 type : string ,
1630 body : string ,
17- sourceFilePath : string
31+ sourceFilePath : string ,
32+ location : TreeNodeSourceLocation
1833 ) {
1934 this . name = name
2035 this . type = type
2136 this . body = body
2237 this . sourceFileRelativePath = sourceFilePath
38+ this . location = location
2339 }
2440
2541 toString ( ) {
You can’t perform that action at this time.
0 commit comments