MCPcopy Create free account
hub / github.com/LHRLAB/ChatKBQA / parse_assert

Method parse_assert

parse_sparql_webqsp.py:387–389  ·  view source on GitHub ↗
(self, eval)

Source from the content-addressed store, hash-verified

385 raise ParseError()
386
387 def parse_assert(self, eval):
388 if not eval:
389 raise ParseError()
390
391 def parse_naive_body(self, body_lines, filter_lines, ret_var, spec_condition=None):
392 """Parse body lines

Callers 3

normalize_body_linesMethod · 0.95
dep_graph_to_s_exprMethod · 0.95
parse_naive_bodyMethod · 0.95

Calls 1

ParseErrorClass · 0.70

Tested by

no test coverage detected