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

Method parse_assert

parse_sparql_cwq.py:380–382  ·  view source on GitHub ↗
(self, eval)

Source from the content-addressed store, hash-verified

378 raise ParseError()
379
380 def parse_assert(self, eval):
381 if not eval:
382 raise ParseError()
383
384 def parse_naive_body(self, body_lines, filter_lines, ret_var, spec_condition=None):
385 """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