(WIP) implementing CBD language... Meta-meta-model: Association inherits from Class. Matcher accepts pivot. Add generic graphviz renderer.
This commit is contained in:
parent
a26ceef10f
commit
1eb8a84553
25 changed files with 542 additions and 170 deletions
|
|
@ -17,6 +17,11 @@ def display_value(val: any, type_name: str, indentation=0):
|
|||
else:
|
||||
raise Exception("don't know how to display value" + type_name)
|
||||
|
||||
def display_name(raw_name: str) -> str:
|
||||
if raw_name[0:2] == "__":
|
||||
return "" # hide names that start with '__', they are anonymous (by convention)
|
||||
else:
|
||||
return raw_name
|
||||
|
||||
# internal use only
|
||||
# just a dumb wrapper to distinguish between code and string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue