internal/ast
Types
pub type AnotherFilesAst {
AnotherFilesAst(Iterator(FileAst))
}
Constructors
-
AnotherFilesAst(Iterator(FileAst))
pub type ModuleName {
ModuleName(String)
}
Constructors
-
ModuleName(String)
pub type PublicMember {
PublicFun(String)
PublicConst(String)
PublicType(String)
}
Constructors
-
PublicFun(String)
-
PublicConst(String)
-
PublicType(String)
Functions
pub fn files_paths_with_ast(
dir: FilesDir,
test_dir: Option(FilesDir),
) -> List(#(FilePath, FileAst, AnotherFilesAst))
pub fn is_pub_member_used(
files_ast: AnotherFilesAst,
pub_member_name: PublicMember,
module_full_name: ModuleFullName,
check_usage: fn(List(Statement), PublicMember, ModuleName) ->
Result(Nil, a),
) -> Result(Nil, Nil)