comparison src/explify.sml @ 720:acb8537f58f0

Stop tracking CSS classes in XML types
author Adam Chlipala <adamc@hcoop.net>
date Sun, 12 Apr 2009 12:31:54 -0400
parents f152f215a02c
children 8688e01ae469
comparison
equal deleted inserted replaced
719:5c099b1308ae 720:acb8537f58f0
185 | L.DSequence (nt, x, n) => SOME (L'.DSequence (nt, x, n), loc) 185 | L.DSequence (nt, x, n) => SOME (L'.DSequence (nt, x, n), loc)
186 | L.DClass (x, n, k, c) => SOME (L'.DCon (x, n, 186 | L.DClass (x, n, k, c) => SOME (L'.DCon (x, n,
187 (L'.KArrow (explifyKind k, (L'.KType, loc)), loc), explifyCon c), loc) 187 (L'.KArrow (explifyKind k, (L'.KType, loc)), loc), explifyCon c), loc)
188 | L.DDatabase s => SOME (L'.DDatabase s, loc) 188 | L.DDatabase s => SOME (L'.DDatabase s, loc)
189 | L.DCookie (nt, x, n, c) => SOME (L'.DCookie (nt, x, n, explifyCon c), loc) 189 | L.DCookie (nt, x, n, c) => SOME (L'.DCookie (nt, x, n, explifyCon c), loc)
190 | L.DStyle (nt, x, n, c) => SOME (L'.DStyle (nt, x, n, explifyCon c), loc) 190 | L.DStyle (nt, x, n) => SOME (L'.DStyle (nt, x, n), loc)
191 191
192 and explifyStr (str, loc) = 192 and explifyStr (str, loc) =
193 case str of 193 case str of
194 L.StrConst ds => (L'.StrConst (List.mapPartial explifyDecl ds), loc) 194 L.StrConst ds => (L'.StrConst (List.mapPartial explifyDecl ds), loc)
195 | L.StrVar n => (L'.StrVar n, loc) 195 | L.StrVar n => (L'.StrVar n, loc)