mirror of
https://github.com/AleoHQ/leo.git
synced 2024-09-11 15:05:33 +03:00
Adds statements directory, moves for statement
This commit is contained in:
parent
47bcb069ba
commit
ad0a9c5381
@ -5,11 +5,13 @@ use crate::{
|
||||
BinaryOperation,
|
||||
NotOperation,
|
||||
},
|
||||
statements::{
|
||||
ForStatement
|
||||
},
|
||||
types::{
|
||||
ArrayType,
|
||||
CircuitType,
|
||||
DataType,
|
||||
ForStatement,
|
||||
GroupType,
|
||||
Identifier,
|
||||
SelfType,
|
||||
|
@ -14,6 +14,9 @@ pub use errors::*;
|
||||
pub mod operations;
|
||||
pub use operations::*;
|
||||
|
||||
pub mod statements;
|
||||
pub use statements::*;
|
||||
|
||||
pub mod values;
|
||||
pub use values::*;
|
||||
|
||||
|
2
ast/src/statements/mod.rs
Normal file
2
ast/src/statements/mod.rs
Normal file
@ -0,0 +1,2 @@
|
||||
pub mod for_statement;
|
||||
pub use for_statement::*;
|
@ -16,9 +16,6 @@ pub use field_type::*;
|
||||
pub mod group_type;
|
||||
pub use group_type::*;
|
||||
|
||||
pub mod for_statement;
|
||||
pub use for_statement::*;
|
||||
|
||||
pub mod identifier;
|
||||
pub use identifier::*;
|
||||
|
||||
|
@ -7,11 +7,13 @@ use leo_ast::{
|
||||
AssignOperation,
|
||||
BinaryOperation,
|
||||
},
|
||||
statements::{
|
||||
ForStatement,
|
||||
},
|
||||
types::{
|
||||
ArrayType,
|
||||
CircuitType,
|
||||
DataType,
|
||||
ForStatement,
|
||||
Identifier,
|
||||
IntegerType,
|
||||
Visibility,
|
||||
|
Loading…
Reference in New Issue
Block a user