MCPcopy Create free account

hub / github.com/Glyphack/enderpy / functions

Functions737 in github.com/Glyphack/enderpy

↓ 2 callersMethodvisit_async_with
(&mut self, w: &parser::ast::AsyncWith)
typechecker/src/semantic_analyzer.rs:429
↓ 2 callersMethodvisit_attribute
(&mut self, _a: &Attribute)
typechecker/src/ast_visitor.rs:290
↓ 2 callersMethodvisit_aug_assign
(&mut self, _a: &AugAssign)
typechecker/src/ast_visitor.rs:333
↓ 2 callersMethodvisit_await
(&mut self, _a: &Await)
typechecker/src/ast_visitor.rs:302
↓ 2 callersMethodvisit_bin_op
(&mut self, _b: &BinOp)
typechecker/src/ast_visitor.rs:263
↓ 2 callersMethodvisit_bool_op
(&mut self, _b: &BoolOperation)
typechecker/src/ast_visitor.rs:257
↓ 2 callersMethodvisit_break
(&mut self, _b: &Break)
typechecker/src/ast_visitor.rs:357
↓ 2 callersMethodvisit_call
(&mut self, _c: &Call)
typechecker/src/ast_visitor.rs:299
↓ 2 callersMethodvisit_class_def
(&mut self, c: &Arc<parser::ast::ClassDef>)
typechecker/src/ast_visitor.rs:189
↓ 2 callersMethodvisit_compare
(&mut self, _c: &Compare)
typechecker/src/ast_visitor.rs:305
↓ 2 callersMethodvisit_constant
(&mut self, _c: &Constant)
typechecker/src/ast_visitor.rs:241
↓ 2 callersMethodvisit_continue
(&mut self, _c: &Continue)
typechecker/src/ast_visitor.rs:361
↓ 2 callersMethodvisit_delete
(&mut self, _d: &Delete)
typechecker/src/ast_visitor.rs:345
↓ 2 callersMethodvisit_dict
(&mut self, _d: &Dict)
typechecker/src/ast_visitor.rs:250
↓ 2 callersMethodvisit_dict_comp
(&mut self, _d: &DictComp)
typechecker/src/ast_visitor.rs:287
↓ 2 callersMethodvisit_for
(&mut self, f: &parser::ast::For)
typechecker/src/ast_visitor.rs:101
↓ 2 callersMethodvisit_formatted_value
(&mut self, _f: &FormattedValue)
typechecker/src/ast_visitor.rs:317
↓ 2 callersMethodvisit_function_def
(&mut self, f: &Arc<parser::ast::FunctionDef>)
typechecker/src/ast_visitor.rs:177
↓ 2 callersMethodvisit_generator
(&mut self, _g: &Generator)
typechecker/src/ast_visitor.rs:278
↓ 2 callersMethodvisit_global
(&mut self, _g: &Global)
typechecker/src/ast_visitor.rs:365
↓ 2 callersMethodvisit_if
(&mut self, i: &parser::ast::If)
typechecker/src/ast_visitor.rs:86
↓ 2 callersMethodvisit_if_exp
(&mut self, _i: &IfExp)
typechecker/src/ast_visitor.rs:311
↓ 2 callersMethodvisit_import
(&mut self, _i: &Import)
typechecker/src/ast_visitor.rs:78
↓ 2 callersMethodvisit_import_from
(&mut self, _i: &ImportFrom)
typechecker/src/ast_visitor.rs:82
↓ 2 callersMethodvisit_joined_str
(&mut self, _j: &JoinedStr)
typechecker/src/ast_visitor.rs:314
↓ 2 callersMethodvisit_lambda
(&mut self, _l: &Lambda)
typechecker/src/ast_visitor.rs:308
↓ 2 callersMethodvisit_list
(&mut self, _l: &List)
typechecker/src/ast_visitor.rs:244
↓ 2 callersMethodvisit_list_comp
(&mut self, _l: &ListComp)
typechecker/src/ast_visitor.rs:281
↓ 2 callersMethodvisit_match
(&mut self, m: &parser::ast::Match)
typechecker/src/ast_visitor.rs:195
↓ 2 callersMethodvisit_name
(&mut self, _n: &Name)
typechecker/src/ast_visitor.rs:256
↓ 2 callersMethodvisit_named_expr
(&mut self, _n: &NamedExpression)
typechecker/src/ast_visitor.rs:266
↓ 2 callersMethodvisit_nonlocal
(&mut self, _n: &Nonlocal)
typechecker/src/ast_visitor.rs:369
↓ 2 callersMethodvisit_pass
(&mut self, _p: &Pass)
typechecker/src/ast_visitor.rs:341
↓ 2 callersMethodvisit_raise
(&mut self, _r: &Raise)
typechecker/src/ast_visitor.rs:353
↓ 2 callersMethodvisit_return
(&mut self, _r: &Return)
typechecker/src/ast_visitor.rs:349
↓ 2 callersMethodvisit_set
(&mut self, _s: &Set)
typechecker/src/ast_visitor.rs:253
↓ 2 callersMethodvisit_set_comp
(&mut self, _s: &SetComp)
typechecker/src/ast_visitor.rs:284
↓ 2 callersMethodvisit_slice
(&mut self, _s: &Slice)
typechecker/src/ast_visitor.rs:296
↓ 2 callersMethodvisit_starred
(&mut self, _s: &Starred)
typechecker/src/ast_visitor.rs:275
↓ 2 callersMethodvisit_stmt
(&mut self, s: &'a Statement)
typechecker/src/file.rs:145
↓ 2 callersMethodvisit_subscript
(&mut self, _s: &Subscript)
typechecker/src/ast_visitor.rs:293
↓ 2 callersMethodvisit_try
(&mut self, t: &parser::ast::Try)
typechecker/src/ast_visitor.rs:139
↓ 2 callersMethodvisit_try_star
(&mut self, t: &parser::ast::TryStar)
typechecker/src/ast_visitor.rs:158
↓ 2 callersMethodvisit_tuple
(&mut self, _t: &Tuple)
typechecker/src/ast_visitor.rs:247
↓ 2 callersMethodvisit_type_alias
(&mut self, _t: &TypeAlias)
typechecker/src/ast_visitor.rs:373
↓ 2 callersMethodvisit_type_alias
(&mut self, t: &parser::ast::TypeAlias)
typechecker/src/semantic_analyzer.rs:624
↓ 2 callersMethodvisit_unary_op
(&mut self, _u: &UnaryOperation)
typechecker/src/ast_visitor.rs:260
↓ 2 callersMethodvisit_while
(&mut self, w: &parser::ast::While)
typechecker/src/ast_visitor.rs:95
↓ 2 callersMethodvisit_with
(&mut self, w: &parser::ast::With)
typechecker/src/ast_visitor.rs:113
↓ 2 callersMethodvisit_yield
(&mut self, _y: &Yield)
typechecker/src/ast_visitor.rs:269
↓ 2 callersMethodvisit_yield_from
(&mut self, _y: &YieldFrom)
typechecker/src/ast_visitor.rs:272
↓ 1 callersMethodadd
(self, value: int)
benchmark/test_data/types_very_fast.py:33
↓ 1 callersMethodadd
(self, value: int)
typechecker/test_data/inputs/basic_types.py:25
↓ 1 callersMethodadd_symbol
(&mut self, mut symbol_node: SymbolTableNode)
typechecker/src/symbol_table.rs:254
↓ 1 callersMethodalloc
(&mut self, name: &str)
parser/src/intern.rs:56
↓ 1 callersMethodas_python_compat
(&self, parser: &Parser)
parser/src/parser/compat.rs:15
↓ 1 callersFunctionassert_ast_eq
(python_ast: &Value, enderpy_ast: &Value, source: &str)
compat/src/parser_compat.rs:47
↓ 1 callersMethodbin_op_precedence
(&self)
parser/src/token.rs:219
↓ 1 callersMethodbin_op_result_type
( &self, t1: &PythonType, t2: &PythonType, op: &ast::BinaryOperator, )
typechecker/src/type_evaluator.rs:1335
↓ 1 callersFunctionbuild_typeshed_third_party_package_map
Generate a map from PyPI-registered package name to a list of paths containing the package's stubs.
typechecker/src/ruff_python_import_resolver/search.rs:215
↓ 1 callersMethodcan_be_identifier
(&self)
parser/src/token.rs:54
↓ 1 callersFunctioncheck
(path: &Path)
enderpy/src/main.rs:115
↓ 1 callersFunctioncheck_tokens_match
( python_token: PythonToken, enderpy_token: Token, lexer: &Lexer, )
compat/src/lexer_compat.rs:316
↓ 1 callersFunctionconcat_string_exprs
(lhs: Expression, rhs: Expression)
parser/src/parser/mod.rs:57
↓ 1 callersFunctioncreate_test_cases
()
benchmark/benches/parser_benchmark.rs:36
↓ 1 callersMethodcurrent_scope_mut
(&mut self)
typechecker/src/symbol_table.rs:123
↓ 1 callersMethodcurrent_scope_type
(&self)
typechecker/src/symbol_table.rs:169
↓ 1 callersFunctiondecode_bytes
(value)
compat/ast_python.py:68
↓ 1 callersFunctiondecode_str
(value)
compat/ast_python.py:64
↓ 1 callersMethoddir
The directory name (e.g., in a virtual environment) for this Python version.
typechecker/src/ruff_python_import_resolver/python_version.rs:15
↓ 1 callersMethoddump_types
(&self)
typechecker/src/checker.rs:105
↓ 1 callersFunctionenderpy_root_path
()
compat/src/runpython.rs:32
↓ 1 callersMethoderr_if_statement_not_ending_in_new_line_or_semicolon
( &mut self, node: Node, stmt: &Statement, )
parser/src/parser/parser.rs:318
↓ 1 callersMethodexpect_any
Expect any of `Kinds` or return error
parser/src/parser/parser.rs:224
↓ 1 callersMethodextract_id
(&mut self, id_start: char)
parser/src/lexer/mod.rs:560
↓ 1 callersFunctionfind_native_module
Find the native module within the namespace package at the given path.
typechecker/src/ruff_python_import_resolver/native_module.rs:44
↓ 1 callersFunctionfind_paths_from_pth_files
(parent_dir: &Path)
typechecker/src/ruff_python_import_resolver/search.rs:96
↓ 1 callersFunctionfind_python_search_paths
Find the Python search paths for the given virtual environment.
typechecker/src/ruff_python_import_resolver/search.rs:136
↓ 1 callersFunctionfind_site_packages_path
Find the `site-packages` directory for the specified Python version.
typechecker/src/ruff_python_import_resolver/search.rs:19
↓ 1 callersMethodflatten_bit_or
This function flattens a chain of bit or expressions For example: a | b | c | d will be flattened to [a, b, c, d]
typechecker/src/type_evaluator.rs:1192
↓ 1 callersFunctionfunc1
(ignored: int, /)
typechecker/test_data/inputs/conformance_tests/annotations_coroutine.py:14
↓ 1 callersMethodget_attr
(self)
benchmark/test_data/types_very_fast.py:36
↓ 1 callersMethodget_attr
(self)
typechecker/test_data/inputs/basic_types.py:28
↓ 1 callersMethodget_base_classes
(&self, c: &ClassType)
typechecker/src/type_evaluator.rs:1664
↓ 1 callersMethodget_declaration_until_pos
(&self, pos: u32)
typechecker/src/symbol_table.rs:575
↓ 1 callersMethodget_enclosing_class_scope
(&self)
typechecker/src/symbol_table.rs:139
↓ 1 callersMethodget_enclosing_class_scope_of_scope
(&self, scope: u32)
typechecker/src/symbol_table.rs:154
↓ 1 callersMethodget_file_name
(&self)
typechecker/src/symbol_table.rs:57
↓ 1 callersMethodget_hover_information
(&self, path: &Path, line: u32, column: u32)
typechecker/src/build.rs:121
↓ 1 callersFunctionget_id
()
typechecker/src/symbol_table.rs:299
↓ 1 callersFunctionget_id
()
typechecker/src/file.rs:51
↓ 1 callersMethodget_imports
(&self)
typechecker/src/file.rs:110
↓ 1 callersMethodget_literal_value_from_param
Write a function that takes in an expression which is a parameter to a literal type and returns the LiteralValue of the parameter. Literal values migh
typechecker/src/type_evaluator.rs:1256
↓ 1 callersMethodget_position
(&self, start: u32, end: u32)
typechecker/src/file.rs:119
↓ 1 callersFunctionget_python_files
Recursively finds all Python files in the specified directory.
compat/src/main.rs:45
↓ 1 callersMethodget_return_type_of_callable
TODO: If the return type of type parameter then use the passed args to determine it's type TODO: The any type can be assumed for the type parameters t
typechecker/src/type_evaluator.rs:1352
↓ 1 callersMethodget_scope_mut_by_id
(&mut self, id: u32)
typechecker/src/symbol_table.rs:135
↓ 1 callersMethodget_symbol_table_by_path
(&'a self, path: &Path)
typechecker/src/build.rs:108
↓ 1 callersFunctionget_value
(attr_value)
compat/ast_python.py:90
↓ 1 callersMethodget_x
(self)
benchmark/test_data/types_very_fast.py:39
← previousnext →201–300 of 737, ranked by callers