SDA SE Wiki

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

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
research:jtransformer:api:java:pefs:3.0:noparameterboundt [2013/07/05 09:09]
127.0.0.1 external edit
research:jtransformer:api:java:pefs:3.0:noparameterboundt [2018/05/09 01:59] (current)
Line 1: Line 1:
 +{{page>​prologast_bodypef_index&​fullpage&​nofooter}}
 +----
  
 +=== noParameterBoundT(#​id) ===
 +
 +To ensure correct reverse engineering an additional marker fact noParameterBoundT is added, when no bound was given.
 +
 +Supported since JTransformer 3.0.
 +
 +=== Arguments ===
 +== ==
 +**#id:** [[typeParamT|typeParamT]]\\ ​
 +ID of the typeParamT element.
 +
 +=== Sample Java Source ===
 +
 +==  ==
 +<Code lang-java>​
 +<T> void m(){
 +    ...
 +}
 +</​Code>​
 +
 +
 +=== Its PEF Representation ===
 +
 +==  ==
 +<Code lang-prolog>​
 +methodT(#​meth,​ ..., '​m',​ [], ..., [], ...).
 +typeParamT(#​typeparam,​ #meth, '​T',​ [#​typeref]).
 +
 +noParameterBoundT(#​typeparam).
 +
 +typeRefT(#​typeref,​ #typeparam, #meth, #object).
 +classT(#​object,​ ..., '​Object',​ ...).
 +
 +</​Code>​
 +
 +=== AST Specification ===
 +== ==
 +<Code lang-prolog>​
 +ast_relation('​Java',​ noParameterBoundT,​[
 +   ​ast_arg(id,​ mult(1,1,no ), id, [typeParamT])
 +]).
 +</​Code>​
research/jtransformer/api/java/pefs/3.0/noparameterboundt.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019