equal
deleted
inserted
replaced
70 def document_source: Parser[String] = atom("document source", _.is_text) |
70 def document_source: Parser[String] = atom("document source", _.is_text) |
71 |
71 |
72 def path: Parser[String] = |
72 def path: Parser[String] = |
73 atom("file name/path specification", tok => tok.is_embedded && Path.is_wellformed(tok.content)) |
73 atom("file name/path specification", tok => tok.is_embedded && Path.is_wellformed(tok.content)) |
74 |
74 |
75 def theory_name: Parser[String] = |
75 def session_name: Parser[String] = atom("session name", _.is_system_name) |
76 atom("theory name", tok => tok.is_name && Path.is_wellformed(tok.content)) |
76 def theory_name: Parser[String] = atom("theory name", _.is_system_name) |
77 |
77 |
78 private def tag_name: Parser[String] = |
78 private def tag_name: Parser[String] = |
79 atom("tag name", tok => |
79 atom("tag name", tok => |
80 tok.kind == Token.Kind.IDENT || |
80 tok.kind == Token.Kind.IDENT || |
81 tok.kind == Token.Kind.STRING) |
81 tok.kind == Token.Kind.STRING) |