Source code for hwt.doc_markers
[docs]
def internal(fn):
"""
Decorator which does not affect functionality but it is used as marker
which tells that this object is not interesting for users and it is only used internally
"""
return fn
[docs]
def hwt_expr_producer(fn):
"""
Decorator which does not affect functionality.
For documentation purposes it specifies that the function produces hwt expression.
"""
return fn
[docs]
def hwt_stm_producer(fn):
"""
Decorator which does not affect functionality.
For documentation purposes it specifies that the function produces hwt statement list.
"""
return fn