Sha256: 662bee5866e6f93cb0867403994313b37d2483a1337f5bcfcf8227d8ff947d0b

Contents?: true

Size: 1.16 KB

Versions: 12

Compression:

Stored size: 1.16 KB

Contents

import LazyResult from './lazy-result';
import postcss from './postcss';
import Result from './result';
export default class Processor implements postcss.Processor {
    /**
     * Contains the current version of PostCSS (e.g., "4.0.5").
     */
    version: string;
    /**
     * Contains plugins added to this processor.
     */
    plugins: postcss.Plugin<any>[];
    constructor(plugins?: (typeof postcss.acceptedPlugin)[]);
    /**
     * Adds a plugin to be used as a CSS processor. Plugins can also be
     * added by passing them as arguments when creating a postcss instance.
     */
    use(plugin: typeof postcss.acceptedPlugin): Processor;
    /**
     * Parses source CSS. Because some plugins can be asynchronous it doesn't
     * make any transformations. Transformations will be applied in LazyResult's
     * methods.
     * @param css Input CSS or any object with toString() method, like a file
     * stream. If a Result instance is passed the processor will take the
     * existing Root parser from it.
     */
    process(css: string | {
        toString(): string;
    } | Result, options?: postcss.ProcessOptions): LazyResult;
    private normalize(plugins);
}

Version data entries

12 entries across 3 versions & 1 rubygems

Version Path
gulp_assets-1.0.0.pre.5 template/node_modules/gulp-postcss/node_modules/postcss/d.ts/processor.d.ts
gulp_assets-1.0.0.pre.5 template/node_modules/csswring/node_modules/postcss/d.ts/processor.d.ts
gulp_assets-1.0.0.pre.5 template/node_modules/autoprefixer/node_modules/postcss/d.ts/processor.d.ts
gulp_assets-1.0.0.pre.5 template/node_modules/css-mqpacker/node_modules/postcss/d.ts/processor.d.ts
gulp_assets-1.0.0.pre.4 template/node_modules/csswring/node_modules/postcss/d.ts/processor.d.ts
gulp_assets-1.0.0.pre.4 template/node_modules/autoprefixer/node_modules/postcss/d.ts/processor.d.ts
gulp_assets-1.0.0.pre.4 template/node_modules/css-mqpacker/node_modules/postcss/d.ts/processor.d.ts
gulp_assets-1.0.0.pre.4 template/node_modules/gulp-postcss/node_modules/postcss/d.ts/processor.d.ts
gulp_assets-1.0.0.pre.3 template/node_modules/autoprefixer/node_modules/postcss/d.ts/processor.d.ts
gulp_assets-1.0.0.pre.3 template/node_modules/gulp-postcss/node_modules/postcss/d.ts/processor.d.ts
gulp_assets-1.0.0.pre.3 template/node_modules/csswring/node_modules/postcss/d.ts/processor.d.ts
gulp_assets-1.0.0.pre.3 template/node_modules/css-mqpacker/node_modules/postcss/d.ts/processor.d.ts