Commit Graph

150 Commits

Author SHA1 Message Date
Dave Holoway
2ee1c72b6a handle null token passed to ParseProblem 2020-06-28 21:24:50 +01:00
Dave Holoway
bb1a326768 set configurable trace logging and update section names 2020-06-28 21:05:08 +01:00
Dave Holoway
baabf1e7a9 load single android library cache from local folder 2020-06-28 15:34:27 +01:00
Dave Holoway
71600cf366 cache decoded android library in globalStoragePath 2020-06-27 18:33:13 +01:00
Dave Holoway
8f9bf25e4c resolve new object contructors 2020-06-26 23:05:59 +01:00
Dave Holoway
c943408613 remove parsed type list logging 2020-06-26 21:36:39 +01:00
Dave Holoway
563142661a add support for displaying method signatures 2020-06-26 17:02:24 +01:00
Dave Holoway
7038bf7090 allow multiple source files to be used in parsing 2020-06-26 10:32:32 +01:00
Dave Holoway
849c49acb6 fix bad member resolution at end of block
fix missing method and type docs
2020-06-25 15:47:12 +01:00
Dave Holoway
e2765fd982 improve code completion list
add method parameters
order list items by scope
2020-06-25 14:43:48 +01:00
Dave Holoway
f67c03bb34 add owning method to statements
create common keyword statement class
2020-06-25 11:43:53 +01:00
Dave Holoway
b0a2475696 ensure Object is always last in the list of inherited types 2020-06-25 10:56:02 +01:00
Dave Holoway
b45314cc95 add support for docs in source types 2020-06-24 23:28:35 +01:00
Dave Holoway
089d174e08 use exact type signatures for locating types for completion items 2020-06-24 19:55:18 +01:00
Dave Holoway
b70592a0f7 support for member expressions 2020-06-24 17:10:49 +01:00
Dave Holoway
db865825d0 support package, type and static field import completion 2020-06-23 18:57:07 +01:00
Dave Holoway
591907f523 initial test of context-dependant code completion 2020-06-23 17:03:40 +01:00
Dave Holoway
cd6bf29e9f perform more detailed search of implemented methods 2020-06-23 14:41:20 +01:00
Dave Holoway
ce345965e5 improve support for ternary operators in assignments and method invocations 2020-06-23 11:26:14 +01:00
Dave Holoway
3073dfcd25 fix assert statement checks 2020-06-22 19:56:25 +01:00
Dave Holoway
085f027856 fix return type check 2020-06-22 19:52:13 +01:00
Dave Holoway
56464ef537 add basic type checking of lambda expressions 2020-06-22 19:05:26 +01:00
Dave Holoway
4f0e55a909 add implicit enum methods values() and valueOf() 2020-06-22 15:47:26 +01:00
Dave Holoway
fbb275600a check castability using type assignments 2020-06-22 14:41:32 +01:00
Dave Holoway
4fc616daa1 ensure tokens are assigned for qualified expressions 2020-06-22 13:03:28 +01:00
Dave Holoway
df210b4659 add checks for unary operators 2020-06-22 11:09:50 +01:00
Dave Holoway
491086a750 remove return type for source constructors 2020-06-21 21:36:56 +01:00
Dave Holoway
43c701adc8 add support for this() and super() constructor calls 2020-06-21 21:29:03 +01:00
Dave Holoway
153a6e869b improve method call resolving 2020-06-21 18:52:41 +01:00
Dave Holoway
6badc9fdb6 implement method body and ststement validation 2020-06-21 13:47:56 +01:00
Dave Holoway
a034a90735 support package name as a resolved value 2020-06-19 11:08:02 +01:00
Dave Holoway
82e660eabc improve checking of number literals 2020-06-18 18:39:41 +01:00
Dave Holoway
9be298293f rename ResolvedType to ResolvedValue 2020-06-18 17:22:17 +01:00
Dave Holoway
7fd7809be3 improve validation of binary operators 2020-06-18 17:12:18 +01:00
Dave Holoway
f4743e456b validate array indexes 2020-06-18 15:57:30 +01:00
Dave Holoway
1255a15bba validate array literals 2020-06-18 15:45:34 +01:00
Dave Holoway
f05b34171c add new array validation 2020-06-18 14:54:12 +01:00
Dave Holoway
d869afe2fa improve reporting of unresolved identifiers 2020-06-18 13:16:39 +01:00
Dave Holoway
c1f2ccdc4a allow assigns for assignable type arguments 2020-06-18 12:45:04 +01:00
Dave Holoway
b143772b26 check for valid type in class member expressions 2020-06-18 12:35:21 +01:00
Dave Holoway
0f296379c6 add type cast checking 2020-06-18 12:24:16 +01:00
Dave Holoway
2da127edc0 implement resolveExpression 2020-06-18 11:46:42 +01:00
Dave Holoway
13cdd1e0bc support token extraction in expressions 2020-06-17 15:37:30 +01:00
Dave Holoway
3c505b05be remove some parse checks that should be in verify 2020-06-17 13:50:14 +01:00
Dave Holoway
458d8e553e rename source types module 2020-06-17 13:09:50 +01:00
Dave Holoway
4f62b5a06e remove Value class, add NewExpression and separate out Any classes 2020-06-17 13:00:04 +01:00
Dave Holoway
b9fd805a6d extract literals into separate files 2020-06-17 12:14:48 +01:00
Dave Holoway
29e6132cac fix type warnings 2020-06-17 11:30:20 +01:00
Dave Holoway
d85f49546a extract statement types into separate files 2020-06-17 11:26:48 +01:00
Dave Holoway
143a31b0c4 extract expression types into separate files 2020-06-17 11:07:57 +01:00