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

research:jtransformer:api:java:pefs:3.0:interfacet [2018/05/09 01:59] (current)
Line 1: Line 1:
 +{{page>​prologast_bodypef_index&​fullpage&​nofooter}}
 +----
 +
 +=== interfaceT(#​class) ​ ===
 +
 +Represents the interface declaration.
 +
 +=== Arguments ===
 +== ==
 +**#​class:​** ​ [[classt|classT]]\\
 +ID of the fact declared to be an interface (this is **NOT** a unique ID, but a reference to another fact, like a [[modifiert|modifierT]]).
 +
 +=== Sample Java Source ===
 +== ==
 +<Code lang-java>​
 +public interface Hello {
 + public void hello();
 +}
 +</​Code>​
 +
 +
 +=== Its PEF Representation ===
 +== ==
 +<Code lang-prolog>​
 +classT(#​class,​_,'​Hello',​_).
 +interfaceT(#​class).
 +</​Code>​
 +
 +=== AST Specification ===
 +== ==
 +<​Code>​
 +ast_relation('​Java',​interfaceT,​[
 +     ​ast_arg(id, ​    ​mult(1,​1,​no ), id,   ​[classT]) ​
 +]).
 +</​Code>​
  
research/jtransformer/api/java/pefs/3.0/interfacet.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019