Adds statements directory, moves for statement

This commit is contained in:
howardwu 2020-06-07 00:49:29 -07:00
parent 47bcb069ba
commit ad0a9c5381
6 changed files with 11 additions and 5 deletions

View File

@ -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,

View File

@ -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::*;

View File

@ -0,0 +1,2 @@
pub mod for_statement;
pub use for_statement::*;

View File

@ -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::*;

View File

@ -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,