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

Function tokenMap

lib/pyparsing.py:5750–5796  ·  view source on GitHub ↗

Helper to define a parse action by mapping a function to all elements of a ParseResults list. If any additional args are passed, they are forwarded to the given function as additional arguments after the token, as in ``hex_integer = Word(hexnums).setParseAction(tokenMap(int, 16))``,

(func, *args)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

pyparsing.pyFile · 0.85
pyparsing_commonClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected