Evgeny Gerashchenko
958f7c862d
Got rid of "namespace" word in test data.
2014-01-14 18:06:50 +04:00
Evgeny Gerashchenko
73ad5552c8
RootNamespaceExpression → RootPackageExpression.
2014-01-14 18:06:49 +04:00
Evgeny Gerashchenko
791b5bb84c
JetNamespaceHeader → JetPackageDirective.
2014-01-14 18:06:48 +04:00
Alexey Sedunov
5fcf9ca448
Fix error message in test data
2014-01-09 19:16:45 +04:00
Alexey Sedunov
446941257b
KT-4392 #Fixed
2014-01-09 15:20:17 +04:00
Natalia Ukhorskaya
e5a3518248
Parse longs with 'L' suffix. Report error if 'l' used.
2013-12-05 15:23:40 +04:00
Natalia Ukhorskaya
b6ce6c5e5a
Parse floats with 'F' or 'f' suffix
2013-12-05 15:22:01 +04:00
Nikolay Krasko
560fccbfb5
Better recovering after reporting error about several statements on the line
2013-11-09 14:08:01 +04:00
Natalia Ukhorskaya
3e43a7ea70
Fix testdata
2013-10-25 14:48:31 +04:00
Natalia Ukhorskaya
3287744415
Add common JetElement for imports: JetImportList
2013-10-25 13:55:40 +04:00
Natalia Ukhorskaya
8bee5628d5
Remove package prefix from imports
2013-10-25 11:05:01 +04:00
Alexey Sedunov
28b3db53fe
Fix irregular PSI structure for classes without body
2013-10-15 18:43:59 +04:00
Evgeny Gerashchenko
e338cda06d
Changed extension in parsing test data (jet -> kt)
2013-09-17 18:10:00 +04:00
Evgeny Gerashchenko
2ee3d22ab9
Generated missing test data.
2013-09-17 18:10:00 +04:00
Evgeny Gerashchenko
dcfeea4029
Removed IDE templates support from compiler.
2013-09-17 18:09:59 +04:00
Andrey Breslav
8c1da8929b
Fix test data (accidentally committed rubbish)
2013-07-23 17:43:33 +04:00
Andrey Breslav
d2b1b2e549
Allow newline before : as as? ?: || &&
2013-07-23 14:21:36 +04:00
Alexey Sedunov
3a2e30152a
Improve parser recovery for list of value parameters/arguments
2013-06-05 15:49:33 +04:00
Alexey Sedunov
3a635c537e
Move JetPsiMatcher with tests to plugin module
2013-06-05 15:03:17 +04:00
Sergey Rostov
bcc2c46e99
KDoc wiki links pair matcher and @tags highlighter
2013-05-28 13:05:29 +04:00
Sergey Rostov
12e20378a2
KDoc lexer refactored (got rid of hacks and separate tokens for words). Fixed bug with isInComment(element) detection.
2013-05-28 13:05:28 +04:00
Sergey Rostov
5ff1f746d4
KT-1545, KT-3161 KDoc lexer & parser
2013-05-28 13:05:28 +04:00
Alexey Sedunov
d2f3dd1629
JetPsiMatcher: reimplement using visitor, add structural type matching
2013-05-15 18:29:14 +04:00
Natalia.Ukhorskaya
29984efe76
Parse delegated property
2013-04-30 20:07:52 +04:00
Alexander Udalov
dac0d77e90
Parse simple callable reference expressions
...
#KT-1183 In Progress
2013-04-22 17:59:30 +04:00
Andrey Breslav
140382e280
PSI getter fixed: left-hand side of a binary expression can now be null
...
EA-35976 - IAE: FqNameUnsafe.validateFqName
2013-04-18 16:34:10 +04:00
Evgeny Gerashchenko
84bc74894a
Always parsing tuples as errors.
2013-03-22 16:37:16 +04:00
Evgeny Gerashchenko
7bfa4a9c09
Removed tuples from PSI tests.
2013-03-22 16:37:16 +04:00
Wojciech Lopata
3b6ada239c
KT-831 parser recovering when missing parameter
...
#KT-831 fixed
2013-03-20 13:17:35 +01:00
Andrey Breslav
db99492b9c
Merge pull request #215 from lopekpl/KT-1019
...
KT-1019 recover from missing parentheses in function declaration
2013-03-01 01:24:26 -08:00
Wojciech Lopata
bc59ed75ca
KT-1019 parser should recover from missing parentheses in function declaration
...
#KT-1019 Fixed
2013-02-28 12:00:33 +01:00
Mikhael Bogdanov
1e4536a914
For expression recovery
2013-02-26 18:34:43 +04:00
Alexander Udalov
84e4611d2b
Add 'inner' keyword
...
Support for the keyword in PSI and stubs
#KT-1174 In Progress
2013-01-16 23:11:39 +04:00
Andrey Breslav
d8ef7210dc
KT-3025 Bad handling of missing expression in catch()
...
#KT-3025 Fixed
2012-11-07 16:01:30 +04:00
Andrey Breslav
6feceaa161
PsiElement for receiver declaration in a function type
...
This fixes the following assertion:
EA-37795 - assert: DescriptorResolver.checkBounds
java.lang.AssertionError: (
public val categoryName: String,
public val defaultReoccurrenceRate: DateReoccurrence,
datesCollection: Collection<Date>) {
at org.jetbrains.jet.lang.resolve.DescriptorResolver.checkBounds(DescriptorResolver.java:1137)
at org.jetbrains.jet.lang.resolve.TypeHierarchyResolver.checkTypesInClassHeaders(TypeHierarchyResolver.java:447)
at org.jetbrains.jet.lang.resolve.TypeHierarchyResolver.process(TypeHierarchyResolver.java:154)
at org.jetbrains.jet.lang.resolve.TopDownAnalyzer.doProcess(TopDownAnalyzer.java:125)
Caused by misbehavior of the JetFunctionType class
2012-11-06 15:29:14 +04:00
Nikolay Krasko
7c41ec517f
Better recovery for parameters without type
2012-09-18 19:26:54 +04:00
Andrey Breslav
10d453ce6a
Removing grammar/parsing support for complext patterns
...
#KT-2359 In progress
2012-09-05 14:18:40 +04:00
Andrey Breslav
7caa1b8aa4
KT-2364 Drop traces of constructor-entries in enums
...
#KT-2364 Fixed
2012-08-29 22:07:42 +04:00
Nikolay Krasko
1a12ef9e07
Recover on EOL for imports
2012-08-24 00:13:16 +04:00
Andrey Breslav
af85c99ffd
KT-2627 Parse for with multiple range variables
...
#KT-2627 Fixed
2012-08-21 19:10:29 +04:00
Andrey Breslav
86e40073c5
KT-2625 Parse multiple assignment to variables
...
New PSI element types introduced.
Parsing procedure for properties reused.
Extra syntactic elements (receiver, type) are prohibited in the parser
#KT-2625 Fixed
2012-08-17 22:04:33 +04:00
Alex Tkachman
e134969896
making script classes useful/accessable for the rest of the world
2012-08-01 09:58:01 +03:00
Andrey Breslav
bf503e9a4b
KT-2363 Drop secondary constructors
...
#KT-2363 Fixed
2012-07-19 19:53:06 +04:00
Stepan Koltsov
4d06660243
parse imports in scripts
2012-06-13 22:32:36 +04:00
Andrey Breslav
84a3974460
Missing test data added
2012-06-04 18:55:36 +04:00
Andrey Breslav
febb3c6a3d
Recovery set extended
...
#KT-2172 Fixed
2012-06-04 18:44:09 +04:00
Stepan Koltsov
25f71bcd3a
skip shebang in the first line
...
Something like this works now:
===
% PATH="./bin:$PATH" ./sum.ktscript 31 21
31 + 21 = 52
% cat sum.ktscript
#!/usr/bin/env kotlin -script
val a = Integer.parseInt(args[0])
val b = Integer.parseInt(args[1])
println("$a + $b = ${a + b}")
===
2012-05-28 22:59:03 +04:00
Stepan Koltsov
c15ff2dee0
make parser test debugging friendly
2012-05-23 02:52:32 +04:00
Stepan Koltsov
5fc73a4cd4
parse kotlin scripts
...
http://confluence.jetbrains.net/display/~stepan.koltsov/REPL
2012-05-23 02:52:29 +04:00
Evgeny Gerashchenko
e298391645
Fixed tests.
...
#KT-1799 fixed
2012-04-20 22:16:20 +04:00