/var/www/cobraambalaj/node_modules/postcss/lib
NameSizeModeActions
at-rule.d.ts22050644editdlrm
at-rule.js4740644editdlrm
comment.d.ts10950644editdlrm
comment.js2040644editdlrm
container.d.ts127260644editdlrm
container.js101830644editdlrm
css-syntax-error.d.ts48300644editdlrm
css-syntax-error.js22990644editdlrm
declaration.d.ts26500644editdlrm
declaration.js4970644editdlrm
fromJSON.d.ts1070644editdlrm
fromJSON.js15070644editdlrm
input.d.ts28160644editdlrm
input.js45490644editdlrm
lazy-result.d.ts48330644editdlrm
lazy-result.js122790644editdlrm
list.d.ts8500644editdlrm
list.js11700644editdlrm
map-generator.js73060644editdlrm
node.d.ts113480644editdlrm
node.js69090644editdlrm
parse.d.ts890644editdlrm
parse.js11480644editdlrm
parser.js133230644editdlrm
postcss.d.ts105690644editdlrm
postcss.js25130644editdlrm
postcss.mjs8550644editdlrm
previous-map.d.ts16180644editdlrm
previous-map.js39600644editdlrm
processor.d.ts29440644editdlrm
processor.js19650644editdlrm
result.d.ts40860644editdlrm
result.js7500644editdlrm
root.d.ts11950644editdlrm
root.js12130644editdlrm
rule.d.ts20780644editdlrm
rule.js5720644editdlrm
stringifier.js79960644editdlrm
stringify.d.ts1070644editdlrm
stringify.js2140644editdlrm
symbols.js570644editdlrm
terminal-highlight.js13600644editdlrm
tokenize.js65420644editdlrm
warn-once.js2250644editdlrm
warning.d.ts19350644editdlrm
warning.js6500644editdlrm
Edit: /var/www/cobraambalaj/node_modules/postcss/lib/lazy-result.d.ts (4833B)
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 }