port recast to rust 🦀 (#178)
* port recast to rust with massaged serialisation * remove logs * fix the last of white space test failures * remove ts recastor * clean up imports * use serde serialise features * unneeded async * final clean up recast.ts * more clean up tweaks * improve Rust BinaryPart types * Comments, fix warnings * Run clippy --fix * Remove unused variable * serialise none_code_nodes manual to force strings to numbers --------- Co-authored-by: Adam Chalmers <adam.s.chalmers@gmail.com>
This commit is contained in:
@ -64,7 +64,7 @@ export interface NoneCodeNode extends GeneralStatement {
|
||||
|
||||
export interface NoneCodeMeta {
|
||||
// Stores the whitespace/comments that go after the statement who's index we're using here
|
||||
[statementIndex: number]: NoneCodeNode
|
||||
noneCodeNodes: { [statementIndex: number]: NoneCodeNode }
|
||||
// Which is why we also need `start` for and whitespace at the start of the file/block
|
||||
start?: NoneCodeNode
|
||||
}
|
||||
|
Reference in New Issue
Block a user