Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GPPVM-Project/SkyLC
/ functions
Functions
552 in github.com/GPPVM-Project/SkyLC
⨍
Functions
552
◇
Types & classes
123
↓ 330 callers
Method
clone
(&self)
crates/skyl-data/src/memory.rs:29
↓ 129 callers
Method
borrow
(&self)
crates/skyl-data/src/memory.rs:48
↓ 109 callers
Method
to_string
(&self)
crates/skyl-data/src/objects.rs:238
↓ 77 callers
Method
push
(&mut self, error: CompilationError)
crates/skyl-driver/src/errors.rs:242
↓ 75 callers
Method
span
(&self)
crates/skyl-data/src/statements.rs:115
↓ 66 callers
Method
peek
(&self)
crates/skyl-parser/src/parser.rs:1565
↓ 64 callers
Method
push
(&mut self, value: Value)
crates/skyl-vm/src/virtual_machine.rs:791
↓ 62 callers
Method
len
(&self)
crates/skyl-data/src/semantic_types.rs:170
↓ 59 callers
Method
try_eat
(&mut self, kind: &[TokenKind])
crates/skyl-parser/src/parser.rs:1540
↓ 53 callers
Method
expect_token
( &mut self, kind: TokenKind, expected: &str, after: &str, )
crates/skyl-parser/src/parser.rs:1520
↓ 53 callers
Method
merge
(&self, other: Span)
crates/skyl-data/src/token.rs:134
↓ 40 callers
Method
pop
(&mut self)
crates/skyl-vm/src/virtual_machine.rs:764
↓ 39 callers
Method
push
(&mut self, value: LocalValue)
crates/skyl-ir/src/ir_generator.rs:42
↓ 38 callers
Method
resolve_expr_type
Resolves and returns the type descriptor for the given expression. This function inspects the expression and resolves its type, returning a `TypeDesc
crates/skyl-semantics/src/type_resolver.rs:30
↓ 37 callers
Method
eat
(&mut self, kind: TokenKind, err: CompilationErrorKind)
crates/skyl-parser/src/parser.rs:1513
↓ 37 callers
Method
previous
(&self)
crates/skyl-parser/src/parser.rs:1505
↓ 30 callers
Method
make_token
(&mut self, kind: TokenKind)
crates/skyl-lexer/src/lexer.rs:353
↓ 29 callers
Method
analyze_expr
Analyzes an expression and generates an annotated expression. This function processes various types of expressions, including literals, unary operati
crates/skyl-semantics/src/expressions.rs:52
↓ 28 callers
Method
line
(&self)
crates/skyl-data/src/statements.rs:136
↓ 26 callers
Method
borrow_mut
(&mut self)
crates/skyl-data/src/memory.rs:53
↓ 25 callers
Method
emit_instruction
(&mut self, code: &mut Vec<u8>, instruction: Instruction)
crates/skyl-ir/src/ir_generator.rs:487
↓ 22 callers
Method
get
()
crates/skyl-semantics/src/import_pipeline.rs:8
↓ 20 callers
Method
generate_expr_ir
(&mut self, expr: &AnnotatedExpression)
crates/skyl-ir/src/ir_generator.rs:294
↓ 19 callers
Method
get_static_kind_by_name
Retrieves the static type descriptor for a given name from the symbol table. This function looks up a type descriptor in the symbol table by name. If
crates/skyl-semantics/src/semantic_analyzer.rs:780
↓ 18 callers
Method
read_byte
(&mut self)
crates/skyl-vm/src/virtual_machine.rs:784
↓ 17 callers
Method
type_composition
(&mut self)
crates/skyl-parser/src/parser.rs:659
↓ 16 callers
Method
get
(&mut self, i: usize)
crates/skyl-data/src/semantic_types.rs:182
↓ 15 callers
Method
expression
(&mut self)
crates/skyl-parser/src/parser.rs:1111
↓ 15 callers
Method
report_error
(&mut self, error: CompilationError)
crates/skyl-semantics/src/semantic_analyzer.rs:93
↓ 14 callers
Method
emit_byte
(&mut self, code: &mut Vec<u8>, byte: u8)
crates/skyl-ir/src/ir_generator.rs:483
↓ 13 callers
Method
add_stage
(mut self, stage: Box<dyn PipelineStep>)
crates/skyl-driver/src/lib.rs:37
↓ 12 callers
Method
check
(&mut self, kind: &[TokenKind])
crates/skyl-parser/src/parser.rs:1551
↓ 11 callers
Method
try_eat
(&mut self, c: char)
crates/skyl-lexer/src/lexer.rs:380
↓ 10 callers
Method
is_empty
(&self)
crates/skyl-data/src/semantic_types.rs:174
↓ 10 callers
Method
scan_tokens
(&mut self, reporter: Rc<RefCell<CompilerErrorReporter>>)
crates/skyl-lexer/src/lexer.rs:113
↓ 9 callers
Method
advance
(&mut self)
crates/skyl-lexer/src/lexer.rs:369
↓ 9 callers
Method
as_any
(&self)
crates/skyl-data/src/objects.rs:222
↓ 9 callers
Method
create_and_define_type
Defines a new native kind to existing kinds. # Arguments `name` - A string slice with name of kind to be defined. `archetypes` - A `Vec` with names
crates/skyl-semantics/src/semantic_analyzer.rs:244
↓ 9 callers
Function
generate_error_reporter
()
crates/skyl-lexer/tests/tokens.rs:9
↓ 8 callers
Method
context
Retrieves the current context scope. This function returns a mutable reference to the topmost scope in the context stack, which is useful for analyzi
crates/skyl-semantics/src/semantic_analyzer.rs:571
↓ 8 callers
Method
read_u32
(&mut self)
crates/skyl-vm/src/virtual_machine.rs:775
↓ 8 callers
Method
split_u32
(&self, value: u32)
crates/skyl-ir/src/ir_generator.rs:444
↓ 7 callers
Method
generate_ir_for
(&mut self, annotated_stmt: &AnnotatedStatement)
crates/skyl-ir/src/ir_generator.rs:109
↓ 7 callers
Method
implements_archetype
(&self, archetype: &Archetype)
crates/skyl-data/src/descriptors.rs:167
↓ 7 callers
Method
is_at_end
(&self)
crates/skyl-lexer/src/lexer.rs:415
↓ 7 callers
Method
parse_scope
(&mut self)
crates/skyl-parser/src/parser.rs:1078
↓ 6 callers
Method
add_archetype
(&mut self, arch: Archetype)
crates/skyl-data/src/descriptors.rs:248
↓ 6 callers
Method
analyze_stmt
Analyzes a statement and performs semantic validation. This function processes different types of statements and ensures they adhere to semantic rule
crates/skyl-semantics/src/statements.rs:36
↓ 6 callers
Method
get_static_kind_by_id
(&self, id: u32)
crates/skyl-semantics/src/semantic_analyzer.rs:798
↓ 6 callers
Method
make_token_with_lexeme
(&mut self, kind: TokenKind, lexeme: String)
crates/skyl-lexer/src/lexer.rs:360
↓ 6 callers
Method
peek
(&self)
crates/skyl-lexer/src/lexer.rs:401
↓ 6 callers
Function
read_file_without_bom
(path: &str)
crates/skyl-data/src/reader.rs:10
↓ 6 callers
Method
require_depth
Ensures that the current depth satisfies a given condition. This function compares the current scope depth with a specified value and reports an erro
crates/skyl-semantics/src/semantic_analyzer.rs:414
↓ 5 callers
Method
advance
(&mut self)
crates/skyl-parser/src/parser.rs:1561
↓ 5 callers
Method
assert_archetype_kind
Asserts that an expression's type conforms to a given archetype. # Parameters - `expr`: The expression whose type needs to be checked. - `archetype_s
crates/skyl-semantics/src/semantic_analyzer.rs:849
↓ 5 callers
Method
dependencies
(&self)
crates/skyd/src/lib.rs:35
↓ 5 callers
Method
end_scope
Ends the current scope by popping the top context from the context stack. This function is used to close the current scope, removing the local declar
crates/skyl-semantics/src/semantic_analyzer.rs:462
↓ 5 callers
Method
get_symbol
Retrieves a symbol from the symbol table by name. This function looks up a symbol in the symbol table by its name. It returns an `Option` containing
crates/skyl-semantics/src/semantic_analyzer.rs:596
↓ 5 callers
Method
is_digit
(&self, c: char)
crates/skyl-lexer/src/lexer.rs:297
↓ 5 callers
Method
name
(&self, name: &String)
crates/skyl-data/src/semantic_types.rs:135
↓ 5 callers
Method
resolve_type_composition
Resolves a type composition from a mask of tokens. This function builds a set of archetypes from the given tokens and attempts to find a matching `Ty
crates/skyl-semantics/src/type_resolver.rs:390
↓ 4 callers
Method
assert_expression_kind
Asserts that the given expression matches the expected type. This function checks if the type of the given expression matches the expected type. If t
crates/skyl-semantics/src/semantic_analyzer.rs:744
↓ 4 callers
Method
begin_scope
(&mut self)
crates/skyl-ir/src/ir_generator.rs:491
↓ 4 callers
Method
end_scope
(&mut self, code: &mut Vec<u8>)
crates/skyl-ir/src/ir_generator.rs:496
↓ 4 callers
Method
execute
( &mut self, input: T, config: &CompilerConfig, ctx: Rc<RefCell<CompilerContex
crates/skyl-driver/src/lib.rs:42
↓ 4 callers
Method
get_function
Retrieves a function prototype by its name. This function looks up the function prototype in the symbol table by its name, allowing access to the fun
crates/skyl-semantics/src/semantic_analyzer.rs:1001
↓ 4 callers
Method
has_errors
(&self)
crates/skyl-driver/src/errors.rs:298
↓ 4 callers
Method
manifest
(&self)
crates/skyd/src/lib.rs:39
↓ 4 callers
Method
pop
(&mut self)
crates/skyl-data/src/semantic_types.rs:166
↓ 4 callers
Method
push_module
(&mut self, module_name: String)
crates/skyl-data/src/context.rs:43
↓ 4 callers
Method
resolve_identifier_type
Resolves the type of an identifier in the current context. This function looks up the type of an identifier by traversing the context stack from the
crates/skyl-semantics/src/semantic_analyzer.rs:631
↓ 3 callers
Method
add_dependency
(&mut self, path: PathBuf)
crates/skyl-data/src/context.rs:51
↓ 3 callers
Method
analyze_literal
Analyzes a literal expression and resolves its type. This function creates an annotated expression for a literal, determining its type based on the t
crates/skyl-semantics/src/expressions.rs:105
↓ 3 callers
Method
analyze_scope
(&mut self, stmts: &Vec<Statement>)
crates/skyl-semantics/src/statements.rs:187
↓ 3 callers
Method
as_any_mut
(&mut self)
crates/skyl-data/src/objects.rs:226
↓ 3 callers
Method
backtrack
(&mut self)
crates/skyl-parser/src/parser.rs:1569
↓ 3 callers
Method
begin_scope
Starts a new scope by pushing an empty context onto the context stack. This function is used to create a new scope for the current analysis, allowing
crates/skyl-semantics/src/semantic_analyzer.rs:446
↓ 3 callers
Method
check_type_exists
Checks whether a type or symbol exists in the symbol table. This function checks if the given name is present in the symbol table, indicating that a
crates/skyl-semantics/src/semantic_analyzer.rs:1108
↓ 3 callers
Function
create_keywords
()
crates/skyl-lexer/src/lexer.rs:23
↓ 3 callers
Method
declare_local
(&mut self, name: String, is_initialized: bool)
crates/skyl-ir/src/ir_generator.rs:271
↓ 3 callers
Method
declare_name
(&mut self, name: &str, value: SemanticValue)
crates/skyl-data/src/semantic_types.rs:147
↓ 3 callers
Method
define_local
Defines a local variable in the current context. This function declares a local variable by adding it to the current context, associating the variabl
crates/skyl-semantics/src/semantic_analyzer.rs:1013
↓ 3 callers
Method
function_declaration
(&mut self, access: Visibility)
crates/skyl-parser/src/parser.rs:560
↓ 3 callers
Method
generate
( &mut self, reporter: Rc<RefCell<CompilerErrorReporter>>, semantic_code: SemanticCode
crates/skyl-ir/src/ir_generator.rs:88
↓ 3 callers
Method
get_in_depth
(&self, name: String)
crates/skyl-ir/src/ir_generator.rs:245
↓ 3 callers
Method
get_name_in_depth
Retrieves a symbol from the context stack by name, checking all levels of scope. This function attempts to find a symbol by name starting from the mo
crates/skyl-semantics/src/semantic_analyzer.rs:705
↓ 3 callers
Method
get_void_instance
Returns a reference to the predefined "void" type instance. This function retrieves a predefined instance of the "void" type. It is used when an expr
crates/skyl-semantics/src/semantic_analyzer.rs:582
↓ 3 callers
Function
handle_errors
(reporter: &CompilerErrorReporter)
crates/skyl-driver/src/errors.rs:312
↓ 3 callers
Method
handle_halt
(&mut self)
crates/skyl-vm/src/virtual_machine.rs:899
↓ 3 callers
Method
is_at_end
(&self)
crates/skyl-parser/src/parser.rs:1501
↓ 3 callers
Method
literal_get
(&mut self, target: Expression)
crates/skyl-parser/src/parser.rs:1368
↓ 3 callers
Method
parse
( &mut self, reporter: Rc<RefCell<CompilerErrorReporter>>, tokens: TokenStream, )
crates/skyl-parser/src/parser.rs:28
↓ 3 callers
Method
parse_internal_function
(&mut self, access: Visibility)
crates/skyl-parser/src/parser.rs:80
↓ 3 callers
Method
read_line
(_: &[Value])
crates/skyl-stdlib/src/io.rs:44
↓ 3 callers
Method
statement
(&mut self)
crates/skyl-parser/src/parser.rs:796
↓ 3 callers
Method
type_declaration
(&mut self, access: Visibility)
crates/skyl-parser/src/parser.rs:696
↓ 2 callers
Method
add_field_to_defined_type
Adds new field for native or user declared kind. # Arguments `name` - A string slice with new field name. `target_descriptor` - The descriptor of kin
crates/skyl-semantics/src/semantic_analyzer.rs:182
↓ 2 callers
Method
advance
Advances to the next statement and returns the previous one. This function increments the `current_stmt` index and returns the previous statement in
crates/skyl-semantics/src/semantic_analyzer.rs:533
↓ 2 callers
Method
analyze_control_flow
(&mut self, stmt: &AnnotatedStatement)
crates/skyl-semantics/src/control_flow.rs:8
↓ 2 callers
Method
analyze_import
(&mut self, module: &Vec<Token>)
crates/skyl-semantics/src/statements.rs:210
next →
1–100 of 552, ranked by callers