Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
Represents the text of a comment. The creation of these facts has to be enabled in the JTransformer Preferences.
#id: commentT
ID of the commentT where this comment belongs to.
comment: atom
The text of the comment.
// line comment for method m public void m() { ... }
methodT(Method, _, 'm', [], _, [], [], _), commentT(Comment, Method, lineComment), commentTextT(Comment, '// line comment for method m').
ast_relation_type_spec(commentTextT,[ ast_arg(id, mult(1,1,no ), id, [commentT]), ast_arg(comment, mult(1,1,no ), attr, [atomic]) ]).