dtzrttp/moonbit-rtl/src/source does not have a README file
pub(all) struct LineIndex { starts : Array[Int] ends : Array[Int] text_length : Int} derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn LineIndex::column_at(self : LineIndex, offset : Int) -> Int
fn LineIndex::contains_offset(self : LineIndex, offset : Int) -> Bool
fn LineIndex::line_at(self : LineIndex, offset : Int) -> Int
fn LineIndex::line_count(self : LineIndex) -> Int
fn LineIndex::line_ends(self : LineIndex) -> Array[Int]
fn LineIndex::line_starts(self : LineIndex) -> Array[Int]
fn LineIndex::offset_at(self : LineIndex, line : Int, column : Int) -> Int?
fn LineIndex::span_for_line(self : LineIndex, line : Int) -> Span?
pub(all) struct SourceBundle { files : Array[SourceFile]}
fn SourceBundle::add(self : SourceBundle, file : SourceFile) -> Unit
fn SourceBundle::average_line_length(self : SourceBundle) -> Int
fn SourceBundle::blank_lines(self : SourceBundle) -> Int
fn SourceBundle::code_lines(self : SourceBundle) -> Int
fn SourceBundle::comment_lines(self : SourceBundle) -> Int
fn SourceBundle::comment_only_files(self : SourceBundle) -> Array[String]
fn SourceBundle::contains_text(self : SourceBundle, text : String) -> Bool
fn SourceBundle::empty_files(self : SourceBundle) -> Array[String]
fn SourceBundle::file_count_with_extension(self : SourceBundle, extension : String) -> Int
fn SourceBundle::file_names_with_text(self : SourceBundle, text : String) -> Array[String]
fn SourceBundle::file_with_most_code(self : SourceBundle) -> SourceSummary?
fn SourceBundle::from_files(files : Array[SourceFile]) -> SourceBundle
fn SourceBundle::get(self : SourceBundle, name : String) -> SourceFile?
fn SourceBundle::has_duplicate_names(self : SourceBundle) -> Bool
fn SourceBundle::is_empty(self : SourceBundle) -> Bool
fn SourceBundle::largest_file(self : SourceBundle) -> SourceSummary?
fn SourceBundle::len(self : SourceBundle) -> Int
fn SourceBundle::max_line_length(self : SourceBundle) -> Int
fn SourceBundle::names(self : SourceBundle) -> Array[String]
fn SourceBundle::new() -> SourceBundle
fn SourceBundle::normalized(self : SourceBundle) -> SourceBundle
fn SourceBundle::quality_summary(self : SourceBundle) -> String
fn SourceBundle::summaries(self : SourceBundle) -> Array[SourceSummary]
fn SourceBundle::summary(self : SourceBundle) -> String
fn SourceBundle::summary_line(self : SourceBundle) -> String
fn SourceBundle::total_characters(self : SourceBundle) -> Int
fn SourceBundle::total_lines(self : SourceBundle) -> Int
fn SourceBundle::with_prefix(self : SourceBundle, prefix : String) -> SourceBundle
pub(all) struct SourceFile { file_name : String text : String}
fn SourceFile::character_count(self : SourceFile) -> Int
fn SourceFile::contains_offset(self : SourceFile, offset : Int) -> Bool
fn SourceFile::line_col(self : SourceFile, offset : Int) -> (Int, Int)
fn SourceFile::line_count(self : SourceFile) -> Int
fn SourceFile::line_index(self : SourceFile) -> LineIndex
fn SourceFile::line_text(self : SourceFile, offset : Int) -> String
fn SourceFile::lines(self : SourceFile) -> Array[String]
fn SourceFile::name(self : SourceFile) -> String
fn SourceFile::new(file_name : String, text : String) -> SourceFile
fn SourceFile::normalized(self : SourceFile) -> SourceFile
fn SourceFile::offset_after_text(self : SourceFile, text : String) -> Int?
fn SourceFile::offset_line_column(self : SourceFile, offset : Int) -> (Int, Int)
fn SourceFile::slice(self : SourceFile, span : Span) -> String
fn SourceFile::span_text(self : SourceFile, line : Int) -> String?
fn SourceFile::summary(self : SourceFile) -> SourceSummary
fn SourceFile::text(self : SourceFile) -> String
pub(all) struct SourceSummary { file_name : String lines : Int characters : Int blank_lines : Int comment_lines : Int code_lines : Int max_line_length : Int} derive(Eq, @moonbitlang/core/debug.DebugDebug)
pub(all) struct Span { start : Int end : Int} derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn Span::is_empty(self : Span) -> Bool
fn Span::length(self : Span) -> Int
fn Span::new(start : Int, end : Int) -> Span
fn source_span_union(left : Span, right : Span) -> Span
fn source_spans_union(spans : Array[Span]) -> Span?
Install
A Verilog-2001 RTL parser, hierarchy analyzer, and lint tool written in MoonBit.
No dependents
Powered by MoonBit
© 2026 mooncakes.io