20 lines
832 B
C++
20 lines
832 B
C++
/*
|
|
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
Author: Leonardo de Moura
|
|
*/
|
|
#pragma once
|
|
#include "frontends/lean/parser.h"
|
|
namespace lean {
|
|
enum def_cmd_kind { Theorem, Definition, MetaDefinition, Example, Abbreviation, LocalAbbreviation };
|
|
|
|
environment mutual_definition_cmd_core(parser & p, def_cmd_kind k,
|
|
bool is_private, bool is_protected, bool is_noncomputable,
|
|
decl_attributes attributes);
|
|
|
|
environment xdefinition_cmd_core(parser & p, def_cmd_kind k, bool is_private, bool is_protected, bool is_noncomputable,
|
|
decl_attributes attributes);
|
|
|
|
environment ensure_decl_namespaces(environment const & env, name const & full_n);
|
|
}
|