Struct symbolic_sourcemap::SourceView [−][src]
pub struct SourceView<'a> { /* fields omitted */ }
Expand description
Represents JS source code.
Implementations
Creates a view from a string.
Creates a soruce view from bytes ignoring utf-8 errors.
Returns the number of lines.