src/Pure/General/markup.ML
changeset 27851 b67974f24d0c
parent 27836 74e8228757c5
child 27875 1b46d9ec3788
equal deleted inserted replaced
27850:49503146b853 27851:b67974f24d0c
    62   val methodN: string val method: string -> T
    62   val methodN: string val method: string -> T
    63   val keyword_declN: string val keyword_decl: string -> T
    63   val keyword_declN: string val keyword_decl: string -> T
    64   val command_declN: string val command_decl: string -> string -> T
    64   val command_declN: string val command_decl: string -> string -> T
    65   val keywordN: string val keyword: string -> T
    65   val keywordN: string val keyword: string -> T
    66   val commandN: string val command: string -> T
    66   val commandN: string val command: string -> T
    67   val tokenN: string val token: T
       
    68   val identN: string val ident: T
    67   val identN: string val ident: T
    69   val stringN: string val string: T
    68   val stringN: string val string: T
    70   val altstringN: string val altstring: T
    69   val altstringN: string val altstring: T
    71   val verbatimN: string val verbatim: T
    70   val verbatimN: string val verbatim: T
    72   val commentN: string val comment: T
    71   val commentN: string val comment: T
    73   val controlN: string val control: T
    72   val controlN: string val control: T
    74   val malformedN: string val malformed: T
    73   val malformedN: string val malformed: T
       
    74   val tokenN: string val token: T
    75   val antiqN: string val antiq: T
    75   val antiqN: string val antiq: T
    76   val command_spanN: string val command_span: string -> T
    76   val command_spanN: string val command_span: string -> T
    77   val ignored_spanN: string val ignored_span: T
    77   val ignored_spanN: string val ignored_span: T
    78   val malformed_spanN: string val malformed_span: T
    78   val malformed_spanN: string val malformed_span: T
    79   val promptN: string val prompt: T
    79   val promptN: string val prompt: T
   202 val command_declN = "command_decl";
   202 val command_declN = "command_decl";
   203 fun command_decl name kind : T = (command_declN, [(nameN, name), (kindN, kind)]);
   203 fun command_decl name kind : T = (command_declN, [(nameN, name), (kindN, kind)]);
   204 
   204 
   205 val (keywordN, keyword) = markup_string "keyword" nameN;
   205 val (keywordN, keyword) = markup_string "keyword" nameN;
   206 val (commandN, command) = markup_string "command" nameN;
   206 val (commandN, command) = markup_string "command" nameN;
   207 val (tokenN, token) = markup_elem "token";
       
   208 val (identN, ident) = markup_elem "ident";
   207 val (identN, ident) = markup_elem "ident";
   209 val (stringN, string) = markup_elem "string";
   208 val (stringN, string) = markup_elem "string";
   210 val (altstringN, altstring) = markup_elem "altstring";
   209 val (altstringN, altstring) = markup_elem "altstring";
   211 val (verbatimN, verbatim) = markup_elem "verbatim";
   210 val (verbatimN, verbatim) = markup_elem "verbatim";
   212 val (commentN, comment) = markup_elem "comment";
   211 val (commentN, comment) = markup_elem "comment";
   213 val (controlN, control) = markup_elem "control";
   212 val (controlN, control) = markup_elem "control";
   214 val (malformedN, malformed) = markup_elem "malformed";
   213 val (malformedN, malformed) = markup_elem "malformed";
       
   214 
       
   215 val (tokenN, token) = markup_elem "token";
   215 
   216 
   216 val (antiqN, antiq) = markup_elem "antiq";
   217 val (antiqN, antiq) = markup_elem "antiq";
   217 
   218 
   218 val (command_spanN, command_span) = markup_string "command_span" nameN;
   219 val (command_spanN, command_span) = markup_string "command_span" nameN;
   219 val (ignored_spanN, ignored_span) = markup_elem "ignored_span";
   220 val (ignored_spanN, ignored_span) = markup_elem "ignored_span";