Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amirrezaask/loki
/ functions
Functions
144 in github.com/amirrezaask/loki
⨍
Functions
144
◇
Types & classes
35
↓ 140 callers
Method
forward_token
(&mut self)
src/parser.rs:81
↓ 118 callers
Method
next
(&mut self)
src/lexer.rs:331
↓ 105 callers
Method
new_index
(&self)
src/parser.rs:48
↓ 105 callers
Method
new_node
( &mut self, id: NodeIndex, data: NodeData, start_line: usize, start_c
src/parser.rs:53
↓ 99 callers
Method
current_col
(&self)
src/parser.rs:436
↓ 99 callers
Method
current_line
(&self)
src/parser.rs:432
↓ 94 callers
Method
push
(&mut self, elem: T)
src/stack.rs:15
↓ 84 callers
Method
add_type
(&mut self, index: NodeIndex, ty: Type)
src/typer.rs:163
↓ 78 callers
Method
current_token
(&self)
src/parser.rs:75
↓ 62 callers
Method
forward_char
(&mut self)
src/lexer.rs:251
↓ 44 callers
Method
forward_char
(&mut self)
src/new_lexer.rs:235
↓ 42 callers
Method
new_token
(&mut self, t: TokenType)
src/new_lexer.rs:208
↓ 39 callers
Method
get_node
(&self, index: NodeIndex)
src/ir.rs:317
↓ 33 callers
Method
expect_token
(&mut self, ty: TokenType)
src/parser.rs:562
↓ 30 callers
Method
expect_expr
(&mut self)
src/parser.rs:1340
↓ 29 callers
Method
get
(&self, k: &Key)
src/hash_list.rs:51
↓ 28 callers
Method
len
(&self)
src/stack.rs:11
↓ 24 callers
Method
current_char
(&self)
src/lexer.rs:255
↓ 13 callers
Method
current_char
(&self)
src/new_lexer.rs:243
↓ 12 callers
Method
compile_expression
( &self, continue_jstack: &mut Stack<NodeIndex>, expression_index: NodeIndex, )
src/bytecode.rs:133
↓ 12 callers
Method
type_expression
( &mut self, other_files_exports: &HashMap<String, HashMap<String, Type>>, expression_
src/typer.rs:316
↓ 11 callers
Method
report_error
(&self, parse_error: ParseError)
src/parser.rs:39
↓ 10 callers
Method
expect_ident
(&mut self)
src/parser.rs:111
↓ 10 callers
Method
get_mut
(&mut self, k: &Key)
src/hash_list.rs:59
↓ 9 callers
Method
get_identifier_as_string
(&self, ident_index: NodeIndex)
src/bytecode.rs:547
↓ 8 callers
Method
all
(&mut self)
src/lexer.rs:315
↓ 8 callers
Method
expect_block
(&mut self)
src/parser.rs:570
↓ 8 callers
Method
insert
(&mut self, k: Key, v: Value)
src/hash_list.rs:33
↓ 8 callers
Method
new_token
(&self, t: TokenType, loc: SrcLocation)
src/lexer.rs:226
↓ 8 callers
Method
type_statement
( &mut self, other_files_exports: &HashMap<String, HashMap<String, Type>>, stmt_index:
src/typer.rs:1113
↓ 7 callers
Method
add_symbol_to_scope
(&mut self, scope: NodeIndex, identifier_index: NodeIndex, ty: Type)
src/ir.rs:301
↓ 7 callers
Method
compile_scope
( &self, continue_jstack: &mut Stack<NodeIndex>, index: NodeIndex, )
src/bytecode.rs:1267
↓ 7 callers
Method
err_uexpected_token
(&self, what: TokenType)
src/parser.rs:29
↓ 7 callers
Method
expect_type_expression
(&mut self)
src/parser.rs:959
↓ 7 callers
Method
get_identifier
(&self)
src/ir.rs:52
↓ 6 callers
Method
emit_current_token
(&mut self)
src/lexer.rs:259
↓ 5 callers
Method
is_type_definition
(&self)
src/typer.rs:115
↓ 5 callers
Method
type_scope
( &mut self, other_files_exports: &HashMap<String, HashMap<String, Type>>, scope_index
src/typer.rs:1440
↓ 4 callers
Method
backward_token
(&mut self)
src/parser.rs:84
↓ 4 callers
Method
expect_size_deref_ref_not
(&mut self)
src/parser.rs:1648
↓ 4 callers
Method
get_kind
(&self)
src/typer.rs:85
↓ 4 callers
Method
get_type
(&self, ty: Type)
src/typer.rs:167
↓ 4 callers
Method
pop
(&mut self)
src/stack.rs:18
↓ 3 callers
Method
add_exported_symbol
(&mut self, identifier_index: NodeIndex, ty: Type)
src/ir.rs:295
↓ 3 callers
Function
emit_for_instruction
(inst: &Instruction)
src/c_backend.rs:178
↓ 3 callers
Method
expect_comparisons
(&mut self)
src/parser.rs:1535
↓ 3 callers
Method
expect_multiply_division_modulo
(&mut self)
src/parser.rs:1599
↓ 3 callers
Method
next
(&mut self)
src/new_lexer.rs:250
↓ 3 callers
Method
type_type
( &mut self, other_files_exports: &HashMap<String, HashMap<String, Type>>, type_index:
src/typer.rs:921
↓ 2 callers
Method
any_unknowns
(&self)
src/ir.rs:260
↓ 2 callers
Method
eof
(&self)
src/new_lexer.rs:231
↓ 2 callers
Method
expect_and
(&mut self)
src/parser.rs:1390
↓ 2 callers
Method
expect_bitwise_and
(&mut self)
src/parser.rs:1459
↓ 2 callers
Method
expect_bitwise_or
(&mut self)
src/parser.rs:1413
↓ 2 callers
Method
expect_bitwise_shift
(&mut self)
src/parser.rs:1561
↓ 2 callers
Method
expect_bitwise_xor
(&mut self)
src/parser.rs:1436
↓ 2 callers
Method
expect_definition_declaration_assignment
(&mut self)
src/parser.rs:156
↓ 2 callers
Method
expect_equality_check
(&mut self)
src/parser.rs:1482
↓ 2 callers
Method
expect_fn_call
(&mut self)
src/parser.rs:506
↓ 2 callers
Method
expect_for_each_implicit_iterator
(&mut self)
src/parser.rs:663
↓ 2 callers
Method
expect_function_definition
(&mut self)
src/parser.rs:439
↓ 2 callers
Method
expect_semicolon_and_forward
(&mut self)
src/parser.rs:150
↓ 2 callers
Method
expect_statement
(&mut self)
src/parser.rs:746
↓ 2 callers
Function
find_abs_path_to_file
(name: &str)
src/utils.rs:23
↓ 2 callers
Method
find_identifier_type
( &mut self, other_files_exports: &HashMap<String, HashMap<String, Type>>, mut scope:
src/typer.rs:173
↓ 2 callers
Method
get_loads
(&self)
src/ir.rs:268
↓ 2 callers
Method
is_fn_def
(&mut self)
src/parser.rs:545
↓ 2 callers
Method
is_literal
(&self)
src/ir.rs:60
↓ 2 callers
Method
parse_file
(&mut self, path: &str)
src/compliation.rs:38
↓ 2 callers
Method
two_sides_can_do_binary_operation
(&self, left: NodeIndex, right: NodeIndex)
src/typer.rs:146
↓ 1 callers
Method
add_tag
(&mut self, index: NodeIndex, tag: AstTag)
src/ir.rs:321
↓ 1 callers
Method
ast_op_from_token_type
(&mut self, op: TokenType)
src/parser.rs:1520
↓ 1 callers
Method
compile_statement
( &self, loop_stack: &mut Stack<NodeIndex>, index: NodeIndex, )
src/bytecode.rs:555
↓ 1 callers
Method
contains_key
(&self, k: &Key)
src/hash_list.rs:17
↓ 1 callers
Function
emit_for_module
(module: Module)
src/c_backend.rs:292
↓ 1 callers
Function
emit_for_type
(ty: &Type)
src/c_backend.rs:133
↓ 1 callers
Function
emit_for_value
(value: &Value)
src/c_backend.rs:33
↓ 1 callers
Method
eof
(&self)
src/lexer.rs:247
↓ 1 callers
Method
expect_for_c
(&mut self)
src/parser.rs:619
↓ 1 callers
Method
expect_for_each
(&mut self)
src/parser.rs:642
↓ 1 callers
Method
expect_if
(&mut self)
src/parser.rs:688
↓ 1 callers
Method
expect_initialize_namespace_access_array_index_function_call
(&mut self)
src/parser.rs:1689
↓ 1 callers
Method
expect_or
(&mut self)
src/parser.rs:1367
↓ 1 callers
Method
expect_sum_subtract
(&mut self)
src/parser.rs:1564
↓ 1 callers
Method
expect_values
(&mut self)
src/parser.rs:1809
↓ 1 callers
Method
get_array_elem_ty
(&self)
src/typer.rs:107
↓ 1 callers
Method
get_ast
(mut self)
src/parser.rs:1331
↓ 1 callers
Method
if_semicolon_forward
(&mut self)
src/parser.rs:613
↓ 1 callers
Method
is_pointer
(&self)
src/typer.rs:70
↓ 1 callers
Function
make_module
(irs: &mut HashList<String, IR>)
src/bytecode.rs:1290
↓ 1 callers
Method
resolve_loads
(&mut self, file: File)
src/compliation.rs:50
↓ 1 callers
Method
resolve_namespace_access_type
( &self, node_index: NodeIndex, ns_type: Type, field: String, )
src/typer.rs:251
↓ 1 callers
Method
top
(&mut self)
src/stack.rs:27
↓ 1 callers
Method
type_root
( &mut self, other_files_exports: &HashMap<String, HashMap<String, Type>>, )
src/typer.rs:1428
Method
backward_char
(&mut self)
src/new_lexer.rs:239
Function
comments
()
src/lexer.rs:1799
Function
const_decl
()
src/lexer.rs:1073
Function
const_decl_char
()
src/lexer.rs:1010
Function
const_decl_fn
()
src/lexer.rs:1097
Function
const_decl_with_ti
()
src/lexer.rs:1035
next →
1–100 of 144, ranked by callers