Xmipp
v3.23.11-Nereus
|
#include <argsparser.h>
Public Member Functions | |
SectionDef (ArgLexer *lexer, ASTNode *parent) | |
~SectionDef () | |
virtual bool | parse () |
virtual void | check (std::stringstream &errors) |
void | addParamDef (ParamDef *param) |
Add a param to the section. More... | |
Public Member Functions inherited from ASTNode | |
ASTNode (ArgLexer *lexer=NULL, ASTNode *parent=NULL) | |
virtual | ~ASTNode () |
virtual bool | consume (ArgTokenType type) |
ArgTokenType | lookahead () const |
bool | lookahead (ArgTokenType type) const |
ArgToken * | currentToken () const |
void | nextToken () |
bool | parseCommentList (CommentList &comments) |
void | error (String msg) |
void | unexpectedToken (String msg="") |
Public Attributes | |
CommentList | comments |
std::vector< ParamDef * > | params |
All params defined for the program. More... | |
Public Attributes inherited from ASTNode | |
ASTNode * | parent |
ArgLexer * | pLexer |
ArgToken | token |
String | name |
int | visible |
Definition at line 220 of file argsparser.h.
Definition at line 773 of file argsparser.cpp.
SectionDef::~SectionDef | ( | ) |
Definition at line 777 of file argsparser.cpp.
void SectionDef::addParamDef | ( | ParamDef * | param | ) |
Add a param to the section.
Definition at line 762 of file argsparser.cpp.
|
inlinevirtual |
|
virtual |
Implements ASTNode.
Definition at line 783 of file argsparser.cpp.
CommentList SectionDef::comments |
Definition at line 223 of file argsparser.h.
std::vector<ParamDef*> SectionDef::params |
All params defined for the program.
Definition at line 224 of file argsparser.h.