Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Glyphack/enderpy
/ functions
Functions
737 in github.com/Glyphack/enderpy
⨍
Functions
737
◇
Types & classes
181
↓ 1 callers
Method
get_x
(self)
typechecker/test_data/inputs/basic_types.py:31
↓ 1 callers
Method
handle_literal_type
https://peps.python.org/pep-0586
typechecker/src/type_evaluator.rs:1239
↓ 1 callers
Method
has
Returns `true` if the module is present in the namespace package.
typechecker/src/ruff_python_import_resolver/implicit_imports.rs:148
↓ 1 callers
Method
infer_annotation_type
(&mut self, expr: &Expression)
typechecker/src/checker.rs:69
↓ 1 callers
Method
intern
(&mut self, name: &str)
parser/src/intern.rs:40
↓ 1 callers
Method
is_comparison_operator
(&self)
parser/src/token.rs:233
↓ 1 callers
Function
is_iterable
(expr: &Expression)
parser/src/parser/mod.rs:162
↓ 1 callers
Method
is_literal
(&self, name: String)
typechecker/src/type_evaluator.rs:1345
↓ 1 callers
Function
is_native_module_file_extension
Returns `true` if the given file extension is that of a native module.
typechecker/src/ruff_python_import_resolver/native_module.rs:10
↓ 1 callers
Function
is_native_module_file_name
Returns `true` if the given file name is that of a native module with the given name.
typechecker/src/ruff_python_import_resolver/native_module.rs:30
↓ 1 callers
Method
is_pyi_file
(&self)
typechecker/src/symbol_table.rs:53
↓ 1 callers
Function
is_python_fstring_mismatch
Python 3.11 and earlier tokenizes fstrings as just.. strings.
compat/src/lexer_compat.rs:610
↓ 1 callers
Function
is_python_trailing_newline_mismatch
The Python tokenizer adds a cheeky newline to the end of the source, causing mismatches. We handle this by ignoring mismatches that meet all of the fo
compat/src/lexer_compat.rs:589
↓ 1 callers
Method
is_unary_op
(&self)
parser/src/token.rs:215
↓ 1 callers
Method
lib_names
Returns the platform-specific library names. These are the candidate names for the top-level subdirectory within a virtual environment that contains t
typechecker/src/ruff_python_import_resolver/python_platform.rs:14
↓ 1 callers
Function
list_python_files
(dir: &str)
benchmark/benches/typecheck_benchmark.rs:47
↓ 1 callers
Method
lookup
(&self, id: StrId)
parser/src/intern.rs:53
↓ 1 callers
Function
map_unary_operator
(kind: &Kind)
parser/src/parser/mod.rs:152
↓ 1 callers
Method
match_id_keyword
(&mut self, id_start: char)
parser/src/lexer/mod.rs:552
↓ 1 callers
Method
match_indentation
(&mut self)
parser/src/lexer/mod.rs:939
↓ 1 callers
Method
match_keyword
(&self, ident: &str)
parser/src/lexer/mod.rs:705
↓ 1 callers
Method
match_numeric_literal
(&mut self)
parser/src/lexer/mod.rs:793
↓ 1 callers
Method
match_str
(&mut self, id_start: char)
parser/src/lexer/mod.rs:584
↓ 1 callers
Function
match_whitespace
(c: char)
parser/src/lexer/mod.rs:1057
↓ 1 callers
Function
matches_python_indent_dedent_token
(python_kind: &PythonKind, enderpy_kind: &Kind)
compat/src/lexer_compat.rs:573
↓ 1 callers
Method
next_fstring_token
https://peps.python.org/pep-0701/#how-to-produce-these-new-tokens
parser/src/lexer/mod.rs:437
↓ 1 callers
Method
next_kind
(&mut self)
parser/src/lexer/mod.rs:168
↓ 1 callers
Method
parse_and_test
https://docs.python.org/3/reference/expressions.html#boolean-operations
parser/src/parser/parser.rs:2043
↓ 1 callers
Method
parse_ann_assign_statement
( &mut self, start: Node, lhs: Expression, )
parser/src/parser/parser.rs:1222
↓ 1 callers
Method
parse_argument_list
https://docs.python.org/3/reference/expressions.html#grammar-token-python-grammar-argument_list returns args, keywords
parser/src/parser/parser.rs:2359
↓ 1 callers
Method
parse_assert_statement
(&mut self)
parser/src/parser/parser.rs:1277
↓ 1 callers
Method
parse_assignment_statement
( &mut self, start: Node, lhs: Expression, )
parser/src/parser/parser.rs:1180
↓ 1 callers
Method
parse_aug_assign_op
(&mut self)
parser/src/parser/parser.rs:1257
↓ 1 callers
Method
parse_aug_assignment_statement
( &mut self, start: Node, lhs: Expression, op: AugAssignOp, )
parser/src/parser/parser.rs:1206
↓ 1 callers
Method
parse_break_statement
https://docs.python.org/3/reference/simple_stmts.html#the-break-statement
parser/src/parser/parser.rs:1338
↓ 1 callers
Method
parse_cases
(&mut self)
parser/src/parser/parser.rs:763
↓ 1 callers
Method
parse_comp_operator
(&mut self)
parser/src/parser/parser.rs:3083
↓ 1 callers
Method
parse_comparison
https://docs.python.org/3/reference/expressions.html#comparisons
parser/src/parser/parser.rs:2074
↓ 1 callers
Method
parse_conditional_expression
https://docs.python.org/3/reference/expressions.html#conditional-expressions
parser/src/parser/parser.rs:1530
↓ 1 callers
Method
parse_continue_statement
https://docs.python.org/3/reference/simple_stmts.html#the-continue-statement
parser/src/parser/parser.rs:1347
↓ 1 callers
Method
parse_decorated_function_def_or_class_def
(&mut self)
parser/src/parser/parser.rs:645
↓ 1 callers
Method
parse_del_statement
(&mut self)
parser/src/parser/parser.rs:1162
↓ 1 callers
Method
parse_dict_or_set
(&mut self)
parser/src/parser/parser.rs:1815
↓ 1 callers
Function
parse_enderpy_source
(source: &str)
compat/src/parser_compat.rs:112
↓ 1 callers
Method
parse_except_clauses
(&mut self)
parser/src/parser/parser.rs:559
↓ 1 callers
Method
parse_from_import_statement
https://docs.python.org/3/reference/simple_stmts.html#the-from-import-statement
parser/src/parser/parser.rs:1415
↓ 1 callers
Method
parse_fstring_replacement_field
(&mut self)
parser/src/parser/parser.rs:3365
↓ 1 callers
Method
parse_global_statement
https://docs.python.org/3/reference/simple_stmts.html#the-global-statement
parser/src/parser/parser.rs:1356
↓ 1 callers
Method
parse_guard
(&mut self)
parser/src/parser/parser.rs:792
↓ 1 callers
Method
parse_identifier
(&mut self)
parser/src/parser/parser.rs:2802
↓ 1 callers
Method
parse_if_statement
(&mut self)
parser/src/parser/parser.rs:333
↓ 1 callers
Method
parse_import_statement
https://docs.python.org/3/reference/simple_stmts.html#the-import-statement
parser/src/parser/parser.rs:1394
↓ 1 callers
Method
parse_list
https://docs.python.org/3/reference/expressions.html#list-displays
parser/src/parser/parser.rs:1579
↓ 1 callers
Method
parse_mapping_pattern
(&mut self)
parser/src/parser/parser.rs:966
↓ 1 callers
Method
parse_match_statement
https://peps.python.org/pep-0622/#appendix-a-full-grammar
parser/src/parser/parser.rs:707
↓ 1 callers
Method
parse_maybe_sequence_pattern
(&mut self)
parser/src/parser/parser.rs:1084
↓ 1 callers
Method
parse_nonlocal_statement
https://docs.python.org/3/reference/simple_stmts.html#the-nonlocal-statement
parser/src/parser/parser.rs:1375
↓ 1 callers
Method
parse_or_pattern
(&mut self)
parser/src/parser/parser.rs:827
↓ 1 callers
Method
parse_paren_form_or_generator
https://docs.python.org/3/reference/expressions.html#parenthesized-forms
parser/src/parser/parser.rs:1616
↓ 1 callers
Method
parse_pass_statement
(&mut self)
parser/src/parser/parser.rs:1294
↓ 1 callers
Method
parse_patterns
https://docs.python.org/3/reference/compound_stmts.html#grammar-token-python-grammar-patterns The open sequence pattern is either a pattern or maybe s
parser/src/parser/parser.rs:800
↓ 1 callers
Method
parse_power_expression
https://docs.python.org/3/reference/expressions.html#the-power-operator
parser/src/parser/parser.rs:2214
↓ 1 callers
Function
parse_python_source
(source: &str)
compat/src/parser_compat.rs:19
↓ 1 callers
Method
parse_raise_statement
https://docs.python.org/3/reference/simple_stmts.html#the-raise-statement
parser/src/parser/parser.rs:1317
↓ 1 callers
Method
parse_return_statement
(&mut self)
parser/src/parser/parser.rs:1302
↓ 1 callers
Method
parse_set
https://docs.python.org/3/reference/expressions.html#set-displays
parser/src/parser/parser.rs:1844
↓ 1 callers
Method
parse_slice
(&mut self)
parser/src/parser/parser.rs:2938
↓ 1 callers
Method
parse_slices
https://docs.python.org/3/reference/expressions.html#slicings Closing will be consumed by this function
parser/src/parser/parser.rs:2914
↓ 1 callers
Method
parse_star_named_expressions
(&mut self)
parser/src/parser/parser.rs:743
↓ 1 callers
Method
parse_starred_expression
https://docs.python.org/3/reference/expressions.html#expression-lists
parser/src/parser/parser.rs:2873
↓ 1 callers
Method
parse_starred_expression_real
(&mut self)
parser/src/parser/parser.rs:2862
↓ 1 callers
Method
parse_statement
https://docs.python.org/3/reference/compound_stmts.html#grammar-token-python-grammar-statement
parser/src/parser/parser.rs:1141
↓ 1 callers
Method
parse_subject
This is inaccuracy, but I don't know how the grammar should be
parser/src/parser/parser.rs:728
↓ 1 callers
Method
parse_try_statement
(&mut self)
parser/src/parser/parser.rs:512
↓ 1 callers
Method
parse_type_alias_statement
(&mut self)
parser/src/parser/parser.rs:3343
↓ 1 callers
Method
parse_while_statement
(&mut self)
parser/src/parser/parser.rs:386
↓ 1 callers
Method
parse_with_items
(&mut self)
parser/src/parser/parser.rs:477
↓ 1 callers
Function
print_symbol_table_info
(symbol_table: symtable.SymbolTable, indent=0)
scripts/print_symbol_table.py:3
↓ 1 callers
Method
python_platform
(&self)
typechecker/src/ruff_python_import_resolver/host.rs:42
↓ 1 callers
Method
python_search_paths
(&self)
typechecker/src/ruff_python_import_resolver/host.rs:34
↓ 1 callers
Function
remove_unimplemented_attributes
(value: &mut Value)
compat/src/parser_compat.rs:92
↓ 1 callers
Function
resolve_file_imports
( file: &EnderpyFile, execution_environment: &ruff_python_resolver::execution_environment::ExecutionEn
typechecker/src/build.rs:238
↓ 1 callers
Function
resolve_import_strict
Resolve an absolute or relative import.
typechecker/src/ruff_python_import_resolver/resolver.rs:638
↓ 1 callers
Function
resolve_relative_import
Resolve a relative import.
typechecker/src/ruff_python_import_resolver/resolver.rs:598
↓ 1 callers
Function
run_compatibility_test
Runs the compatibility test on a single Python file.
compat/src/main.rs:61
↓ 1 callers
Function
stdlib_typeshed_path
Determine the current `typeshed` subdirectory for the standard library.
typechecker/src/ruff_python_import_resolver/search.rs:271
↓ 1 callers
Function
symbols
(path: &Path)
enderpy/src/main.rs:26
↓ 1 callers
Function
third_party_typeshed_package_paths
Determine the current `typeshed` subdirectory for a third-party package.
typechecker/src/ruff_python_import_resolver/search.rs:259
↓ 1 callers
Method
to_function_def
(&self)
parser/src/ast.rs:971
↓ 1 callers
Function
tokenize
()
enderpy/src/main.rs:74
↓ 1 callers
Method
type_check
(&mut self, statement: &Statement)
typechecker/src/checker.rs:44
↓ 1 callers
Function
unicode_escape
(input: str)
compat/lex_python.py:32
↓ 1 callers
Method
visit_ann_assign
(&mut self, _a: &AnnAssign)
typechecker/src/checker.rs:594
↓ 1 callers
Method
visit_ann_assign
(&mut self, a: &parser::ast::AnnAssign)
typechecker/src/semantic_analyzer.rs:787
↓ 1 callers
Method
visit_assert
(&mut self, _a: &Assert)
typechecker/src/checker.rs:606
↓ 1 callers
Method
visit_assert
(&mut self, _a: &parser::ast::Assert)
typechecker/src/semantic_analyzer.rs:807
↓ 1 callers
Method
visit_assign
(&mut self, a: &Assign)
typechecker/src/checker.rs:588
↓ 1 callers
Method
visit_assign
(&mut self, assign: &parser::ast::Assign)
typechecker/src/semantic_analyzer.rs:773
↓ 1 callers
Method
visit_async_function_def
(&mut self, f: &Arc<parser::ast::AsyncFunctionDef>)
typechecker/src/checker.rs:333
↓ 1 callers
Method
visit_async_function_def
(&mut self, f: &Arc<parser::ast::AsyncFunctionDef>)
typechecker/src/semantic_analyzer.rs:562
← previous
next →
301–400 of 737, ranked by callers