changeset 34300 | 3f2e25dc99ab |
parent 34201 | c95dcd12f48a |
child 36948 | d2cdad45fd14 |
34299:68716caa7745 | 34300:3f2e25dc99ab |
---|---|
21 val USES = "uses" |
21 val USES = "uses" |
22 val BEGIN = "begin" |
22 val BEGIN = "begin" |
23 |
23 |
24 val lexicon = Scan.Lexicon("%", "(", ")", ";", BEGIN, HEADER, IMPORTS, THEORY, USES) |
24 val lexicon = Scan.Lexicon("%", "(", ")", ";", BEGIN, HEADER, IMPORTS, THEORY, USES) |
25 |
25 |
26 sealed case class Header(val name: String, val imports: List[String], val uses: List[String]) |
26 final case class Header(val name: String, val imports: List[String], val uses: List[String]) |
27 } |
27 } |
28 |
28 |
29 |
29 |
30 class Thy_Header(symbols: Symbol.Interpretation) extends Outer_Parse.Parser |
30 class Thy_Header(symbols: Symbol.Interpretation) extends Outer_Parse.Parser |
31 { |
31 { |