1
0
forked from VimPlug/jedi
Commit Graph

35 Commits

Author SHA1 Message Date
Dave Halter
e5d40c3685 flow syntax errors should still make it possible to add them to the parser (otherwise parser doesn't include all the code 2014-01-17 01:15:36 +01:00
Dave Halter
588fbea4f9 start to remove user_stmt parsing 2014-01-17 00:25:30 +01:00
Dave Halter
6ef75256e0 fix end_pos stuff for fast parser 2014-01-17 00:24:45 +01:00
Dave Halter
4bf72eeaed create a customized UserContextParser for user_stmt and user_scope 2014-01-16 12:12:21 +01:00
Dave Halter
059b1e1353 underscore_memoization is now even easier in fast parser 2014-01-15 15:57:43 +01:00
Dave Halter
d71cdded6e some easier memoization for fast parser 2014-01-15 15:48:16 +01:00
Dave Halter
99882724da is_py3k -> is_py3 2014-01-14 11:43:56 +01:00
Dave Halter
cdd356ff9b removed pr.String and pr.Number in favor of the more general pr.Literal 2014-01-13 16:47:01 +01:00
Dave Halter
682e1c2708 debug.dbg and debug.warning now take a string and format args parameters to make debugging a little bit cleaner 2014-01-13 16:16:07 +01:00
Dave Halter
d430ef53a7 fix a few more minor issues 2014-01-11 16:14:58 +01:00
Dave Halter
9056dc1b9b fixed some array indexing 2014-01-09 19:55:00 +01:00
Dave Halter
1a3541e3aa removed from 'from __future__ import with_statement' imports, they are not needed anymore (python 2.5 is no longer supported) 2014-01-07 17:46:22 +01:00
Dave Halter
5857b4dbc9 moved modules.py -> parser/user_context.py 2014-01-05 14:15:11 +01:00
Dave Halter
2e65fbb00f rename parser.tokenizer -> parser.tokenize 2014-01-05 13:38:14 +01:00
Dave Halter
261f49d3e2 move NoErrorTokenizer to the tokenizer module, where it more or less belongs. 2014-01-05 13:34:29 +01:00
Dave Halter
e115689b7f move NoErrorTokenizer to the parser, where it more or less belongs. 2014-01-05 13:25:11 +01:00
Dave Halter
78ac8b2fd6 use it for the parser representation as well 2014-01-05 11:29:12 +01:00
Dave Halter
91f377eeb6 pep8 stylings 2013-12-27 14:35:30 +01:00
Dave Halter
7347c46502 expression_list instead of commands in more places 2013-12-27 14:32:15 +01:00
Dave Halter
4af92b166a use expression_list instead of commands or call_list 2013-12-27 14:24:14 +01:00
Dave Halter
ff983f70bc fix execution recursion decorators 2013-12-26 18:01:54 +01:00
Dave Halter
05f7e6f4b5 import changes so that all local imports are 'from jedi.* import *' 2013-12-25 18:48:12 +01:00
Dave Halter
cf4b2c4557 the whole import thing seems to be working 2013-12-24 16:28:28 +01:00
Dave Halter
7bf6ff768c first steps to world domination -> removal of the hackish sys.path modifications 2013-12-24 16:23:13 +01:00
Jean-Louis Fuchs
3204a39f6c * made Token readonly like a tuple by using @property
* end_pos calculation didn't respect multiline tokens
* replaced all index access to Token
* wrapped all code that injects token tuples with
  Token.from_tuple()
* repr of Token is still its tuple form!?
* PEP8 where I read or wrote code
2013-12-08 01:32:58 +01:00
Jean-Louis Fuchs
13680945d6 * imported utf8 for python 3.2 2013-12-07 23:00:47 +01:00
Jean-Louis Fuchs
e204c27ecc * imported u for python 3.2 2013-12-07 22:53:01 +01:00
Jean-Louis Fuchs
5c543ac364 * unicode compatibility 2013-12-07 22:50:20 +01:00
Jean-Louis Fuchs
f1c49db6b6 * Added doctests to Token class
* Added __setattr__ for symmetry
* Code cleanup
2013-12-06 02:51:28 +01:00
Jean-Louis Fuchs
ced926b7f0 * cleanup 2013-12-06 00:11:38 +01:00
Jean-Louis Fuchs
099a6c2697 * added token.py 2013-12-05 23:59:48 +01:00
Jean-Louis Fuchs
989e12e8a7 * Replaced token tuple with token class
* Fixed PEP8 where I read code
2013-12-05 23:34:20 +01:00
David Halter
9bbd73bf86 fix problems with set_vars that were no set_vars 2013-09-06 15:24:14 +04:30
David Halter
9eca33f55c final import renamings for the new parser package 2013-09-06 01:27:07 +04:30
David Halter
390442dc3b move all the parser stuff into a seperate package 2013-09-06 00:58:57 +04:30