ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::Tools::ASTLoop Struct Reference

Loop AST Node. More...

#include <abstractsyntaxtree.h>

Inheritance diagram for Stark::Tools::ASTLoop:
Collaboration diagram for Stark::Tools::ASTLoop:

List of all members.

Public Member Functions

 ASTLoop (ASTNode *parent)
 ~ASTLoop () override
void print (uint depth, DefinitionRegistry *definitions) override
 Print the script source code for this node and its children.
Common::Array< const ASTCommand * > listCommands (uint16 index) const override
 Recursively list all the commands in the tree with the requested index.
void findSuccessorsIntern (const ASTNode *node, ASTNode **follower, ASTNode **trueBranch, ASTNode **falseBranch) const override
const ASTCommandgetFirstCommand () const override
 Find the first command to be executed when running this job.

Public Attributes

ASTCommandcondition
bool invertedCondition
ASTBlockloopBlock

Detailed Description

Loop AST Node.

A while loop.

Definition at line 129 of file abstractsyntaxtree.h.


Constructor & Destructor Documentation

Stark::Tools::ASTLoop::ASTLoop ( ASTNode parent  ) 

Definition at line 237 of file abstractsyntaxtree.cpp.

Stark::Tools::ASTLoop::~ASTLoop (  )  [override]

Definition at line 245 of file abstractsyntaxtree.cpp.


Member Function Documentation

void Stark::Tools::ASTLoop::findSuccessorsIntern ( const ASTNode node,
ASTNode **  follower,
ASTNode **  trueBranch,
ASTNode **  falseBranch 
) const [override, virtual]

Implements Stark::Tools::ASTNode.

Definition at line 276 of file abstractsyntaxtree.cpp.

const ASTCommand * Stark::Tools::ASTLoop::getFirstCommand (  )  const [override, virtual]

Find the first command to be executed when running this job.

Implements Stark::Tools::ASTNode.

Definition at line 305 of file abstractsyntaxtree.cpp.

Common::Array< const ASTCommand * > Stark::Tools::ASTLoop::listCommands ( uint16  index  )  const [override, virtual]

Recursively list all the commands in the tree with the requested index.

Implements Stark::Tools::ASTNode.

Definition at line 265 of file abstractsyntaxtree.cpp.

void Stark::Tools::ASTLoop::print ( uint  depth,
DefinitionRegistry definitions 
) [override, virtual]

Print the script source code for this node and its children.

Implements Stark::Tools::ASTNode.

Definition at line 250 of file abstractsyntaxtree.cpp.


Member Data Documentation


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


Generated on Sat Nov 16 2019 05:03:57 for ResidualVM by doxygen 1.7.1
curved edge   curved edge