diff --git a/src/expr/syntax_tree.rs b/src/expr/syntax_tree.rs index 698564c72..7921e2d9a 100644 --- a/src/expr/syntax_tree.rs +++ b/src/expr/syntax_tree.rs @@ -15,7 +15,7 @@ use tokens::{Token}; type TokenStack = Vec<(usize, Token)>; -type OperandsList = Vec< Box >; +pub type OperandsList = Vec< Box >; #[derive(Debug)] pub enum ASTNode { diff --git a/src/fmt/parasplit.rs b/src/fmt/parasplit.rs index 01627f24a..f903b0846 100644 --- a/src/fmt/parasplit.rs +++ b/src/fmt/parasplit.rs @@ -58,7 +58,7 @@ impl Line { // each line's prefix has to be considered to know whether to merge it with // the next line or not #[derive(Debug)] -struct FileLine { +pub struct FileLine { line : String, indent_end : usize, // the end of the indent, always the start of the text pfxind_end : usize, // the end of the PREFIX's indent, that is, the spaces before the prefix