[#BloombergLP-balxml-ListParser-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/ListParser.adoc[ListParser]::ListParser :relfileprefix: ../../../ :mrdocs: Create a parser for lists using the specified `parseElementCallback` functor to parse each element and the optionally specified `basicAllocator` for supplying memory. If `basicAllocator` is 0, the currently installed default allocator will be used. == Synopsis Declared in `<balxml_listparser.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit ListParser( xref:BloombergLP/balxml/ListParser/ParseElementCallback.adoc[ParseElementCallback] parseElementCallback, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#