/var/www/flurhymez/node_modules/postcss/lib
NameSizeModeActions
at-rule.d.ts24660644editdlrm
at-rule.js4710644editdlrm
comment.d.ts13440644editdlrm
comment.js2030644editdlrm
container.d.ts125940644editdlrm
container.js102040644editdlrm
css-syntax-error.d.ts48440644editdlrm
css-syntax-error.js23210644editdlrm
declaration.d.ts30260644editdlrm
declaration.js4950644editdlrm
document.d.ts15240644editdlrm
document.js6540644editdlrm
fromJSON.d.ts1070644editdlrm
fromJSON.js15060644editdlrm
input.d.ts28120644editdlrm
input.js50570644editdlrm
lazy-result.d.ts48200644editdlrm
lazy-result.js134680644editdlrm
list.d.ts12620644editdlrm
list.js11670644editdlrm
map-generator.js76820644editdlrm
node.d.ts116750644editdlrm
node.js70800644editdlrm
parse.d.ts890644editdlrm
parse.js11470644editdlrm
parser.js136180644editdlrm
postcss.d.ts113380644editdlrm
postcss.js26280644editdlrm
postcss.mjs9370644editdlrm
previous-map.d.ts16180644editdlrm
previous-map.js39240644editdlrm
processor.d.ts29410644editdlrm
processor.js21320644editdlrm
result.d.ts40810644editdlrm
result.js7450644editdlrm
root.d.ts18560644editdlrm
root.js12090644editdlrm
rule.d.ts23630644editdlrm
rule.js5690644editdlrm
stringifier.js81640644editdlrm
stringify.d.ts1070644editdlrm
stringify.js2130644editdlrm
symbols.js910644editdlrm
terminal-highlight.js13990644editdlrm
tokenize.js65360644editdlrm
warn-once.js2240644editdlrm
warning.d.ts19330644editdlrm
warning.js6480644editdlrm
Edit: /var/www/flurhymez/node_modules/postcss/lib/lazy-result.d.ts (4820B)
import Result, { Message, ResultOptions } from './result.js' import { SourceMap } from './postcss.js' import Processor from './processor.js' import Warning from './warning.js' import Root from './root.js' /** * A Promise proxy for the result of PostCSS transformations. * * A `LazyResult` instance is returned by `Processor#process`. * * ```js * const lazy = postcss([autoprefixer]).process(css) * ``` */ export default class LazyResult implements PromiseLike { /** * Processes input CSS through synchronous and asynchronous plugins * and calls `onFulfilled` with a Result instance. If a plugin throws * an error, the `onRejected` callback will be executed. * * It implements standard Promise API. * * ```js * postcss([autoprefixer]).process(css, { from: cssPath }).then(result => { * console.log(result.css) * }) * ``` */ then: Promise['then'] /** * Processes input CSS through synchronous and asynchronous plugins * and calls onRejected for each error thrown in any plugin. * * It implements standard Promise API. * * ```js * postcss([autoprefixer]).process(css).then(result => { * console.log(result.css) * }).catch(error => { * console.error(error) * }) * ``` */ catch: Promise['catch'] /** * Processes input CSS through synchronous and asynchronous plugins * and calls onFinally on any error or when all plugins will finish work. * * It implements standard Promise API. * * ```js * postcss([autoprefixer]).process(css).finally(() => { * console.log('processing ended') * }) * ``` */ finally: Promise['finally'] /** * @param processor Processor used for this transformation. * @param css CSS to parse and transform. * @param opts Options from the `Processor#process` or `Root#toResult`. */ constructor(processor: Processor, css: string, opts: ResultOptions) /** * Returns the default string description of an object. * Required to implement the Promise interface. */ get [Symbol.toStringTag](): string /** * Returns a `Processor` instance, which will be used * for CSS transformations. */ get processor(): Processor /** * Options from the `Processor#process` call. */ get opts(): ResultOptions /** * Processes input CSS through synchronous plugins, converts `Root` * to a CSS string and returns `Result#css`. * * This property will only work with synchronous plugins. * If the processor contains any asynchronous plugins * it will throw an error. This is why this method is only * for debug purpose, you should always use `LazyResult#then`. */ get css(): string /** * An alias for the `css` property. Use it with syntaxes * that generate non-CSS output. * * This property will only work with synchronous plugins. * If the processor contains any asynchronous plugins * it will throw an error. This is why this method is only * for debug purpose, you should always use `LazyResult#then`. */ get content(): string /** * Processes input CSS through synchronous plugins * and returns `Result#map`. * * This property will only work with synchronous plugins. * If the processor contains any asynchronous plugins * it will throw an error. This is why this method is only * for debug purpose, you should always use `LazyResult#then`. */ get map(): SourceMap /** * Processes input CSS through synchronous plugins * and returns `Result#root`. * * This property will only work with synchronous plugins. If the processor * contains any asynchronous plugins it will throw an error. * * This is why this method is only for debug purpose, * you should always use `LazyResult#then`. */ get root(): Root /** * Processes input CSS through synchronous plugins * and returns `Result#messages`. * * This property will only work with synchronous plugins. If the processor * contains any asynchronous plugins it will throw an error. * * This is why this method is only for debug purpose, * you should always use `LazyResult#then`. */ get messages(): Message[] /** * Processes input CSS through synchronous plugins * and calls `Result#warnings`. * * @return Warnings from plugins. */ warnings(): Warning[] /** * Alias for the `LazyResult#css` property. * * ```js * lazy + '' === lazy.css * ``` * * @return Output CSS. */ toString(): string /** * Run plugin in sync way and return `Result`. * * @return Result with output content. */ sync(): Result /** * Run plugin in async way and return `Result`. * * @return Result with output content. */ async(): Promise }