hwt/serializer/utils.py
def maxStmId(proc):
    """
    get max statement id,
    used for sorting of processes in architecture
    """
    maxId = 0
    for stm in proc.statements:
        maxId = max(maxId, getMaxStmIdForStm(stm))
    return maxId
def maxStmId(proc):
    """
    get max statement id,
    used for sorting of processes in architecture
    """
    maxId = 0
    for stm in proc.statements:
        maxId = max(maxId, getMaxStmIdForStm(stm))
    return maxId
def maxStmId ( proc ) : maxId = 0 for stm in proc . statements : maxId = max ( maxId , getMaxStmIdForStm ( stm ) ) return maxId
get max statement id,
    used for sorting of processes in architecture
get max statement id used for sorting of processes in architecture