Class CompileSuccess

    • Constructor Detail

      • CompileSuccess

        public CompileSuccess​(com.sass_lang.embedded_protocol.OutboundMessage.CompileResponse compileResponse)
    • Method Detail

      • getCss

        public String getCss()
        The compiled CSS.
      • getCssBytes

        public ByteString getCssBytes()
        The compiled CSS.
      • getSourceMap

        public String getSourceMap()
        The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.

        The compiler must not add a `"file"` key to this source map. It's the host's (or the host's user's) responsibility to determine how the generated CSS can be reached from the source map.

      • getSourceMapBytes

        public ByteString getSourceMapBytes()
        The JSON-encoded source map, or the empty string if `CompileRequest.source_map` was `false`.

        The compiler must not add a `"file"` key to this source map. It's the host's (or the host's user's) responsibility to determine how the generated CSS can be reached from the source map.

      • getCompileResponse

        public com.sass_lang.embedded_protocol.OutboundMessage.CompileResponse getCompileResponse()