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

Compare with Current View Page History

« Previous Version 9 Next »

Class

 

Interface

 

Statements

 

Expressions

 

Metadata

 

Literals

 

Identifier & Qualified Name

 

Namespace

Grammar
Namespace              ::= "use" QualifiedNameWithWildcard ";".
QualifiedNameWildcard  ::= QualifiedName (".*")?
Example
use java::util::*;
use de::uniol::inf::is::odysseus::core::ISubscription;
use com::google::common::collect::ImmutableMap;

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