File: map_named_args.h

package info (click to toggle)
iverilog 13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,160 kB
  • sloc: cpp: 114,001; ansic: 65,058; yacc: 10,610; sh: 4,286; vhdl: 3,246; makefile: 1,884; perl: 1,813; python: 579; csh: 2
file content (22 lines) | stat: -rw-r--r-- 579 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-FileCopyrightText: 2023-2025 Lars-Peter Clausen <lars@metafoo.de>
// SPDX-License-Identifier: GPL-2.0-or-later

#ifndef MAP_NAMED_ARGS_H
#define MAP_NAMED_ARGS_H

#include <vector>
#include "pform_types.h"

class PExpr;
class Design;
class NetBaseDef;

std::vector<PExpr*> map_named_args(Design *des,
			           const std::vector<perm_string> &names,
			           const std::vector<named_pexpr_t> &parms);

std::vector<PExpr*> map_named_args(Design *des, const NetBaseDef *def,
			           const std::vector<named_pexpr_t> &parms,
				   unsigned int off);

#endif