SDA SE Wiki

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

User Tools

Site Tools



sourceFolderS(#id, #ProjectID, 'SourceFolder')

Represents a source folder in an Eclipse Project.

The suffix S indicates that this is and elemement of the language independent representation of source information (S = Source), not an element of an abstract Syntax Tree (which has the suffix T – for Tree). Projects, source folders, and files fall into this category.

Arguments

#id: id
The unique id of this source folder.

'ProjectID': projectS
The id of the enclosing project. The project is the parent of the folder in the containment hierarchy.

'SourceFolder': atom
The path of the source folder relative to the enclosing project. Starts with the project name.

Its PEF Representation

sourceFolderS(12121,12345,'Demo1/src')

AST Specification

ast_node_def('Source',sourceFolderS,[
     ast_arg(id,     mult(1,1,no ), id,   [sourceFolderS]),
     ast_arg(parent, mult(1,1,no ), attr, [projectS]),
     ast_arg(file,   mult(1,1,no ), attr, [atom])
]).
research/jtransformer/api/meta/pefs/sourcefolders.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2024