Skip to content

Commit

Permalink
[1.9] Add fixed grammar tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-phoenix committed Jul 28, 2023
1 parent a943156 commit 9ada323
Show file tree
Hide file tree
Showing 67 changed files with 15,495 additions and 12,776 deletions.
72 changes: 31 additions & 41 deletions grammar/testData/diagnostics/Abstract.b.antlrtree.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
File: Abstract.b.kt - 1653c958f5acf2bb6dff2bd874377d98 (WITH_ERRORS)
File: Abstract.b.kt - 1653c958f5acf2bb6dff2bd874377d98
packageHeader
PACKAGE("package")
identifier
Expand Down Expand Up @@ -170,8 +170,7 @@ File: Abstract.b.kt - 1653c958f5acf2bb6dff2bd874377d98 (WITH_ERRORS)
primaryExpression
literalConstant
IntegerLiteral("0")
semi
SEMICOLON(";")
SEMICOLON(";")
setter
modifiers
modifier
Expand Down Expand Up @@ -243,8 +242,7 @@ File: Abstract.b.kt - 1653c958f5acf2bb6dff2bd874377d98 (WITH_ERRORS)
primaryExpression
literalConstant
IntegerLiteral("0")
semi
SEMICOLON(";")
SEMICOLON(";")
setter
modifiers
modifier
Expand Down Expand Up @@ -347,8 +345,7 @@ File: Abstract.b.kt - 1653c958f5acf2bb6dff2bd874377d98 (WITH_ERRORS)
primaryExpression
literalConstant
IntegerLiteral("0")
semi
SEMICOLON(";")
SEMICOLON(";")
setter
SET("set")
LPAREN("(")
Expand Down Expand Up @@ -496,8 +493,7 @@ File: Abstract.b.kt - 1653c958f5acf2bb6dff2bd874377d98 (WITH_ERRORS)
primaryExpression
literalConstant
IntegerLiteral("0")
semi
SEMICOLON(";")
SEMICOLON(";")
setter
SET("set")
LPAREN("(")
Expand Down Expand Up @@ -618,8 +614,7 @@ File: Abstract.b.kt - 1653c958f5acf2bb6dff2bd874377d98 (WITH_ERRORS)
primaryExpression
literalConstant
IntegerLiteral("0")
semi
SEMICOLON(";")
SEMICOLON(";")
getter
GET("get")
LPAREN("(")
Expand Down Expand Up @@ -727,8 +722,7 @@ File: Abstract.b.kt - 1653c958f5acf2bb6dff2bd874377d98 (WITH_ERRORS)
primaryExpression
literalConstant
IntegerLiteral("0")
semi
SEMICOLON(";")
SEMICOLON(";")
getter
GET("get")
LPAREN("(")
Expand Down Expand Up @@ -882,20 +876,19 @@ File: Abstract.b.kt - 1653c958f5acf2bb6dff2bd874377d98 (WITH_ERRORS)
primaryExpression
literalConstant
IntegerLiteral("0")
semi
SEMICOLON(";")
SEMICOLON(";")
getter
modifiers
modifier
inheritanceModifier
ABSTRACT("abstract")
GET("get")
topLevelObject
declaration
topLevelObject
declaration
ABSTRACT("abstract")
SET("set")
setter
modifiers
modifier
inheritanceModifier
ABSTRACT("abstract")
SET("set")
semis
NL("\n")
NL("\n")
Expand Down Expand Up @@ -980,8 +973,7 @@ File: Abstract.b.kt - 1653c958f5acf2bb6dff2bd874377d98 (WITH_ERRORS)
primaryExpression
literalConstant
IntegerLiteral("0")
semi
SEMICOLON(";")
SEMICOLON(";")
getter
GET("get")
LPAREN("(")
Expand All @@ -1006,14 +998,14 @@ File: Abstract.b.kt - 1653c958f5acf2bb6dff2bd874377d98 (WITH_ERRORS)
primaryExpression
simpleIdentifier
Identifier("i")
semis
SEMICOLON(";")
topLevelObject
declaration
topLevelObject
declaration
ABSTRACT("abstract")
SET("set")
semi
SEMICOLON(";")
setter
modifiers
modifier
inheritanceModifier
ABSTRACT("abstract")
SET("set")
semis
NL("\n")
NL("\n")
Expand Down Expand Up @@ -1072,8 +1064,7 @@ File: Abstract.b.kt - 1653c958f5acf2bb6dff2bd874377d98 (WITH_ERRORS)
primaryExpression
literalConstant
IntegerLiteral("0")
semi
SEMICOLON(";")
SEMICOLON(";")
setter
modifiers
modifier
Expand Down Expand Up @@ -1144,20 +1135,19 @@ File: Abstract.b.kt - 1653c958f5acf2bb6dff2bd874377d98 (WITH_ERRORS)
primaryExpression
literalConstant
IntegerLiteral("0")
semi
SEMICOLON(";")
SEMICOLON(";")
getter
modifiers
modifier
inheritanceModifier
ABSTRACT("abstract")
GET("get")
topLevelObject
declaration
topLevelObject
declaration
ABSTRACT("abstract")
SET("set")
setter
modifiers
modifier
inheritanceModifier
ABSTRACT("abstract")
SET("set")
semis
NL("\n")
NL("\n")
Expand Down
Loading

0 comments on commit 9ada323

Please sign in to comment.