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 {
|
|
|
|
static name * g_period = nullptr;
|
2014-10-01 17:19:35 +00:00
|
|
|
static name * g_placeholder = nullptr;
|
2014-09-23 00:30:29 +00:00
|
|
|
static name * g_colon = nullptr;
|
2015-03-06 02:07:06 +00:00
|
|
|
static name * g_semicolon = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_dcolon = nullptr;
|
2014-09-23 00:30:29 +00:00
|
|
|
static name * g_lparen = nullptr;
|
|
|
|
static name * g_rparen = nullptr;
|
|
|
|
static name * g_llevel_curly = nullptr;
|
|
|
|
static name * g_lcurly = nullptr;
|
|
|
|
static name * g_rcurly = nullptr;
|
|
|
|
static name * g_ldcurly = nullptr;
|
|
|
|
static name * g_rdcurly = nullptr;
|
2015-01-17 01:08:48 +00:00
|
|
|
static name * g_lcurlybar = nullptr;
|
|
|
|
static name * g_rcurlybar = nullptr;
|
2014-09-23 00:30:29 +00:00
|
|
|
static name * g_lbracket = nullptr;
|
|
|
|
static name * g_rbracket = nullptr;
|
2015-02-05 18:15:58 +00:00
|
|
|
static name * g_langle = nullptr;
|
|
|
|
static name * g_rangle = nullptr;
|
|
|
|
static name * g_triangle = nullptr;
|
|
|
|
static name * g_caret = nullptr;
|
|
|
|
static name * g_up = nullptr;
|
2015-02-06 23:22:34 +00:00
|
|
|
static name * g_down = nullptr;
|
2014-09-23 00:30:29 +00:00
|
|
|
static name * g_bar = nullptr;
|
|
|
|
static name * g_comma = nullptr;
|
|
|
|
static name * g_add = nullptr;
|
2015-02-03 01:02:14 +00:00
|
|
|
static name * g_sub = nullptr;
|
2015-02-05 03:19:19 +00:00
|
|
|
static name * g_greater = nullptr;
|
2015-02-03 01:02:14 +00:00
|
|
|
static name * g_question = nullptr;
|
2015-02-03 20:20:37 +00:00
|
|
|
static name * g_question_lp = nullptr;
|
2015-02-03 01:02:14 +00:00
|
|
|
static name * g_bang = nullptr;
|
|
|
|
static name * g_slash = nullptr;
|
|
|
|
static name * g_star = nullptr;
|
2015-02-05 03:19:19 +00:00
|
|
|
static name * g_plus = nullptr;
|
2015-02-03 01:02:14 +00:00
|
|
|
static name * g_turnstile = nullptr;
|
2015-03-05 20:06:51 +00:00
|
|
|
static name * g_explicit = nullptr;
|
2014-09-23 00:30:29 +00:00
|
|
|
static name * g_max = nullptr;
|
|
|
|
static name * g_imax = nullptr;
|
|
|
|
static name * g_cup = nullptr;
|
|
|
|
static name * g_import = nullptr;
|
2014-12-01 01:03:08 +00:00
|
|
|
static name * g_prelude = nullptr;
|
2014-09-23 00:30:29 +00:00
|
|
|
static name * g_show = nullptr;
|
|
|
|
static name * g_have = nullptr;
|
2015-02-25 22:30:42 +00:00
|
|
|
static name * g_assert = nullptr;
|
2014-09-23 00:30:29 +00:00
|
|
|
static name * g_assume = nullptr;
|
|
|
|
static name * g_take = nullptr;
|
|
|
|
static name * g_fun = nullptr;
|
2015-03-06 23:48:48 +00:00
|
|
|
static name * g_match = nullptr;
|
2014-09-23 00:30:29 +00:00
|
|
|
static name * g_ellipsis = nullptr;
|
2014-09-23 02:22:53 +00:00
|
|
|
static name * g_raw = nullptr;
|
|
|
|
static name * g_true = nullptr;
|
|
|
|
static name * g_false = nullptr;
|
|
|
|
static name * g_options = nullptr;
|
2015-03-06 21:03:30 +00:00
|
|
|
static name * g_commands = nullptr;
|
2014-10-06 01:50:48 +00:00
|
|
|
static name * g_instances = nullptr;
|
2014-10-08 00:28:26 +00:00
|
|
|
static name * g_classes = nullptr;
|
2014-10-06 01:50:48 +00:00
|
|
|
static name * g_coercions = nullptr;
|
2014-09-23 02:22:53 +00:00
|
|
|
static name * g_arrow = nullptr;
|
|
|
|
static name * g_declarations = nullptr;
|
|
|
|
static name * g_decls = nullptr;
|
|
|
|
static name * g_hiding = nullptr;
|
|
|
|
static name * g_exposing = nullptr;
|
|
|
|
static name * g_renaming = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_extends = nullptr;
|
2014-09-23 02:22:53 +00:00
|
|
|
static name * g_as = nullptr;
|
|
|
|
static name * g_none = nullptr;
|
2014-11-08 04:39:50 +00:00
|
|
|
static name * g_whnf = nullptr;
|
2014-12-05 00:52:42 +00:00
|
|
|
static name * g_wf = nullptr;
|
2015-02-07 23:19:41 +00:00
|
|
|
static name * g_all_transparent = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_in = nullptr;
|
2015-02-03 01:02:14 +00:00
|
|
|
static name * g_at = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_assign = nullptr;
|
|
|
|
static name * g_visible = nullptr;
|
|
|
|
static name * g_from = nullptr;
|
|
|
|
static name * g_using = nullptr;
|
|
|
|
static name * g_then = nullptr;
|
2014-12-04 19:13:09 +00:00
|
|
|
static name * g_else = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_by = nullptr;
|
2015-03-06 02:07:06 +00:00
|
|
|
static name * g_rewrite = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_proof = nullptr;
|
|
|
|
static name * g_qed = nullptr;
|
2014-10-15 00:12:57 +00:00
|
|
|
static name * g_begin = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_end = nullptr;
|
2014-11-04 07:15:15 +00:00
|
|
|
static name * g_private = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_definition = nullptr;
|
|
|
|
static name * g_theorem = nullptr;
|
2015-02-11 01:31:40 +00:00
|
|
|
static name * g_abbreviation = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_axiom = nullptr;
|
2014-10-24 21:35:03 +00:00
|
|
|
static name * g_axioms = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_variable = nullptr;
|
2014-10-11 17:58:15 +00:00
|
|
|
static name * g_variables = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_opaque = nullptr;
|
|
|
|
static name * g_instance = nullptr;
|
2014-09-28 19:20:42 +00:00
|
|
|
static name * g_priority = nullptr;
|
2015-02-06 20:56:52 +00:00
|
|
|
static name * g_unfold_c = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_coercion = nullptr;
|
|
|
|
static name * g_reducible = nullptr;
|
2015-03-05 06:12:49 +00:00
|
|
|
static name * g_quasireducible = nullptr;
|
2015-03-03 18:48:36 +00:00
|
|
|
static name * g_semireducible = nullptr;
|
2015-01-25 04:23:21 +00:00
|
|
|
static name * g_irreducible = nullptr;
|
2014-11-07 05:34:05 +00:00
|
|
|
static name * g_parsing_only = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_with = nullptr;
|
|
|
|
static name * g_class = nullptr;
|
2015-01-25 04:23:21 +00:00
|
|
|
static name * g_multiple_instances = nullptr;
|
|
|
|
static name * g_attribute = nullptr;
|
2014-09-23 17:00:36 +00:00
|
|
|
static name * g_prev = nullptr;
|
|
|
|
static name * g_scoped = nullptr;
|
|
|
|
static name * g_foldr = nullptr;
|
|
|
|
static name * g_foldl = nullptr;
|
|
|
|
static name * g_binder = nullptr;
|
|
|
|
static name * g_binders = nullptr;
|
|
|
|
static name * g_infix = nullptr;
|
|
|
|
static name * g_infixl = nullptr;
|
|
|
|
static name * g_infixr = nullptr;
|
|
|
|
static name * g_postfix = nullptr;
|
|
|
|
static name * g_prefix = nullptr;
|
|
|
|
static name * g_notation = nullptr;
|
|
|
|
static name * g_call = nullptr;
|
|
|
|
static name * g_persistent = nullptr;
|
|
|
|
static name * g_root = nullptr;
|
2014-11-05 22:06:54 +00:00
|
|
|
static name * g_fields = nullptr;
|
2015-01-22 00:19:46 +00:00
|
|
|
static name * g_trust = nullptr;
|
2015-02-11 18:12:45 +00:00
|
|
|
static name * g_metaclasses = nullptr;
|
2014-09-23 00:30:29 +00:00
|
|
|
|
|
|
|
void initialize_tokens() {
|
|
|
|
g_period = new name(".");
|
2014-10-01 17:19:35 +00:00
|
|
|
g_placeholder = new name("_");
|
2014-09-23 00:30:29 +00:00
|
|
|
g_colon = new name(":");
|
2015-03-06 02:07:06 +00:00
|
|
|
g_semicolon = new name(";");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_dcolon = new name("::");
|
2014-09-23 00:30:29 +00:00
|
|
|
g_lparen = new name("(");
|
|
|
|
g_rparen = new name(")");
|
|
|
|
g_llevel_curly = new name(".{");
|
|
|
|
g_lcurly = new name("{");
|
|
|
|
g_rcurly = new name("}");
|
|
|
|
g_ldcurly = new name("⦃");
|
|
|
|
g_rdcurly = new name("⦄");
|
2015-01-17 01:08:48 +00:00
|
|
|
g_lcurlybar = new name("{|");
|
|
|
|
g_rcurlybar = new name("|}");
|
2014-09-23 00:30:29 +00:00
|
|
|
g_lbracket = new name("[");
|
|
|
|
g_rbracket = new name("]");
|
2015-02-05 18:15:58 +00:00
|
|
|
g_langle = new name("⟨");
|
|
|
|
g_rangle = new name("⟩");
|
|
|
|
g_triangle = new name("▸");
|
|
|
|
g_caret = new name("^");
|
|
|
|
g_up = new name("↑");
|
2015-02-06 23:22:34 +00:00
|
|
|
g_down = new name("<d");
|
2014-09-23 00:30:29 +00:00
|
|
|
g_bar = new name("|");
|
|
|
|
g_comma = new name(",");
|
|
|
|
g_add = new name("+");
|
2015-02-03 01:02:14 +00:00
|
|
|
g_sub = new name("-");
|
2015-02-05 03:19:19 +00:00
|
|
|
g_greater = new name(">");
|
2015-02-03 01:02:14 +00:00
|
|
|
g_question = new name("?");
|
2015-02-03 20:20:37 +00:00
|
|
|
g_question_lp = new name("?(");
|
2015-02-03 01:02:14 +00:00
|
|
|
g_bang = new name("!");
|
|
|
|
g_slash = new name("/");
|
2015-02-05 03:19:19 +00:00
|
|
|
g_plus = new name("+");
|
2015-02-03 01:02:14 +00:00
|
|
|
g_star = new name("*");
|
|
|
|
g_turnstile = new name("⊢");
|
2015-03-05 20:06:51 +00:00
|
|
|
g_explicit = new name("@");
|
2014-09-23 00:30:29 +00:00
|
|
|
g_max = new name("max");
|
|
|
|
g_imax = new name("imax");
|
|
|
|
g_cup = new name("\u2294");
|
|
|
|
g_import = new name("import");
|
2014-12-01 01:03:08 +00:00
|
|
|
g_prelude = new name("prelude");
|
2014-09-23 00:30:29 +00:00
|
|
|
g_show = new name("show");
|
|
|
|
g_have = new name("have");
|
2015-02-25 22:30:42 +00:00
|
|
|
g_assert = new name("assert");
|
2014-09-23 00:30:29 +00:00
|
|
|
g_assume = new name("assume");
|
|
|
|
g_take = new name("take");
|
|
|
|
g_fun = new name("fun");
|
2015-03-06 23:48:48 +00:00
|
|
|
g_match = new name("match");
|
2014-09-23 00:30:29 +00:00
|
|
|
g_ellipsis = new name("...");
|
2014-09-23 02:22:53 +00:00
|
|
|
g_raw = new name("raw");
|
|
|
|
g_true = new name("true");
|
|
|
|
g_false = new name("false");
|
|
|
|
g_options = new name("options");
|
2015-03-06 21:03:30 +00:00
|
|
|
g_commands = new name("commands");
|
2014-10-06 01:50:48 +00:00
|
|
|
g_instances = new name("instances");
|
2014-10-08 00:28:26 +00:00
|
|
|
g_classes = new name("classes");
|
2014-10-06 01:50:48 +00:00
|
|
|
g_coercions = new name("coercions");
|
2014-09-23 02:22:53 +00:00
|
|
|
g_arrow = new name("->");
|
|
|
|
g_declarations = new name("declarations");
|
|
|
|
g_decls = new name("decls");
|
|
|
|
g_hiding = new name("hiding");
|
|
|
|
g_exposing = new name("exposing");
|
|
|
|
g_renaming = new name("renaming");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_extends = new name("extends");
|
2014-09-23 02:22:53 +00:00
|
|
|
g_as = new name("as");
|
|
|
|
g_none = new name("[none]");
|
2014-11-08 04:39:50 +00:00
|
|
|
g_whnf = new name("[whnf]");
|
2014-12-05 00:52:42 +00:00
|
|
|
g_wf = new name("[wf]");
|
2015-02-07 23:19:41 +00:00
|
|
|
g_all_transparent = new name("[all-transparent]");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_in = new name("in");
|
2015-02-03 01:02:14 +00:00
|
|
|
g_at = new name("at");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_assign = new name(":=");
|
|
|
|
g_visible = new name("[visible]");
|
|
|
|
g_from = new name("from");
|
|
|
|
g_using = new name("using");
|
|
|
|
g_then = new name("then");
|
2014-12-04 19:13:09 +00:00
|
|
|
g_else = new name("else");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_by = new name("by");
|
2015-03-06 02:07:06 +00:00
|
|
|
g_rewrite = new name("rewrite");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_proof = new name("proof");
|
|
|
|
g_qed = new name("qed");
|
2014-10-15 00:12:57 +00:00
|
|
|
g_begin = new name("begin");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_end = new name("end");
|
2014-11-04 07:15:15 +00:00
|
|
|
g_private = new name("private");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_definition = new name("definition");
|
|
|
|
g_theorem = new name("theorem");
|
2015-02-11 01:31:40 +00:00
|
|
|
g_abbreviation = new name("abbreviation");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_opaque = new name("opaque");
|
|
|
|
g_axiom = new name("axiom");
|
2014-10-24 21:35:03 +00:00
|
|
|
g_axioms = new name("axioms");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_variable = new name("variable");
|
2014-10-11 17:58:15 +00:00
|
|
|
g_variables = new name("variables");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_instance = new name("[instance]");
|
2014-09-28 19:20:42 +00:00
|
|
|
g_priority = new name("[priority");
|
2015-02-06 20:56:52 +00:00
|
|
|
g_unfold_c = new name("[unfold-c");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_coercion = new name("[coercion]");
|
|
|
|
g_reducible = new name("[reducible]");
|
2015-03-05 06:12:49 +00:00
|
|
|
g_quasireducible = new name("[quasireducible]");
|
2015-03-03 18:48:36 +00:00
|
|
|
g_semireducible = new name("[semireducible]");
|
2015-01-25 04:23:21 +00:00
|
|
|
g_irreducible = new name("[irreducible]");
|
2014-11-07 05:34:05 +00:00
|
|
|
g_parsing_only = new name("[parsing-only]");
|
2015-01-25 04:23:21 +00:00
|
|
|
g_attribute = new name("attribute");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_with = new name("with");
|
|
|
|
g_class = new name("[class]");
|
2015-01-25 04:23:21 +00:00
|
|
|
g_multiple_instances = new name("[multiple-instances]");
|
2014-09-23 17:00:36 +00:00
|
|
|
g_prev = new name("prev");
|
|
|
|
g_scoped = new name("scoped");
|
|
|
|
g_foldr = new name("foldr");
|
|
|
|
g_foldl = new name("foldl");
|
|
|
|
g_binder = new name("binder");
|
|
|
|
g_binders = new name("binders");
|
|
|
|
g_infix = new name("infix");
|
|
|
|
g_infixl = new name("infixl");
|
|
|
|
g_infixr = new name("infixr");
|
|
|
|
g_postfix = new name("postfix");
|
|
|
|
g_prefix = new name("prefix");
|
|
|
|
g_notation = new name("notation");
|
|
|
|
g_call = new name("call");
|
|
|
|
g_persistent = new name("[persistent]");
|
|
|
|
g_root = new name("_root_");
|
2014-11-05 22:06:54 +00:00
|
|
|
g_fields = new name("fields");
|
2015-01-22 00:19:46 +00:00
|
|
|
g_trust = new name("trust");
|
2015-02-11 18:12:45 +00:00
|
|
|
g_metaclasses = new name("metaclasses");
|
2014-09-23 00:30:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void finalize_tokens() {
|
2015-02-11 18:12:45 +00:00
|
|
|
delete g_metaclasses;
|
2014-09-23 17:00:36 +00:00
|
|
|
delete g_persistent;
|
|
|
|
delete g_root;
|
2014-11-05 22:06:54 +00:00
|
|
|
delete g_fields;
|
2015-01-22 00:19:46 +00:00
|
|
|
delete g_trust;
|
2014-09-23 17:00:36 +00:00
|
|
|
delete g_prev;
|
|
|
|
delete g_scoped;
|
|
|
|
delete g_foldr;
|
|
|
|
delete g_foldl;
|
|
|
|
delete g_binder;
|
|
|
|
delete g_binders;
|
|
|
|
delete g_infix;
|
|
|
|
delete g_infixl;
|
|
|
|
delete g_infixr;
|
|
|
|
delete g_postfix;
|
|
|
|
delete g_prefix;
|
|
|
|
delete g_notation;
|
|
|
|
delete g_call;
|
|
|
|
delete g_with;
|
|
|
|
delete g_class;
|
2014-11-04 07:15:15 +00:00
|
|
|
delete g_private;
|
2014-09-23 17:00:36 +00:00
|
|
|
delete g_definition;
|
|
|
|
delete g_theorem;
|
2015-02-11 01:31:40 +00:00
|
|
|
delete g_abbreviation;
|
2014-09-23 17:00:36 +00:00
|
|
|
delete g_opaque;
|
|
|
|
delete g_axiom;
|
2014-10-24 21:35:03 +00:00
|
|
|
delete g_axioms;
|
2014-10-11 17:58:15 +00:00
|
|
|
delete g_variables;
|
2014-09-23 17:00:36 +00:00
|
|
|
delete g_variable;
|
|
|
|
delete g_instance;
|
2014-09-28 19:20:42 +00:00
|
|
|
delete g_priority;
|
2015-02-06 20:56:52 +00:00
|
|
|
delete g_unfold_c;
|
2014-09-23 17:00:36 +00:00
|
|
|
delete g_coercion;
|
|
|
|
delete g_reducible;
|
2015-03-05 06:12:49 +00:00
|
|
|
delete g_quasireducible;
|
2015-03-03 18:48:36 +00:00
|
|
|
delete g_semireducible;
|
2015-01-25 04:23:21 +00:00
|
|
|
delete g_irreducible;
|
|
|
|
delete g_multiple_instances;
|
|
|
|
delete g_attribute;
|
2014-11-07 05:34:05 +00:00
|
|
|
delete g_parsing_only;
|
2014-09-23 17:00:36 +00:00
|
|
|
delete g_in;
|
2015-02-03 01:02:14 +00:00
|
|
|
delete g_at;
|
2014-09-23 17:00:36 +00:00
|
|
|
delete g_assign;
|
|
|
|
delete g_visible;
|
|
|
|
delete g_from;
|
|
|
|
delete g_using;
|
|
|
|
delete g_then;
|
2014-12-04 19:13:09 +00:00
|
|
|
delete g_else;
|
2014-09-23 17:00:36 +00:00
|
|
|
delete g_by;
|
2015-03-06 02:07:06 +00:00
|
|
|
delete g_rewrite;
|
2014-09-23 17:00:36 +00:00
|
|
|
delete g_proof;
|
|
|
|
delete g_qed;
|
2014-10-15 00:12:57 +00:00
|
|
|
delete g_begin;
|
2014-09-23 17:00:36 +00:00
|
|
|
delete g_end;
|
2014-09-23 02:22:53 +00:00
|
|
|
delete g_raw;
|
|
|
|
delete g_true;
|
|
|
|
delete g_false;
|
|
|
|
delete g_options;
|
2015-03-06 21:03:30 +00:00
|
|
|
delete g_commands;
|
2014-10-06 01:50:48 +00:00
|
|
|
delete g_instances;
|
2014-10-08 00:28:26 +00:00
|
|
|
delete g_classes;
|
2014-10-06 01:50:48 +00:00
|
|
|
delete g_coercions;
|
2014-09-23 02:22:53 +00:00
|
|
|
delete g_arrow;
|
|
|
|
delete g_declarations;
|
|
|
|
delete g_decls;
|
|
|
|
delete g_hiding;
|
|
|
|
delete g_exposing;
|
|
|
|
delete g_renaming;
|
2014-09-23 17:00:36 +00:00
|
|
|
delete g_extends;
|
2014-09-23 02:22:53 +00:00
|
|
|
delete g_as;
|
|
|
|
delete g_none;
|
2014-11-08 04:39:50 +00:00
|
|
|
delete g_whnf;
|
2014-12-05 00:52:42 +00:00
|
|
|
delete g_wf;
|
2015-02-07 23:19:41 +00:00
|
|
|
delete g_all_transparent;
|
2014-09-23 00:30:29 +00:00
|
|
|
delete g_ellipsis;
|
2015-03-06 23:48:48 +00:00
|
|
|
delete g_match;
|
2014-09-23 00:30:29 +00:00
|
|
|
delete g_fun;
|
|
|
|
delete g_take;
|
|
|
|
delete g_assume;
|
|
|
|
delete g_have;
|
2015-02-25 22:30:42 +00:00
|
|
|
delete g_assert;
|
2014-09-23 00:30:29 +00:00
|
|
|
delete g_show;
|
|
|
|
delete g_import;
|
2014-12-01 01:03:08 +00:00
|
|
|
delete g_prelude;
|
2014-09-23 00:30:29 +00:00
|
|
|
delete g_cup;
|
|
|
|
delete g_imax;
|
|
|
|
delete g_max;
|
|
|
|
delete g_add;
|
2015-02-03 01:02:14 +00:00
|
|
|
delete g_sub;
|
2015-02-05 03:19:19 +00:00
|
|
|
delete g_greater;
|
2015-02-03 01:02:14 +00:00
|
|
|
delete g_question;
|
2015-02-03 20:20:37 +00:00
|
|
|
delete g_question_lp;
|
2015-02-03 01:02:14 +00:00
|
|
|
delete g_bang;
|
|
|
|
delete g_slash;
|
2015-02-05 03:19:19 +00:00
|
|
|
delete g_plus;
|
2015-02-03 01:02:14 +00:00
|
|
|
delete g_star;
|
|
|
|
delete g_turnstile;
|
2015-03-05 20:06:51 +00:00
|
|
|
delete g_explicit;
|
2014-09-23 00:30:29 +00:00
|
|
|
delete g_comma;
|
|
|
|
delete g_bar;
|
2015-02-05 18:15:58 +00:00
|
|
|
delete g_langle;
|
|
|
|
delete g_rangle;
|
|
|
|
delete g_triangle;
|
|
|
|
delete g_caret;
|
|
|
|
delete g_up;
|
2015-02-06 23:22:34 +00:00
|
|
|
delete g_down;
|
2014-09-23 00:30:29 +00:00
|
|
|
delete g_rbracket;
|
|
|
|
delete g_lbracket;
|
|
|
|
delete g_rdcurly;
|
|
|
|
delete g_ldcurly;
|
2015-01-17 01:08:48 +00:00
|
|
|
delete g_rcurlybar;
|
|
|
|
delete g_lcurlybar;
|
2014-09-23 00:30:29 +00:00
|
|
|
delete g_lcurly;
|
|
|
|
delete g_rcurly;
|
|
|
|
delete g_llevel_curly;
|
|
|
|
delete g_rparen;
|
|
|
|
delete g_lparen;
|
|
|
|
delete g_colon;
|
2015-03-06 02:07:06 +00:00
|
|
|
delete g_semicolon;
|
2014-09-23 17:00:36 +00:00
|
|
|
delete g_dcolon;
|
2014-10-01 17:19:35 +00:00
|
|
|
delete g_placeholder;
|
2014-09-23 00:30:29 +00:00
|
|
|
delete g_period;
|
|
|
|
}
|
|
|
|
|
2015-02-11 18:12:45 +00:00
|
|
|
name const & get_metaclasses_tk() { return *g_metaclasses; }
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_period_tk() { return *g_period; }
|
2014-10-01 17:19:35 +00:00
|
|
|
name const & get_placeholder_tk() { return *g_placeholder; }
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_colon_tk() { return *g_colon; }
|
2015-03-06 02:07:06 +00:00
|
|
|
name const & get_semicolon_tk() { return *g_semicolon; }
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_dcolon_tk() { return *g_dcolon; }
|
2015-02-05 18:15:58 +00:00
|
|
|
name const & get_langle_tk() { return *g_langle; }
|
|
|
|
name const & get_rangle_tk() { return *g_rangle; }
|
|
|
|
name const & get_triangle_tk() { return *g_triangle; }
|
|
|
|
name const & get_caret_tk() { return *g_caret; }
|
|
|
|
name const & get_up_tk() { return *g_up; }
|
2015-02-06 23:22:34 +00:00
|
|
|
name const & get_down_tk() { return *g_down; }
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_lparen_tk() { return *g_lparen; }
|
|
|
|
name const & get_rparen_tk() { return *g_rparen; }
|
|
|
|
name const & get_llevel_curly_tk() { return *g_llevel_curly; }
|
|
|
|
name const & get_lcurly_tk() { return *g_lcurly; }
|
|
|
|
name const & get_rcurly_tk() { return *g_rcurly; }
|
|
|
|
name const & get_ldcurly_tk() { return *g_ldcurly; }
|
|
|
|
name const & get_rdcurly_tk() { return *g_rdcurly; }
|
2015-01-17 01:08:48 +00:00
|
|
|
name const & get_lcurlybar_tk() { return *g_lcurlybar; }
|
|
|
|
name const & get_rcurlybar_tk() { return *g_rcurlybar; }
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_lbracket_tk() { return *g_lbracket; }
|
|
|
|
name const & get_rbracket_tk() { return *g_rbracket; }
|
|
|
|
name const & get_bar_tk() { return *g_bar; }
|
|
|
|
name const & get_comma_tk() { return *g_comma; }
|
|
|
|
name const & get_add_tk() { return *g_add; }
|
2015-02-03 01:02:14 +00:00
|
|
|
name const & get_sub_tk() { return *g_sub; }
|
2015-02-05 03:19:19 +00:00
|
|
|
name const & get_greater_tk() { return *g_greater; }
|
2015-02-03 01:02:14 +00:00
|
|
|
name const & get_question_tk() { return *g_question; }
|
2015-02-03 20:20:37 +00:00
|
|
|
name const & get_question_lp_tk() { return *g_question_lp; }
|
2015-02-03 01:02:14 +00:00
|
|
|
name const & get_bang_tk() { return *g_bang; }
|
|
|
|
name const & get_slash_tk() { return *g_slash; }
|
|
|
|
name const & get_star_tk() { return *g_star; }
|
2015-02-05 03:19:19 +00:00
|
|
|
name const & get_plus_tk() { return *g_plus; }
|
2015-02-03 01:02:14 +00:00
|
|
|
name const & get_turnstile_tk() { return *g_turnstile; }
|
2015-03-05 20:06:51 +00:00
|
|
|
name const & get_explicit_tk() { return *g_explicit; }
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_max_tk() { return *g_max; }
|
|
|
|
name const & get_imax_tk() { return *g_imax; }
|
|
|
|
name const & get_cup_tk() { return *g_cup; }
|
|
|
|
name const & get_import_tk() { return *g_import; }
|
2014-12-01 01:03:08 +00:00
|
|
|
name const & get_prelude_tk() { return *g_prelude; }
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_show_tk() { return *g_show; }
|
|
|
|
name const & get_have_tk() { return *g_have; }
|
2015-02-25 22:30:42 +00:00
|
|
|
name const & get_assert_tk() { return *g_assert; }
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_assume_tk() { return *g_assume; }
|
|
|
|
name const & get_take_tk() { return *g_take; }
|
|
|
|
name const & get_fun_tk() { return *g_fun; }
|
2015-03-06 23:48:48 +00:00
|
|
|
name const & get_match_tk() { return *g_match; }
|
2014-09-23 00:30:29 +00:00
|
|
|
name const & get_ellipsis_tk() { return *g_ellipsis; }
|
2014-09-23 02:22:53 +00:00
|
|
|
name const & get_raw_tk() { return *g_raw; }
|
|
|
|
name const & get_true_tk() { return *g_true; }
|
|
|
|
name const & get_false_tk() { return *g_false; }
|
|
|
|
name const & get_options_tk() { return *g_options; }
|
2015-03-06 21:03:30 +00:00
|
|
|
name const & get_commands_tk() { return *g_commands; }
|
2014-10-06 01:50:48 +00:00
|
|
|
name const & get_instances_tk() { return *g_instances; }
|
2014-10-08 00:28:26 +00:00
|
|
|
name const & get_classes_tk() { return *g_classes; }
|
2014-10-06 01:50:48 +00:00
|
|
|
name const & get_coercions_tk() { return *g_coercions; }
|
2014-09-23 02:22:53 +00:00
|
|
|
name const & get_arrow_tk() { return *g_arrow; }
|
|
|
|
name const & get_declarations_tk() { return *g_declarations; }
|
|
|
|
name const & get_decls_tk() { return *g_decls; }
|
|
|
|
name const & get_hiding_tk() { return *g_hiding; }
|
|
|
|
name const & get_exposing_tk() { return *g_exposing; }
|
|
|
|
name const & get_renaming_tk() { return *g_renaming; }
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_extends_tk() { return *g_extends; }
|
2014-09-23 02:22:53 +00:00
|
|
|
name const & get_as_tk() { return *g_as; }
|
|
|
|
name const & get_none_tk() { return *g_none; }
|
2014-11-08 04:39:50 +00:00
|
|
|
name const & get_whnf_tk() { return *g_whnf; }
|
2014-12-05 00:52:42 +00:00
|
|
|
name const & get_wf_tk() { return *g_wf; }
|
2015-02-07 23:19:41 +00:00
|
|
|
name const & get_all_transparent_tk() { return *g_all_transparent; }
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_in_tk() { return *g_in; }
|
2015-02-03 01:02:14 +00:00
|
|
|
name const & get_at_tk() { return *g_at; }
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_assign_tk() { return *g_assign; }
|
|
|
|
name const & get_visible_tk() { return *g_visible; }
|
|
|
|
name const & get_from_tk() { return *g_from; }
|
|
|
|
name const & get_using_tk() { return *g_using; }
|
|
|
|
name const & get_then_tk() { return *g_then; }
|
2014-12-04 19:13:09 +00:00
|
|
|
name const & get_else_tk() { return *g_else; }
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_by_tk() { return *g_by; }
|
2015-03-06 02:07:06 +00:00
|
|
|
name const & get_rewrite_tk() { return *g_rewrite; }
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_proof_tk() { return *g_proof; }
|
|
|
|
name const & get_qed_tk() { return *g_qed; }
|
2014-10-15 00:12:57 +00:00
|
|
|
name const & get_begin_tk() { return *g_begin; }
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_end_tk() { return *g_end; }
|
2014-11-04 07:15:15 +00:00
|
|
|
name const & get_private_tk() { return *g_private; }
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_definition_tk() { return *g_definition; }
|
|
|
|
name const & get_theorem_tk() { return *g_theorem; }
|
2015-02-11 01:31:40 +00:00
|
|
|
name const & get_abbreviation_tk() { return *g_abbreviation; }
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_axiom_tk() { return *g_axiom; }
|
2014-10-24 21:44:59 +00:00
|
|
|
name const & get_axioms_tk() { return *g_axioms; }
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_variable_tk() { return *g_variable; }
|
2014-10-11 17:58:15 +00:00
|
|
|
name const & get_variables_tk() { return *g_variables; }
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_opaque_tk() { return *g_opaque; }
|
|
|
|
name const & get_instance_tk() { return *g_instance; }
|
2014-09-28 19:20:42 +00:00
|
|
|
name const & get_priority_tk() { return *g_priority; }
|
2015-02-06 20:56:52 +00:00
|
|
|
name const & get_unfold_c_tk() { return *g_unfold_c; }
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_coercion_tk() { return *g_coercion; }
|
|
|
|
name const & get_reducible_tk() { return *g_reducible; }
|
2015-03-05 06:12:49 +00:00
|
|
|
name const & get_quasireducible_tk() { return *g_quasireducible; }
|
2015-03-03 18:48:36 +00:00
|
|
|
name const & get_semireducible_tk() { return *g_semireducible; }
|
2015-01-25 04:23:21 +00:00
|
|
|
name const & get_irreducible_tk() { return *g_irreducible; }
|
|
|
|
name const & get_multiple_instances_tk() { return *g_multiple_instances; }
|
|
|
|
name const & get_attribute_tk() { return *g_attribute; }
|
2014-11-07 05:34:05 +00:00
|
|
|
name const & get_parsing_only_tk() { return *g_parsing_only; }
|
2014-09-23 17:00:36 +00:00
|
|
|
name const & get_class_tk() { return *g_class; }
|
|
|
|
name const & get_with_tk() { return *g_with; }
|
|
|
|
name const & get_prev_tk() { return *g_prev; }
|
|
|
|
name const & get_scoped_tk() { return *g_scoped; }
|
|
|
|
name const & get_foldr_tk() { return *g_foldr; }
|
|
|
|
name const & get_foldl_tk() { return *g_foldl; }
|
|
|
|
name const & get_binder_tk() { return *g_binder; }
|
|
|
|
name const & get_binders_tk() { return *g_binders; }
|
|
|
|
name const & get_infix_tk() { return *g_infix; }
|
|
|
|
name const & get_infixl_tk() { return *g_infixl; }
|
|
|
|
name const & get_infixr_tk() { return *g_infixr; }
|
|
|
|
name const & get_postfix_tk() { return *g_postfix; }
|
|
|
|
name const & get_prefix_tk() { return *g_prefix; }
|
|
|
|
name const & get_notation_tk() { return *g_notation; }
|
|
|
|
name const & get_call_tk() { return *g_call; }
|
|
|
|
name const & get_persistent_tk() { return *g_persistent; }
|
|
|
|
name const & get_root_tk() { return *g_root; }
|
2014-11-05 22:06:54 +00:00
|
|
|
name const & get_fields_tk() { return *g_fields; }
|
2015-01-22 00:19:46 +00:00
|
|
|
name const & get_trust_tk() { return *g_trust; }
|
2014-09-23 00:30:29 +00:00
|
|
|
}
|