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
↓ 2 callers
Method
set_color
(&mut self, color: Color)
core/src/renderer/layout/computed_style.rs:137
↓ 2 callers
Method
set_last_child
(&mut self, last_child: Weak<RefCell<Node>>)
core/src/renderer/dom/node.rs:124
↓ 2 callers
Method
set_next_sibling
(&mut self, next_sibling: Option<Rc<RefCell<Node>>>)
core/src/renderer/dom/node.rs:140
↓ 2 callers
Method
set_parent
(&mut self, parent: Weak<RefCell<Node>>)
core/src/renderer/dom/node.rs:108
↓ 2 callers
Method
source_element
SourceElement ::= FunctionDeclaration | Statement
core/src/renderer/js/ast.rs:519
↓ 2 callers
Method
start
( &mut self, handle_url: fn(String) -> Result<HttpResponse, Error>, )
ui/cui/src/app.rs:66
↓ 2 callers
Method
start_navigation
( &mut self, handle_url: fn(String) -> Result<HttpResponse, Error>, destination: Strin
ui/cui/src/app.rs:218
↓ 2 callers
Method
start_navigation
( &mut self, handle_url: fn(String) -> Result<HttpResponse, Error>, destination: Strin
ui/wasabi/src/app.rs:241
↓ 2 callers
Method
start_new_attribute
Starts a new attribute with empty strings in the latest token.
core/src/renderer/html/token.rs:146
↓ 2 callers
Method
statement
https://262.ecma-international.org/12.0/#prod-Statement AssignmentExpression ::= ( LeftHandSideExpression AssignmentOperator AssignmentExpression | C
core/src/renderer/js/ast.rs:385
↓ 2 callers
Method
status_code
(&self)
core/src/http.rs:84
↓ 2 callers
Method
switch_context
https://html.spec.whatwg.org/multipage/parsing.html#parsing-html-fragments
core/src/renderer/html/token.rs:217
↓ 2 callers
Method
target_kind
(&self)
core/src/renderer/dom/node.rs:151
↓ 1 callers
Method
additive_expression
PostfixExpression ::= LeftHandSideExpression ( PostfixOperator )? UnaryExpression ::= ( PostfixExpression | ( UnaryOperator UnaryExpression )+ ) Multi
core/src/renderer/js/ast.rs:270
↓ 1 callers
Method
arguments
ArgumentList ::= AssignmentExpression ( "," AssignmentExpression ) Arguments ::= "(" ( ArgumentList )? ")"
core/src/renderer/js/ast.rs:449
↓ 1 callers
Method
body
(&self)
core/src/http.rs:96
↓ 1 callers
Function
build_layout_tree
Converts DOM tree to render tree.
core/src/renderer/layout/layout_view.rs:22
↓ 1 callers
Method
call_browser_api
https://developer.mozilla.org/en-US/docs/Web/API returns a tuple (bool, Option<RuntimeValue>) bool: whether or not a Browser API is found Option<Runt
core/src/renderer/js/runtime.rs:195
↓ 1 callers
Method
cascading_style
https://www.w3.org/TR/css-cascade-4/#cascading Cascading yields the cascaded value. It takes takes an unordered list of declared values and outputs a
core/src/renderer/layout/layout_object.rs:222
↓ 1 callers
Method
check_reserved_word
(&self)
core/src/renderer/js/token.rs:111
↓ 1 callers
Method
clear_address_bar
(&mut self)
ui/wasabi/src/app.rs:408
↓ 1 callers
Method
clear_content_area
(&mut self)
ui/wasabi/src/app.rs:434
↓ 1 callers
Method
clicked
Called when this page is clicked.
core/src/renderer/page.rs:77
↓ 1 callers
Method
compute_position
Returns the position of this element. The position is calculated based on the normal flow, which is the default value in the `position` property in C
core/src/renderer/layout/layout_object.rs:459
↓ 1 callers
Method
console_debug
(&mut self, log: String)
core/src/browser.rs:53
↓ 1 callers
Method
console_error
(&mut self, log: String)
core/src/browser.rs:61
↓ 1 callers
Method
console_warning
(&mut self, log: String)
core/src/browser.rs:57
↓ 1 callers
Method
consume_at_rule
https://www.w3.org/TR/css-syntax-3/#consume-at-rule
core/src/renderer/css/cssom.rs:322
↓ 1 callers
Method
consume_component_value
https://www.w3.org/TR/css-syntax-3/#consume-component-value
core/src/renderer/css/cssom.rs:208
↓ 1 callers
Method
consume_declaration
https://www.w3.org/TR/css-syntax-3/#consume-a-declaration
core/src/renderer/css/cssom.rs:257
↓ 1 callers
Method
consume_identifier
(&mut self)
core/src/renderer/js/token.rs:78
↓ 1 callers
Method
consume_list_of_declarations
https://www.w3.org/TR/css-syntax-3/#consume-simple-block https://www.w3.org/TR/css-syntax-3/#consume-a-list-of-declarations Note: Most qualified rules
core/src/renderer/css/cssom.rs:283
↓ 1 callers
Method
consume_list_of_rules
https://www.w3.org/TR/css-syntax-3/#consume-a-list-of-rules
core/src/renderer/css/cssom.rs:386
↓ 1 callers
Method
consume_next_input
Consumes a next input character.
core/src/renderer/html/token.rs:102
↓ 1 callers
Method
consume_number
(&mut self)
core/src/renderer/js/token.rs:37
↓ 1 callers
Method
consume_numeric_token
https://www.w3.org/TR/css-syntax-3/#consume-number https://www.w3.org/TR/css-syntax-3/#consume-a-numeric-token
core/src/renderer/css/token.rs:95
↓ 1 callers
Method
consume_selector
https://www.w3.org/TR/css-syntax-3/#qualified-rule Note: Most qualified rules will be style rules, where the prelude is a selector [SELECT] and the bl
core/src/renderer/css/cssom.rs:217
↓ 1 callers
Method
consume_string
(&mut self)
core/src/renderer/js/token.rs:59
↓ 1 callers
Method
consume_string_token
https://www.w3.org/TR/css-syntax-3/#consume-a-string-token
core/src/renderer/css/token.rs:74
↓ 1 callers
Function
convert_dom_to_string
for debug
core/src/utils.rs:30
↓ 1 callers
Function
convert_dom_to_string_internal
( node: &Option<Rc<RefCell<Node>>>, depth: usize, result: &mut String, )
core/src/utils.rs:36
↓ 1 callers
Function
convert_font_size
Converts FontSize, defined in renderer::layout::computed_style::FontSize, to StringSize to make it compatible with noli library.
ui/wasabi/src/app.rs:460
↓ 1 callers
Function
convert_layout_tree_to_string
for debug
core/src/utils.rs:54
↓ 1 callers
Function
convert_layout_tree_to_string_internal
( node: &Option<Rc<RefCell<LayoutObject>>>, depth: usize, result: &mut String, )
core/src/utils.rs:60
↓ 1 callers
Method
create_char
Creates a char node.
core/src/renderer/html/parser.rs:59
↓ 1 callers
Method
create_element
Creates an element node.
core/src/renderer/html/parser.rs:66
↓ 1 callers
Method
defaulting
https://www.w3.org/TR/css-cascade-4/#defaulting https://www.w3.org/TR/css-cascade-4/#inheriting If there is no cascading value, use the default value.
core/src/renderer/layout/computed_style.rs:70
↓ 1 callers
Method
defaulting_style
https://www.w3.org/TR/css-cascade-4/#defaulting https://www.w3.org/TR/css-cascade-4/#inheriting https://source.chromium.org/chromium/chromium/src/+/ma
core/src/renderer/layout/layout_object.rs:348
↓ 1 callers
Method
dom_modified
(&self)
core/src/renderer/js/runtime.rs:186
↓ 1 callers
Function
dom_to_html
(root: &Option<Rc<RefCell<Node>>>)
core/src/renderer/html/html_builder.rs:10
↓ 1 callers
Function
dom_to_html_internal
(node: &Option<Rc<RefCell<Node>>>, html: &mut String)
core/src/renderer/html/html_builder.rs:16
↓ 1 callers
Method
execute
(&mut self, program: &Program)
core/src/renderer/js/runtime.rs:479
↓ 1 callers
Method
extract_host
(&self)
core/src/url.rs:49
↓ 1 callers
Method
extract_path
(&self)
core/src/url.rs:80
↓ 1 callers
Method
extract_port
(&self)
core/src/url.rs:63
↓ 1 callers
Method
extract_searchpart
(&self)
core/src/url.rs:95
↓ 1 callers
Function
find_index_for_line_break
This is used when { word-break: normal; } in CSS. https://drafts.csswg.org/css-text/#word-break-property
core/src/renderer/layout/layout_object.rs:35
↓ 1 callers
Method
find_node_by_position
Returns a LayoutObject placed on `position`. None if it doesn't exist.
core/src/renderer/layout/layout_view.rs:269
↓ 1 callers
Method
function_body
FunctionBody ::= "{" ( SourceElements )? "}"
core/src/renderer/js/ast.rs:421
↓ 1 callers
Method
function_declaration
FunctionDeclaration ::= "function" Identifier ( "(" ( FormalParameterList )? ")" ) FunctionBody
core/src/renderer/js/ast.rs:512
↓ 1 callers
Function
get_activation_behavior
(node_kind: &NodeKind)
core/src/renderer/dom/activation_behavior.rs:16
↓ 1 callers
Method
get_element
(&self)
core/src/renderer/dom/node.rs:94
↓ 1 callers
Function
get_element_by_id
( node: Option<Rc<RefCell<Node>>>, id_name: &String, )
core/src/renderer/dom/api.rs:11
↓ 1 callers
Function
get_js_content
(root: Rc<RefCell<Node>>)
core/src/renderer/dom/api.rs:76
↓ 1 callers
Method
get_variable
(&self, name: String)
core/src/renderer/js/runtime.rs:112
↓ 1 callers
Method
handle_key_input
( &mut self, handle_url: fn(String) -> Result<HttpResponse, Error>, )
ui/wasabi/src/app.rs:128
↓ 1 callers
Method
handle_mouse_input
( &mut self, handle_url: fn(String) -> Result<HttpResponse, Error>, )
ui/wasabi/src/app.rs:160
↓ 1 callers
Method
initialiser
Initialiser ::= "=" AssignmentExpression
core/src/renderer/js/ast.rs:348
↓ 1 callers
Method
is_block_element
return true if this element is a block element
core/src/renderer/dom/node.rs:268
↓ 1 callers
Method
is_http
(&self)
core/src/url.rs:45
↓ 1 callers
Method
is_node_selected
(&self, selector: &Selector)
core/src/renderer/layout/layout_object.rs:499
↓ 1 callers
Method
left_hand_side_expression
MemberExpression ::= ( ( FunctionExpression | PrimaryExpression ) ( MemberExpressionPart)* ) | AllocationExpression Arguments ::= "(" ( ArgumentList
core/src/renderer/js/ast.rs:242
↓ 1 callers
Method
margin_left
(&self)
core/src/renderer/layout/computed_style.rs:208
↓ 1 callers
Method
margin_top
(&self)
core/src/renderer/layout/computed_style.rs:204
↓ 1 callers
Method
member_expression
MemberExpressionPart ::= ( "[" Expression "]" ) | ( "." Identifier ) MemberExpression ::= ( ( FunctionExpression | PrimaryExpression ) ( MemberExpres
core/src/renderer/js/ast.rs:213
↓ 1 callers
Method
move_focus_to_down
(&mut self)
ui/cui/src/app.rs:173
↓ 1 callers
Method
move_focus_to_up
(&mut self)
ui/cui/src/app.rs:131
↓ 1 callers
Method
name
(&self)
core/src/renderer/html/attribute.rs:26
↓ 1 callers
Method
node
(&self)
core/src/renderer/layout/layout_object.rs:156
↓ 1 callers
Method
padding_left
(&self)
core/src/renderer/layout/computed_style.rs:224
↓ 1 callers
Method
padding_right
(&self)
core/src/renderer/layout/computed_style.rs:228
↓ 1 callers
Method
paint_tree
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/local_frame_view.h;drc=0e9a0b6e9bb6ec59521977eec805f5d0
core/src/renderer/page.rs:213
↓ 1 callers
Method
parameter_list
FormalParameterList ::= Identifier ( "," Identifier )
core/src/renderer/js/ast.rs:475
↓ 1 callers
Method
pop_current_node
Returns true if the current node's kind is same as NodeKind::Element::<element_kind>.
core/src/renderer/html/parser.rs:156
↓ 1 callers
Method
previous_sibling
(&self)
core/src/renderer/dom/node.rs:136
↓ 1 callers
Method
primary_expression
Literal ::= ( <DECIMAL_LITERAL> | <HEX_INTEGER_LITERAL> | <STRING_LITERAL> | <BOOLEAN_LITERAL> | <NULL_LITERAL> | <REGULAR_EXPRESSION_LITERAL> ) Prim
core/src/renderer/js/ast.rs:194
↓ 1 callers
Method
push_url_for_subresource
(&mut self, src: String)
core/src/browser.rs:39
↓ 1 callers
Method
reconsume_input
Reconsumes the character consumed in a previous step. The `reconsume` flag is reset once `reconsume_input` is called.
core/src/renderer/html/token.rs:110
↓ 1 callers
Method
run_app
( &mut self, handle_url: fn(String) -> Result<HttpResponse, Error>, terminal: &mut Ter
ui/cui/src/app.rs:253
↓ 1 callers
Method
run_app
( &mut self, handle_url: fn(String) -> Result<HttpResponse, Error>, )
ui/wasabi/src/app.rs:231
↓ 1 callers
Method
set_browser
(&mut self, browser: Weak<RefCell<Browser>>)
core/src/renderer/page.rs:130
↓ 1 callers
Method
set_display
(&mut self, display: DisplayType)
core/src/renderer/layout/computed_style.rs:155
↓ 1 callers
Method
set_first_child
(&mut self, first_child: Option<Rc<RefCell<LayoutObject>>>)
core/src/renderer/layout/layout_object.rs:189
↓ 1 callers
Method
set_layout_view
(&mut self)
core/src/renderer/page.rs:152
↓ 1 callers
Method
set_next_sibling
(&mut self, next_sibling: Option<Rc<RefCell<LayoutObject>>>)
core/src/renderer/layout/layout_object.rs:197
↓ 1 callers
Method
set_position
(&mut self, x: i64, y: i64)
ui/wasabi/src/cursor.rs:23
↓ 1 callers
Method
set_previous_sibling
(&mut self, previous_sibling: Weak<RefCell<Node>>)
core/src/renderer/dom/node.rs:132
↓ 1 callers
Method
set_rules
(&mut self, rules: Vec<QualifiedRule>)
core/src/renderer/css/cssom.rs:62
↓ 1 callers
Method
set_self_closing_flag
Sets `self_closing` flag to the `latest_token`.
core/src/renderer/html/token.rs:185
↓ 1 callers
Method
set_window
(&mut self, window: Weak<RefCell<Window>>)
core/src/renderer/dom/node.rs:65
← previous
next →
101–200 of 395, ranked by callers