Small change
This commit is contained in:
parent
440fa33793
commit
d4ded3572d
@ -100,7 +100,6 @@ CLASS : 'class';
|
|||||||
ACCESSMODIFIER : ('public' | 'private');
|
ACCESSMODIFIER : ('public' | 'private');
|
||||||
WHITESPACE : ' ';
|
WHITESPACE : ' ';
|
||||||
NEWLINE : ('\r'? '\n' | '\r')+ ;
|
NEWLINE : ('\r'? '\n' | '\r')+ ;
|
||||||
ARGUMENTLIST : 'argumentlist';
|
|
||||||
GENERICDECLLIST : 'List<T>';
|
GENERICDECLLIST : 'List<T>';
|
||||||
SOURCEFILE : (UPPERCASE | LOWERCASE)+'.java';
|
SOURCEFILE : (UPPERCASE | LOWERCASE)+'.java';
|
||||||
ASSIGNTOFIELD : 'assigntofield';
|
ASSIGNTOFIELD : 'assigntofield';
|
||||||
@ -108,10 +107,8 @@ ASSIGNLEFTSIDE : 'assignleftside';
|
|||||||
WHILESTMT : 'while()';
|
WHILESTMT : 'while()';
|
||||||
DOSTMT : 'do()';
|
DOSTMT : 'do()';
|
||||||
GENERICTYPEVAR : 'generictypevar';
|
GENERICTYPEVAR : 'generictypevar';
|
||||||
PARAMLIST : 'paramlist';
|
FORMALPARAMETER : ('int' | 'String' | 'double' | 'float' | 'boolean');
|
||||||
FORMALPARAMETER : ('int' | 'String' | 'char');
|
|
||||||
FIELDDECLARATION : 'fielddeclaration';
|
FIELDDECLARATION : 'fielddeclaration';
|
||||||
FIELD : 'field';
|
|
||||||
CONSTRUCTOR : 'constructor';
|
CONSTRUCTOR : 'constructor';
|
||||||
VOID : 'void';
|
VOID : 'void';
|
||||||
REFTYPE : 'reftype';
|
REFTYPE : 'reftype';
|
||||||
@ -120,8 +117,8 @@ WILDCARDTYPE : 'wildcardtype';
|
|||||||
SUPERWILDCARDTYPE : 'superwildcardtype';
|
SUPERWILDCARDTYPE : 'superwildcardtype';
|
||||||
TYPEPLACEHOLDER : 'typeplaceholder';
|
TYPEPLACEHOLDER : 'typeplaceholder';
|
||||||
GENERICREFTYPE : 'genericreftype';
|
GENERICREFTYPE : 'genericreftype';
|
||||||
THIS : 'this';
|
THIS : 'this()';
|
||||||
SUPER : 'super';
|
SUPER : 'super()';
|
||||||
FIELDVAR : 'fieldvar';
|
FIELDVAR : 'fieldvar';
|
||||||
NEWARRAY : 'new ArrayList<>()';
|
NEWARRAY : 'new ArrayList<>()';
|
||||||
LITERAL : 'literal';
|
LITERAL : 'literal';
|
||||||
|
Loading…
Reference in New Issue
Block a user