[][src]Struct swc_ecma_transforms::optimization::InlineGlobals

pub struct InlineGlobals {
    pub envs: HashMap<JsWord, Expr>,
    pub globals: HashMap<JsWord, Expr>,
}

Fields

envs: HashMap<JsWord, Expr>globals: HashMap<JsWord, Expr>

Trait Implementations

impl Clone for InlineGlobals[src]

impl Fold<Accessibility> for InlineGlobals[src]

impl Fold<Expr> for InlineGlobals[src]

impl Fold<TruePlusMinus> for InlineGlobals[src]

impl Fold<TsArrayType> for InlineGlobals[src]

impl Fold<TsCallSignatureDecl> for InlineGlobals[src]

impl Fold<TsConditionalType> for InlineGlobals[src]

impl Fold<TsConstructSignatureDecl> for InlineGlobals[src]

impl Fold<TsConstructorType> for InlineGlobals[src]

impl Fold<TsEntityName> for InlineGlobals[src]

impl Fold<TsEnumDecl> for InlineGlobals[src]

impl Fold<TsEnumMember> for InlineGlobals[src]

impl Fold<TsEnumMemberId> for InlineGlobals[src]

impl Fold<TsExternalModuleRef> for InlineGlobals[src]

impl Fold<TsFnOrConstructorType> for InlineGlobals[src]

impl Fold<TsFnParam> for InlineGlobals[src]

impl Fold<TsFnType> for InlineGlobals[src]

impl Fold<TsImportEqualsDecl> for InlineGlobals[src]

impl Fold<TsImportType> for InlineGlobals[src]

impl Fold<TsIndexSignature> for InlineGlobals[src]

impl Fold<TsIndexedAccessType> for InlineGlobals[src]

impl Fold<TsInferType> for InlineGlobals[src]

impl Fold<TsInterfaceBody> for InlineGlobals[src]

impl Fold<TsInterfaceDecl> for InlineGlobals[src]

impl Fold<TsIntersectionType> for InlineGlobals[src]

impl Fold<TsKeywordType> for InlineGlobals[src]

impl Fold<TsKeywordTypeKind> for InlineGlobals[src]

impl Fold<TsMappedType> for InlineGlobals[src]

impl Fold<TsMethodSignature> for InlineGlobals[src]

impl Fold<TsModuleBlock> for InlineGlobals[src]

impl Fold<TsModuleDecl> for InlineGlobals[src]

impl Fold<TsModuleName> for InlineGlobals[src]

impl Fold<TsModuleRef> for InlineGlobals[src]

impl Fold<TsNamespaceBody> for InlineGlobals[src]

impl Fold<TsNamespaceDecl> for InlineGlobals[src]

impl Fold<TsNamespaceExportDecl> for InlineGlobals[src]

impl Fold<TsOptionalType> for InlineGlobals[src]

impl Fold<TsParamProp> for InlineGlobals[src]

impl Fold<TsParamPropParam> for InlineGlobals[src]

impl Fold<TsParenthesizedType> for InlineGlobals[src]

impl Fold<TsPropertySignature> for InlineGlobals[src]

impl Fold<TsQualifiedName> for InlineGlobals[src]

impl Fold<TsRestType> for InlineGlobals[src]

impl Fold<TsSignatureDecl> for InlineGlobals[src]

impl Fold<TsThisType> for InlineGlobals[src]

impl Fold<TsThisTypeOrIdent> for InlineGlobals[src]

impl Fold<TsTupleType> for InlineGlobals[src]

impl Fold<TsType> for InlineGlobals[src]

impl Fold<TsTypeAliasDecl> for InlineGlobals[src]

impl Fold<TsTypeAnn> for InlineGlobals[src]

impl Fold<TsTypeAssertion> for InlineGlobals[src]

impl Fold<TsTypeCastExpr> for InlineGlobals[src]

impl Fold<TsTypeElement> for InlineGlobals[src]

impl Fold<TsTypeLit> for InlineGlobals[src]

impl Fold<TsTypeOperator> for InlineGlobals[src]

impl Fold<TsTypeOperatorOp> for InlineGlobals[src]

impl Fold<TsTypeParam> for InlineGlobals[src]

impl Fold<TsTypeParamDecl> for InlineGlobals[src]

impl Fold<TsTypeParamInstantiation> for InlineGlobals[src]

impl Fold<TsTypePredicate> for InlineGlobals[src]

impl Fold<TsTypeQuery> for InlineGlobals[src]

impl Fold<TsTypeQueryExpr> for InlineGlobals[src]

impl Fold<TsTypeRef> for InlineGlobals[src]

impl Fold<TsUnionOrIntersectionType> for InlineGlobals[src]

impl Fold<TsUnionType> for InlineGlobals[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T, F> Fold<T> for F where
    T: FoldWith<F>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<P> Pass for P where
    P: Fold<Module> + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, F> Visit<T> for F where
    T: VisitWith<F> + ?Sized
[src]

impl<T, F> VisitMut<T> for F where
    T: VisitMutWith<F> + ?Sized
[src]