You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Class

 

Interface

 

Statements

 

Expressions

 

Metadata

 

Literals

 

Identifier & Qualified Name

 

Namespace

 

Java-Code

Grammar
GPLCode                ::= "$*" GPL Code "*$"
Example
$*
public static void main(String[] args) {
         
}
*$

Comments

Grammar
SingeLineComment        ::= "//" Text (("\r")? "\n")?.
MultiLineComment        ::= "/*" Text "*/".
Example
// This is a single line comment

/*
 * This is a multi line comment
 */

 

 

 

 

  • No labels