Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.ant |
Modifier and Type | Field and Description |
---|---|
private SourceMap |
CodePrinter.Builder.sourceMap |
private SourceMap |
Compiler.sourceMap
The source code map
|
SourceMap |
Result.sourceMap |
Modifier and Type | Method and Description |
---|---|
(package private) abstract SourceMap |
SourceMap.Format.getInstance() |
SourceMap |
Compiler.getSourceMap() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
CodePrinter.MappedCodePrinter.generateSourceMap(SourceMap map)
Generates the source map from the given code consumer,
appending the information it saved to the SourceMap
object given.
|
CodePrinter.Builder |
CodePrinter.Builder.setSourceMap(SourceMap sourceMap)
Sets the source map to which to write the metadata about
the generated source code.
|
private static java.lang.String |
CodePrinter.toSource(Node root,
CodePrinter.Format outputFormat,
CompilerOptions options,
SourceMap sourceMap,
boolean tagAsStrict,
boolean lineBreak,
CodePrinter.Builder.CodeGeneratorFactory codeGeneratorFactory)
Converts a tree to JS code
|
private java.lang.String |
Compiler.toSource(Node n,
SourceMap sourceMap,
boolean firstOutput)
Generates JavaScript source code for an AST.
|
Constructor and Description |
---|
Result(JSError[] errors,
JSError[] warnings,
java.lang.String debugLog,
VariableMap variableMap,
VariableMap propertyMap,
VariableMap namedAnonFunctionMap,
FunctionInformationMap functionInformationMap,
SourceMap sourceMap,
java.lang.String externExport) |
Result(JSError[] errors,
JSError[] warnings,
java.lang.String debugLog,
VariableMap variableMap,
VariableMap propertyMap,
VariableMap namedAnonFunctionMap,
VariableMap stringMap,
FunctionInformationMap functionInformationMap,
SourceMap sourceMap,
java.lang.String externExport,
java.util.Map<java.lang.String,java.lang.Integer> cssNames,
java.lang.String idGeneratorMap) |
Modifier and Type | Method and Description |
---|---|
private void |
CompileTask.flushSourceMap(SourceMap sourceMap) |