Dave Halter
|
bcc84820fe
|
Fix issues with unreachable flows.
This benefits static analysis as well as autocompletion: Unreachable code (things like code within 'if 0:') should still be resolveable.
|
2014-09-03 00:05:37 +02:00 |
|
Dave Halter
|
f911050300
|
Rewrote the isistance implementation, so that it works properly with tuples as well as normal classes.
|
2014-08-20 16:58:19 +02:00 |
|
Dave Halter
|
d6dd7cd55e
|
Move process_precedence_element from the Evaluator to the precedence module.
|
2014-08-20 15:59:37 +02:00 |
|
Dave Halter
|
09ca47fa93
|
Introduce a dedicated isinstance function implementation.
|
2014-08-19 23:57:59 +02:00 |
|
Dave Halter
|
49163e135c
|
flow_analysis test for isinstance as well as and/or operations.
|
2014-08-19 01:03:14 +02:00 |
|
Dave Halter
|
eeac77d360
|
Also support the not operator.
|
2014-08-12 18:09:59 +02:00 |
|
Dave Halter
|
8ed89e8245
|
implement !=, ==, is, is not operators to work in if statements (they also work in in non if contexts and return a bool value.), includes tests.
|
2014-08-12 17:59:19 +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
|
469988be9c
|
actually add tests for the flow analysis of variables.
|
2014-08-12 09:57:00 +02:00 |
|
Dave Halter
|
0ae9e520c1
|
flow analysis working for elif statements (even in combination with else)
|
2014-08-07 15:18:30 +02:00 |
|
Dave Halter
|
743d064e6d
|
exception while using else as a scope
|
2014-08-07 12:10:31 +02:00 |
|
Dave Halter
|
ee65764c3a
|
more complicated logic working with else
|
2014-08-07 12:02:08 +02:00 |
|
Dave Halter
|
b7151c1ef9
|
add a first flow analysis test
|
2014-08-06 23:35:30 +02:00 |
|