MCPcopy Create free account
hub / github.com/a4k-openproject/script.module.openscrapers / addCondition

Method addCondition

lib/pyparsing.py:1577–1600  ·  view source on GitHub ↗

Add a boolean predicate function to expression's list of parse actions. See :class:`setParseAction` for function call signatures. Unlike ``setParseAction``, functions passed to ``addCondition`` need to return boolean success/fail of the condition. Optional keyword arguments:

(self, *fns, **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

pyparsing_commonClass · 0.80

Calls 3

conditionAsParseActionFunction · 0.85
appendMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected