26 lines
645 B
C
26 lines
645 B
C
|
/*
|
||
|
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
||
|
Released under Apache 2.0 license as described in the file LICENSE.
|
||
|
|
||
|
Author: Leonardo de Moura
|
||
|
*/
|
||
|
#pragma once
|
||
|
#include "util/lua.h"
|
||
|
#include "kernel/expr.h"
|
||
|
|
||
|
namespace lean {
|
||
|
/**
|
||
|
\brief Create an explicit expression '@ f'.
|
||
|
This only affects the elaborator behavior.
|
||
|
*/
|
||
|
expr mk_explicit(expr const & e);
|
||
|
/** \brief Return true iff \c e is an explicit expression. */
|
||
|
bool is_explicit(expr const & e);
|
||
|
/**
|
||
|
\brief Return the argument of an explicit expression.
|
||
|
\pre is_explicit(e)
|
||
|
*/
|
||
|
expr const & get_explicit_arg(expr const & e);
|
||
|
void open_explicit(lua_State * L);
|
||
|
}
|