for AST return value tracking The changes introduce support for tracking return values and labels across AST nodes. The key changes include: - Adding ReturnValue type to BaseValue - Adding return_type field to LoxFunction - Adding label field to Block statements - Creating middleend crawler module for AST traversal Add return value types to AST This accurately captures both changes: adding `.idea/` to gitignore and adding return value types to the AST structure. The changes include adding return value fields to statement nodes and adjusting the interpreter logic accordingly.
31 lines
820 B
Plaintext
31 lines
820 B
Plaintext
/target
|
|
|
|
# Created by https://www.toptal.com/developers/gitignore/api/rust,rust-analyzer
|
|
# Edit at https://www.toptal.com/developers/gitignore?templates=rust,rust-analyzer
|
|
|
|
### Rust ###
|
|
# Generated by Cargo
|
|
# will have compiled files and executables
|
|
debug/
|
|
target/
|
|
|
|
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
|
|
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
|
|
Cargo.lock
|
|
|
|
# These are backup files generated by rustfmt
|
|
**/*.rs.bk
|
|
|
|
# MSVC Windows builds of rustc generate these, which store debugging information
|
|
*.pdb
|
|
|
|
### rust-analyzer ###
|
|
# Can be generated by other build systems other than cargo (ex: bazelbuild/rust_rules)
|
|
rust-project.json
|
|
|
|
|
|
# End of https://www.toptal.com/developers/gitignore/api/rust,rust-analyzer
|
|
.zed/
|
|
|
|
.idea/
|