Struct sourcemap::SourceMapSection [] [src]

pub struct SourceMapSection { /* fields omitted */ }

Represents a section in a sourcemap index

Methods

impl SourceMapSection
[src]

[src]

Create a new sourcemap index section

  • offset: offset as line and column
  • url: optional URL of where the sourcemap is located
  • map: an optional already resolved internal sourcemap

[src]

Returns the offset line

[src]

Returns the offset column

[src]

Returns the offset as tuple

[src]

Returns the URL of the referenced map if available

[src]

Updates the URL for this section.

[src]

Returns a reference to the embedded sourcemap if available

[src]

Returns a reference to the embedded sourcemap if available

[src]

Replaces the embedded sourcemap

Trait Implementations

Auto Trait Implementations