src/Pure/General/markup.scala
author wenzelm
Sun Dec 28 16:39:27 2008 +0100 (2008-12-28)
changeset 29184 85889d58b5da
parent 29140 e7ac5bb20aed
child 29185 26fcfca1db9d
permissions -rw-r--r--
more markup elements;
wenzelm@27958
     1
/*  Title:      Pure/General/markup.scala
wenzelm@27958
     2
    Author:     Makarius
wenzelm@27958
     3
wenzelm@27958
     4
Common markup elements.
wenzelm@27958
     5
*/
wenzelm@27958
     6
wenzelm@27958
     7
package isabelle
wenzelm@27958
     8
wenzelm@27958
     9
object Markup {
wenzelm@27970
    10
wenzelm@29184
    11
  /* name */
wenzelm@29184
    12
wenzelm@29184
    13
  val NAME = "name"
wenzelm@29184
    14
  val KIND = "kind"
wenzelm@29184
    15
wenzelm@29184
    16
wenzelm@27970
    17
  /* position */
wenzelm@27970
    18
wenzelm@27970
    19
  val LINE = "line"
wenzelm@27970
    20
  val COLUMN = "column"
wenzelm@27970
    21
  val OFFSET = "offset"
wenzelm@27970
    22
  val END_LINE = "end_line"
wenzelm@27970
    23
  val END_COLUMN = "end_column"
wenzelm@27970
    24
  val END_OFFSET = "end_offset"
wenzelm@27970
    25
  val FILE = "file"
wenzelm@27970
    26
  val ID = "id"
wenzelm@27970
    27
wenzelm@29184
    28
  val POSITION = "position"
wenzelm@29184
    29
  val LOCATION = "location"
wenzelm@29184
    30
wenzelm@29184
    31
wenzelm@29184
    32
  /* logical entities */
wenzelm@29184
    33
wenzelm@29184
    34
  val TCLASS = "tclass"
wenzelm@29184
    35
  val TYCON = "tycon"
wenzelm@29184
    36
  val FIXED_DECL = "fixed_decl"
wenzelm@29184
    37
  val FIXED = "fixed"
wenzelm@29184
    38
  val CONST_DECL = "const_decl"
wenzelm@29184
    39
  val CONST = "const"
wenzelm@29184
    40
  val FACT_DECL = "fact_decl"
wenzelm@29184
    41
  val FACT = "fact"
wenzelm@29184
    42
  val DYNAMIC_FACT = "dynamic_fact"
wenzelm@29184
    43
  val LOCAL_FACT_DECL = "local_fact_decl"
wenzelm@29184
    44
  val LOCAL_FACT = "local_fact"
wenzelm@29184
    45
wenzelm@29184
    46
wenzelm@29184
    47
  /* inner syntax */
wenzelm@29184
    48
wenzelm@29184
    49
  val TFREE = "tfree"
wenzelm@29184
    50
  val TVAR = "tvar"
wenzelm@29184
    51
  val FREE = "free"
wenzelm@29184
    52
  val SKOLEM = "skolem"
wenzelm@29184
    53
  val BOUND = "bound"
wenzelm@29184
    54
  val VAR = "var"
wenzelm@29184
    55
  val NUM = "num"
wenzelm@29184
    56
  val FLOAT = "float"
wenzelm@29184
    57
  val XNUM = "xnum"
wenzelm@29184
    58
  val XSTR = "xstr"
wenzelm@29184
    59
  val LITERAL = "literal"
wenzelm@29184
    60
  val INNER_COMMENT = "inner_comment"
wenzelm@29184
    61
wenzelm@29184
    62
  val SORT = "sort"
wenzelm@29184
    63
  val TYP = "typ"
wenzelm@29184
    64
  val TERM = "term"
wenzelm@29184
    65
  val PROP = "prop"
wenzelm@29184
    66
wenzelm@29184
    67
  val ATTRIBUTE = "attribute"
wenzelm@29184
    68
  val METHOD = "method"
wenzelm@29184
    69
wenzelm@29184
    70
wenzelm@29184
    71
  /* embedded source text */
wenzelm@29184
    72
wenzelm@29184
    73
  val ML_SOURCE = "ML_source"
wenzelm@29184
    74
  val DOC_SOURCE = "doc_source"
wenzelm@29184
    75
wenzelm@29184
    76
  val ANTIQ = "antiq"
wenzelm@29184
    77
  val ML_ANTIQ = "ML_antiq"
wenzelm@29184
    78
  val DOC_ANTIQ = "doc_antiq"
wenzelm@29184
    79
wenzelm@29184
    80
wenzelm@29184
    81
  /* outer syntax */
wenzelm@29184
    82
wenzelm@29184
    83
  val KEYWORD_DECL = "keyword_decl"
wenzelm@29184
    84
  val COMMAND_DECL = "command_decl"
wenzelm@29184
    85
wenzelm@29184
    86
  val KEYWORD = "keyword"
wenzelm@29184
    87
  val COMMAND = "command"
wenzelm@29184
    88
  val IDENT = "ident"
wenzelm@29184
    89
  val STRING = "string"
wenzelm@29184
    90
  val ALTSTRING = "altstring"
wenzelm@29184
    91
  val VERBATIM = "verbatim"
wenzelm@29184
    92
  val COMMENT = "comment"
wenzelm@29184
    93
  val CONTROL = "control"
wenzelm@29184
    94
  val MALFORMED = "malformed"
wenzelm@29184
    95
wenzelm@29184
    96
wenzelm@29184
    97
  /* toplevel */
wenzelm@29184
    98
wenzelm@29184
    99
  val STATE = "state"
wenzelm@29184
   100
  val SUBGOAL = "subgoal"
wenzelm@29184
   101
  val SENDBACK = "sendback"
wenzelm@29184
   102
  val HILITE = "hilite"
wenzelm@29184
   103
wenzelm@29184
   104
wenzelm@29184
   105
  /* command status */
wenzelm@29184
   106
wenzelm@29184
   107
  val UNPROCESSED = "unprocessed"
wenzelm@29184
   108
  val RUNNING = "running"
wenzelm@29184
   109
  val FAILED = "failed"
wenzelm@29184
   110
  val FINISHED = "finished"
wenzelm@29184
   111
  val DISPOSED = "disposed"
wenzelm@29184
   112
wenzelm@27970
   113
wenzelm@27970
   114
  /* messages */
wenzelm@27970
   115
wenzelm@27970
   116
  val PID = "pid"
wenzelm@27970
   117
  val SESSION = "session"
wenzelm@27970
   118
wenzelm@27970
   119
wenzelm@27970
   120
  /* content */
wenzelm@27970
   121
wenzelm@27958
   122
  val ROOT = "root"
wenzelm@27958
   123
  val RAW = "raw"
wenzelm@27970
   124
  val BAD = "bad"
wenzelm@27958
   125
}