pattern_to_ast method

Z3_ast pattern_to_ast(
  1. Z3_context c,
  2. Z3_pattern p
)

\brief Convert a Z3_pattern into Z3_ast. This is just type casting.

def_API('Z3_pattern_to_ast', AST, (_in(CONTEXT), _in(PATTERN)))

Implementation

Z3_ast pattern_to_ast(
  Z3_context c,
  Z3_pattern p,
) {
  return _pattern_to_ast(
    c,
    p,
  );
}