internal/ast

Types

pub type AnotherFilesAst {
  AnotherFilesAst(List(FileAst))
}

Constructors

  • AnotherFilesAst(List(FileAst))
pub type FileAst {
  FileAst(AST)
}

Constructors

  • FileAst(AST)
pub type ImportedInfo {
  ModuleImported(ModuleName)
  ImportedAsAlias
}

Constructors

  • ModuleImported(ModuleName)
  • ImportedAsAlias
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_ast(
  files_contents: List(FileContent),
) -> List(FileAst)
pub fn files_paths_with_ast(
  dir: FilesDir,
  test_dir: Option(FilesDir),
) -> List(#(FilePath, FileAst, AnotherFilesAst))
pub fn imported_info(
  imports: List(Definition(Import)),
  module_full_name: ModuleFullName,
  exported: PublicMember,
) -> List(ImportedInfo)
Search Document