2014-09-23 00:30:29 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#include "util/name.h"
|
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
void initialize_tokens();
|
|
|
|
void finalize_tokens();
|
|
|
|
name const & get_period_tk();
|
2014-10-01 17:19:35 +00:00
|
|
|
name const & get_placeholder_tk();
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_colon_tk();
|
2015-03-06 02:07:06 +00:00
|
|
|
name const & get_semicolon_tk();
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_dcolon_tk();
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_lparen_tk();
|
|
|
|
name const & get_rparen_tk();
|
|
|
|
name const & get_llevel_curly_tk();
|
|
|
|
name const & get_lcurly_tk();
|
|
|
|
name const & get_rcurly_tk();
|
|
|
|
name const & get_ldcurly_tk();
|
|
|
|
name const & get_rdcurly_tk();
|
2015-01-17 01:08:48 +00:00
|
|
|
name const & get_lcurlybar_tk();
|
|
|
|
name const & get_rcurlybar_tk();
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_lbracket_tk();
|
|
|
|
name const & get_rbracket_tk();
|
2015-02-05 18:15:58 +00:00
|
|
|
name const & get_langle_tk();
|
|
|
|
name const & get_rangle_tk();
|
|
|
|
name const & get_triangle_tk();
|
|
|
|
name const & get_caret_tk();
|
|
|
|
name const & get_up_tk();
|
2015-02-06 23:22:34 +00:00
|
|
|
name const & get_down_tk();
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_bar_tk();
|
|
|
|
name const & get_comma_tk();
|
|
|
|
name const & get_add_tk();
|
2015-02-03 01:02:14 +00:00
|
|
|
name const & get_sub_tk();
|
|
|
|
name const & get_question_tk();
|
2015-02-03 20:20:37 +00:00
|
|
|
name const & get_question_lp_tk();
|
2015-02-03 01:02:14 +00:00
|
|
|
name const & get_bang_tk();
|
|
|
|
name const & get_slash_tk();
|
|
|
|
name const & get_star_tk();
|
2015-02-05 03:19:19 +00:00
|
|
|
name const & get_plus_tk();
|
|
|
|
name const & get_greater_tk();
|
2015-02-03 01:02:14 +00:00
|
|
|
name const & get_turnstile_tk();
|
2015-03-05 20:06:51 +00:00
|
|
|
name const & get_explicit_tk();
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_max_tk();
|
|
|
|
name const & get_imax_tk();
|
|
|
|
name const & get_cup_tk();
|
|
|
|
name const & get_import_tk();
|
2014-12-01 01:03:08 +00:00
|
|
|
name const & get_prelude_tk();
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_show_tk();
|
|
|
|
name const & get_have_tk();
|
2015-02-25 22:30:42 +00:00
|
|
|
name const & get_assert_tk();
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_assume_tk();
|
|
|
|
name const & get_take_tk();
|
|
|
|
name const & get_fun_tk();
|
2015-03-06 23:48:48 +00:00
|
|
|
name const & get_match_tk();
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_ellipsis_tk();
|
2014-09-23 02:22:53 +00:00
|
|
|
name const & get_raw_tk();
|
|
|
|
name const & get_true_tk();
|
|
|
|
name const & get_false_tk();
|
|
|
|
name const & get_options_tk();
|
2015-03-06 21:03:30 +00:00
|
|
|
name const & get_commands_tk();
|
2014-10-06 01:50:48 +00:00
|
|
|
name const & get_instances_tk();
|
2014-10-08 00:28:26 +00:00
|
|
|
name const & get_classes_tk();
|
2014-10-06 01:50:48 +00:00
|
|
|
name const & get_coercions_tk();
|
2014-09-23 02:22:53 +00:00
|
|
|
name const & get_arrow_tk();
|
|
|
|
name const & get_declarations_tk();
|
|
|
|
name const & get_decls_tk();
|
|
|
|
name const & get_hiding_tk();
|
|
|
|
name const & get_exposing_tk();
|
|
|
|
name const & get_renaming_tk();
|
2015-03-15 03:32:39 +00:00
|
|
|
name const & get_replacing_tk();
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_extends_tk();
|
2014-09-23 02:22:53 +00:00
|
|
|
name const & get_as_tk();
|
|
|
|
name const & get_none_tk();
|
2014-11-08 04:39:50 +00:00
|
|
|
name const & get_whnf_tk();
|
2014-12-05 00:52:42 +00:00
|
|
|
name const & get_wf_tk();
|
2015-02-07 23:19:41 +00:00
|
|
|
name const & get_all_transparent_tk();
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_in_tk();
|
2015-02-03 01:02:14 +00:00
|
|
|
name const & get_at_tk();
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_assign_tk();
|
|
|
|
name const & get_visible_tk();
|
|
|
|
name const & get_from_tk();
|
|
|
|
name const & get_using_tk();
|
|
|
|
name const & get_then_tk();
|
2014-12-04 19:13:09 +00:00
|
|
|
name const & get_else_tk();
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_by_tk();
|
2015-03-06 02:07:06 +00:00
|
|
|
name const & get_rewrite_tk();
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_proof_tk();
|
2014-10-15 00:12:57 +00:00
|
|
|
name const & get_begin_tk();
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_qed_tk();
|
|
|
|
name const & get_end_tk();
|
2014-11-04 07:15:15 +00:00
|
|
|
name const & get_private_tk();
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_definition_tk();
|
|
|
|
name const & get_theorem_tk();
|
2015-02-11 01:31:40 +00:00
|
|
|
name const & get_abbreviation_tk();
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_axiom_tk();
|
2014-10-24 21:35:03 +00:00
|
|
|
name const & get_axioms_tk();
|
2015-04-20 00:45:58 +00:00
|
|
|
name const & get_constant_tk();
|
|
|
|
name const & get_constants_tk();
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_variable_tk();
|
2014-10-11 17:58:15 +00:00
|
|
|
name const & get_variables_tk();
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_opaque_tk();
|
|
|
|
name const & get_instance_tk();
|
2014-09-28 19:20:42 +00:00
|
|
|
name const & get_priority_tk();
|
2015-02-06 20:56:52 +00:00
|
|
|
name const & get_unfold_c_tk();
|
2015-04-05 09:47:37 +00:00
|
|
|
name const & get_unfold_f_tk();
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_coercion_tk();
|
|
|
|
name const & get_reducible_tk();
|
2015-03-03 18:48:36 +00:00
|
|
|
name const & get_semireducible_tk();
|
2015-03-05 06:12:49 +00:00
|
|
|
name const & get_quasireducible_tk();
|
2015-01-25 04:23:21 +00:00
|
|
|
name const & get_irreducible_tk();
|
|
|
|
name const & get_multiple_instances_tk();
|
|
|
|
name const & get_attribute_tk();
|
2014-11-07 05:34:05 +00:00
|
|
|
name const & get_parsing_only_tk();
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_class_tk();
|
|
|
|
name const & get_with_tk();
|
|
|
|
name const & get_prev_tk();
|
|
|
|
name const & get_scoped_tk();
|
|
|
|
name const & get_foldr_tk();
|
|
|
|
name const & get_foldl_tk();
|
|
|
|
name const & get_binder_tk();
|
|
|
|
name const & get_binders_tk();
|
|
|
|
name const & get_infix_tk();
|
|
|
|
name const & get_infixl_tk();
|
|
|
|
name const & get_infixr_tk();
|
|
|
|
name const & get_postfix_tk();
|
|
|
|
name const & get_prefix_tk();
|
|
|
|
name const & get_notation_tk();
|
|
|
|
name const & get_call_tk();
|
|
|
|
name const & get_persistent_tk();
|
|
|
|
name const & get_root_tk();
|
2014-11-05 22:06:54 +00:00
|
|
|
name const & get_fields_tk();
|
2015-01-22 00:19:46 +00:00
|
|
|
name const & get_trust_tk();
|
2015-02-11 18:12:45 +00:00
|
|
|
name const & get_metaclasses_tk();
|
2015-04-29 22:22:10 +00:00
|
|
|
name const & get_inductive_tk();
|
2014-09-23 00:30:29 +00:00
|
|
|
}
|