MCPcopy Create free account

hub / github.com/GPPVM-Project/SkyLC / functions

Functions552 in github.com/GPPVM-Project/SkyLC

↓ 330 callersMethodclone
(&self)
crates/skyl-data/src/memory.rs:29
↓ 129 callersMethodborrow
(&self)
crates/skyl-data/src/memory.rs:48
↓ 109 callersMethodto_string
(&self)
crates/skyl-data/src/objects.rs:238
↓ 77 callersMethodpush
(&mut self, error: CompilationError)
crates/skyl-driver/src/errors.rs:242
↓ 75 callersMethodspan
(&self)
crates/skyl-data/src/statements.rs:115
↓ 66 callersMethodpeek
(&self)
crates/skyl-parser/src/parser.rs:1565
↓ 64 callersMethodpush
(&mut self, value: Value)
crates/skyl-vm/src/virtual_machine.rs:791
↓ 62 callersMethodlen
(&self)
crates/skyl-data/src/semantic_types.rs:170
↓ 59 callersMethodtry_eat
(&mut self, kind: &[TokenKind])
crates/skyl-parser/src/parser.rs:1540
↓ 53 callersMethodexpect_token
( &mut self, kind: TokenKind, expected: &str, after: &str, )
crates/skyl-parser/src/parser.rs:1520
↓ 53 callersMethodmerge
(&self, other: Span)
crates/skyl-data/src/token.rs:134
↓ 40 callersMethodpop
(&mut self)
crates/skyl-vm/src/virtual_machine.rs:764
↓ 39 callersMethodpush
(&mut self, value: LocalValue)
crates/skyl-ir/src/ir_generator.rs:42
↓ 38 callersMethodresolve_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 callersMethodeat
(&mut self, kind: TokenKind, err: CompilationErrorKind)
crates/skyl-parser/src/parser.rs:1513
↓ 37 callersMethodprevious
(&self)
crates/skyl-parser/src/parser.rs:1505
↓ 30 callersMethodmake_token
(&mut self, kind: TokenKind)
crates/skyl-lexer/src/lexer.rs:353
↓ 29 callersMethodanalyze_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 callersMethodline
(&self)
crates/skyl-data/src/statements.rs:136
↓ 26 callersMethodborrow_mut
(&mut self)
crates/skyl-data/src/memory.rs:53
↓ 25 callersMethodemit_instruction
(&mut self, code: &mut Vec<u8>, instruction: Instruction)
crates/skyl-ir/src/ir_generator.rs:487
↓ 22 callersMethodget
()
crates/skyl-semantics/src/import_pipeline.rs:8
↓ 20 callersMethodgenerate_expr_ir
(&mut self, expr: &AnnotatedExpression)
crates/skyl-ir/src/ir_generator.rs:294
↓ 19 callersMethodget_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 callersMethodread_byte
(&mut self)
crates/skyl-vm/src/virtual_machine.rs:784
↓ 17 callersMethodtype_composition
(&mut self)
crates/skyl-parser/src/parser.rs:659
↓ 16 callersMethodget
(&mut self, i: usize)
crates/skyl-data/src/semantic_types.rs:182
↓ 15 callersMethodexpression
(&mut self)
crates/skyl-parser/src/parser.rs:1111
↓ 15 callersMethodreport_error
(&mut self, error: CompilationError)
crates/skyl-semantics/src/semantic_analyzer.rs:93
↓ 14 callersMethodemit_byte
(&mut self, code: &mut Vec<u8>, byte: u8)
crates/skyl-ir/src/ir_generator.rs:483
↓ 13 callersMethodadd_stage
(mut self, stage: Box<dyn PipelineStep>)
crates/skyl-driver/src/lib.rs:37
↓ 12 callersMethodcheck
(&mut self, kind: &[TokenKind])
crates/skyl-parser/src/parser.rs:1551
↓ 11 callersMethodtry_eat
(&mut self, c: char)
crates/skyl-lexer/src/lexer.rs:380
↓ 10 callersMethodis_empty
(&self)
crates/skyl-data/src/semantic_types.rs:174
↓ 10 callersMethodscan_tokens
(&mut self, reporter: Rc<RefCell<CompilerErrorReporter>>)
crates/skyl-lexer/src/lexer.rs:113
↓ 9 callersMethodadvance
(&mut self)
crates/skyl-lexer/src/lexer.rs:369
↓ 9 callersMethodas_any
(&self)
crates/skyl-data/src/objects.rs:222
↓ 9 callersMethodcreate_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 callersFunctiongenerate_error_reporter
()
crates/skyl-lexer/tests/tokens.rs:9
↓ 8 callersMethodcontext
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 callersMethodread_u32
(&mut self)
crates/skyl-vm/src/virtual_machine.rs:775
↓ 8 callersMethodsplit_u32
(&self, value: u32)
crates/skyl-ir/src/ir_generator.rs:444
↓ 7 callersMethodgenerate_ir_for
(&mut self, annotated_stmt: &AnnotatedStatement)
crates/skyl-ir/src/ir_generator.rs:109
↓ 7 callersMethodimplements_archetype
(&self, archetype: &Archetype)
crates/skyl-data/src/descriptors.rs:167
↓ 7 callersMethodis_at_end
(&self)
crates/skyl-lexer/src/lexer.rs:415
↓ 7 callersMethodparse_scope
(&mut self)
crates/skyl-parser/src/parser.rs:1078
↓ 6 callersMethodadd_archetype
(&mut self, arch: Archetype)
crates/skyl-data/src/descriptors.rs:248
↓ 6 callersMethodanalyze_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 callersMethodget_static_kind_by_id
(&self, id: u32)
crates/skyl-semantics/src/semantic_analyzer.rs:798
↓ 6 callersMethodmake_token_with_lexeme
(&mut self, kind: TokenKind, lexeme: String)
crates/skyl-lexer/src/lexer.rs:360
↓ 6 callersMethodpeek
(&self)
crates/skyl-lexer/src/lexer.rs:401
↓ 6 callersFunctionread_file_without_bom
(path: &str)
crates/skyl-data/src/reader.rs:10
↓ 6 callersMethodrequire_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 callersMethodadvance
(&mut self)
crates/skyl-parser/src/parser.rs:1561
↓ 5 callersMethodassert_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 callersMethoddependencies
(&self)
crates/skyd/src/lib.rs:35
↓ 5 callersMethodend_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 callersMethodget_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 callersMethodis_digit
(&self, c: char)
crates/skyl-lexer/src/lexer.rs:297
↓ 5 callersMethodname
(&self, name: &String)
crates/skyl-data/src/semantic_types.rs:135
↓ 5 callersMethodresolve_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 callersMethodassert_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 callersMethodbegin_scope
(&mut self)
crates/skyl-ir/src/ir_generator.rs:491
↓ 4 callersMethodend_scope
(&mut self, code: &mut Vec<u8>)
crates/skyl-ir/src/ir_generator.rs:496
↓ 4 callersMethodexecute
( &mut self, input: T, config: &CompilerConfig, ctx: Rc<RefCell<CompilerContex
crates/skyl-driver/src/lib.rs:42
↓ 4 callersMethodget_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 callersMethodhas_errors
(&self)
crates/skyl-driver/src/errors.rs:298
↓ 4 callersMethodmanifest
(&self)
crates/skyd/src/lib.rs:39
↓ 4 callersMethodpop
(&mut self)
crates/skyl-data/src/semantic_types.rs:166
↓ 4 callersMethodpush_module
(&mut self, module_name: String)
crates/skyl-data/src/context.rs:43
↓ 4 callersMethodresolve_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 callersMethodadd_dependency
(&mut self, path: PathBuf)
crates/skyl-data/src/context.rs:51
↓ 3 callersMethodanalyze_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 callersMethodanalyze_scope
(&mut self, stmts: &Vec<Statement>)
crates/skyl-semantics/src/statements.rs:187
↓ 3 callersMethodas_any_mut
(&mut self)
crates/skyl-data/src/objects.rs:226
↓ 3 callersMethodbacktrack
(&mut self)
crates/skyl-parser/src/parser.rs:1569
↓ 3 callersMethodbegin_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 callersMethodcheck_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 callersFunctioncreate_keywords
()
crates/skyl-lexer/src/lexer.rs:23
↓ 3 callersMethoddeclare_local
(&mut self, name: String, is_initialized: bool)
crates/skyl-ir/src/ir_generator.rs:271
↓ 3 callersMethoddeclare_name
(&mut self, name: &str, value: SemanticValue)
crates/skyl-data/src/semantic_types.rs:147
↓ 3 callersMethoddefine_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 callersMethodfunction_declaration
(&mut self, access: Visibility)
crates/skyl-parser/src/parser.rs:560
↓ 3 callersMethodgenerate
( &mut self, reporter: Rc<RefCell<CompilerErrorReporter>>, semantic_code: SemanticCode
crates/skyl-ir/src/ir_generator.rs:88
↓ 3 callersMethodget_in_depth
(&self, name: String)
crates/skyl-ir/src/ir_generator.rs:245
↓ 3 callersMethodget_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 callersMethodget_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 callersFunctionhandle_errors
(reporter: &CompilerErrorReporter)
crates/skyl-driver/src/errors.rs:312
↓ 3 callersMethodhandle_halt
(&mut self)
crates/skyl-vm/src/virtual_machine.rs:899
↓ 3 callersMethodis_at_end
(&self)
crates/skyl-parser/src/parser.rs:1501
↓ 3 callersMethodliteral_get
(&mut self, target: Expression)
crates/skyl-parser/src/parser.rs:1368
↓ 3 callersMethodparse
( &mut self, reporter: Rc<RefCell<CompilerErrorReporter>>, tokens: TokenStream, )
crates/skyl-parser/src/parser.rs:28
↓ 3 callersMethodparse_internal_function
(&mut self, access: Visibility)
crates/skyl-parser/src/parser.rs:80
↓ 3 callersMethodread_line
(_: &[Value])
crates/skyl-stdlib/src/io.rs:44
↓ 3 callersMethodstatement
(&mut self)
crates/skyl-parser/src/parser.rs:796
↓ 3 callersMethodtype_declaration
(&mut self, access: Visibility)
crates/skyl-parser/src/parser.rs:696
↓ 2 callersMethodadd_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 callersMethodadvance
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 callersMethodanalyze_control_flow
(&mut self, stmt: &AnnotatedStatement)
crates/skyl-semantics/src/control_flow.rs:8
↓ 2 callersMethodanalyze_import
(&mut self, module: &Vec<Token>)
crates/skyl-semantics/src/statements.rs:210
next →1–100 of 552, ranked by callers