Skip to content
Snippets Groups Projects
Commit 381bd68b authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Trigger magic

parent cb78f5f8
No related branches found
No related tags found
No related merge requests found
Pipeline #22324 failed
......@@ -400,10 +400,23 @@ class CustomFunctionCall(JinjaCppFile):
def symbols_defined(self):
return set(self.ast_dict.fields_accessed)
@property
def fields_accessed(self):
return [f.name for f in self.ast_dict.fields_accessed]
@property
def function_name(self):
return self.ast_dict.function_name
@property
def undefined_symbols(self):
return set(self.ast_dict.args)
return set(self.ast_dict.args)
def subs(self, subs_dict):
self.ast_dict.args = list(map(lambda x: x.subs(subs_dict), self.ast_dict.args))
def atoms(self, types=None):
if types:
return set(a for a in self.args if isinstance(a, types))
else:
return set(self.args)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment