CommonMark\CQL::__invoke
CQL Execution
説明
public CommonMark\CQL::__invoke(CommonMark\Node $root
, callable $handler
)
パラメータ
-
root
-
the root node of a tree
-
handler
-
should have the prototype:
boolnull handler(CommonMark\Node $root
, CommonMark\Node $entering
)
- Should
handler
fail to return (void), or return null, CQL will continue executing
- Should the handler return a truthy value, CQL will continue executing.
- Should the handler return a falsy value, CQL will stop executing