refactor(kernel): move annotation to library

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-08-22 10:38:10 -07:00
parent b746492ac8
commit d4ac482d76
11 changed files with 10 additions and 10 deletions

View file

@ -6,7 +6,7 @@ Author: Leonardo de Moura
*/ */
#include "util/sstream.h" #include "util/sstream.h"
#include "kernel/abstract.h" #include "kernel/abstract.h"
#include "kernel/annotation.h" #include "library/annotation.h"
#include "library/placeholder.h" #include "library/placeholder.h"
#include "library/explicit.h" #include "library/explicit.h"
#include "library/tactic/tactic.h" #include "library/tactic/tactic.h"

View file

@ -5,7 +5,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura Author: Leonardo de Moura
*/ */
#pragma once #pragma once
#include "kernel/annotation.h" #include "library/annotation.h"
namespace lean { namespace lean {
/** \brief Annotate \c e with no-information generation. /** \brief Annotate \c e with no-information generation.

View file

@ -7,7 +7,7 @@ Author: Leonardo de Moura
#include "util/flet.h" #include "util/flet.h"
#include "kernel/replace_fn.h" #include "kernel/replace_fn.h"
#include "kernel/free_vars.h" #include "kernel/free_vars.h"
#include "kernel/annotation.h" #include "library/annotation.h"
#include "library/aliases.h" #include "library/aliases.h"
#include "library/scoped_ext.h" #include "library/scoped_ext.h"
#include "library/coercion.h" #include "library/coercion.h"

View file

@ -3,6 +3,6 @@ replace_fn.cpp free_vars.cpp abstract.cpp instantiate.cpp
formatter.cpp declaration.cpp replace_visitor.cpp environment.cpp formatter.cpp declaration.cpp replace_visitor.cpp environment.cpp
justification.cpp pos_info_provider.cpp metavar.cpp converter.cpp justification.cpp pos_info_provider.cpp metavar.cpp converter.cpp
constraint.cpp type_checker.cpp error_msgs.cpp kernel_exception.cpp constraint.cpp type_checker.cpp error_msgs.cpp kernel_exception.cpp
annotation.cpp normalizer_extension.cpp) normalizer_extension.cpp)
target_link_libraries(kernel ${LEAN_LIBS}) target_link_libraries(kernel ${LEAN_LIBS})

View file

@ -8,6 +8,6 @@ add_library(library deep_copy.cpp expr_lt.cpp io_state.cpp occurs.cpp
unifier.cpp unifier_plugin.cpp inductive_unifier_plugin.cpp unifier.cpp unifier_plugin.cpp inductive_unifier_plugin.cpp
explicit.cpp num.cpp string.cpp opaque_hints.cpp head_map.cpp explicit.cpp num.cpp string.cpp opaque_hints.cpp head_map.cpp
match.cpp definition_cache.cpp declaration_index.cpp match.cpp definition_cache.cpp declaration_index.cpp
print.cpp) print.cpp annotation.cpp)
target_link_libraries(library ${LEAN_LIBS}) target_link_libraries(library ${LEAN_LIBS})

View file

@ -8,7 +8,7 @@ Author: Leonardo de Moura
#include <memory> #include <memory>
#include <string> #include <string>
#include "util/sstream.h" #include "util/sstream.h"
#include "kernel/annotation.h" #include "library/annotation.h"
namespace lean { namespace lean {
name const & get_annotation_name() { name const & get_annotation_name() {

View file

@ -5,7 +5,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura Author: Leonardo de Moura
*/ */
#include "util/sstream.h" #include "util/sstream.h"
#include "kernel/annotation.h" #include "library/annotation.h"
#include "library/explicit.h" #include "library/explicit.h"
#include "library/kernel_bindings.h" #include "library/kernel_bindings.h"

View file

@ -8,7 +8,7 @@ Author: Leonardo de Moura
#include "util/object_serializer.h" #include "util/object_serializer.h"
#include "kernel/expr.h" #include "kernel/expr.h"
#include "kernel/declaration.h" #include "kernel/declaration.h"
#include "kernel/annotation.h" #include "library/annotation.h"
#include "library/max_sharing.h" #include "library/max_sharing.h"
#include "library/kernel_serializer.h" #include "library/kernel_serializer.h"

View file

@ -10,7 +10,7 @@ Author: Leonardo de Moura
#include "kernel/find_fn.h" #include "kernel/find_fn.h"
#include "kernel/instantiate.h" #include "kernel/instantiate.h"
#include "kernel/free_vars.h" #include "kernel/free_vars.h"
#include "kernel/annotation.h" #include "library/annotation.h"
#include "library/print.h" #include "library/print.h"
namespace lean { namespace lean {

View file

@ -9,7 +9,7 @@ Author: Leonardo de Moura
#include "util/sstream.h" #include "util/sstream.h"
#include "kernel/instantiate.h" #include "kernel/instantiate.h"
#include "kernel/type_checker.h" #include "kernel/type_checker.h"
#include "kernel/annotation.h" #include "library/annotation.h"
#include "library/string.h" #include "library/string.h"
#include "library/num.h" #include "library/num.h"
#include "library/tactic/expr_to_tactic.h" #include "library/tactic/expr_to_tactic.h"