#include <abstractsyntaxtree.h>
Public Member Functions | |
ASTBlock (ASTNode *parent) | |
void | print (uint depth, DefinitionRegistry *definitions) override |
Common::Array< const ASTCommand * > | listCommands (uint16 index) const override |
void | findSuccessorsIntern (const ASTNode *node, ASTNode **follower, ASTNode **trueBranch, ASTNode **falseBranch) const override |
const ASTCommand * | getFirstCommand () const override |
void | addNode (ASTNode *node) |
Public Member Functions inherited from Stark::Tools::ASTNode | |
ASTNode (ASTNode *parent) | |
void | findSuccessors (ASTNode **follower, ASTNode **trueBranch, ASTNode **falseBranch) const |
Additional Inherited Members | |
Protected Member Functions inherited from Stark::Tools::ASTNode | |
void | printWithDepth (uint depth, const Common::String &string) const |
Protected Attributes inherited from Stark::Tools::ASTNode | |
ASTNode * | _parent |
|
overridevirtual |
Print the script source code for this node and its children
Implements Stark::Tools::ASTNode.
|
overridevirtual |
Recursively list all the commands in the tree with the requested index
Implements Stark::Tools::ASTNode.
|
overridevirtual |
Find the first command to be executed when running this job
Implements Stark::Tools::ASTNode.
void Stark::Tools::ASTBlock::addNode | ( | ASTNode * | node | ) |
Append a child expression to this block