File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -79,18 +79,18 @@ export class Forest {
79
79
function serializeNode ( node : Node ) : string {
80
80
let output : string = ''
81
81
const template : string = `{
82
- Name : "${ node . name } ",
83
- Path : []byte("${ node . path } "),
82
+ name : "${ node . name } ",
83
+ path : []byte("${ node . path } "),
84
84
`
85
85
86
86
output += template
87
87
if ( node . children . length > 0 ) {
88
88
for ( const child of node . children ) {
89
89
if ( child . isVariable ) {
90
- output += `Variable : &node${ serializeNode ( child ) } `
90
+ output += `variable : &node${ serializeNode ( child ) } `
91
91
}
92
92
}
93
- output += `Children : []node{
93
+ output += `children : []node{
94
94
`
95
95
for ( const child of node . children ) {
96
96
if ( ! child . isVariable ) {
@@ -130,7 +130,7 @@ function serializeForest (forest: Forest): string {
130
130
output += begin
131
131
132
132
for ( const [ version , tree ] of forest . byVersion ) {
133
- output += `\n'${ version } ': { ByMethod : map[string]node{`
133
+ output += `\n'${ version } ': { byMethod : map[string]node{`
134
134
output += serializeTree ( tree )
135
135
output += '},'
136
136
}
You can’t perform that action at this time.
0 commit comments