Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: java/java-1.1/jouault/extracted
Source used for this grammar: Frédéric Jouault, JAVA 1.1, a simplified metamodel of Java, Java-20040316.ecore
, 2005/03/18 [Atlantic]
JavaElement
, ClassFeature
, ClassMember
, Field
, JavaClass
, Method
, Package
, PrimitiveType
, FeatureParameter
, String
, Boolean
), 0 root (—), 2 top (JavaElement
, String
), 0 bottom (—).[owner]
, [type]
2, [isStatic]
3, [isPublic]
3, [members]
2, [package]
2, [typedElements]
2, [parameters]
3, [isAbstract]
2, [classes]
, [method]
.JavaElement ::= ClassFeature
JavaElement ::= Package
ClassFeature ::= ClassMember
ClassFeature ::= JavaClass
ClassFeature ::= FeatureParameter
ClassMember ::= Field
ClassMember ::= Method
Field ::= [owner]::JavaClass [type]::JavaClass [isStatic]::Boolean [isPublic]::Boolean
JavaClass ::= PrimitiveType
JavaClass ::= [members]::ClassMember[package]::Package [typedElements]::ClassMember [parameters]::FeatureParameter [isAbstract]::Boolean [isStatic]::Boolean [isPublic]::Boolean
Method ::=
[parameters]::FeatureParameter
Package ::=
[classes]::JavaClass
PrimitiveType ::= [members]::ClassMember[package]::Package [typedElements]::ClassMember [parameters]::FeatureParameter [isAbstract]::Boolean [isStatic]::Boolean [isPublic]::Boolean
FeatureParameter ::= [type]::JavaClass [method]::Method
String ::= string
Boolean ::= "true" "false"