Skip to content
Snippets Groups Projects

Composer API Extensions and How-To Guide

Merged Frederik Hennig requested to merge fhennig/composer-improvements into master
All threads resolved!
2 files
+ 8
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -343,6 +343,8 @@ class SfgMethod(SfgClassMember, CommonFunctionProperties):
@@ -343,6 +343,8 @@ class SfgMethod(SfgClassMember, CommonFunctionProperties):
):
):
super().__init__(cls)
super().__init__(cls)
 
self._name = name
 
from .postprocessing import CallTreePostProcessing
from .postprocessing import CallTreePostProcessing
param_collector = CallTreePostProcessing()
param_collector = CallTreePostProcessing()
@@ -363,6 +365,10 @@ class SfgMethod(SfgClassMember, CommonFunctionProperties):
@@ -363,6 +365,10 @@ class SfgMethod(SfgClassMember, CommonFunctionProperties):
attributes,
attributes,
)
)
 
@property
 
def name(self) -> str:
 
return self._name
 
@property
@property
def static(self) -> bool:
def static(self) -> bool:
return self._static
return self._static
Loading