org.jetbrains.js.compiler.sourcemap
Class SourceMap3Builder

java.lang.Object
  extended by org.jetbrains.js.compiler.sourcemap.SourceMap3Builder
All Implemented Interfaces:
SourceMapBuilder

public class SourceMap3Builder
extends java.lang.Object
implements SourceMapBuilder


Constructor Summary
SourceMap3Builder(java.io.File generatedFile, TextOutput textOutput, com.intellij.util.PairConsumer<SourceMapBuilder,java.lang.Object> sourceInfoConsumer)
           
 
Method Summary
 void addLink()
           
 void addMapping(java.lang.String source, int sourceLine, int sourceColumn)
           
 java.lang.String build()
           
 java.io.File getOutFile()
           
 void newLine()
           
 void processSourceInfo(java.lang.Object sourceInfo)
           
 void skipLinesAtBeginning(int count)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceMap3Builder

public SourceMap3Builder(java.io.File generatedFile,
                         TextOutput textOutput,
                         com.intellij.util.PairConsumer<SourceMapBuilder,java.lang.Object> sourceInfoConsumer)
Method Detail

getOutFile

public java.io.File getOutFile()
Specified by:
getOutFile in interface SourceMapBuilder

build

public java.lang.String build()
Specified by:
build in interface SourceMapBuilder

newLine

public void newLine()
Specified by:
newLine in interface SourceMapBuilder

skipLinesAtBeginning

public void skipLinesAtBeginning(int count)
Specified by:
skipLinesAtBeginning in interface SourceMapBuilder

processSourceInfo

public void processSourceInfo(java.lang.Object sourceInfo)
Specified by:
processSourceInfo in interface SourceMapBuilder

addMapping

public void addMapping(java.lang.String source,
                       int sourceLine,
                       int sourceColumn)
Specified by:
addMapping in interface SourceMapBuilder

addLink

public void addLink()
Specified by:
addLink in interface SourceMapBuilder