Commit af75600
committed
Add lines to json LOC
Currently LOC outputted from graphql_ast_to_json() only contains columns. The PHP extension for libgraphqlparser is using graphql_ast_to_json() to reduce the amount of c code required to integrate with PHP. The outcome being that I have no way of getting to the line information. I suppose I could write a better PHP extension, but wondering if you guys would be amenable to simply add the information to the json blob?1 parent 8fd351b commit af75600
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| |||
0 commit comments