2022-04-12 10:22:57 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2022-04-12 09:53:21 +02:00
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.17" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2022-04-12 10:22:57 +02:00
<!-- BEGIN opengraph metadata -->
< meta property = "og:title" content = "RenderD7" / >
< meta property = "og:image" content = "https://repository-images.githubusercontent.com/348492097/4f16df80-88fb-11eb-9d31-4015ff22c452" / >
< meta property = "og:description" content = "Custom CSS theme for doxygen html-documentation with lots of customization parameters." / >
< meta property = "og:url" content = "https://jothepro.github.io/doxygen-awesome-css/" / >
<!-- END opengraph metadata -->
<!-- BEGIN twitter metadata -->
< meta name = "twitter:image:src" content = "https://repository-images.githubusercontent.com/348492097/4f16df80-88fb-11eb-9d31-4015ff22c452" / >
< meta name = "twitter:title" content = "RenderD7" / >
< meta name = "twitter:description" content = "Custom CSS theme for doxygen html-documentation with lots of customization parameters." / >
<!-- END twitter metadata -->
2022-04-12 09:53:21 +02:00
< title > Renderd7-nightly: nlohmann::detail::parser< BasicJsonType, InputAdapterType > Class Template Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
2022-04-12 10:22:57 +02:00
< link rel = "icon" type = "image/svg+xml" href = "logo.drawio.svg" / >
2022-04-12 09:53:21 +02:00
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
2022-04-12 10:22:57 +02:00
< script type = "text/javascript" src = "doxygen-awesome-darkmode-toggle.js" > < / script >
< script type = "text/javascript" src = "doxygen-awesome-fragment-copy-button.js" > < / script >
< script type = "text/javascript" src = "doxygen-awesome-paragraph-link.js" > < / script >
< script type = "text/javascript" src = "toggle-alternative-theme.js" > < / script >
< script type = "text/javascript" >
DoxygenAwesomeFragmentCopyButton.init()
DoxygenAwesomeDarkModeToggle.init()
DoxygenAwesomeParagraphLink.init()
< / script >
2022-04-12 09:53:21 +02:00
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtreedata.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2022-04-12 10:35:47 +02:00
< link href = "doxygen-awesome.css" rel = "stylesheet" type = "text/css" / >
2022-04-12 09:53:21 +02:00
< / head >
< body >
2022-04-12 10:22:57 +02:00
<!-- https://tholman.com/github - corners/ -->
2022-04-12 10:29:24 +02:00
< a href = "https://github.com/NPI-D7/RenderD7/" class = "github-corner" title = "View source on GitHub" target = "_blank" >
2022-04-12 10:22:57 +02:00
< svg viewBox = "0 0 250 250" width = "40" height = "40" style = "position: absolute; top: 0; border: 0; right: 0; z-index: 99;" aria-hidden = "true" >
< path d = "M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z" > < / path > < path d = "M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill = "currentColor" style = "transform-origin: 130px 106px;" class = "octo-arm" > < / path > < path d = "M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill = "currentColor" class = "octo-body" > < / path > < / svg > < / a > < style > . github-corner : hover . octo-arm { animation : octocat-wave 560 ms ease-in-out } @ keyframes octocat-wave { 0 % , 100 % { transform : rotate ( 0 ) } 20 % , 60 % { transform : rotate ( -25 deg ) } 40 % , 80 % { transform : rotate ( 10 deg ) } } @ media ( max-width : 500px ) { . github-corner : hover . octo-arm { animation : none } . github-corner . octo-arm { animation : octocat-wave 560 ms ease-in-out } } < / style >
2022-04-12 09:53:21 +02:00
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > Renderd7-nightly
  < span id = "projectnumber" > v0.7.0< / span >
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classnlohmann_1_1detail_1_1parser.html',''); initResizable(); });
/* @license-end */
< / script >
< div id = "doc-content" >
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#pri-methods" > Private Member Functions< / a > |
< a href = "#pri-attribs" > Private Attributes< / a > |
< a href = "classnlohmann_1_1detail_1_1parser-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > nlohmann::detail::parser< BasicJsonType, InputAdapterType > Class Template Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > syntax analysis
< a href = "classnlohmann_1_1detail_1_1parser.html#details" > More...< / a > < / p >
< p > < code > #include < json.hpp> < / code > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a33b852bf63cba58310d9c0d1242cfb12" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a33b852bf63cba58310d9c0d1242cfb12" > < / a >
  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classnlohmann_1_1detail_1_1parser.html#a33b852bf63cba58310d9c0d1242cfb12" > parser< / a > (InputAdapterType & & adapter, const parser_callback_t< BasicJsonType > cb=nullptr, const bool allow_exceptions_=true, const bool skip_comments=false)< / td > < / tr >
< tr class = "memdesc:a33b852bf63cba58310d9c0d1242cfb12" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > a parser reading from an input adapter < br / > < / td > < / tr >
< tr class = "separator:a33b852bf63cba58310d9c0d1242cfb12" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a75fb9145ea85f1ad9cc14f61981e1111" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classnlohmann_1_1detail_1_1parser.html#a75fb9145ea85f1ad9cc14f61981e1111" > parse< / a > (const bool strict, BasicJsonType & result)< / td > < / tr >
< tr class = "memdesc:a75fb9145ea85f1ad9cc14f61981e1111" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > public parser interface < a href = "classnlohmann_1_1detail_1_1parser.html#a75fb9145ea85f1ad9cc14f61981e1111" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a75fb9145ea85f1ad9cc14f61981e1111" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a39784a586867c05388cb0adca0fd72b5" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classnlohmann_1_1detail_1_1parser.html#a39784a586867c05388cb0adca0fd72b5" > accept< / a > (const bool strict=true)< / td > < / tr >
< tr class = "memdesc:a39784a586867c05388cb0adca0fd72b5" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > public accept interface < a href = "classnlohmann_1_1detail_1_1parser.html#a39784a586867c05388cb0adca0fd72b5" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a39784a586867c05388cb0adca0fd72b5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pri-methods" > < / a >
Private Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a1212088ee1e23633a76b2ed80514de79" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a1212088ee1e23633a76b2ed80514de79" > < / a >
token_type  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classnlohmann_1_1detail_1_1parser.html#a1212088ee1e23633a76b2ed80514de79" > get_token< / a > ()< / td > < / tr >
< tr class = "memdesc:a1212088ee1e23633a76b2ed80514de79" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > get next token from lexer < br / > < / td > < / tr >
< tr class = "separator:a1212088ee1e23633a76b2ed80514de79" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pri-attribs" > < / a >
Private Attributes< / h2 > < / td > < / tr >
< tr class = "memitem:a6bf70a72a1632ef55c0068557b1be37a" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a6bf70a72a1632ef55c0068557b1be37a" > < / a >
const parser_callback_t< BasicJsonType >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classnlohmann_1_1detail_1_1parser.html#a6bf70a72a1632ef55c0068557b1be37a" > callback< / a > = nullptr< / td > < / tr >
< tr class = "memdesc:a6bf70a72a1632ef55c0068557b1be37a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > callback function < br / > < / td > < / tr >
< tr class = "separator:a6bf70a72a1632ef55c0068557b1be37a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a307ed42d5f31a9c5bec991ceee87b0e7" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a307ed42d5f31a9c5bec991ceee87b0e7" > < / a >
token_type  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classnlohmann_1_1detail_1_1parser.html#a307ed42d5f31a9c5bec991ceee87b0e7" > last_token< / a > = token_type::uninitialized< / td > < / tr >
< tr class = "memdesc:a307ed42d5f31a9c5bec991ceee87b0e7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > the type of the last read token < br / > < / td > < / tr >
< tr class = "separator:a307ed42d5f31a9c5bec991ceee87b0e7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a01a73810f794c239aaf123aa2af7371d" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a01a73810f794c239aaf123aa2af7371d" > < / a >
lexer_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classnlohmann_1_1detail_1_1parser.html#a01a73810f794c239aaf123aa2af7371d" > m_lexer< / a > < / td > < / tr >
< tr class = "memdesc:a01a73810f794c239aaf123aa2af7371d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > the lexer < br / > < / td > < / tr >
< tr class = "separator:a01a73810f794c239aaf123aa2af7371d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab0dbaeaa6df00631072f902068c57750" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ab0dbaeaa6df00631072f902068c57750" > < / a >
const bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classnlohmann_1_1detail_1_1parser.html#ab0dbaeaa6df00631072f902068c57750" > allow_exceptions< / a > = true< / td > < / tr >
< tr class = "memdesc:ab0dbaeaa6df00631072f902068c57750" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > whether to throw exceptions in case of errors < br / > < / td > < / tr >
< tr class = "separator:ab0dbaeaa6df00631072f902068c57750" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < h3 > template< typename BasicJsonType, typename InputAdapterType> < br / >
class nlohmann::detail::parser< BasicJsonType, InputAdapterType > < / h3 >
< p > syntax analysis < / p >
< p > This class implements a recursive descent parser. < / p >
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
< a id = "a75fb9145ea85f1ad9cc14f61981e1111" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a75fb9145ea85f1ad9cc14f61981e1111" > ◆ < / a > < / span > parse()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< typename BasicJsonType , typename InputAdapterType > < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void < a class = "el" href = "classnlohmann_1_1detail_1_1parser.html" > nlohmann::detail::parser< / a > < BasicJsonType, InputAdapterType > ::parse < / td >
< td > (< / td >
< td class = "paramtype" > const bool  < / td >
< td class = "paramname" > < em > strict< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > BasicJsonType &   < / td >
< td class = "paramname" > < em > result< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > public parser interface < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > strict< / td > < td > whether to expect the last token to be EOF < / td > < / tr >
< tr > < td class = "paramdir" > [in,out]< / td > < td class = "paramname" > result< / td > < td > parsed JSON value< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "exception" > < dt > Exceptions< / dt > < dd >
< table class = "exception" >
< tr > < td class = "paramname" > parse_error.101< / td > < td > in case of an unexpected token < / td > < / tr >
< tr > < td class = "paramname" > parse_error.102< / td > < td > if to_unicode fails or surrogate error < / td > < / tr >
< tr > < td class = "paramname" > parse_error.103< / td > < td > if to_unicode fails < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a id = "a39784a586867c05388cb0adca0fd72b5" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a39784a586867c05388cb0adca0fd72b5" > ◆ < / a > < / span > accept()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< typename BasicJsonType , typename InputAdapterType > < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > bool < a class = "el" href = "classnlohmann_1_1detail_1_1parser.html" > nlohmann::detail::parser< / a > < BasicJsonType, InputAdapterType > ::accept < / td >
< td > (< / td >
< td class = "paramtype" > const bool  < / td >
< td class = "paramname" > < em > strict< / em > = < code > true< / code > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > public accept interface < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > strict< / td > < td > whether to expect the last token to be EOF < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > whether the input is a proper JSON text < / dd > < / dl >
< / div >
< / div >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
< li class = "navelem" > < a class = "el" href = "namespacenlohmann.html" > nlohmann< / a > < / li > < li class = "navelem" > < a class = "el" href = "namespacenlohmann_1_1detail.html" > detail< / a > < / li > < li class = "navelem" > < a class = "el" href = "classnlohmann_1_1detail_1_1parser.html" > parser< / a > < / li >
< li class = "footer" > Generated by
< a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.8.17 < / li >
< / ul >
< / div >
< / body >
< / html >