1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

test EnumDeclaration

This commit is contained in:
Ayman Nadeem 2018-07-24 12:43:13 -04:00
parent c0c2e2033b
commit 876ab5d11d
8 changed files with 31 additions and 12 deletions

View File

@ -0,0 +1,3 @@
public enum Colour {
}

View File

@ -0,0 +1,4 @@
enum Colour
{
RED, GREEN, BLUE;
}

View File

@ -0,0 +1,7 @@
(Statements
(EnumDeclaration
{-(AccessibilityModifier)-}
(Identifier)
{+(Identifier)+}
{+(Identifier)+}
{+(Identifier)+}))

View File

@ -0,0 +1,7 @@
(Statements
(EnumDeclaration
{+(AccessibilityModifier)+}
(Identifier)
{-(Identifier)-}
{-(Identifier)-}
{-(Identifier)-}))

View File

@ -0,0 +1,4 @@
(Statements
(EnumDeclaration
(AccessibilityModifier)
(Identifier)))

View File

@ -0,0 +1,6 @@
(Statements
(EnumDeclaration
(Identifier)
(Identifier)
(Identifier)
(Identifier)))

View File

@ -1,9 +0,0 @@
class WhileDemo {
public static void main(String[] args){
do {
System.out.print("Guess my name: ");
guess = scanner.nextLine();
}
while (!"Daffy Duck".equals(guess));
}
}

View File

@ -1,3 +0,0 @@
public enum DisposableHelper {
}