123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- // This is a mirror of the JS API definitions in `spec/js-api`, but with comments
- // written to provide user-facing documentation rather than to specify behavior for
- // implementations.
- export {
- AsyncCompiler,
- CompileResult,
- Compiler,
- compile,
- compileAsync,
- compileString,
- compileStringAsync,
- initCompiler,
- initAsyncCompiler,
- } from './compile';
- export {
- deprecations,
- Deprecation,
- Deprecations,
- DeprecationOrId,
- DeprecationStatus,
- Version,
- } from './deprecations';
- export {Exception} from './exception';
- export {
- CanonicalizeContext,
- FileImporter,
- Importer,
- ImporterResult,
- NodePackageImporter,
- } from './importer';
- export {Logger, SourceSpan, SourceLocation} from './logger';
- export {
- CustomFunction,
- Options,
- OutputStyle,
- StringOptions,
- StringOptionsWithImporter,
- StringOptionsWithoutImporter,
- Syntax,
- } from './options';
- export {PromiseOr} from './util/promise_or';
- export {
- CalculationInterpolation,
- CalculationOperation,
- CalculationOperator,
- CalculationValue,
- ListSeparator,
- SassArgumentList,
- SassBoolean,
- SassCalculation,
- SassColor,
- SassFunction,
- SassList,
- SassMap,
- SassMixin,
- SassNumber,
- SassString,
- Value,
- sassFalse,
- sassNull,
- sassTrue,
- } from './value';
- // Legacy APIs
- export {LegacyException} from './legacy/exception';
- export {
- FALSE,
- LegacyAsyncFunction,
- LegacyAsyncFunctionDone,
- LegacyFunction,
- LegacySyncFunction,
- LegacyValue,
- NULL,
- TRUE,
- types,
- } from './legacy/function';
- export {
- LegacyAsyncImporter,
- LegacyImporter,
- LegacyImporterResult,
- LegacyImporterThis,
- LegacySyncImporter,
- } from './legacy/importer';
- export {
- LegacySharedOptions,
- LegacyFileOptions,
- LegacyStringOptions,
- LegacyOptions,
- } from './legacy/options';
- export {LegacyPluginThis} from './legacy/plugin_this';
- export {LegacyResult, render, renderSync} from './legacy/render';
- /**
- * Information about the Sass implementation. This always begins with a unique
- * identifier for the Sass implementation, followed by U+0009 TAB, followed by
- * its npm package version. Some implementations include additional information
- * as well, but not in any standardized format.
- *
- * * For Dart Sass, the implementation name is `dart-sass`.
- * * For Node Sass, the implementation name is `node-sass`.
- * * For the embedded host, the implementation name is `sass-embedded`.
- */
- export const info: string;
|