fix(frontends/lean): add missing file
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
bdab979e09
commit
0cc8117fb4
1 changed files with 20 additions and 0 deletions
20
src/frontends/lean/parameter.h
Normal file
20
src/frontends/lean/parameter.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
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 "kernel/expr.h"
|
||||
#include "frontends/lean/parser_pos_provider.h"
|
||||
|
||||
namespace lean {
|
||||
struct parameter {
|
||||
pos_info m_pos;
|
||||
expr m_local;
|
||||
binder_info m_bi;
|
||||
parameter(pos_info const & p, expr const & l, binder_info const & bi):
|
||||
m_pos(p), m_local(l), m_bi(bi) {}
|
||||
parameter():m_pos(0, 0) {}
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue