public class SassFileContext extends SassContext
| Modifier and Type | Field and Description |
|---|---|
protected com.cathive.sass.jna.SassLibrary.Sass_File_Context |
$file_context
Underlying native Sass file context.
|
$context, options| Modifier | Constructor and Description |
|---|---|
protected |
SassFileContext(com.cathive.sass.jna.SassLibrary.Sass_File_Context $file_context)
Creates a new Sass file context.
|
| Modifier and Type | Method and Description |
|---|---|
static SassFileContext |
create(Path inputFile) |
protected com.cathive.sass.jna.SassLibrary.Sass_Compiler |
createCompiler()
Creates a native Sass compiler instance.
|
protected void |
finalize() |
void |
setOptions(SassOptions options) |
compile, compile, getOptions, throwCompilationExceptionprotected com.cathive.sass.jna.SassLibrary.Sass_File_Context $file_context
protected SassFileContext(@Nonnull com.cathive.sass.jna.SassLibrary.Sass_File_Context $file_context)
$file_context - Underlying native Sass_File_Context structure.public static SassFileContext create(@Nonnull Path inputFile)
@Nonnull protected com.cathive.sass.jna.SassLibrary.Sass_Compiler createCompiler()
SassContextThis instance will be used in the various compile methods that are part of the public API.
createCompiler in class SassContextpublic void setOptions(@Nonnull SassOptions options)
setOptions in class SassContextprotected void finalize()
throws Throwable
finalize in class SassContextThrowableCopyright © 2013–2015 The Cat Hive Developers. All rights reserved.