Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeroX-DG/moon
/ functions
Functions
885 in github.com/ZeroX-DG/moon
⨍
Functions
885
◇
Types & classes
195
↓ 197 callers
Method
clone
(&self)
components/dom/src/node.rs:67
↓ 168 callers
Method
tag_name
(&self)
components/html/src/tokenizer/token.rs:104
↓ 144 callers
Method
switch_to
(&mut self, state: State)
components/html/src/tokenizer/mod.rs:2343
↓ 112 callers
Method
clone
(&self)
components/shared/src/tree_node.rs:319
↓ 103 callers
Method
unexpected
(&self, token: &Token)
components/html/src/tree_builder/mod.rs:848
↓ 90 callers
Method
is_start_tag
(&self)
components/html/src/tokenizer/token.rs:90
↓ 80 callers
Method
consume_next
(&mut self)
components/html/src/tokenizer/mod.rs:2606
↓ 78 callers
Method
switch_to
(&mut self, mode: InsertMode)
components/html/src/tree_builder/mod.rs:339
↓ 77 callers
Method
will_emit
(&mut self, token: Token)
components/html/src/tokenizer/mod.rs:2516
↓ 75 callers
Method
reconsume_in
(&mut self, state: State)
components/html/src/tokenizer/mod.rs:2565
↓ 73 callers
Method
clone
(&self)
components/layout/src/layout_box.rs:51
↓ 71 callers
Method
len
(&self)
components/html/src/tree_builder/stack_of_open_elements.rs:226
↓ 66 callers
Method
chars
(&self)
components/shared/src/byte_string.rs:24
↓ 62 callers
Method
as_element
(&self)
components/dom/src/node.rs:233
↓ 60 callers
Method
next
(&mut self)
components/shared/src/data_stream.rs:32
↓ 56 callers
Method
is_end_tag
(&self)
components/html/src/tokenizer/token.rs:97
↓ 51 callers
Method
insert_html_element
(&mut self, token: Token)
components/html/src/tree_builder/mod.rs:427
↓ 50 callers
Method
append_child
Append a child node to a parent node Ensure that: 1. Last child of the parent is the child 2. First child of the parent is also the child if the pare
components/shared/src/tree_node.rs:220
↓ 50 callers
Method
get_style
(&self, property: &Property)
components/dom/src/node.rs:277
↓ 43 callers
Method
emit_eof
(&mut self)
components/html/src/tokenizer/mod.rs:2507
↓ 41 callers
Method
to_string
(&self)
components/dom/src/node.rs:157
↓ 37 callers
Method
current_node
(&self)
components/html/src/tree_builder/mod.rs:901
↓ 36 callers
Method
process
(Re)process a token in the current insert mode
components/html/src/tree_builder/mod.rs:296
↓ 35 callers
Method
to_px
(&self, relative_to: f32)
components/style_types/src/value.rs:300
↓ 33 callers
Function
assert_node_eq
(a: NullableNode<T>, b: NullableNode<T>)
components/shared/src/tree_node.rs:429
↓ 32 callers
Method
emit_current_token
(&mut self)
components/html/src/tokenizer/mod.rs:2493
↓ 32 callers
Method
get
(&self, index: usize)
components/html/src/tree_builder/stack_of_open_elements.rs:41
↓ 28 callers
Method
consume_next
(&mut self)
components/css/src/tokenizer/mod.rs:193
↓ 28 callers
Function
report_validation_error
()
components/url/src/parser.rs:42
↓ 27 callers
Method
clear
(&mut self)
components/gfx/src/tessellator.rs:22
↓ 24 callers
Method
emit_char
(&mut self, ch: char)
components/html/src/tokenizer/mod.rs:2498
↓ 24 callers
Method
handle_in_body
(&mut self, mut token: Token)
components/html/src/tree_builder/mod.rs:1423
↓ 24 callers
Method
node
(&self)
components/layout/src/layout_box.rs:422
↓ 23 callers
Method
run
Constantly running the tokenizer and produce a list of tokens
components/css/src/tokenizer/mod.rs:181
↓ 22 callers
Method
is_empty
(&self)
components/url/src/url.rs:90
↓ 22 callers
Method
parent
Parent of the node
components/shared/src/tree_node.rs:71
↓ 22 callers
Method
pop_until
(&mut self, tag_name: &str)
components/html/src/tree_builder/stack_of_open_elements.rs:55
↓ 20 callers
Method
emit_current_char
(&mut self)
components/html/src/tokenizer/mod.rs:2503
↓ 20 callers
Method
first_child
First child of the node
components/shared/src/tree_node.rs:48
↓ 20 callers
Method
into
(self)
components/style_types/src/values/number.rs:30
↓ 20 callers
Method
set
(&mut self, component: BoxComponent, edge: Edge, value: f32)
components/layout/src/box_model.rs:19
↓ 19 callers
Method
consume_next_token
(&mut self)
components/css/src/parser/mod.rs:68
↓ 19 callers
Method
generate_implied_end_tags
(&mut self, exclude: &str)
components/html/src/tree_builder/mod.rs:885
↓ 18 callers
Method
append_character_to_token_data
(&mut self, ch: char)
components/html/src/tokenizer/mod.rs:2461
↓ 18 callers
Method
peek
(&self)
components/shared/src/data_stream.rs:13
↓ 17 callers
Method
as_str
(&self)
components/url/src/url.rs:57
↓ 17 callers
Method
content_size
(&self)
components/layout/src/layout_box.rs:268
↓ 17 callers
Method
emit_temp_buffer
(&mut self)
components/html/src/tokenizer/mod.rs:2412
↓ 17 callers
Method
has_element_name_in_table_scope
(&self, target: &str)
components/html/src/tree_builder/stack_of_open_elements.rs:175
↓ 17 callers
Method
into
(self)
components/shared/src/color.rs:23
↓ 17 callers
Method
is_auto
(&self)
components/style_types/src/value.rs:293
↓ 17 callers
Method
new_token
(&mut self, token: Token)
components/html/src/tokenizer/mod.rs:2512
↓ 16 callers
Method
has_element_name_in_scope
(&self, target: &str)
components/html/src/tree_builder/stack_of_open_elements.rs:158
↓ 16 callers
Method
peek_next_token
(&mut self)
components/css/src/parser/mod.rs:78
↓ 16 callers
Method
reconstruct_active_formatting_elements
(&mut self)
components/html/src/tree_builder/mod.rs:905
↓ 15 callers
Method
handle_in_head
(&mut self, mut token: Token)
components/html/src/tree_builder/mod.rs:1135
↓ 14 callers
Method
consume_a_component_value
(&mut self)
components/css/src/parser/mod.rs:121
↓ 14 callers
Function
create_element
(document: WeakTreeNode<Node>, tag_name: &str)
components/dom/src/element_factory.rs:22
↓ 14 callers
Method
for_each_child
(&self, mut callback: F)
components/shared/src/tree_node.rs:104
↓ 14 callers
Method
is_special
(&self)
components/url/src/url.rs:33
↓ 14 callers
Method
last_child
Last child of the node
components/shared/src/tree_node.rs:53
↓ 14 callers
Method
margin_box
we might need to review this for collapse margin https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing
components/layout/src/box_model.rs:44
↓ 14 callers
Method
parse_a_css_stylesheet
(&mut self)
components/css/src/parser/mod.rs:366
↓ 13 callers
Method
as_document
(&self)
components/dom/src/node.rs:237
↓ 13 callers
Method
children_are_inline
(&self)
components/layout/src/layout_box.rs:160
↓ 13 callers
Method
next_sibling
Next sibling of the node
components/shared/src/tree_node.rs:58
↓ 12 callers
Function
document
()
components/test_utils/src/dom_creator.rs:11
↓ 12 callers
Method
is_end_tag_appropriate
(&mut self)
components/html/src/tokenizer/mod.rs:2544
↓ 12 callers
Method
prev_sibling
Previous sibling of the node
components/shared/src/tree_node.rs:63
↓ 12 callers
Method
reconsume
(&mut self)
components/css/src/parser/mod.rs:85
↓ 11 callers
Method
append_character_to_tag_name
(&mut self, ch: char)
components/html/src/tokenizer/mod.rs:2450
↓ 11 callers
Method
close_p_element
(&mut self)
components/html/src/tree_builder/mod.rs:868
↓ 11 callers
Method
contains
(&self, tag_name: &str)
components/html/src/tree_builder/stack_of_open_elements.rs:212
↓ 11 callers
Method
has_element_name_in_button_scope
(&self, target: &str)
components/html/src/tree_builder/stack_of_open_elements.rs:162
↓ 10 callers
Method
acknowledge_self_closing_if_set
(&mut self)
components/html/src/tokenizer/token.rs:165
↓ 10 callers
Method
horizontal_r
(&self)
components/shared/src/primitive/rrect.rs:68
↓ 10 callers
Function
is_whitespace
Check if the character is a whitespace character according to specs
components/html/src/tree_builder/mod.rs:142
↓ 10 callers
Method
parse_a_stylesheet
(&mut self)
components/css/src/parser/mod.rs:360
↓ 9 callers
Method
any
(&self, test: F)
components/html/src/tree_builder/stack_of_open_elements.rs:137
↓ 9 callers
Method
append_character_to_attribute_value
(&mut self, ch: char)
components/html/src/tokenizer/mod.rs:2482
↓ 9 callers
Method
as_element_opt
(&self)
components/dom/src/node.rs:212
↓ 9 callers
Method
box_model
(&self)
components/layout/src/layout_box.rs:264
↓ 9 callers
Method
consume_while_next_token_is
(&mut self, token: Token)
components/css/src/parser/mod.rs:352
↓ 9 callers
Method
is_anonymous
(&self)
components/layout/src/layout_box.rs:156
↓ 9 callers
Method
reconsume
(&mut self)
components/css/src/tokenizer/mod.rs:214
↓ 9 callers
Method
reset_insertion_mode_appropriately
(&mut self)
components/html/src/tree_builder/mod.rs:559
↓ 8 callers
Method
build
(mut self, root: NodePtr)
components/layout/src/tree_builder.rs:21
↓ 8 callers
Method
containing_block
(&self)
components/layout/src/layout_box.rs:178
↓ 8 callers
Method
fill_polygon
(&self, tessellator: &mut Tessellator, points: &[Point], color: &Color)
components/gfx/src/painters/polygon.rs:13
↓ 8 callers
Method
fill_rect
(&mut self, rect: Rect, color: Color)
components/painting/src/display_list.rs:352
↓ 8 callers
Method
insert_character
(&mut self, ch: char)
components/html/src/tree_builder/mod.rs:475
↓ 8 callers
Method
vertical_r
(&self)
components/shared/src/primitive/rrect.rs:64
↓ 7 callers
Method
absolute_rect
(&self)
components/layout/src/layout_box.rs:388
↓ 7 callers
Method
clear_up_to_last_marker
(&mut self)
components/html/src/tree_builder/list_of_active_formatting_elements.rs:30
↓ 7 callers
Method
flush_code_points_consumed_as_a_character_reference
(&mut self)
components/html/src/tokenizer/mod.rs:2388
↓ 7 callers
Method
get_active_tab
(&self)
main/src/state/browser.rs:132
↓ 7 callers
Method
handle_text_only_element
(&mut self, token: Token, algorithm: TextOnlyElementParsingAlgo)
components/html/src/tree_builder/mod.rs:531
↓ 7 callers
Method
insert_comment
(&mut self, data: String)
components/html/src/tree_builder/mod.rs:524
↓ 7 callers
Function
is_valid_escape
Check if 2 codepoints are valid escape https://www.w3.org/TR/css-syntax-3/#starts-with-a-valid-escape
components/css/src/tokenizer/mod.rs:79
↓ 7 callers
Function
parse_selectors
(values: &Vec<ComponentValue>)
components/css/src/selector/mod.rs:24
next →
1–100 of 885, ranked by callers