@babel/helper-create-class-features-plugin
- Version 8.0.1
- Published
- 349 kB
- 7 dependencies
- MIT license
Install
npm i @babel/helper-create-class-features-pluginyarn add @babel/helper-create-class-features-pluginpnpm add @babel/helper-create-class-features-pluginOverview
Compile class public and private fields, private methods and decorators to ES6
Index
Variables
variable FEATURES
const FEATURES: Readonly<{ fields: number; privateMethods: number; decorators: number; privateIn: number; staticBlocks: number;}>;Functions
function buildCheckInRHS
buildCheckInRHS: ( rhs: types.Expression, file: File, inRHSIsObject?: boolean) => types.Expression;function buildNamedEvaluationVisitor
buildNamedEvaluationVisitor: ( needsName: (path: NodePath) => boolean, visitor: ( path: NodePath, state: PluginPass, name: | string | types.Identifier | types.StringLiteral | types.NumericLiteral | types.BigIntLiteral ) => void) => VisitorBase<PluginPass>;function createClassFeaturePlugin
createClassFeaturePlugin: ({ name, feature, loose, manipulateOptions, api, inherits,}: Options) => PluginObject;function enableFeature
enableFeature: (file: File, feature: number, loose: boolean) => void;function injectInitialization
injectInitialization: ( path: NodePath<types.Class>, constructor: NodePath<types.ClassMethod> | undefined, nodes: types.ExpressionStatement[], renamer?: (visitor: Visitor<RenamerState>, state: RenamerState) => void, lastReturnsThis?: boolean) => void;Package Files (1)
Dependencies (7)
Dev Dependencies (5)
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@babel/helper-create-class-features-plugin.
- Markdown[](https://www.jsdocs.io/package/@babel/helper-create-class-features-plugin)
- HTML<a href="https://www.jsdocs.io/package/@babel/helper-create-class-features-plugin"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2827 ms. - Missing or incorrect documentation? Open an issue for this package.
