Package io.bit3.jsass

Class Options

java.lang.Object
io.bit3.jsass.Options
All Implemented Interfaces:
java.io.Serializable

public class Options
extends java.lang.Object
implements java.io.Serializable
The compiler options.
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getFunctionProviders

      public java.util.List<java.lang.Object> getFunctionProviders()
    • setFunctionProviders

      public void setFunctionProviders​(java.util.List<java.lang.Object> functionProviders)
    • getHeaderImporters

      public java.util.List<Importer> getHeaderImporters()
    • setHeaderImporters

      public void setHeaderImporters​(java.util.List<Importer> headerImporters)
    • getImporters

      public java.util.Collection<Importer> getImporters()
    • setImporters

      public void setImporters​(java.util.Collection<Importer> importers)
    • getIncludePaths

      public java.util.List<java.io.File> getIncludePaths()
    • setIncludePaths

      public void setIncludePaths​(java.util.List<java.io.File> includePaths)
    • getIndent

      public java.lang.String getIndent()
    • setIndent

      public void setIndent​(java.lang.String indent)
    • isIndentedSyntaxSrc

      public boolean isIndentedSyntaxSrc()
    • setIsIndentedSyntaxSrc

      public void setIsIndentedSyntaxSrc​(boolean isIndentedSyntaxSrc)
    • getLinefeed

      public java.lang.String getLinefeed()
    • setLinefeed

      public void setLinefeed​(java.lang.String linefeed)
    • isOmitSourceMapUrl

      public boolean isOmitSourceMapUrl()
      Determine if sourceMappingUrl is omitted in css output.
      Returns:
      true if the sourceMappingUrl is omitted in css output.
    • setOmitSourceMapUrl

      public void setOmitSourceMapUrl​(boolean omitSourceMapUrl)
      Set if sourceMappingUrl should be omitted in css output.
      Parameters:
      omitSourceMapUrl - Omit the sourceMappingUrl in css output.
    • getOutputStyle

      public OutputStyle getOutputStyle()
      Return the output style.
      Returns:
      The output style.
    • setOutputStyle

      public void setOutputStyle​(OutputStyle outputStyle)
      Set the output style.
      Parameters:
      outputStyle - The output style.
    • getPluginPath

      public java.lang.String getPluginPath()
    • setPluginPath

      public void setPluginPath​(java.lang.String pluginPath)
    • getPrecision

      public int getPrecision()
      Return the fractional numbers precision.
      Returns:
      The fractional numbers precision.
    • setPrecision

      public void setPrecision​(int precision)
      Set the fractional numbers precision.
      Parameters:
      precision - The fractional numbers precision.
    • isSourceComments

      public boolean isSourceComments()
      Determine if inline source comments are generated.
      Returns:
      true if inline source comments are generated.
    • setSourceComments

      public void setSourceComments​(boolean sourceComments)
      Set if inline source comments should generated.
      Parameters:
      sourceComments - true if inline source comments should generated.
    • isSourceMapContents

      public boolean isSourceMapContents()
    • setSourceMapContents

      public void setSourceMapContents​(boolean sourceMapContents)
    • isSourceMapEmbed

      public boolean isSourceMapEmbed()
      Determine if source map is embedded into css output.
      Returns:
      true if the source map is embedded into css output.
    • setSourceMapEmbed

      public void setSourceMapEmbed​(boolean sourceMapEmbed)
      Set if source map is embedded into css output.
      Parameters:
      sourceMapEmbed - Embed source map into css output.
    • getSourceMapFile

      public java.net.URI getSourceMapFile()
      Return the source map file.
      Returns:
      The source map file or null if no source map should generated.
    • setSourceMapFile

      public void setSourceMapFile​(java.net.URI sourceMapFile)
      Set the source map file.
      Parameters:
      sourceMapFile - The source map file or null to disable source map generation.
    • getSourceMapRoot

      public java.net.URI getSourceMapRoot()
    • setSourceMapRoot

      public void setSourceMapRoot​(java.net.URI sourceMapRoot)