Dave Halter
|
1a6ff3e8e6
|
Small parser fix.
|
2014-10-27 16:07:24 +01:00 |
|
Dave Halter
|
93c97a78a3
|
Fix an issue with classes and decorators combined.
|
2014-10-24 00:41:26 +02:00 |
|
Dave Halter
|
3bbce49fd3
|
Scope.names_dict implementation.
|
2014-10-23 00:51:02 +02:00 |
|
Dave Halter
|
4f4aef7ac8
|
Param helper class in the tree.
|
2014-10-22 20:07:42 +02:00 |
|
Dave Halter
|
e9f4c60e49
|
Use used_names not in pgen2, but only in our parser.
|
2014-10-22 15:50:02 +02:00 |
|
Dave Halter
|
8f3b7f9d44
|
A first array test passing.
|
2014-10-21 11:58:53 +02:00 |
|
Dave Halter
|
74d4fcf4e7
|
globals are more or less ready.
|
2014-10-17 18:48:07 +02:00 |
|
Dave Halter
|
f08811fba7
|
Start implementing GlobalStmt.
|
2014-10-17 15:13:45 +02:00 |
|
Dave Halter
|
3bf1fec568
|
Start implementing an algorithm for actually evaluating the parser tree.
|
2014-10-10 11:29:22 +02:00 |
|
Dave Halter
|
66840a742c
|
Implement the new parser in jedi.parser.Parser
|
2014-10-10 00:06:28 +02:00 |
|
Dave Halter
|
03e01631cc
|
Remove NamePart from existance and rename it to Name.
|
2014-09-26 16:29:53 +02:00 |
|
Dave Halter
|
6f29e802c2
|
Fix an issue with as_names.
|
2014-09-26 15:48:49 +02:00 |
|
Dave Halter
|
90842ce62d
|
Fixed global variables.
|
2014-09-26 11:58:11 +02:00 |
|
Dave Halter
|
9ecf3774a0
|
Import issues again.
|
2014-09-24 21:59:08 +02:00 |
|
Dave Halter
|
c43afae24a
|
Issues with imports.
|
2014-09-24 21:12:38 +02:00 |
|
Dave Halter
|
d5fbc006e2
|
Add a names_dict to scopes. This is good for the future parser and now useful to process self.foo and other stuff.
|
2014-09-24 12:44:24 +02:00 |
|
Dave Halter
|
5efa467449
|
Few import issues.
|
2014-09-22 23:45:48 +02:00 |
|
Dave Halter
|
1d71b25109
|
Previously forgot to add the NameParts to used_names. (which had worked before that)
|
2014-09-22 23:24:29 +02:00 |
|
Dave Halter
|
dae1a48d70
|
Remove a lot of the old Name.names usages in favor of a direct NamePart usage.
|
2014-09-22 22:34:33 +02:00 |
|
Dave Halter
|
04cf742973
|
Temporary parser implementation. Now we're pretty much done with pr.Name.
|
2014-09-22 17:05:23 +02:00 |
|
Dave Halter
|
779618c08b
|
First changes to eventually replace Name by NamePart.
|
2014-09-22 11:57:19 +02:00 |
|
Dave Halter
|
99116cdcb7
|
Add a Name.get_parent_stmt() function.
|
2014-09-05 22:26:55 +02:00 |
|
Dave Halter
|
6c07c7acfe
|
Create an ExprStatement class to replace the Statement class in the future and separate array parts of actual statements
|
2014-09-05 22:21:26 +02:00 |
|
Dave Halter
|
7b2e11d71b
|
Rewrote sys_path._paths_from_assignment.
|
2014-09-04 14:12:10 +02:00 |
|
Dave Halter
|
4180005893
|
Forgot to add the the params in the case of a class in the previous commit.
|
2014-09-04 12:53:42 +02:00 |
|
Dave Halter
|
06699993f1
|
Class inheritance definitions shouldn't be params. It's just statements.
|
2014-09-04 12:28:50 +02:00 |
|
Dave Halter
|
6f018e4884
|
introduce maybe_docstr in parse_statement, which should have been introduced way earlier.
|
2014-08-12 17:13:14 +02:00 |
|
Dave Halter
|
e3bb0ccc2e
|
fix a keyword statement issue
|
2014-08-06 12:10:36 +02:00 |
|
Dave Halter
|
c44168f7ad
|
add a Flow.previous attribute to be able to access the if flow from an else clause.
|
2014-08-05 11:17:18 +02:00 |
|
Dave Halter
|
cfe54e83ff
|
incomplete functions shouldn't cause any trouble. fixes #429.
|
2014-07-28 17:42:20 +02:00 |
|
Dave Halter
|
440b9b072e
|
Merge pull request #441 from davidhalter/dynamic_inheritance
Dynamic superclasses
|
2014-07-27 18:26:48 +04:30 |
|
Danilo Bargen
|
e8f479172a
|
Implemented dynamic superclasses
|
2014-07-27 14:11:48 +02:00 |
|
Danilo Bargen
|
c97e1732ee
|
Operator statement wrapper was missing (fixes #436)
|
2014-07-27 12:53:18 +02:00 |
|
Dave Halter
|
852cdad754
|
Operator fixes. Subclass of Simple, now.
|
2014-07-22 16:02:34 +02:00 |
|
Dave Halter
|
08f7a439c0
|
merged dev and linter
|
2014-07-17 23:17:49 +02:00 |
|
Akinori Hattori
|
e14b144199
|
keep newline at end of code
|
2014-07-17 20:37:25 +09:00 |
|
Dave Halter
|
b7bf8d515c
|
support for completions on return statements.
|
2014-06-22 12:05:22 +02:00 |
|
Dave Halter
|
d752907290
|
temporary solution for completions in asserts
|
2014-06-22 11:27:28 +02:00 |
|
Dave Halter
|
fcd8b25d3d
|
the parser in general now cares for carriage return/new line combinations
|
2014-05-04 12:32:02 +02:00 |
|
Dave Halter
|
240b0c9581
|
NamePart doesn't have an __eq__ method anymore
|
2014-04-18 14:36:10 +02:00 |
|
Dave Halter
|
6a40c9b671
|
remove get_set_vars completely from existance
|
2014-04-14 12:40:59 +02:00 |
|
Dave Halter
|
5764e760d2
|
improve internal module links for sphinx documentation
|
2014-03-11 15:46:08 +01:00 |
|
Dave Halter
|
cd7774f25f
|
lambda can be used as a default param in function, which means there have been slight changes to the parser to allow that (comma in a function definitions doesn't always mean new param), fixes #379
|
2014-03-11 12:24:36 +01:00 |
|
Dave Halter
|
0dcc924cf8
|
precedence working for some simple cases (and invalid statements)
|
2014-03-08 02:24:25 +01:00 |
|
Dave Halter
|
d12e030677
|
use tuples instead of lists if the don't change (immutable is faster and more memory efficient)
|
2014-03-06 00:26:23 +01:00 |
|
Dave Halter
|
66a488b911
|
clean up parse_dot_name and other small things
|
2014-03-05 22:46:11 +01:00 |
|
Dave Halter
|
2322edff8f
|
keyword statement not includes globals
|
2014-03-05 00:44:19 +01:00 |
|
Dave Halter
|
f54344fd9e
|
KeywordStatements are working except for some of the old ones (global, assert, return, yield)
|
2014-03-04 17:20:29 +01:00 |
|
Dave Halter
|
53fd1f925a
|
create KeywordStatement to fit assert, del, global, etc into a more generalized schema, which can also improve the get_code method
|
2014-03-04 15:35:24 +01:00 |
|
Dave Halter
|
65ce609a3c
|
protect token_list -> _token_list
|
2014-03-04 12:43:37 +01:00 |
|