Dave Holoway
c16bb1b30a
support assert statement
2020-06-08 00:31:33 +01:00
Dave Holoway
f14d70feb6
map primitive types to their boxed versions for class member
2020-06-08 00:07:35 +01:00
Dave Holoway
67c1fc9db6
allow unicode characters, $ and _ in identifiers
2020-06-07 23:50:51 +01:00
Dave Holoway
49b5480870
allow generic types to be assigned to inherited types with compatible type arguments
2020-06-07 22:52:37 +01:00
Dave Holoway
6bcdecee07
fix parse issue with nested generic types
2020-06-07 22:38:18 +01:00
Dave Holoway
a4be37d872
initial support for wildcard type arguments
2020-06-07 21:31:11 +01:00
Dave Holoway
6ef64b1d9c
make default a modifer keyword for interface default method support
2020-06-07 16:22:38 +01:00
Dave Holoway
4750212484
improve invalid array expression message
...
add AnyType array element to prevent cascading errors
2020-06-07 15:59:12 +01:00
Dave Holoway
20831c2326
make sure any long specifier is stripped from a bigint value
2020-06-07 15:46:08 +01:00
Dave Holoway
fc9d58b9da
add support for array qualifiers after a variable name
2020-06-07 15:40:28 +01:00
Dave Holoway
c56732c689
allow character literals to be assigned to number types
2020-06-07 15:22:12 +01:00
Dave Holoway
ebc5f73bcc
use better regex for string literals
2020-06-07 15:17:54 +01:00
Dave Holoway
7d6af70ae1
allow null to be cast to any non-primitve
2020-06-07 15:12:43 +01:00
Dave Holoway
ce6ed14aaa
update primitive type compatibility
2020-06-07 14:54:26 +01:00
Dave Holoway
b30228c10b
add support for synchronized statement
2020-06-07 14:22:26 +01:00
Dave Holoway
00d4998301
allow all primitive-number-type casts
2020-06-07 14:01:57 +01:00
Dave Holoway
52db53e65a
casting only applies to qualified term not a whole expression
2020-06-07 13:36:29 +01:00
Dave Holoway
37dddc48d9
update check for cast expression
2020-06-07 13:26:46 +01:00
Dave Holoway
18ff477d34
clear diagnostics when document is closed
2020-06-07 12:58:01 +01:00
Dave Holoway
de846fef12
add support for literal numbers to be assignable to multiple primtive types
2020-06-07 12:51:49 +01:00
Dave Holoway
4ba7fd1b3d
split shift operators from bitwise operators
2020-06-06 15:14:05 +01:00
Dave Holoway
f294cb2af1
allow AnyValue to be a constant value
2020-06-06 14:32:47 +01:00
Dave Holoway
67f1b617ff
use isTypeAssignable for checking branch test expressions
2020-06-06 14:07:33 +01:00
Dave Holoway
09c15ef401
allow interfaces to be cast to class instances
2020-06-06 13:57:23 +01:00
Dave Holoway
13068cbcea
add more info when methods/ctrs cannot be matched
2020-06-06 13:33:06 +01:00
Dave Holoway
432cd24f3c
tidy up isTypeAssignable
...
allow class equivilents for primitives
2020-06-06 12:30:09 +01:00
Dave Holoway
1238d7980a
update method call parameter checking
...
use isTypeAssignable instead of getParameterCompatibleTypeSignatures
2020-06-06 12:07:01 +01:00
Dave Holoway
19810a2f75
add Any* classes to reduce cascading errors
2020-06-06 11:39:15 +01:00
Dave Holoway
61b787d5ff
update SourceMethod to pass name in super constructor
2020-06-06 11:38:19 +01:00
Dave Holoway
c113e8bee0
add constructor parameters to list of resolvable types
2020-06-05 18:31:32 +01:00
Dave Holoway
ee8f6513bf
add missing constructor validator
2020-06-05 17:56:46 +01:00
Dave Holoway
4ed8411180
add default constructor for class types with no explicit constructors
2020-06-05 17:19:58 +01:00
Dave Holoway
9c579662e6
Fix resolving of enclosed type identifiers
2020-06-05 16:45:07 +01:00
Dave Holoway
b1d4261f28
fix assignment operator types
2020-06-05 16:12:30 +01:00
Dave Holoway
b50e7bea46
fix interface constructors
...
check constructor type modifiers
2020-06-05 15:20:09 +01:00
Dave Holoway
9a4dd63dc7
add super as an object literal
2020-06-05 14:50:09 +01:00
Dave Holoway
c43ba6ccf1
add new method body parser to use direct linear parsing
2020-06-05 14:36:42 +01:00
Dave Holoway
4f70cb0128
fix || and && not being tokenized as operators
...
allow float literals starting with dot
2020-05-28 17:17:08 +01:00
Dave Holoway
81a608b6da
add support for array-literal expressions
2020-05-27 13:01:31 +01:00
Dave Holoway
ff8cf5b91a
updated validation to use new JavaTypes module instead of MTIs
2020-05-26 18:41:35 +01:00
Dave Holoway
a46474c3c2
fix parsing of binary operstors following a bracket expression
2020-05-23 13:22:01 +01:00
Dave Holoway
23dc6d3871
different attempt to parse using collapsable text
...
ranges
2020-05-23 13:20:51 +01:00
Dave Holoway
bdc5b1d4cd
add basic support for parsing new expressions
2020-05-18 15:04:19 +01:00
Dave Holoway
25a6ace1e4
add support for prefix/postfix inc expressions
2020-05-18 13:11:38 +01:00
Dave Holoway
66cee87685
first iteration of method body parser
2020-05-18 13:10:45 +01:00
Dave Holoway
79bba76b9f
first hacky version of source parsing and type checking
2020-05-16 16:59:58 +01:00
Dave Holoway
3156a2ddc2
initial working language server
2020-04-30 11:38:15 +01:00
Dave Holoway
d064b9a3f4
version 1.1
v1.1.0
2020-04-24 19:19:21 +01:00
Dave Holoway
6439e1b8b7
Version 1.1 improvements ( #88 )
...
* fix 0 alignment in binary xml decoding
* output reason for APK manifest read failure
* try and match package name against process name
when determining which pid to attach
* make post launch pause user-configurable
* code tidy, jsdocs and types
* more types in expression parse classes
* fix issue with expandable objects not evaluating
* update build task example
* fix package/type evaluation
* improve handling of targetDevice and processID combinations
* show full call stack by default
* implement a queue for evaluations
* improve performance of retrieving single fields
* check root term identifiers against this fields
2020-04-24 19:03:39 +01:00
Dave Holoway
a4ce09d309
Expression format specifier support ( #87 )
...
* initial support for format specifier
* add readme notes for format specifiers
* add support for showing arrays and objects with format specifiers
* create unique object variable references for different display formats
* add notes on applying formatting to objects and arrays
2020-04-24 14:37:51 +01:00