Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
Java 5 Syntax Element - supported since JTransformer 2.3.
Represents the field declaration in enumeration.
#id: fieldT
The id of the referenced fieldT.
public enum Week { Monday }
classT(#Class, _, 'Week', [], []), enumT(#Class), ... fieldT(#Field, #Class, #Type, 'Monday', #Init), enumConstantT(#Field), ...
ast_relation('Java',enumConstantT,[ ast_arg(id, mult(1,1,no ), id, [fieldT]) ]).