Dave Halter
|
4ba3dc69b3
|
Make sure we use the right context in case of goto with decorators, fixes #1427
|
2019-12-04 00:25:43 +01:00 |
|
Dave Halter
|
f43d144e23
|
Remove is_package on contexts
|
2019-12-01 21:01:33 +01:00 |
|
Dave Halter
|
8a26a23884
|
Make is_package a function and call it consistently
|
2019-12-01 19:31:31 +01:00 |
|
Dave Halter
|
008e9860a8
|
Avoid creating the same object twice
|
2019-09-05 00:37:51 +02:00 |
|
Dave Halter
|
8cd5932fed
|
Move inference_state.goto to the name and _follow_error_node_imports_if_possible away from inference_state
|
2019-09-05 00:34:13 +02:00 |
|
Dave Halter
|
aea2ddcbd8
|
ContextualizedName -> TreeNameDefinition
|
2019-09-05 00:15:38 +02:00 |
|
Dave Halter
|
47d6ae3da1
|
SimpleParamName -> AnonymousParamName
|
2019-09-04 01:20:44 +02:00 |
|
Dave Halter
|
06d2119f51
|
Make sure a self variable is only defined in a function not outside
|
2019-09-04 00:53:46 +02:00 |
|
Dave Halter
|
c8564a68df
|
Fix recursion issues about dynamic param lookups and defaults work again
|
2019-09-03 23:59:31 +02:00 |
|
Dave Halter
|
75262d294f
|
Refactor search_param_names interface
|
2019-09-03 22:17:30 +02:00 |
|
Dave Halter
|
ac4dd06d11
|
Use get_executed_param_names if get_executed_param_names_and_issues is not necessary
|
2019-09-03 22:11:00 +02:00 |
|
Dave Halter
|
d4f3963cd0
|
Don't use get_executed_param_names_and_issues as an attribute on arguments
|
2019-09-03 22:07:34 +02:00 |
|
Dave Halter
|
1495a0ec4c
|
Move the normal anonymous arguments case over to names
|
2019-09-03 01:28:54 +02:00 |
|
Dave Halter
|
33586deef1
|
Prefer annotations in SimpleParamName
|
2019-09-03 01:03:10 +02:00 |
|
Dave Halter
|
fe8a605d4a
|
Remove get_executed_param_names_and_issues from FunctionExecution
|
2019-09-03 00:30:22 +02:00 |
|
Dave Halter
|
4fd1149be2
|
Fix infering of dynamic params
|
2019-09-02 10:05:12 +02:00 |
|
Dave Halter
|
edb17b8e7c
|
Refactor params and what execution contexts need
|
2019-09-01 14:14:42 +02:00 |
|
Dave Halter
|
9290b7291b
|
get_param -> get_executed_param_name
|
2019-08-24 14:33:19 +02:00 |
|
Dave Halter
|
4969b52ddf
|
Reuse a function
|
2019-08-24 14:18:08 +02:00 |
|
Dave Halter
|
98d0fc632e
|
Some more renames
|
2019-08-24 14:02:04 +02:00 |
|
Dave Halter
|
b1d2f2462b
|
get_executed_params_and_issues -> get_executed_param_names_and_issues
|
2019-08-24 13:45:47 +02:00 |
|
Dave Halter
|
ec6fa0c97c
|
Differentiate between a public name and an internal string_name
|
2019-08-24 13:35:15 +02:00 |
|
Dave Halter
|
bb3eb23864
|
Move docstring param recognizing
|
2019-08-24 12:32:50 +02:00 |
|
Dave Halter
|
88cf198552
|
Avoid function executions if they are not necessary
This also means that annotations are prefered to docstring types
|
2019-08-24 12:23:33 +02:00 |
|
Dave Halter
|
165639c1dd
|
Start implementing the bulk of the context/value separation
|
2019-08-16 16:12:12 +02:00 |
|
Dave Halter
|
03920502c4
|
infer_state -> inference_state
|
2019-08-16 11:44:30 +02:00 |
|
Dave Halter
|
600272366f
|
parent_value -> parent_context
|
2019-08-15 09:36:46 +02:00 |
|
Dave Halter
|
9986d8c9aa
|
Context -> Value
|
2019-08-15 01:26:11 +02:00 |
|
Dave Halter
|
49f996867d
|
NO_CONTEXTS -> NO_VALUES
|
2019-08-15 01:24:28 +02:00 |
|
Dave Halter
|
ad4f546aca
|
context -> value
|
2019-08-15 01:23:06 +02:00 |
|
Dave Halter
|
9e23f4d67b
|
Move base_context -> base_value
|
2019-08-15 00:41:02 +02:00 |
|
Dave Halter
|
a5dff65142
|
Evaluator -> InferState
|
2019-08-15 00:37:51 +02:00 |
|
Dave Halter
|
8157d119a7
|
eval_ -> infer_
|
2019-08-15 00:20:01 +02:00 |
|
Dave Halter
|
3b4f292464
|
Move the evaluate package to inference
|
2019-08-15 00:14:26 +02:00 |
|