Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/d0iasm/saba
/ functions
Functions
395 in github.com/d0iasm/saba
⨍
Functions
395
◇
Types & classes
62
↓ 332 callers
Method
to_string
(&self)
core/src/log.rs:25
↓ 37 callers
Method
next
(&mut self)
core/src/renderer/html/token.rs:225
↓ 24 callers
Method
first_child
(&self)
core/src/renderer/dom/node.rs:120
↓ 22 callers
Method
add_char
(&mut self, c: char, is_name: bool)
core/src/renderer/html/attribute.rs:18
↓ 18 callers
Method
kind
(&self)
core/src/renderer/layout/layout_object.rs:181
↓ 15 callers
Method
insert_element
Creates an element node for the token and insert it to the appropriate place for inserting a node. Put the new node in the stack of open elements. htt
core/src/renderer/html/parser.rs:73
↓ 15 callers
Method
pop_until
Pops nodes until a node with `element_kind` comes.
core/src/renderer/html/parser.rs:171
↓ 14 callers
Method
eval
( &mut self, node: &Option<Rc<Node>>, env: Rc<RefCell<Environment>>, )
core/src/renderer/js/runtime.rs:239
↓ 13 callers
Method
body
(&self)
core/src/renderer/js/ast.rs:32
↓ 13 callers
Method
is_eof
Returns true if the current position is larger than the length of input.
core/src/renderer/html/token.rs:212
↓ 13 callers
Method
kind
(&self)
core/src/renderer/dom/node.rs:61
↓ 13 callers
Method
next_sibling
(&self)
core/src/renderer/layout/layout_object.rs:201
↓ 12 callers
Method
parse_ast
SourceElements ::= ( SourceElement )+ Program ::= ( SourceElements )? <EOF>
core/src/renderer/js/ast.rs:542
↓ 11 callers
Method
next_sibling
(&self)
core/src/renderer/dom/node.rs:144
↓ 11 callers
Method
set_body
(&mut self, body: Vec<Rc<Node>>)
core/src/renderer/js/ast.rs:28
↓ 11 callers
Method
y
(&self)
core/src/renderer/layout/layout_point.rs:21
↓ 10 callers
Method
document
(&self)
core/src/renderer/dom/window.rs:40
↓ 10 callers
Method
first_child
(&self)
core/src/renderer/layout/layout_object.rs:193
↓ 10 callers
Method
x
(&self)
core/src/renderer/layout/layout_point.rs:17
↓ 9 callers
Method
next
https://www.w3.org/TR/css-syntax-3/#consume-token
core/src/renderer/css/token.rs:133
↓ 8 callers
Method
margin
(&self)
core/src/renderer/layout/computed_style.rs:176
↓ 8 callers
Method
point
(&self)
core/src/renderer/layout/layout_object.rs:209
↓ 8 callers
Method
width
(&self)
core/src/renderer/layout/layout_size.rs:17
↓ 7 callers
Method
construct_tree
https://html.spec.whatwg.org/multipage/parsing.html#tree-construction
core/src/renderer/html/parser.rs:202
↓ 7 callers
Method
current_page
(&self)
core/src/browser.rs:35
↓ 7 callers
Method
height
(&self)
core/src/renderer/layout/layout_size.rs:21
↓ 7 callers
Method
parse_stylesheet
https://www.w3.org/TR/css-syntax-3/#parse-stylesheet
core/src/renderer/css/cssom.rs:418
↓ 7 callers
Method
set_height
(&mut self, height: i64)
core/src/renderer/layout/layout_size.rs:29
↓ 7 callers
Method
set_property
(&mut self, property: String)
core/src/renderer/css/cssom.rs:166
↓ 7 callers
Method
set_value
(&mut self, value: ComponentValue)
core/src/renderer/css/cssom.rs:170
↓ 7 callers
Method
set_width
(&mut self, width: i64)
core/src/renderer/layout/layout_size.rs:25
↓ 6 callers
Function
console_debug
(browser: &Weak<RefCell<Browser>>, log: String)
core/src/utils.rs:11
↓ 6 callers
Function
console_error
(browser: &Weak<RefCell<Browser>>, log: String)
core/src/utils.rs:23
↓ 6 callers
Function
console_warning
(browser: &Weak<RefCell<Browser>>, log: String)
core/src/utils.rs:17
↓ 6 callers
Function
create_layout_view
(html: String)
core/src/renderer/layout/layout_view.rs:287
↓ 6 callers
Method
font_size
(&self)
core/src/renderer/layout/computed_style.rs:189
↓ 6 callers
Method
node_kind
(&self)
core/src/renderer/layout/layout_object.rs:185
↓ 6 callers
Method
root
(&self)
core/src/renderer/layout/layout_view.rs:208
↓ 6 callers
Method
set_declarations
(&mut self, declarations: Vec<Declaration>)
core/src/renderer/css/cssom.rs:125
↓ 6 callers
Method
set_selector
(&mut self, selector: Selector)
core/src/renderer/css/cssom.rs:121
↓ 6 callers
Method
take_latest_token
Returns `latest_token` and makes it to None.
core/src/renderer/html/token.rs:201
↓ 6 callers
Method
text_decoration
(&self)
core/src/renderer/layout/computed_style.rs:199
↓ 5 callers
Method
append_attribute
Appends a char to the attribute in the latest created Token `latest_token`.
core/src/renderer/html/token.rs:164
↓ 5 callers
Method
assignment_expression
ShiftExpression ::= AdditiveExpression ( ShiftOperator AdditiveExpression ) RelationalExpression ::= ShiftExpression ( RelationalOperator ShiftExpress
core/src/renderer/js/ast.rs:316
↓ 5 callers
Method
attributes
(&self)
core/src/renderer/dom/node.rs:253
↓ 5 callers
Method
contain_in_stack
Returns true if the stack of open elements has NodeKind::Element::<element_kind> node.
core/src/renderer/html/parser.rs:191
↓ 5 callers
Method
name
(&self)
core/src/renderer/layout/color.rs:152
↓ 5 callers
Method
next
(&mut self)
core/src/renderer/js/token.rs:125
↓ 5 callers
Method
set_margin
(&mut self, margin: BoxInfo)
core/src/renderer/layout/computed_style.rs:172
↓ 5 callers
Method
set_y
(&mut self, y: i64)
core/src/renderer/layout/layout_point.rs:29
↓ 5 callers
Method
size
(&self)
core/src/renderer/layout/layout_object.rs:213
↓ 5 callers
Method
value
(&self)
core/src/renderer/html/attribute.rs:30
↓ 4 callers
Method
clear_logs
(&mut self)
core/src/browser.rs:49
↓ 4 callers
Method
consume_ident_token
https://www.w3.org/TR/css-syntax-3/#consume-name
core/src/renderer/css/token.rs:55
↓ 4 callers
Method
display_items
(&self)
core/src/renderer/page.rs:204
↓ 4 callers
Method
flush
(&mut self)
ui/wasabi/src/cursor.rs:27
↓ 4 callers
Method
get
(&self, host: String, port: u16, path: String)
net/std/src/http.rs:26
↓ 4 callers
Method
host
(&self)
core/src/url.rs:114
↓ 4 callers
Method
identifier
Identifier ::= <IDENTIFIER_NAME>
core/src/renderer/js/ast.rs:335
↓ 4 callers
Method
padding
(&self)
core/src/renderer/layout/computed_style.rs:184
↓ 4 callers
Method
path
(&self)
core/src/url.rs:122
↓ 4 callers
Method
port
(&self)
core/src/url.rs:118
↓ 4 callers
Method
set_first_child
(&mut self, first_child: Option<Rc<RefCell<Node>>>)
core/src/renderer/dom/node.rs:116
↓ 4 callers
Method
set_x
(&mut self, x: i64)
core/src/renderer/layout/layout_point.rs:25
↓ 4 callers
Method
style
(&self)
core/src/renderer/layout/layout_object.rs:205
↓ 3 callers
Method
add_variable
(&mut self, name: String, value: Option<RuntimeValue>)
core/src/renderer/js/runtime.rs:126
↓ 3 callers
Method
append_tag_name
Appends a char to the tag in the latest created Token `latest_token`.
core/src/renderer/html/token.rs:129
↓ 3 callers
Method
background_color
(&self)
core/src/renderer/layout/computed_style.rs:131
↓ 3 callers
Method
bottom
(&self)
core/src/renderer/layout/computed_style.rs:309
↓ 3 callers
Method
color
(&self)
core/src/renderer/layout/computed_style.rs:141
↓ 3 callers
Method
create_tag
Creates a StartTag or EndTag token.
core/src/renderer/html/token.rs:116
↓ 3 callers
Method
display
(&self)
core/src/renderer/layout/computed_style.rs:159
↓ 3 callers
Method
element_kind
(&self)
core/src/renderer/dom/node.rs:101
↓ 3 callers
Method
event_type
(&self)
core/src/renderer/dom/event.rs:30
↓ 3 callers
Method
get_attribute
Returns a value for an attribute `name`.
core/src/renderer/dom/node.rs:258
↓ 3 callers
Function
get_target_element_node
TODO: return an array of Node instead of one Node.
core/src/renderer/dom/api.rs:38
↓ 3 callers
Method
insert_char
https://html.spec.whatwg.org/multipage/parsing.html#insert-a-character
core/src/renderer/html/parser.rs:116
↓ 3 callers
Method
left
(&self)
core/src/renderer/layout/computed_style.rs:305
↓ 3 callers
Method
logs
(&self)
core/src/browser.rs:45
↓ 3 callers
Method
parent
(&self)
core/src/renderer/dom/node.rs:112
↓ 3 callers
Method
parse
(&mut self)
core/src/url.rs:32
↓ 3 callers
Method
right
(&self)
core/src/renderer/layout/computed_style.rs:301
↓ 3 callers
Method
top
(&self)
core/src/renderer/layout/computed_style.rs:297
↓ 3 callers
Method
update_address_bar
(&mut self)
ui/wasabi/src/app.rs:364
↓ 2 callers
Method
clear_display_items
(&mut self)
core/src/renderer/page.rs:208
↓ 2 callers
Method
code_u32
(&self)
core/src/renderer/layout/color.rs:160
↓ 2 callers
Method
compute_size
Returns the size of this element including margins, paddings, etc.
core/src/renderer/layout/layout_object.rs:357
↓ 2 callers
Method
consume_ident
(&mut self)
core/src/renderer/css/cssom.rs:193
↓ 2 callers
Method
consume_qualified_rule
https://www.w3.org/TR/css-syntax-3/#consume-qualified-rule https://www.w3.org/TR/css-syntax-3/#qualified-rule https://www.w3.org/TR/css-syntax-3/#styl
core/src/renderer/css/cssom.rs:353
↓ 2 callers
Method
contains
(&self, keyword: &str)
core/src/renderer/js/token.rs:96
↓ 2 callers
Method
create_frame
(&mut self, html: String)
core/src/renderer/page.rs:134
↓ 2 callers
Function
create_layout_object
( browser: Weak<RefCell<Browser>>, node: &Option<Rc<RefCell<Node>>>, parent_obj: &Option<Rc<RefCel
core/src/renderer/layout/layout_object.rs:60
↓ 2 callers
Method
execute_js
(&mut self)
core/src/renderer/page.rs:172
↓ 2 callers
Function
get_style_content
(root: Rc<RefCell<Node>>)
core/src/renderer/dom/api.rs:60
↓ 2 callers
Function
handle_url
(url: String)
src/saba_cui.rs:16
↓ 2 callers
Method
header_value
(&self, name: &str)
core/src/http.rs:100
↓ 2 callers
Method
paint
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/layout/layout_view.h;drc=0e9a0b6e9bb6ec59521977eec805f5d0bca8
core/src/renderer/layout/layout_view.rs:228
↓ 2 callers
Method
receive_response
Called when HTTP response is received.
core/src/renderer/page.rs:103
↓ 2 callers
Method
rect
(&self)
ui/wasabi/src/cursor.rs:19
↓ 2 callers
Method
set_background_color
(&mut self, color: Color)
core/src/renderer/layout/computed_style.rs:127
next →
1–100 of 395, ranked by callers