File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/FAST-Java-SmaCC-Importer Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,11 @@ Extension { #name : 'FamixJavaAttribute' }
44FamixJavaAttribute >> getFAST [
55 " Attributes sourceAnchor encompass the name of the attribute and a possible initialization
66 This can be parsed as an expression (JavaSmaCCProgramNodeImporterVisitor >> parseCodeExpressionString:)
7- "
7+ For this to work properly, the Java importer must be set as being on a Class declaration
8+ then `clone` will create a sub-parser for the expression"
89
9- ^ JavaSmaCCProgramNodeImporterVisitor new
10- getExpressionAST: self sourceAnchor sourceText
10+ ^ (JavaSmaCCProgramNodeImporterVisitor new
11+ currentFASTEntity: (FASTJavaClassDeclaration new ) ;
12+ clone)
13+ parseCodeExpressionString: self sourceAnchor sourceText
1114]
You can’t perform that action at this time.
0 commit comments