Skip to main content

Module common

Module common 

Source

Functionsยง

_get_var_decl_by_ident_or_member ๐Ÿ”’
_get_variable_names ๐Ÿ”’
_md5_hash ๐Ÿ”’
_resolve_node_package_path ๐Ÿ”’
char_code_at ๐Ÿ”’
create_hash
create_short_hash ๐Ÿ”’
dashify ๐Ÿ”’
deep_merge_props ๐Ÿ”’
downcast_style_options_to_state_manager ๐Ÿ”’
Utility function to get the StateManager from the StyleOptions trait. This is a helper function to get the StateManager from the StyleOptions trait.
evaluate_bin_expr
extract_filename_from_path ๐Ÿ”’
extract_filename_with_ext_from_path ๐Ÿ”’
extract_path ๐Ÿ”’
fill_state_declarations
fill_top_level_expressions
find_and_swap_remove ๐Ÿ”’
gen_file_based_identifier ๐Ÿ”’
get_css_value ๐Ÿ”’
get_expr_from_var_decl
get_hash_map_difference ๐Ÿ”’
get_hash_map_value_difference ๐Ÿ”’
get_import_by_ident
get_import_from ๐Ÿ”’
get_key_values_from_object ๐Ÿ”’
get_var_decl_by_ident
get_var_decl_from ๐Ÿ”’
hash_f64 ๐Ÿ”’
increase_ident_count
increase_ident_count_by_count
increase_member_ident
increase_member_ident_count
increase_member_ident_count_by_count
js_object_to_json ๐Ÿ”’
matches_ident_with_var_decl_name ๐Ÿ”’
normalize_expr ๐Ÿ”’
prop_name_eq ๐Ÿ”’
reduce_ident_count
reduce_member_expression_count
reduce_member_ident_count
remove_duplicates ๐Ÿ”’
remove_quotes ๐Ÿ”’
round_f64 ๐Ÿ”’
round_to_decimal_places ๐Ÿ”’
Universal rounding function that rounds a floating-point number to the specified number of decimal places and returns f64.
serialize_value_to_json_string ๐Ÿ”’
sort_numbers_factory ๐Ÿ”’
stable_hash
sum_hash_map_values ๐Ÿ”’
type_of ๐Ÿ”’
wrap_key_in_quotes ๐Ÿ”’