equal
deleted
inserted
replaced
23 val lineN: string |
23 val lineN: string |
24 val columnN: string |
24 val columnN: string |
25 val end_lineN: string |
25 val end_lineN: string |
26 val end_columnN: string |
26 val end_columnN: string |
27 val fileN: string |
27 val fileN: string |
|
28 val position_properties': string list |
28 val position_properties: string list |
29 val position_properties: string list |
29 val positionN: string val position: T |
30 val positionN: string val position: T |
30 val locationN: string val location: T |
31 val locationN: string val location: T |
31 val indentN: string |
32 val indentN: string |
32 val blockN: string val block: int -> T |
33 val blockN: string val block: int -> T |
49 val xnumN: string val xnum: T |
50 val xnumN: string val xnum: T |
50 val xstrN: string val xstr: T |
51 val xstrN: string val xstr: T |
51 val sortN: string val sort: T |
52 val sortN: string val sort: T |
52 val typN: string val typ: T |
53 val typN: string val typ: T |
53 val termN: string val term: T |
54 val termN: string val term: T |
54 val propN: string val prop: T |
55 val propositionN: string val proposition: T |
|
56 val attributeN: string val attribute: string -> T |
|
57 val methodN: string val method: string -> T |
55 val keywordN: string val keyword: string -> T |
58 val keywordN: string val keyword: string -> T |
56 val commandN: string val command: string -> T |
59 val commandN: string val command: string -> T |
57 val keyword_declN: string val keyword_decl: string -> T |
60 val keyword_declN: string val keyword_decl: string -> T |
58 val command_declN: string val command_decl: string -> string -> T |
61 val command_declN: string val command_decl: string -> string -> T |
59 val tokenN: string val token: T |
62 val tokenN: string val token: T |
128 val end_lineN = "end_line"; |
131 val end_lineN = "end_line"; |
129 val end_columnN = "end_column"; |
132 val end_columnN = "end_column"; |
130 val fileN = "file"; |
133 val fileN = "file"; |
131 val idN = "id"; |
134 val idN = "id"; |
132 |
135 |
133 val position_properties = [lineN, columnN, end_lineN, end_columnN, fileN, idN]; |
136 val position_properties' = [end_lineN, end_columnN, fileN, idN]; |
|
137 val position_properties = [lineN, columnN] @ position_properties'; |
|
138 |
134 val (positionN, position) = markup_elem "position"; |
139 val (positionN, position) = markup_elem "position"; |
135 |
140 |
136 val (locationN, location) = markup_elem "location"; |
141 val (locationN, location) = markup_elem "location"; |
137 |
142 |
138 |
143 |
170 val (xstrN, xstr) = markup_elem "xstr"; |
175 val (xstrN, xstr) = markup_elem "xstr"; |
171 |
176 |
172 val (sortN, sort) = markup_elem "sort"; |
177 val (sortN, sort) = markup_elem "sort"; |
173 val (typN, typ) = markup_elem "typ"; |
178 val (typN, typ) = markup_elem "typ"; |
174 val (termN, term) = markup_elem "term"; |
179 val (termN, term) = markup_elem "term"; |
175 val (propN, prop) = markup_elem "prop"; |
180 val (propositionN, proposition) = markup_elem "proposition"; |
|
181 |
|
182 val (attributeN, attribute) = markup_string "attribute" nameN; |
|
183 val (methodN, method) = markup_string "method" nameN; |
176 |
184 |
177 |
185 |
178 (* outer syntax *) |
186 (* outer syntax *) |
179 |
187 |
180 val (keywordN, keyword) = markup_string "keyword" nameN; |
188 val (keywordN, keyword) = markup_string "keyword" nameN; |