mirror of
https://github.com/AleoHQ/leo.git
synced 2025-01-01 14:28:52 +03:00
Adds statements directory, moves for statement
This commit is contained in:
parent
47bcb069ba
commit
ad0a9c5381
@ -5,11 +5,13 @@ use crate::{
|
|||||||
BinaryOperation,
|
BinaryOperation,
|
||||||
NotOperation,
|
NotOperation,
|
||||||
},
|
},
|
||||||
|
statements::{
|
||||||
|
ForStatement
|
||||||
|
},
|
||||||
types::{
|
types::{
|
||||||
ArrayType,
|
ArrayType,
|
||||||
CircuitType,
|
CircuitType,
|
||||||
DataType,
|
DataType,
|
||||||
ForStatement,
|
|
||||||
GroupType,
|
GroupType,
|
||||||
Identifier,
|
Identifier,
|
||||||
SelfType,
|
SelfType,
|
||||||
|
@ -14,6 +14,9 @@ pub use errors::*;
|
|||||||
pub mod operations;
|
pub mod operations;
|
||||||
pub use operations::*;
|
pub use operations::*;
|
||||||
|
|
||||||
|
pub mod statements;
|
||||||
|
pub use statements::*;
|
||||||
|
|
||||||
pub mod values;
|
pub mod values;
|
||||||
pub use 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 mod group_type;
|
||||||
pub use group_type::*;
|
pub use group_type::*;
|
||||||
|
|
||||||
pub mod for_statement;
|
|
||||||
pub use for_statement::*;
|
|
||||||
|
|
||||||
pub mod identifier;
|
pub mod identifier;
|
||||||
pub use identifier::*;
|
pub use identifier::*;
|
||||||
|
|
||||||
|
@ -7,11 +7,13 @@ use leo_ast::{
|
|||||||
AssignOperation,
|
AssignOperation,
|
||||||
BinaryOperation,
|
BinaryOperation,
|
||||||
},
|
},
|
||||||
|
statements::{
|
||||||
|
ForStatement,
|
||||||
|
},
|
||||||
types::{
|
types::{
|
||||||
ArrayType,
|
ArrayType,
|
||||||
CircuitType,
|
CircuitType,
|
||||||
DataType,
|
DataType,
|
||||||
ForStatement,
|
|
||||||
Identifier,
|
Identifier,
|
||||||
IntegerType,
|
IntegerType,
|
||||||
Visibility,
|
Visibility,
|
||||||
|
Loading…
Reference in New Issue
Block a user