public interface IMappingEmitter
| Modifier and Type | Interface and Description |
|---|---|
static class |
IMappingEmitter.SourceMapMapping |
| Modifier and Type | Method and Description |
|---|---|
void |
endMapping(ISourceLocation node)
Commits a mapping to the source map.
|
List<IMappingEmitter.SourceMapMapping> |
getSourceMapMappings() |
void |
startMapping(ISourceLocation node)
Adds a node to the source map.
|
void |
startMapping(ISourceLocation node,
int line,
int column)
Adds a node to the source map using custom line and column values,
instead of the node's own line and column.
|
void |
startMapping(ISourceLocation node,
ISourceLocation afterNode)
Adds a node to the source map after a particular node instead using the
node's own line and column.
|
List<IMappingEmitter.SourceMapMapping> getSourceMapMappings()
void startMapping(ISourceLocation node)
void startMapping(ISourceLocation node, int line, int column)
void startMapping(ISourceLocation node, ISourceLocation afterNode)
void endMapping(ISourceLocation node)
Copyright © 2020 The Apache Software Foundation. All rights reserved.