Skip to main content

The DocSimpleList Class Reference

Node representing a simple list. More...

Declaration

class DocSimpleList { ... }

Included Headers

#include <src/docnode.h>

Base class

classDocCompoundNode

Base class for nodes with children. More...

Public Constructors Index

DocSimpleList (DocParser *parser, DocNodeVariant *parent)

Public Member Functions Index

Tokenparse ()

Description

Node representing a simple list.

Definition at line 989 of file docnode.h.

Public Constructors

DocSimpleList()

DocSimpleList::DocSimpleList (DocParser * parser, DocNodeVariant * parent)
inline

Public Member Functions

parse()

Token DocSimpleList::parse ()

Declaration at line 993 of file docnode.h, definition at line 2860 of file docnode.cpp.

2861{
2862 auto ns = AutoNodeStack(parser(),thisVariant());
2863 Token rv = Token::make_TK_NONE();
2864 do
2865 {
2868 rv=li->parse();
2869 } while (rv.is(TokenRetval::RetVal_ListItem));
2870 return (!rv.is(TokenRetval::TK_NEWPARA)) ? rv : Token::make_RetVal_OK();
2871}

References DocNodeList::append, DocCompoundNode::children, DocNodeList::get_last, Token::is, DocNode::parser and DocNode::thisVariant.


The documentation for this class was generated from the following files:


Generated via doxygen2docusaurus by Doxygen 1.14.0.