SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools



enumConstantT(#id)

Java 5 Syntax Element

Represents the field declaration in enumeration.

Attributes

#id: fieldT
The id of the referenced fieldT.

Sample Java Source

public enum Week {
	Monday	
}

Its PEF Representation

classT(#Class, _, 'Week', [], []),
enumT(#Class),
...
fieldT(#Field, #Class, #Type, 'Monday', #Init),
enumConstantT(#Field),
...

AST Specification

ast_relation('Java',enumConstantT,[
     ast_arg(id,     mult(1,1,no ),  id,   [fieldT])
]).
research/jtransformer/api/java/pefs/4.2/enumconstantt.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2024