minor cleanup

This commit is contained in:
Anton-4 2021-09-25 19:27:48 +02:00
parent 95a30210ce
commit 358664a51a
4 changed files with 1 additions and 43 deletions

View file

@ -1,14 +0,0 @@
pub mod ast;
pub mod constrain;
pub mod lang;
mod module;
pub mod parse;
mod pattern;
pub mod pool;
pub mod roc_file;
mod scope;
pub mod solve;
mod types;
mod rigids;
mod canonicalize;
pub mod ast_error;

View file

@ -1,3 +1,2 @@
pub mod parse_ast; pub mod parse_ast;
pub mod parse_expr;
pub mod parse_header; pub mod parse_header;

View file

@ -1 +0,0 @@

View file

@ -11,33 +11,7 @@ use crate::{
use super::{ use super::{
attribute::Attributes, common_nodes::new_blank_mn_w_nls, top_level_def::tld_mark_node, attribute::Attributes, common_nodes::new_blank_mn_w_nls, top_level_def::tld_mark_node,
}; };
/*use crate::editor::ed_error::EdResult;
use crate::editor::ed_error::ExpectedTextNode;
use crate::editor::ed_error::{NestedNodeMissingChild, NestedNodeRequired};
use crate::editor::markup::common_nodes::new_blank_mn;
use crate::editor::markup::common_nodes::new_blank_mn_w_nls;
use crate::editor::markup::common_nodes::new_colon_mn;
use crate::editor::markup::common_nodes::new_comma_mn;
use crate::editor::markup::common_nodes::new_equals_mn;
use crate::editor::markup::common_nodes::new_left_accolade_mn;
use crate::editor::markup::common_nodes::new_left_square_mn;
use crate::editor::markup::common_nodes::new_right_accolade_mn;
use crate::editor::markup::common_nodes::new_right_square_mn;
use crate::editor::mvc::tld_value_update::tld_mark_node;
use crate::editor::slow_pool::MarkNodeId;
use crate::editor::slow_pool::SlowPool;
use crate::editor::syntax_highlight::HighlightStyle;
use crate::editor::util::index_of;
use crate::lang::ast::Def2;
use crate::lang::ast::DefId;
use crate::lang::ast::ExprId;
use crate::lang::ast::RecordField;
use crate::lang::ast::ValueDef;
use crate::lang::parse::ASTNodeId;
use crate::lang::parse::{AppHeader, AST};
use crate::lang::pattern::get_identifier_string;
use crate::lang::{ast::Expr2, expr::Env, pool::PoolStr};
use crate::ui::util::slice_get;*/
use crate::markup_error::{ExpectedTextNode, NestedNodeMissingChild, NestedNodeRequired}; use crate::markup_error::{ExpectedTextNode, NestedNodeMissingChild, NestedNodeRequired};
use bumpalo::Bump; use bumpalo::Bump;
use roc_ast::{ use roc_ast::{