MCPcopy Create free account

hub / github.com/GuillaumeGomez/minifier-rs / functions

Functions371 in github.com/GuillaumeGomez/minifier-rs

↓ 2 callersFunctiongetVirtualKey
(ev)
tests/files/minified_main.js:1
↓ 2 callersMethodget_next
(&mut self)
src/json/read/byte_to_char.rs:22
↓ 2 callersMethodget_next
(&mut self)
src/json/read/json_read.rs:37
↓ 2 callersFunctionget_next_except
( it: &mut IntoIter<Token<'a>>, f: &F, )
src/js/utils.rs:324
↓ 2 callersFunctionget_string
( source: &'a str, iterator: &mut MyPeekable<'_>, start_pos: &mut usize, start: ReservedChar,
src/js/token.rs:669
↓ 2 callersFunctionhandleEscape
(ev, help)
tests/files/main.js:267
↓ 2 callersFunctionhandleEscape
(ev,help)
tests/files/minified_main.js:1
↓ 2 callersFunctionimplHider
(addOrRemove, fullHide)
tests/files/main.js:1969
↓ 2 callersFunctionimplHider
(addOrRemove,fullHide)
tests/files/minified_main.js:1
↓ 2 callersFunctioninsertAfter
(newNode, referenceNode)
tests/files/main.js:2105
↓ 2 callersFunctioninsertAfter
(newNode,referenceNode)
tests/files/minified_main.js:1
↓ 2 callersMethodis_a_media
(&self)
src/css/token.rs:307
↓ 2 callersMethodis_a_selector_element
(&self)
src/css/token.rs:311
↓ 2 callersMethodis_comment
(&self)
src/css/token.rs:285
↓ 2 callersFunctionminify
(json: &str)
src/json/mod.rs:40
↓ 2 callersMethodnext
(&mut self)
src/json/read/internal_buffer.rs:32
↓ 2 callersFunctiononEveryMatchingChild
(elem, className, func)
tests/files/main.js:1885
↓ 2 callersFunctiononEveryMatchingChild
(elem,className,func)
tests/files/minified_main.js:1
↓ 2 callersFunctionparse_and_serialize
(input: &str)
fuzz/fuzz_targets/cssparser.rs:13
↓ 2 callersFunctionpathSplitter
(path)
tests/files/main.js:1326
↓ 2 callersFunctionpathSplitter
(path)
tests/files/minified_main.js:1
↓ 2 callersFunctionputBackSearch
(search_input)
tests/files/main.js:2430
↓ 2 callersFunctionputBackSearch
(search_input)
tests/files/minified_main.js:1
↓ 2 callersFunctionset_fragment
(name)
tests/files/main.js:344
↓ 2 callersFunctionset_fragment
(name)
tests/files/minified_main.js:1
↓ 2 callersFunctiontoggleAllDocs
(pageId, fromAutoCollapse)
tests/files/main.js:1899
↓ 2 callersFunctiontoggleAllDocs
(pageId,fromAutoCollapse)
tests/files/minified_main.js:1
↓ 1 callersMethodadd_char_to_buffer
(&mut self, buf: &mut [u8], buf_pos: &mut usize)
src/json/read/json_read.rs:47
↓ 1 callersFunctionaggregate_strings_with_separation
( tokens: Tokens<'a>, separation_token: Token<'b>, )
src/js/tools.rs:389
↓ 1 callersFunctionautoCollapse
(pageId, collapse)
tests/files/main.js:2078
↓ 1 callersFunctionautoCollapse
(pageId,collapse)
tests/files/minified_main.js:1
↓ 1 callersFunctionbuildIndex
(rawSearchIndex)
tests/files/main.js:1563
↓ 1 callersFunctionbuildIndex
(rawSearchIndex)
tests/files/minified_main.js:1
↓ 1 callersFunctioncheckPath
(contains, lastElem, ty)
tests/files/main.js:794
↓ 1 callersFunctioncheckPath
(contains,lastElem,ty)
tests/files/minified_main.js:1
↓ 1 callersFunctioncheck_if_number
(iterator: &mut MyPeekable<'_>, start: usize, pos: usize, source: &str)
src/js/token.rs:824
↓ 1 callersFunctionclean_tokens
(tokens: Tokens<'_>)
src/js/utils.rs:278
↓ 1 callersFunctionclean_tokens
(mut v: Vec<Token<'_>>)
src/css/token.rs:582
↓ 1 callersFunctionclean_unneeded_tags
(source: &str)
src/html.rs:27
↓ 1 callersFunctioncompare_strs
(minified: &str, str2: &str)
tests/js_minify.rs:23
↓ 1 callersFunctioncondense
(source: &str)
src/html.rs:18
↓ 1 callersFunctioncondense_whitespace
(source: &str)
src/html.rs:5
↓ 1 callersMethodcont
(&self)
src/json/read/internal_buffer.rs:41
↓ 1 callersFunctioncreateToggle
(otherMessage, fontSize, extraClass, show)
tests/files/main.js:2214
↓ 1 callersFunctioncreateToggle
(otherMessage,fontSize,extraClass,show)
tests/files/minified_main.js:1
↓ 1 callersFunctioncreateToggleWrapper
(tog)
tests/files/main.js:2317
↓ 1 callersFunctioncreateToggleWrapper
(tog)
tests/files/minified_main.js:1
↓ 1 callersFunctiondo_parse_and_serialize
( input: &mut Parser<'i, '_>, mut previous_token_type: TokenSerializationType, serialization: &mut
fuzz/fuzz_targets/cssparser.rs:29
↓ 1 callersMethoddrop_save
(&mut self)
src/js/token.rs:859
↓ 1 callersFunctionexecQuery
* Executes the query and builds an index of results * @param {[Object]} query [The user query] * @param {[type]} searchWords
tests/files/main.js:464
↓ 1 callersFunctionexecQuery
(query,searchWords,filterCrates)
tests/files/minified_main.js:1
↓ 1 callersFunctionexecSearch
(query, searchWords, filterCrates)
tests/files/main.js:1446
↓ 1 callersFunctionexecSearch
(query,searchWords,filterCrates)
tests/files/minified_main.js:1
↓ 1 callersFunctionfindParentElement
(elem, tagName)
tests/files/main.js:324
↓ 1 callersFunctionfindParentElement
(elem,tagName)
tests/files/minified_main.js:1
↓ 1 callersFunctionfirst_useful
(v: &'a [Token<'a>])
src/js/token.rs:744
↓ 1 callersFunctionfocusSearchBar
()
tests/files/main.js:2535
↓ 1 callersFunctionfocusSearchBar
()
tests/files/minified_main.js:1
↓ 1 callersFunctionfunc
(e)
tests/files/minified_main.js:1
↓ 1 callersFunctiongetFilterCrates
()
tests/files/main.js:1519
↓ 1 callersFunctiongetFilterCrates
()
tests/files/minified_main.js:1
↓ 1 callersFunctiongetSmallest
(arrays, positions, notDuplicates)
tests/files/main.js:1447
↓ 1 callersFunctiongetSmallest
(arrays,positions,notDuplicates)
tests/files/minified_main.js:1
↓ 1 callersFunctionget_all_data
(file_path: T)
src/cli.rs:123
↓ 1 callersFunctionget_backtick_string
( source: &'a str, iterator: &mut MyPeekable<'_>, start_pos: &mut usize, )
src/js/token.rs:692
↓ 1 callersMethodget_char
(&self)
src/css/token.rs:293
↓ 1 callersFunctionget_comment
( source: &'a str, iterator: &mut MyPeekable<'_>, start_pos: &mut usize, )
src/js/token.rs:629
↓ 1 callersFunctionget_comment
( source: &'a str, iterator: &mut Peekable<CharIndices<'_>>, start_pos: &mut usize, )
src/css/token.rs:337
↓ 1 callersFunctionget_line_comment
( source: &'a str, iterator: &mut MyPeekable<'_>, start_pos: &mut usize, )
src/js/token.rs:545
↓ 1 callersFunctionget_next
(it: &mut IntoIter<Token<'a>>)
src/js/utils.rs:249
↓ 1 callersFunctionget_regex
( source: &'a str, iterator: &mut MyPeekable<'_>, start_pos: &mut usize, v: &[Token<'_>], )
src/js/token.rs:563
↓ 1 callersFunctionget_string
( source: &'a str, iterator: &mut Peekable<CharIndices<'_>>, start_pos: &mut usize, start: Res
src/css/token.rs:374
↓ 1 callersFunctionget_variables_name
TODO: No scope handling or anything. Might be nice as a second step to add it...
src/js/tools.rs:207
↓ 1 callersFunctionhandle_equal_sign
(v: &mut Vec<Token<'_>>, c: ReservedChar)
src/js/token.rs:768
↓ 1 callersFunctionhighlightSourceLines
(ev)
tests/files/main.js:157
↓ 1 callersFunctionhighlightSourceLines
(ev)
tests/files/minified_main.js:1
↓ 1 callersFunctionimpl_call
()
tests/files/main.js:2154
↓ 1 callersFunctionimpl_call
()
tests/files/minified_main.js:1
↓ 1 callersMethodincr_letters
(&mut self)
src/js/utils.rs:60
↓ 1 callersFunctioninitSearchNav
()
tests/files/main.js:1181
↓ 1 callersFunctioninitSearchNav
()
tests/files/minified_main.js:1
↓ 1 callersMethodis_a_license
(&self)
src/css/token.rs:315
↓ 1 callersMethodis_condition
(&self)
src/js/token.rs:462
↓ 1 callersMethodis_floating_number
(&self)
src/js/token.rs:522
↓ 1 callersMethodis_keyword
(&self)
src/js/token.rs:484
↓ 1 callersMethodis_license
(&self)
src/js/token.rs:422
↓ 1 callersMethodis_number
(&self)
src/js/token.rs:518
↓ 1 callersMethodis_operation
(&self)
src/js/token.rs:451
↓ 1 callersMethodis_operator
(&self)
src/css/token.rs:112
↓ 1 callersMethodis_regex
(&self)
src/js/token.rs:506
↓ 1 callersMethodis_string
(&self)
src/js/token.rs:495
↓ 1 callersFunctionis_whitespace_outside_string
( minifier: &mut JsonMinifier, item1: &char, item2: Option<&char>, )
src/json/json_minifier.rs:32
↓ 1 callersFunctionitemAttributesFunc
()
tests/files/main.js:2331
↓ 1 callersFunctionitemAttributesFunc
()
tests/files/minified_main.js:1
↓ 1 callersFunctionitemTypeFromName
(typename)
tests/files/main.js:465
↓ 1 callersFunctionitemTypeFromName
(typename)
tests/files/minified_main.js:1
↓ 1 callersFunctionlineNumbersFunc
()
tests/files/main.js:2348
↓ 1 callersFunctionlineNumbersFunc
()
tests/files/minified_main.js:1
↓ 1 callersFunctionminify
(source: &str)
src/js/tools.rs:188
↓ 1 callersFunctionminify
Minifies a given CSS source code. # Example ```rust use minifier::css::minify; let css = r#" .foo > p { color: red; }"#.into(); let css_minified =
src/css/mod.rs:21
← previousnext →101–200 of 371, ranked by callers