[−][src]Module swc_ecma_transforms::util
Modules
constructor | |
ident | |
var |
Macros
member_expr | Creates a member expression. |
private_ident | Shortcut for |
quote_expr | |
quote_ident | |
quote_str |
Structs
DestructuringFinder | Finds all idents of variable |
DropSpan | |
Hoister | |
IdentFinder | |
LiteralVisitor | |
RestPatVisitor | |
ThisVisitor | |
UsageFinder | Finds usage of |
Enums
Purity | |
Type | Type of value. |
Value | Runtime value. |
Statics
HANDLER |
Traits
ExprExt | Extension methods for Expr. |
ExprFactory | Extension methods for Expr. |
IdentExt | |
IsDirective | |
IsEmpty | |
ModuleItemLike | |
StmtExt | |
StmtLike |
Functions
alias_ident_for | Used to determine super_class_ident |
alias_if_required | Returns |
calc_literal_cost | |
contains_ident_ref | |
contains_this_expr | |
default_constructor | |
drop_span | |
extract_var_ids | Extracts hoisted variables |
find_ids | |
has_rest_pat | |
id | |
is_literal | |
is_rest_arguments | Check if |
is_valid_ident | |
prepend | inject |
prepend_stmts | inject |
preserve_effects | make a new expression which evaluates |
prop_name_eq | |
prop_name_to_expr | |
prop_name_to_expr_value | Simillar to |
to_int32 | Cast to javascript's int32 |
undefined |
Type Definitions
BoolValue | |
Id |