Struct symbolic_sourcemap::SourceView[][src]

pub struct SourceView<'a> { /* fields omitted */ }

Represents JS source code.

Methods

impl<'a> SourceView<'a>
[src]

Returns a view from a given source string.

Creates a view from a string.

Creates a soruce view from bytes ignoring utf-8 errors.

Returns the embedded source a string.

Returns a specific line.

Returns the number of lines.

Auto Trait Implementations

impl<'a> !Send for SourceView<'a>

impl<'a> !Sync for SourceView<'a>